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: new status code: 103, Early Hints, RFC8297 #29655

Open
vkuzmin-uber opened this Issue Jan 10, 2019 · 2 comments

Comments

Projects
None yet
4 participants
@vkuzmin-uber
Copy link
Contributor

vkuzmin-uber commented Jan 10, 2019

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

@vkuzmin-uber

This comment has been minimized.

Copy link
Contributor

vkuzmin-uber commented Jan 10, 2019

I will publish code review

@gopherbot

This comment has been minimized.

Copy link

gopherbot commented Jan 10, 2019

Change https://golang.org/cl/157339 mentions this issue: net/http: new status code: 103, Early Hints

@ALTree ALTree added this to the Go1.13 milestone Jan 10, 2019

@bradfitz bradfitz added the NeedsFix label Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment