Mercurial > hg > cmmr2012-drupal-site
diff vendor/zendframework/zend-diactoros/src/Response.php @ 2:5311817fb629
Theme updates
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 13:19:18 +0000 |
parents | c75dbcec494b |
children | a9cd425dd02b |
line wrap: on
line diff
--- a/vendor/zendframework/zend-diactoros/src/Response.php Thu Jul 05 15:32:06 2018 +0100 +++ b/vendor/zendframework/zend-diactoros/src/Response.php Tue Jul 10 13:19:18 2018 +0000 @@ -1,9 +1,7 @@ <?php /** - * Zend Framework (http://framework.zend.com/) - * - * @see http://github.com/zendframework/zend-diactoros for the canonical source repository - * @copyright Copyright (c) 2015-2016 Zend Technologies USA Inc. (http://www.zend.com) + * @see https://github.com/zendframework/zend-diactoros for the canonical source repository + * @copyright Copyright (c) 2015-2017 Zend Technologies USA Inc. (http://www.zend.com) * @license https://github.com/zendframework/zend-diactoros/blob/master/LICENSE.md New BSD License */ @@ -13,6 +11,12 @@ use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\StreamInterface; +use function gettype; +use function is_float; +use function is_numeric; +use function is_scalar; +use function sprintf; + /** * HTTP response encapsulation. * @@ -37,6 +41,7 @@ 100 => 'Continue', 101 => 'Switching Protocols', 102 => 'Processing', + 103 => 'Early Hints', // SUCCESS CODES 200 => 'OK', 201 => 'Created', @@ -82,7 +87,7 @@ 422 => 'Unprocessable Entity', 423 => 'Locked', 424 => 'Failed Dependency', - 425 => 'Unordered Collection', + 425 => 'Too Early', 426 => 'Upgrade Required', 428 => 'Precondition Required', 429 => 'Too Many Requests',