Menu

#174 MultiPart upload - final POST do not provide correct content-type

Malfunction
open
nobody
None
5
2016-02-16
2016-02-16
No

At the end of multipart upload a POST request is correctly sent.
This last request doesn't contains the header about content-type.
Fix to be done is simply the following:

Source file
MultiPart.py

row 186

-         headers = { "content-length": str(len(body)) }
+         headers = { "content-length": str(len(body)), 'content-type': 'application/xml' }

Discussion


Log in to post a comment.