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

   Presently the content compression executors remove headers content related 
headers from the original response message to make it consistent with 
properties of the content entity. This is conceptually wrong. The content 
entity associated with the response message has its own content properties 
(content-length, content-type, content-encoding, etc) that can differ from 
those of the original message. As long as those properties correctly reflect 
the content produced be the entity there is no need to mutate the original 
response message itself, and there can be legitimate reasons for the caller to 
see the actual response headers.
   
   I propose we change the content compression executors to stop removing 
content related headers from the original response message,


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