Skip to content
Permalink
Browse files

Add status codes from httpstatuses.com

  • Loading branch information...
ravage84 committed Sep 26, 2016
1 parent 5521881 commit 1cf041841c28206d894f66dd4c7267d8ae5d82be
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/Network/Response.php
@@ -49,6 +49,7 @@ class Response
206 => 'Partial Content',
207 => 'Multi-status',
208 => 'Already Reported',
226 => 'IM used',
300 => 'Multiple Choices',
301 => 'Moved Permanently',
302 => 'Found',
@@ -57,6 +58,7 @@ class Response
305 => 'Use Proxy',
306 => 'Switch Proxy',
307 => 'Temporary Redirect',
308 => 'Permanent Redirect',
400 => 'Bad Request',
401 => 'Unauthorized',
402 => 'Payment Required',
@@ -84,7 +86,9 @@ class Response
428 => 'Precondition Required',
429 => 'Too Many Requests',
431 => 'Request Header Fields Too Large',
444 => 'Connection Closed Without Response',
451 => 'Unavailable For Legal Reasons',
499 => 'Client Closed Requet',
500 => 'Internal Server Error',
501 => 'Not Implemented',
502 => 'Bad Gateway',
@@ -94,7 +98,9 @@ class Response
506 => 'Variant Also Negotiates',
507 => 'Insufficient Storage',
508 => 'Loop Detected',
510 => 'Not Extended',
511 => 'Network Authentication Required',
511 => 'Network Connect Timeout Error',
];
/**

0 comments on commit 1cf0418

Please sign in to comment.
You can’t perform that action at this time.