reschke commented on PR #360: URL: https://github.com/apache/httpcomponents-core/pull/360#issuecomment-1220473676
My understanding: always send content-length except when (1) there is no payload and (2) the method does not define payload semantics. So I would special-case GET and HEAD not to send it. -- 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]
