stanio commented on PR #506: URL: https://github.com/apache/httpcomponents-client/pull/506#issuecomment-1821459427
> This PR's changes to the charset field adhere to RFC 7617, specifically section [2.1](https://datatracker.ietf.org/doc/html/rfc7617#section-2.1) ensuring compliance with 'UTF-8' as the sole allowed value This appears to refer to _server_ challenges (`WWW-Authenticate`). For clients, the intro of the 2.0 section states: > The original definition of this authentication scheme failed to specify the character encoding scheme used to convert the user-pass into an octet sequence. In practice, most implementations chose either a locale-specific encoding such as [ISO-8859-1](https://datatracker.ietf.org/doc/html/rfc7617#ref-ISO-8859-1) ([ISO-8859-1]), or UTF-8 ([[RFC3629](https://datatracker.ietf.org/doc/html/rfc3629)]). For backwards compatibility reasons, this specification continues to leave the default encoding undefined, as long as it is compatible with US-ASCII (mapping any US-ASCII character to a single octet matching the US-ASCII character code). -- 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-unsubscr...@hc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org