diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/http/header.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/http/header.go b/src/net/http/header.go index 4a4ebbcf2f..b9b53911f3 100644 --- a/src/net/http/header.go +++ b/src/net/http/header.go @@ -178,6 +178,7 @@ func (h Header) sortedKeyValues(exclude map[string]bool) (kvs []keyValues, hs *h // WriteSubset writes a header in wire format. // If exclude is not nil, keys where exclude[key] == true are not written. +// Keys are not canonicalized before checking the exclude map. func (h Header) WriteSubset(w io.Writer, exclude map[string]bool) error { return h.writeSubset(w, exclude, nil) } |
