ok2c commented on PR #498: URL: https://github.com/apache/httpcomponents-core/pull/498#issuecomment-2418919678
@arturobernalg It is not our job to police the users, if they manually add headers to requests. We need to ensure strict protocol conformance of headers that HttpCore protocol interceptors generate and leave those added by the users alone. The `TE` interceptors can be useful, but we should not add them to the protocol processors by default. These checks eat into the overall execution time and transport performance. Let the users decide whether or not they want to have them. What we _might_ do is to have strict versions of protocol processors _in addition_ to the default ones. -- 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