Firstsawyou commented on a change in pull request #2629:
URL: https://github.com/apache/apisix/pull/2629#discussion_r517770767
##########
File path: t/plugin/proxy-mirror.t
##########
@@ -32,10 +32,11 @@ add_block_preprocessor(sub {
server_tokens off;
location / {
- content_by_lua_block {
+ content_by_lua_block {
local core = require("apisix.core")
- local headers_tab = ngx.req.get_headers()
+ core.log.info("upstream_http_version: ",
ngx.req.http_version())
+ local headers_tab = ngx.req.get_headers()
for k, v in pairs(headers_tab) do
Review comment:
hi, @spacewander , I tried it locally. The `headers_tab` printed to the
log does not need to be sorted. We need to sort the `_M.uri()` function in
`t/lib/server.lua`. I think we can solve this by creating a new pr problem.
What do you think?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]