Closed weierophinney closed 6 years ago
@weierophinney should zend-http
Response class be updated as well ? https://github.com/zendframework/zend-http/blob/master/src/Response.php#L143
@samsonasik Yes, please!
@weierophinney I've created PR https://github.com/zendframework/zend-http/pull/153 for it
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.
Without this change, tests fail on all platforms as the hard-coded reason phrase in
Zend\Diactoros\Response
references an early, non-standards-track usage of the status code.