Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/textproto: Customize to call the function 'CanonicalMIMEHeaderKey' #53304

Closed
angYuHao opened this issue Jun 9, 2022 · 1 comment
Closed

Comments

@angYuHao
Copy link

angYuHao commented Jun 9, 2022

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'

@seankhliao
Copy link
Member

use the header map directly.

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For questions please refer to https://github.com/golang/go/wiki/Questions

@golang golang locked and limited conversation to collaborators Jun 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants