You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "arturobernalg (via GitHub)" <gi...@apache.org> on 2026/02/19 18:45:40 UTC

[PR] HTTP/1.1: Suppress Content-Length for 1xx responses [httpcomponents-core]

arturobernalg opened a new pull request, #629:
URL: https://github.com/apache/httpcomponents-core/pull/629

   
   [RFC7230](https://www.rfc-editor.org/rfc/rfc7230.html#section-5.4) A server MUST NOT send a Content-Length header field in any response with a status code of 1xx (Informational) or 204 (No Content).  
   [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#section-8.6) A server MUST NOT send a Content-Length header field in any response with a status code of 1xx (Informational) or 204 (No Content).


-- 
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


Re: [PR] HTTP/1.1: Suppress Content-Length for 1xx responses [httpcomponents-core]

Posted by "arturobernalg (via GitHub)" <gi...@apache.org>.
arturobernalg closed pull request #629: HTTP/1.1: Suppress Content-Length for 1xx responses
URL: https://github.com/apache/httpcomponents-core/pull/629


-- 
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


Re: [PR] HTTP/1.1: Suppress Content-Length for 1xx responses [httpcomponents-core]

Posted by "ok2c (via GitHub)" <gi...@apache.org>.
ok2c commented on PR #629:
URL: https://github.com/apache/httpcomponents-core/pull/629#issuecomment-3929533921

   @arturobernalg This is unnecessary. Non-final 1xx response messages _never_ get passed to the protocol interceptors.


-- 
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