#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.
R
R David Murray committed
beed8402ca2b44681f939238c8ea02deeb8a06a2
Parent: 75ed90a