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

http.go: adjust args parse order #59

Merged
merged 1 commit into from
Sep 4, 2017

Conversation

iamzhout
Copy link
Contributor

@iamzhout iamzhout commented Aug 30, 2017

when running bat github.com X-Auth-Token:dGhpcyBpcyBhIGJhc2U2NCB0b2tlbg==,
the X-Auth-Token will fail to be parsed as http header as it contains =, which will be parsed before :

just a quick fix, to parse : first

@iamzhout
Copy link
Contributor Author

Just noticed PR (#43) after submit this one, also try to resolve the same problem.

when running `bat github.com X-Auth-Token:dGhpcyBpcyBhIGJhc2U2NCB0b2tlbg==`,
the X-Auth-Token will fail to be parsed as http header as it contains =, which will be parsed before :

just a quick fix, to parse : first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants