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

📚 [Doc] fix incorrect status code source #2667

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

joshlarsen
Copy link
Contributor

Description

Documentation for status codes (e.g. fiber.StatusOK) mentions that status codes in helpers.go were copied from https://github.com/nginx/nginx/blob/67d2a9541826ecd5db97d604f23460210fd3e517/conf/mime.types. However, this source contains nothing about HTTP status codes.

This is most likely a typo, as the status codes appear to be copied from net/http, with two small updates. This PR updates the comment to reflect an accurate source for HTTP status codes.

Type of change

  • Bug fix - documentation

@welcome
Copy link

welcome bot commented Oct 8, 2023

Thanks for opening this pull request! 🎉 Please check out our contributing guidelines. If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

Copy link
Member

@ReneWerner87 ReneWerner87 left a comment

Choose a reason for hiding this comment

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

Thx, but the text is duplicated

Copy link
Contributor Author

@joshlarsen joshlarsen left a comment

Choose a reason for hiding this comment

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

🤦🏼‍♂️

@ReneWerner87 ReneWerner87 merged commit 8c69065 into gofiber:master Oct 10, 2023
14 of 20 checks passed
@welcome
Copy link

welcome bot commented Oct 10, 2023

Congrats on merging your first pull request! 🎉 We here at Fiber are proud of you! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

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

Successfully merging this pull request may close these issues.

3 participants