Firstsawyou commented on a change in pull request #2629:
URL: https://github.com/apache/apisix/pull/2629#discussion_r517735588



##########
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:
       Thank you very much for your suggestions, I will update later.




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


Reply via email to