Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 12db36c

Browse files
committed
Updates reason phrase for 425 response status code
The IANA HTTP status codes list was updated on 2018-07-02 to reflect a new IETF draft, draft-ietf-httpbis-replay-04, which details a header that may be used to indicate that an "early data" request may not yet be accepted, as no TLS handshake has been previously made, and that the request myust be retried after receiving the 425 response.
1 parent 87928a5 commit 12db36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class Response implements ResponseInterface
8787
422 => 'Unprocessable Entity',
8888
423 => 'Locked',
8989
424 => 'Failed Dependency',
90-
425 => 'Unordered Collection',
90+
425 => 'Too Early',
9191
426 => 'Upgrade Required',
9292
428 => 'Precondition Required',
9393
429 => 'Too Many Requests',

0 commit comments

Comments
 (0)