Lispython / human_curl

Simple Human wrapper for cURL library
http://h.wrttn.me/human_curl
Other
205 stars 43 forks source link

Use multipart only if it is present in headers. #41

Closed stas closed 9 years ago

stas commented 9 years ago

Human CURL makes a multipart POST request by default. This is not correct, and should happen only when a file upload is taking place or you actually specify the headers that way.

Please take a look and let me know if this needs any other work. Thanks.

Lispython commented 9 years ago

Thanks!

stas commented 9 years ago

Thank you @Lispython! Replacing requests with human_curl worked great for us. Your project is very underrated and I think this is wrong.