Skip to content

Commit

Permalink
Pull request 101: add-hdr
Browse files Browse the repository at this point in the history
Squashed commit of the following:

commit 9b26d05
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Mar 14 16:19:21 2024 +0300

    httphdr: add x-connecting-ip; fix true-client-ip
  • Loading branch information
ainar-g committed Mar 14, 2024
1 parent f6669f5 commit 7cefaf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion httphdr/httphdr.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ const (
// Common extension headers.
const (
AdminToken = "Admin-Token"
TrueClientIP = "True-Client-IP"
TrueClientIP = "True-Client-Ip"

XConnectingIP = "X-Connecting-Ip"
XError = "X-Error"
XForwardedFor = "X-Forwarded-For"
XForwardedHost = "X-Forwarded-Host"
Expand Down

0 comments on commit 7cefaf8

Please sign in to comment.