response = requests.put('https://api.elasticemail.com/attachments/upload',
    data=mydata, auth=('omer', 'b01ad0ce'), headers={'content-type':
    'text/plain'}, params={'file': filepath})
How to specify python requests http put body?