You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/18 13:17:50 UTC

[GitHub] [apisix] tzssangglass commented on issue #7736: bug: response-rewrite plugin will lose Content-Encoding when the body returned by upstream has compression encoding

tzssangglass commented on issue #7736:
URL: https://github.com/apache/apisix/issues/7736#issuecomment-1219482265

   > I found that the header_filter of the plugin will call the core.response.clear_header_as_body_modified() method to clear the relevant headers :-(
   
   Yes, because if the response is modified by `response-rewrite` plugin, the origin `Content-Length` in the response header may be invalid, so need to clean the headers that are ready to send to the client.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org