diff options
Diffstat (limited to 'libgo/go/net/textproto/header.go')
-rw-r--r-- | libgo/go/net/textproto/header.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgo/go/net/textproto/header.go b/libgo/go/net/textproto/header.go index 2e2752a7558..ed096d9a3cb 100644 --- a/libgo/go/net/textproto/header.go +++ b/libgo/go/net/textproto/header.go @@ -23,8 +23,10 @@ func (h MIMEHeader) Set(key, value string) { } // Get gets the first value associated with the given key. +// It is case insensitive; CanonicalMIMEHeaderKey is used +// to canonicalize the provided key. // If there are no values associated with the key, Get returns "". -// Get is a convenience method. For more complex queries, +// To access multiple values of a key, or to use non-canonical keys, // access the map directly. func (h MIMEHeader) Get(key string) string { if h == nil { |