You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2022/08/19 09:44:07 UTC

[GitHub] [httpcomponents-core] reschke commented on pull request #360: Add content lenght header even if the body is empty

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: dev-unsubscribe@hc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org