ok2c commented on PR #698: URL: https://github.com/apache/httpcomponents-client/pull/698#issuecomment-3853764625
> Would it be an option to keep the current behavior as default but make it again a configuration/option to ignore invalid values as it was before this change? @strangelookingnerd If Httpclient ignores invalid codec values indiscriminately it risks generating garbage content stream. In your specific context `none` codecs may be harmless but it may not be in others. Just drop `Content-Encoding: none` headers with an interceptor or, better yet, ask the server side developers to stop sending it in the first place. -- 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]
