1657486787 opened a new issue #6220:
URL: https://github.com/apache/apisix/issues/6220


   ### Issue description
   
   Setting head-name in "request-id" plugin has no effect
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   
   
   ### Steps to reproduce
   
   1.set the header_name in "request-id" plugin, pg:
   {
     "disable": false,
     "request-id": {
       "header_name": "mk-id",
       "include_in_response": true
     }
   }
   
   2.However, the result is still “X-Request-Id”
   
   
   
   ### Actual result
   
   "X-Request-Id: 7103a3f5-ff55-4549-925f-65a7ea9a5418"
   
   ### Error log
   
   nothing
   
   ### Expected result
   
   the head-name is  mk-id


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


Reply via email to