Skip to content

Commit

Permalink
Merge branch 'hotfix/3'
Browse files Browse the repository at this point in the history
Close #3
Fixes #2
  • Loading branch information
weierophinney committed Feb 6, 2017
2 parents 70899e5 + 409088f commit 2794f0e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

All notable changes to this project will be documented in this file, in reverse chronological order by release.

## 1.1.1 - 2017-02-06

### Added

- [#3](https://github.com/php-fig/http-message-util/pull/3) adds the constant
`StatusCodeInterface::STATUS_IM_A_TEAPOT` (418).

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- Nothing.

## 1.1.0 - 2016-09-19

### Added
Expand Down
4 changes: 3 additions & 1 deletion src/StatusCodeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
/**
* Defines constants for common HTTP status code.
*
* @see https://tools.ietf.org/html/rfc2518#section-9.7
* @see https://tools.ietf.org/html/rfc2295#section-8.1
* @see https://tools.ietf.org/html/rfc2324#section-2.3
* @see https://tools.ietf.org/html/rfc2518#section-9.7
* @see https://tools.ietf.org/html/rfc2774#section-7
* @see https://tools.ietf.org/html/rfc3229#section-10.4
* @see https://tools.ietf.org/html/rfc4918#section-11
Expand Down Expand Up @@ -77,6 +78,7 @@ interface StatusCodeInterface
const STATUS_UNSUPPORTED_MEDIA_TYPE = 415;
const STATUS_RANGE_NOT_SATISFIABLE = 416;
const STATUS_EXPECTATION_FAILED = 417;
const STATUS_IM_A_TEAPOT = 418;
const STATUS_UNPROCESSABLE_ENTITY = 422;
const STATUS_LOCKED = 423;
const STATUS_FAILED_DEPENDENCY = 424;
Expand Down

0 comments on commit 2794f0e

Please sign in to comment.