Deepomatic / deepomatic-client-python

Python Client
Other
14 stars 0 forks source link

Prevent requests to send as form urlencoded content type #32

Closed maingoh closed 5 years ago

maingoh commented 5 years ago

When sending a binary content, it was sent through the data field. When no files parameter is provided requests defaults the content type to form-urlencoded which the API doesn't support anymore. It is now sent through the files parameter as multipart.