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/04/11 01:55:26 UTC

[GitHub] [apisix] rampagecong commented on a diff in pull request #6811: fix: add support for multi-header with same key

rampagecong commented on code in PR #6811:
URL: https://github.com/apache/apisix/pull/6811#discussion_r846894201


##########
t/lib/ext-plugin.lua:
##########
@@ -373,6 +373,40 @@ function _M.go(case)
                 {"X-Req", "bar"},
                 {"Content-Type", "application/json"},
                 {"Content-Encoding", "deflate"},
+                {"X-Same", "one"},

Review Comment:
   Sorry, I optimized the code.I divided it into three test cases based on this feature.
   TEST 19: rewrite response header and call the upstream service
   TEST 20: rewrite non-important response headers and call the upstream service
   TEST 25: rewrite same response headers and call the upstream service
   



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