Parcourir la source

Added missing HTTP status code 418

Jordi Boggiano il y a 14 ans
Parent
commit
afbf6bfdc7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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',