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

Remove speculation and discouraging language about usage #33270

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

stevecrozz
Copy link
Contributor

There's nothing wrong with using HTTP response code 406. This code is the correct and appropriate one to use for its purpose. We should not be discouraging people from using it with this kind of language.

Motivation

The existing language puts a negative framing around HTTP 406 and also makes claims about how widespread the use of this status code is. It is very commonly used in for HTTP APIs and I'm sure it is used at least on occasion for human clients too. Are we able to support this claim? It also says "servers ignore" this header (maybe referring to Accept)? This all seems like pretty strange language to have in MDN.

@stevecrozz stevecrozz requested a review from a team as a code owner April 25, 2024 21:24
@stevecrozz stevecrozz requested review from teoli2003 and removed request for a team April 25, 2024 21:24
@github-actions github-actions bot added Content:HTTP HTTP docs size/s 6-50 LoC changed labels Apr 25, 2024
Copy link
Contributor

github-actions bot commented Apr 25, 2024

Preview URLs

(comment last updated: 2024-06-17 06:09:39)

There's nothing wrong with using HTTP response code 406. This code is the correct and appropriate one to use for its purpose. We should not be discouraging people from using it with this kind of language.
@sideshowbarker sideshowbarker merged commit 5997dc5 into mdn:main Jun 17, 2024
8 checks passed
@sideshowbarker
Copy link
Collaborator

Steve, thanks much, and congrats on landing your first docs change here — welcome aboard 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:HTTP HTTP docs size/s 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants