Closed
Description
What version of Go are you using (go version
)?
go version go1.11.4 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env
)?
darwin, OS X
What did you do?
Looked at net/http/status.go for available StatusCode constants. http package has HTTP status code from https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
This doc was updated recently and new Informational code was added:
103 | Early Hints | [RFC8297]
Need to update http package as well.
What did you expect to see?
All latest HTTP codes, namely Early Hints
What did you see instead?
No 103, Early Hints