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

Commit 18b162a

Browse files
committed
Merge branch 'hotfix/280' into develop
Forward port #280
2 parents c68f944 + 4667eaf commit 18b162a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ All notable changes to this project will be documented in this file, in reverse
2828

2929
### Added
3030

31-
- Nothing.
31+
- [#280](https://github.com/zendframework/zend-diactoros/pull/280) adds the
32+
response status code/phrase pairing "103 Early Hints" to the
33+
`Response::$phrases` property. This is a new status proposed via
34+
[RFC 8297](https://datatracker.ietf.org/doc/rfc8297/).
3235

3336
### Changed
3437

src/Response.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class Response implements ResponseInterface
3535
100 => 'Continue',
3636
101 => 'Switching Protocols',
3737
102 => 'Processing',
38+
103 => 'Early Hints',
3839
// SUCCESS CODES
3940
200 => 'OK',
4041
201 => 'Created',

0 commit comments

Comments
 (0)