Goxiaoy commented on issue #74: URL: https://github.com/apache/apisix-go-plugin-runner/issues/74#issuecomment-1079964248
https://github.com/apache/apisix/blob/f624fb0a4d33e5aa674ec659e9d778da2ef9860f/apisix/plugins/ext-plugin/init.lua#L626-L635 ``` local len = rewrite:RespHeadersLength() if len > 0 then for i = 1, len do local entry = rewrite:RespHeaders(i) local name = entry:Name() if exclude_resp_header[str_lower(name)] == nil then core.response.set_header(name, entry:Value()) end end end ``` Codes here should take multiple header with same name into account @rampagecong @shuaijinchao -- 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]
