commit | beed8402ca2b44681f939238c8ea02deeb8a06a2 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Sun Mar 22 15:18:23 2015 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Sun Mar 22 15:18:23 2015 -0400 |
tree | f5169d001eff31904177045e7046445497acffba | |
parent | 75ed90a4cf07cd9236b4ed52d1c7cf09810a1749 [diff] [blame] |
#23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me.
diff --git a/Misc/ACKS b/Misc/ACKS index a23b470..cdee1bb 100644 --- a/Misc/ACKS +++ b/Misc/ACKS
@@ -1179,6 +1179,7 @@ Mark Russell Rusty Russell Nick Russo +James Rutherford Chris Ryland Constantina S. Patrick Sabin