File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,13 @@ import (
24
24
// ReverseProxy is an HTTP Handler that takes an incoming request and
25
25
// sends it to another server, proxying the response back to the
26
26
// client.
27
- // ReverseProxy automatically sets the client IP as value of the
27
+ //
28
+ // ReverseProxy automatically sets the client IP as the value of the
28
29
// X-Forwarded-For header.
29
- // If a X-Forwarded-For header already exists, the client IP is
30
- // appended to existing values.
30
+ // If an X-Forwarded-For header already exists, the client IP is
31
+ // appended to the existing values.
31
32
// To prevent IP spoofing, be sure to delete any pre-existing
32
- // X-Forwarded-For header comming from the client or
33
+ // X-Forwarded-For header coming from the client or
33
34
// an untrusted proxy.
34
35
type ReverseProxy struct {
35
36
// Director must be a function which modifies
You can’t perform that action at this time.
0 commit comments