File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ const STATUS_CODES = {
112112 422 : 'Unprocessable Entity' , // RFC 4918
113113 423 : 'Locked' , // RFC 4918
114114 424 : 'Failed Dependency' , // RFC 4918
115- 425 : 'Unordered Collection ' , // RFC 4918
115+ 425 : 'Too Early ' , // RFC 8470
116116 426 : 'Upgrade Required' , // RFC 2817
117117 428 : 'Precondition Required' , // RFC 6585
118118 429 : 'Too Many Requests' , // RFC 6585
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ enum http_known_headers {
287287 V (UNPROCESSABLE_ENTITY, 422 ) \
288288 V (LOCKED, 423 ) \
289289 V (FAILED_DEPENDENCY, 424 ) \
290- V (UNORDERED_COLLECTION , 425 ) \
290+ V (TOO_EARLY , 425 ) \
291291 V (UPGRADE_REQUIRED, 426 ) \
292292 V (PRECONDITION_REQUIRED, 428 ) \
293293 V (TOO_MANY_REQUESTS, 429 ) \
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const expectedStatusCodes = {
7474 HTTP_STATUS_UNPROCESSABLE_ENTITY : 422 ,
7575 HTTP_STATUS_LOCKED : 423 ,
7676 HTTP_STATUS_FAILED_DEPENDENCY : 424 ,
77- HTTP_STATUS_UNORDERED_COLLECTION : 425 ,
77+ HTTP_STATUS_TOO_EARLY : 425 ,
7878 HTTP_STATUS_UPGRADE_REQUIRED : 426 ,
7979 HTTP_STATUS_PRECONDITION_REQUIRED : 428 ,
8080 HTTP_STATUS_TOO_MANY_REQUESTS : 429 ,
You can’t perform that action at this time.
0 commit comments