From a9ffdb2b4db06ef4c55a1bf5b30eea6284241e8f Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 26 Oct 2021 03:01:05 +0700 Subject: [PATCH] [Response] Update RHTTP Reason phrase based on latest iana.org Signed-off-by: Abdul Malik Ikhsan --- src/Response.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Response.php b/src/Response.php index 99e8afd9..b599a658 100644 --- a/src/Response.php +++ b/src/Response.php @@ -155,13 +155,13 @@ class Response extends AbstractMessage implements ResponseInterface 410 => 'Gone', 411 => 'Length Required', 412 => 'Precondition Failed', - 413 => 'Request Entity Too Large', - 414 => 'Request-URI Too Long', + 413 => 'Content Too Large', + 414 => 'URI Too Long', 415 => 'Unsupported Media Type', - 416 => 'Requested range not satisfiable', + 416 => 'Range Not Satisfiable', 417 => 'Expectation Failed', 418 => 'I\'m a teapot', - 422 => 'Unprocessable Entity', + 422 => 'Unprocessable Content', 423 => 'Locked', 424 => 'Failed Dependency', 425 => 'Too Early', @@ -177,7 +177,7 @@ class Response extends AbstractMessage implements ResponseInterface 501 => 'Not Implemented', 502 => 'Bad Gateway', 503 => 'Service Unavailable', - 504 => 'Gateway Time-out', + 504 => 'Gateway Timeout', 505 => 'HTTP Version not supported', 506 => 'Variant Also Negotiates', 507 => 'Insufficient Storage',