juzhiyuan commented on a change in pull request #1961:
URL: https://github.com/apache/apisix/pull/1961#discussion_r465780694



##########
File path: apisix/init.lua
##########
@@ -299,6 +300,8 @@ function _M.http_access_phase()
 
     core.ctx.set_vars_meta(api_ctx)
 
+    core.response.set_header("server", ver_header)

Review comment:
       I would recommend adding a more independent header to describe the 
version of APISIX, e.g {"X-Version": "1.4"}




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