Explorar o código

Added missing HTTP status code 418

Jordi Boggiano %!s(int64=14) %!d(string=hai) anos
pai
achega
afbf6bfdc7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Symfony/Component/HttpFoundation/Response.php

+ 1 - 0
src/Symfony/Component/HttpFoundation/Response.php

@@ -64,6 +64,7 @@ class Response
         415 => 'Unsupported Media Type',
         416 => 'Requested Range Not Satisfiable',
         417 => 'Expectation Failed',
+        418 => 'I\'m a teapot',
         500 => 'Internal Server Error',
         501 => 'Not Implemented',
         502 => 'Bad Gateway',