You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func (Header) Values ¶
added in go1.14
func (h Header) Values(key string) []string
Values returns all values associated with the given key. It is case insensitive; textproto.CanonicalMIMEHeaderKey is used to canonicalize the provided key. To use non-canonical keys, access the map directly. The returned slice is not a copy.
but in this project:
go 1.13 in go.mod
use 1.14 featur:
func (r response) GetHeaders(name string) []string {
return r.resp.Header.Values(name)
}
This PR:#211 introduces this problem.
The text was updated successfully, but these errors were encountered:
func (Header) Values ¶
added in go1.14
func (h Header) Values(key string) []string
Values returns all values associated with the given key. It is case insensitive; textproto.CanonicalMIMEHeaderKey is used to canonicalize the provided key. To use non-canonical keys, access the map directly. The returned slice is not a copy.
https://pkg.go.dev/net/http#Header
but in this project:
go 1.13 in go.mod
use 1.14 featur:
func (r response) GetHeaders(name string) []string {
return r.resp.Header.Values(name)
}
This PR:#211 introduces this problem.
The text was updated successfully, but these errors were encountered: