James Rutherford added the comment:

Patch attached for the 2.7 branch, including updated tests. All tests pass. Let 
me know if this looks like a sensible approach and I'll produce something 
comparable for 3.X. 

The logic now is as it was before, except that we set a content length of zero 
if the body is None and the method is one of OPTIONS, PATCH, PUT, or POST.

----------
keywords: +patch
Added file: http://bugs.python.org/file38267/issue23539-py27.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23539>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to