kayx23 commented on code in PR #13241:
URL: https://github.com/apache/apisix/pull/13241#discussion_r3109763421


##########
docs/en/latest/plugins/key-auth.md:
##########
@@ -385,6 +1086,17 @@ You should see an `HTTP/1.1 200 OK` response. This shows 
that the key included i
 
 The following example demonstrates how you can attach a Consumer custom ID to 
authenticated request in the `Consumer-Custom-Id` header, which can be used to 
implement additional logics as needed.

Review Comment:
   This header name looks inconsistent with the actual behavior and the 
examples below. APISIX adds `X-Consumer-Custom-Id`, not `Consumer-Custom-Id`, 
so the prose here may mislead users about which header to read upstream.



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