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/http: malformed HTTP status code "client" #14388

Closed
sger opened this issue Feb 18, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@sger
Copy link

commented Feb 18, 2016

Hello,

just installed go 1.6 my issue is that i'm trying to send a POST request to apns server and i'm getting this message

malformed HTTP status code "client"

probably trying to send HTTP 1.1 requests instead of HTTP 2.0

any ideas on this issue?

@ianlancetaylor ianlancetaylor changed the title malformed HTTP status code "client" net/http: malformed HTTP status code "client" Feb 18, 2016

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Feb 18, 2016

Show us your code.

Where is the message coming from? The client or the server?

See the net/http package docs for how to disable HTTP 2.0.

If you just want to ask a question, please don't use the issue tracker. Please see https://golang.org/wiki/Questions . Thanks.

@sger

This comment has been minimized.

Copy link
Author

commented Feb 18, 2016

same issue with #14275 thanks @ianlancetaylor

@golang golang locked and limited conversation to collaborators Feb 28, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.