michael-o commented on PR #360:
URL:
https://github.com/apache/httpcomponents-core/pull/360#issuecomment-1220436529
RFC 9110:
A user agent SHOULD send Content-Length in a request when the method
defines a meaning for enclosed content and it is not sending
Transfer-Encoding. For example, a user agent normally sends Content-
Length in a POST request even when the value is 0 (indicating empty
content). A user agent SHOULD NOT send a Content-Length header field
when the request message does not contain content and the method
semantics do not anticipate such data.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]