Opened 14 years ago
Closed 11 years ago
#16914 closed enhancement (fixed)
Updated List of HTTP status codes for wp_header_to_desc()
Reported by: | hakre | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 3.9 | Priority: | low |
Severity: | minor | Version: | 3.1 |
Component: | HTTP API | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
http://www.iana.org/assignments/http-status-codes
Hypertext Transfer Protocol (HTTP) Status Code Registry
(last updated 2010-11-05)
Related: #9297
Attachments (4)
Change History (13)
#1
@
14 years ago
- Keywords has-patch added
- Type changed from defect to enhancement
- Version set to 3.1
#2
@
14 years ago
Those two patches contain the same additions to the list (as of the current IANA document), while the second patch contains more meta information in comments.
#5
@
11 years ago
- Component changed from General to HTTP
- Milestone changed from Awaiting Review to 3.9
This ticket was mentioned in IRC in #wordpress-dev by nacin. View the logs.
11 years ago
#7
@
11 years ago
- Keywords needs-refresh added; has-patch removed
- Priority changed from normal to low
- Severity changed from normal to minor
19601.diff is a bit too liberal in its implementation. From that patch:
Status codes that should be added:
428
,429
,431
, and511
are part of RFC 6585 which is still a proposal, but everyone seems to have implemented it anyway, including PHP 5.5. Safe to go in.418
is an April Fools' joke, but I'm sure it's safe enough to go in.
Status codes that should not be added:
122
and450
are not actual HTTP response codes. They occur internally in IE7 and Windows respectively.103
and308
are from an outdated proposal.308
is now part of an experimental draft.425
remains unassigned and was only ever pre-allocated for RFC 2817.444
and499
are, by their definitions, not actual status codes and are only used internally by Nginx.509
is unassigned. Despite this code and its description being included on some "HTTP status code" websites, its origin and use is unknown.510
is part of RFC 2774 which isn't implemented anywhere.
Note: See
TracTickets for help on using
tickets.
Update to latest version of the IANA document.