chore fixed (#897)

* chore fixed
This commit is contained in:
Machtergreifung 2022-01-13 10:51:47 +08:00 committed by GitHub
parent 800b3bd3fe
commit 9ad26fa049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 14 additions and 14 deletions

View file

@ -22,7 +22,7 @@ func ParseXForwardedFor(header http.Header) []net.Address {
return addrs
}
// RemoveHopByHopHeaders remove hop by hop headers in http header list.
// RemoveHopByHopHeaders removes hop by hop headers in http header list.
func RemoveHopByHopHeaders(header http.Header) {
// Strip hop-by-hop header based on RFC:
// http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.5.1