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 two statuscodes: 421,103 #306

Merged
merged 2 commits into from Apr 26, 2020
Merged

add two statuscodes: 421,103 #306

merged 2 commits into from Apr 26, 2020

Conversation

@welcome
Copy link

welcome bot commented Apr 26, 2020

Thanks for opening this pull request! 🎉 Please check out our contributing guidelines. If you want to chat with us, join ons on Telegram https://t.me/gofiber

Copy link
Member

@Fenny Fenny left a comment

Choose a reason for hiding this comment

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

@bestgopher, thanks for your PR, could you also add the constants?
StatusEarlyHints = 103 https://github.com/gofiber/fiber/blob/master/utils.go#L638
StatusMisdirectedRequest = 421 https://github.com/gofiber/fiber/blob/master/utils.go#L678

@bestgopher
Copy link
Contributor Author

@Fenny Yes, of course

add two constants: StatusEarlyHints, StatusMisdirectedRequest
@bestgopher
Copy link
Contributor Author

@Fenny Check it, please.

@Fenny
Copy link
Member

Fenny commented Apr 26, 2020

Thank you @bestgopher !

@Fenny Fenny merged commit 2f4cd15 into gofiber:master Apr 26, 2020
@welcome
Copy link

welcome bot commented Apr 26, 2020

Congrats on merging your first pull request! 🎉 We here at Fiber are proud of you! If you want to chat with us, join ons on Telegram https://t.me/gofiber

@Fenny Fenny mentioned this pull request Apr 28, 2020
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.

None yet

5 participants