kennethreitz/requests — pull request #2388 by neosab (2014-12-22 23:19:34+00:00)
Title: Handle empty chunks

Empty chunk in request body could prematurely signal end of chunked
transmission. As a result, the terminating zero-size chunk sent by
'requests' can be interpretted as bad request by the recepient. I
have used the same logic used by httplib to handle such cases.
Please review this and comment.