Mercurial > SimpleWebPresenter
diff http-response-status-codes.inc @ 13:9dab5b96b789
Clean spurious whitespace.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Wed, 19 Sep 2012 12:42:32 +0200 |
| parents | 18aafb1a8986 |
| children | f42dbf44b661 |
line wrap: on
line diff
--- a/http-response-status-codes.inc Mon May 28 23:13:17 2012 +0200 +++ b/http-response-status-codes.inc Wed Sep 19 12:42:32 2012 +0200 @@ -114,7 +114,7 @@ const HTTP_VERSION_NOT_SUPPORTED = 505; - + private static $messages = array( @@ -212,7 +212,7 @@ ); - + public static function httpHeaderFor($code) { @@ -225,14 +225,14 @@ return self::$messages[$code]; } - + public static function isError($code) { return is_numeric($code) && $code >= self::HTTP_BAD_REQUEST; } - + public static function canHaveBody($code) { @@ -253,4 +253,4 @@ } } -?> +?> \ No newline at end of file
