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/31 02:52:46 UTC

[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #195: bug: content-type reset to text / plain after the postFilter stage

tzssangglass commented on issue #195:
URL: https://github.com/apache/apisix-java-plugin-runner/issues/195#issuecomment-1232390364

   some response headers can not be changed, ref: https://github.com/apache/apisix/blob/master/apisix/plugins/ext-plugin/init.lua#L70-L81
   
   ```
   local exclude_resp_header = {
       ["connection"] = true,
       ["content-length"] = true,
       ["transfer-encoding"] = true,
       ["location"] = true,
       ["server"] = true,
       ["www-authenticate"] = true,
       ["content-encoding"] = true,
       ["content-type"] = true,
       ["content-location"] = true,
       ["content-language"] = true,
   }
   ```
   
   


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