diff --git a/providers/internal/httpheaders/httpheaders.go b/providers/internal/httpheaders/httpheaders.go index 67fd6529e9fa7450da319054da1b3c146aa21a4a..0dcd54799d11cc63b7ec6624be4565dcb0c94705 100644 --- a/providers/internal/httpheaders/httpheaders.go +++ b/providers/internal/httpheaders/httpheaders.go @@ -11,11 +11,11 @@ func DefaultUserAgent(version string) string { // ResolveHeaders returns a new header map, with a User-Agent field. // -// Setting the value via WithUserAgent() takes prescidence, however the user +// Setting the value via WithUserAgent() takes precedence, however the user // agent can also be set via HTTP headers (i.e. WithHeaders()). Otherwise, the // default user agent will be used, i.e. Charm Fantasy/0.11.0. // -// Also note that The input map is never mutated. +// Also note that the input map is never mutated. func ResolveHeaders(headers map[string]string, explicitUA, defaultUA string) map[string]string { out := make(map[string]string, len(headers)+1) var uaKeys []string