mirror of
https://github.com/kataras/iris.git
synced 2026-01-28 06:15:59 +00:00
add the StatusMisdirectedRequest (421) added in go 1.11 net/http package as well
Former-commit-id: 75820b859905cab2a5b62aad1577f704a66082b2
This commit is contained in:
3
iris.go
3
iris.go
@@ -64,7 +64,7 @@ const (
|
|||||||
StatusSeeOther = 303 // RFC 7231, 6.4.4
|
StatusSeeOther = 303 // RFC 7231, 6.4.4
|
||||||
StatusNotModified = 304 // RFC 7232, 4.1
|
StatusNotModified = 304 // RFC 7232, 4.1
|
||||||
StatusUseProxy = 305 // RFC 7231, 6.4.5
|
StatusUseProxy = 305 // RFC 7231, 6.4.5
|
||||||
_ = 306 // RFC 7231, 6.4.6 (Unused)
|
|
||||||
StatusTemporaryRedirect = 307 // RFC 7231, 6.4.7
|
StatusTemporaryRedirect = 307 // RFC 7231, 6.4.7
|
||||||
StatusPermanentRedirect = 308 // RFC 7538, 3
|
StatusPermanentRedirect = 308 // RFC 7538, 3
|
||||||
|
|
||||||
@@ -87,6 +87,7 @@ const (
|
|||||||
StatusRequestedRangeNotSatisfiable = 416 // RFC 7233, 4.4
|
StatusRequestedRangeNotSatisfiable = 416 // RFC 7233, 4.4
|
||||||
StatusExpectationFailed = 417 // RFC 7231, 6.5.14
|
StatusExpectationFailed = 417 // RFC 7231, 6.5.14
|
||||||
StatusTeapot = 418 // RFC 7168, 2.3.3
|
StatusTeapot = 418 // RFC 7168, 2.3.3
|
||||||
|
StatusMisdirectedRequest = 421 // RFC 7540, 9.1.2
|
||||||
StatusUnprocessableEntity = 422 // RFC 4918, 11.2
|
StatusUnprocessableEntity = 422 // RFC 4918, 11.2
|
||||||
StatusLocked = 423 // RFC 4918, 11.3
|
StatusLocked = 423 // RFC 4918, 11.3
|
||||||
StatusFailedDependency = 424 // RFC 4918, 11.4
|
StatusFailedDependency = 424 // RFC 4918, 11.4
|
||||||
|
|||||||
Reference in New Issue
Block a user