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