Firstsawyou commented on a change in pull request #2696:
URL: https://github.com/apache/apisix/pull/2696#discussion_r521828845
##########
File path: t/plugin/hmac-auth.t
##########
@@ -1246,16 +1246,16 @@ location /t {
GET /t
--- response_body
uri: /uri
-host: 127.0.0.1
+content-length: 52
content-type: application/x-www-form-urlencoded
-x-real-ip: 127.0.0.1
+host: 127.0.0.1
user-agent: lua-resty-http/0.14 (Lua) ngx_lua/10017
Review comment:
> > When requesting the URL of `/uri`, all request headers will be
output. So it is normal to have the request header `user-agent`.
>
> I mean it is not sorted in order.
It has been sorted, `user-agent` is after `host`. ^ _ ^
----------------------------------------------------------------
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]