arturobernalg opened a new pull request, #1544: URL: https://github.com/apache/httpcomponents-core/pull/1544
…et encoder is configured With no CharsetEncoder configured (the default) HPackEncoder and HuffmanEncoder converted header name and value characters to bytes with a plain cast, so a character above 0xFF was written as an unrelated byte (U+010A as LF). Both now use TextUtils#castAsByte, as HTTP/1.1 output has done since 5.2, and write '?' instead. As with HTTP/1.1, control characters other than HT and characters in the 0x80-0x9F range are replaced as well. Other ISO-8859-1 characters and encoders with a configured charset are not affected. -- 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]
