You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending a request with Keep-Alive, go respond with an HTTP response that is not contains the Connection header, although the connection maintained.
What version of Go are you using (go version)?
go version go1.6 darwin/amd64
What operating system and processor architecture are you using (go env)?
The RFC you linked to is an old draft, and the sentence you mentioned is not present in the final RFC. That RFC has since been superseded by 7230 and 7231, neither of which require the server to reply with a Connection: keep-alive header.
When sending a request with Keep-Alive, go respond with an HTTP response that is not contains the
Connection
header, although the connection maintained.go version
)?go env
)?What did you expect to see?
Connection
header should be maintained when the keep-alive maintained. as specified [in the RFC](https://www.w3.org/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-01#Persistent Connections):What did you see instead?
Connection
header were dropped.The text was updated successfully, but these errors were encountered: