commit | b4b000f0022ed61fdd1dbf92929da61c06f3447c | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Sun Mar 22 15:15:44 2015 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Sun Mar 22 15:15:44 2015 -0400 |
tree | 0082be08e63c032d00ba49f235471b0c277bf061 | |
parent | 29368584d295aed3ec198c158f6503f370492c03 [diff] |
#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.