@@ -67,7 +67,7 @@ my %StatusCode = (
67
67
422 => ' Unprocessable Entity' , # RFC 4918: WebDAV
68
68
423 => ' Locked' , # RFC 4918: WebDAV
69
69
424 => ' Failed Dependency' , # RFC 4918: WebDAV
70
- # 425
70
+ 425 => ' Too Early ' , # RFC 8470: Using Early Data in HTTP
71
71
426 => ' Upgrade Required' ,
72
72
# 427
73
73
428 => ' Precondition Required' , # RFC 6585: Additional Codes
@@ -95,7 +95,6 @@ my %StatusCode = (
95
95
%StatusCode = (
96
96
%StatusCode ,
97
97
418 => ' I\' m a teapot' , # RFC 2324: HTCPC/1.0 1-april
98
- 425 => ' Unordered Collection' , # WebDAV Draft
99
98
449 => ' Retry with' , # microsoft
100
99
509 => ' Bandwidth Limit Exceeded' , # Apache / cPanel
101
100
);
@@ -127,9 +126,12 @@ push(@EXPORT, "RC_REQUEST_URI_TOO_LARGE");
127
126
*RC_REQUEST_RANGE_NOT_SATISFIABLE = \&RC_RANGE_NOT_SATISFIABLE;
128
127
push (@EXPORT , " RC_REQUEST_RANGE_NOT_SATISFIABLE" );
129
128
130
- *RC_NO_CODE = \&RC_UNORDERED_COLLECTION ;
129
+ *RC_NO_CODE = \&RC_TOO_EARLY ;
131
130
push (@EXPORT , " RC_NO_CODE" );
132
131
132
+ *RC_UNORDERED_COLLECTION = \&RC_TOO_EARLY;
133
+ push (@EXPORT , " RC_UNORDERED_COLLECTION" );
134
+
133
135
*HTTP_REQUEST_ENTITY_TOO_LARGE = \&HTTP_PAYLOAD_TOO_LARGE;
134
136
push (@EXPORT_OK , " HTTP_REQUEST_ENTITY_TOO_LARGE" );
135
137
@@ -139,9 +141,12 @@ push(@EXPORT_OK, "HTTP_REQUEST_URI_TOO_LARGE");
139
141
*HTTP_REQUEST_RANGE_NOT_SATISFIABLE = \&HTTP_RANGE_NOT_SATISFIABLE;
140
142
push (@EXPORT_OK , " HTTP_REQUEST_RANGE_NOT_SATISFIABLE" );
141
143
142
- *HTTP_NO_CODE = \&HTTP_UNORDERED_COLLECTION ;
144
+ *HTTP_NO_CODE = \&HTTP_TOO_EARLY ;
143
145
push (@EXPORT_OK , " HTTP_NO_CODE" );
144
146
147
+ *HTTP_UNORDERED_COLLECTION = \&HTTP_TOO_EARLY;
148
+ push (@EXPORT_OK , " HTTP_UNORDERED_COLLECTION" );
149
+
145
150
our %EXPORT_TAGS = (
146
151
constants => [grep /^HTTP_/, @EXPORT_OK ],
147
152
is => [grep /^is_/, @EXPORT , @EXPORT_OK ],
@@ -251,6 +256,7 @@ tag to import them all.
251
256
HTTP_UNPROCESSABLE_ENTITY (422)
252
257
HTTP_LOCKED (423)
253
258
HTTP_FAILED_DEPENDENCY (424)
259
+ HTTP_TOO_EARLY (425)
254
260
HTTP_UPGRADE_REQUIRED (426)
255
261
HTTP_PRECONDITION_REQUIRED (428)
256
262
HTTP_TOO_MANY_REQUESTS (429)
0 commit comments