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

Todo list of standard, permanent HTTP headers #1264

Closed
48 of 90 tasks
brendanzab opened this issue Jul 15, 2017 · 2 comments
Closed
48 of 90 tasks

Todo list of standard, permanent HTTP headers #1264

brendanzab opened this issue Jul 15, 2017 · 2 comments

Comments

@brendanzab
Copy link
Contributor

I noticed when making my reverse proxy that the Forwarded header is not implemented, along with a bunch of others. So here's a list of 'permanent HTTP headers with a status of standard' on IANA's list, as of 2017-06-28:

We have some other headers not in this list in our headers::common module:

I'm not sure what we want to do with these - whether we keep them, or move them to another module for clarity. This list will also have to be kept up to date. I copied the HTML and used multiple cursors to make it, but it could be a bit error prone. It's a start at least though!

@brendanzab brendanzab changed the title Todod list of standard, permanent HTTP headers Todo list of standard, permanent HTTP headers Jul 15, 2017
@seanmonstar
Copy link
Member

I'm actually not too worried about what is in the IANA registry. People register all sorts of super specific headers there, but that doesn't mean that everyone actually uses them.

For instance, the Access-Control headers are quite common for web apps, Whereas all the DAV related headers are likely used by very few (I had no idea there was so many).

So far, we've added the headers as people have needed them. If the header isn't that common, it's been recommended to make a separate crate.

@brendanzab
Copy link
Contributor Author

Sounds reasonable. Perhaps it would be good to document the position somewhere of what headers make it into the library?

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

No branches or pull requests

2 participants