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

Add HTTP status codes #9

Merged
merged 1 commit into from
Jun 15, 2019
Merged

Add HTTP status codes #9

merged 1 commit into from
Jun 15, 2019

Conversation

felipemfp
Copy link
Contributor

This PR solves a common problem which is depending on fasthttp or net/http to set status codes.

@felipemfp felipemfp self-assigned this Jun 14, 2019

// HTTP status codes were stolen from valyala/fasthttp.
const (
StatusContinue = 100 // RFC 7231, 6.2.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation, RFC.

@felipemfp felipemfp merged commit 1e2ace3 into dev Jun 15, 2019
@felipemfp felipemfp mentioned this pull request Jul 3, 2019
felipemfp added a commit that referenced this pull request Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants