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

   ProtocolSwitchStrategy now rejects 101 Switching Protocols responses that 
advertise Upgrade without the required Connection: Upgrade token.
   
   
   [RFC 2817 notes:](https://datatracker.ietf.org/doc/html/rfc2817#section-3.1)
   "the upgrade keyword MUST be supplied within a Connection header field 
(section 14.10) whenever Upgrade is present in an HTTP/1.1 message". 
:contentReference[oaicite:0]{index=0}
   
   [RFC 9110 
requires](https://www.rfc-editor.org/rfc/rfc9110.html#name-upgrade):
   "A sender of Upgrade MUST also send an "Upgrade" connection option in the 
Connection header field (Section 7.6.1)". :contentReference[oaicite:1]{index=1}


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

Reply via email to