mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.11k stars 22.46k forks source link

Content suggestion: document HTTP Refresh header #15340

Closed ethanaobrien closed 4 days ago

ethanaobrien commented 2 years ago

What is the new suggestion?

To document the refresh header

Why is it important or useful?

This shouldnt take long to write, it would help web developers learn of a "hidden" header. (I havent been able to find any easy to read documentation for it anywhere)

Other supporting information

Just about every browser supports it. see this, It was created by netscape but never became official.

Header format

Refresh: <delay in seconds>;url=<link to redirect to>



I would write the docs myself, but Im absolutely terrible with styling (sorry about that)

MDN URL: https://developer.mozilla.org/en-US/docs/Web/HTTP

robinmetral commented 1 year ago

FYI, this is part of the HTML spec (source) since 2017 (PR) so should absolutely be documented 🙂 happy to help, maybe starting with adding it to the Headers page

Edit: here's the PR: https://github.com/mdn/content/pull/22677

hamishwillee commented 1 year ago

Thanks @robinmetral - I see your PR merged. I'll assign to you since I understand from the PR you are working on it.