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

x/net/http2: #16699

Closed
shallam66 opened this issue Aug 15, 2016 · 1 comment
Closed

x/net/http2: #16699

shallam66 opened this issue Aug 15, 2016 · 1 comment

Comments

@shallam66
Copy link

shallam66 commented Aug 15, 2016

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    1.6
  2. What operating system and processor architecture are you using (go env)?
    GOARCH="amd64"
    GOBIN=""
    GOEXE=""
    GOHOSTARCH="amd64"
    GOHOSTOS="linux"
    GOOS="linux"
    GOPATH="/data0/gopath:/data0/xielan"
    GORACE=""
    GOROOT="/usr/local/go"
    GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
    GO15VENDOREXPERIMENT="1"
    CC="gcc"
    GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
    CXX="g++"
    CGO_ENABLED="1"
  3. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    A link on play.golang.org is best.
  4. What did you expect to see?
  5. What did you see instead?
    HTTP/1.1 400 Bad Request
    Content-Type: text/plain
    Connection: close

400 Bad Request: missing required Host header

@bradfitz
Copy link
Contributor

Sorry, there's not enough information here to help.

Also, you filed an http2 bug report but it's not clear what this has to do with HTTP/2.

HTTP/1.1 does indeed require a Host header.

@golang golang locked and limited conversation to collaborators Aug 15, 2017
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