What version of Go are you using (go version)?
$ go version
go version go1.17.3 windows/amd64
Does this issue reproduce with the latest release?
yes
The key of token in the request header of many servers is nonstandard. When I want to proxy the server restful api, the function 'CanonicalMIMEHeaderKey' cause me trouble
The token keyword carried by my request is 'AuthToken'
After the function CanonicalMIMEHeaderKey, it becomes 'Authtoken'
the server can't identify 'Authtoken'
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
The key of token in the request header of many servers is nonstandard. When I want to proxy the server restful api, the function 'CanonicalMIMEHeaderKey' cause me trouble
The token keyword carried by my request is 'AuthToken'
After the function CanonicalMIMEHeaderKey, it becomes 'Authtoken'
the server can't identify 'Authtoken'