iam trying to upload attachments to azuredevops but the files are broken ,not sure why
attachment_file = BytesIO(requests.get('http://127.0.0.1:8000'+attachment.attachment.url).content)
files = {"file": (attachment.attachment_name,attachment_file)}
response_attachment =requests.post(attachment_url,files=files,headers={'Accept': 'application/json',"Content-Type": "application/octet-stream",},auth=HTTPBasicAuth(azure_username,azure_token))