We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3294d9 commit 1adbb2bCopy full SHA for 1adbb2b
src/net/http/status.go
@@ -55,6 +55,7 @@ const (
55
StatusUnprocessableEntity = 422 // RFC 4918, 11.2
56
StatusLocked = 423 // RFC 4918, 11.3
57
StatusFailedDependency = 424 // RFC 4918, 11.4
58
+ StatusTooEarly = 425 // RFC 8470, 5.2.
59
StatusUpgradeRequired = 426 // RFC 7231, 6.5.15
60
StatusPreconditionRequired = 428 // RFC 6585, 3
61
StatusTooManyRequests = 429 // RFC 6585, 4
@@ -122,6 +123,7 @@ var statusText = map[int]string{
122
123
StatusUnprocessableEntity: "Unprocessable Entity",
124
StatusLocked: "Locked",
125
StatusFailedDependency: "Failed Dependency",
126
+ StatusTooEarly: "Too Early",
127
StatusUpgradeRequired: "Upgrade Required",
128
StatusPreconditionRequired: "Precondition Required",
129
StatusTooManyRequests: "Too Many Requests",
0 commit comments