Changeset 19106 for branches


Ignore:
Timestamp:
2010/11/06 22:24:57 (14 years ago)
Author:
miningbrownie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/SC_Response.php

    r19105 r19106  
    1818    var $header = array(); 
    1919 
     20    var $statusTexts = array( 
     21    '100' => 'Continue', 
     22    '101' => 'Switching Protocols', 
     23    '200' => 'OK', 
     24    '201' => 'Created', 
     25    '202' => 'Accepted', 
     26    '203' => 'Non-Authoritative Information', 
     27    '204' => 'No Content', 
     28    '205' => 'Reset Content', 
     29    '206' => 'Partial Content', 
     30    '300' => 'Multiple Choices', 
     31    '301' => 'Moved Permanently', 
     32    '302' => 'Found', 
     33    '303' => 'See Other', 
     34    '304' => 'Not Modified', 
     35    '305' => 'Use Proxy', 
     36    '306' => '(Unused)', 
     37    '307' => 'Temporary Redirect', 
     38    '400' => 'Bad Request', 
     39    '401' => 'Unauthorized', 
     40    '402' => 'Payment Required', 
     41    '403' => 'Forbidden', 
     42    '404' => 'Not Found', 
     43    '405' => 'Method Not Allowed', 
     44    '406' => 'Not Acceptable', 
     45    '407' => 'Proxy Authentication Required', 
     46    '408' => 'Request Timeout', 
     47    '409' => 'Conflict', 
     48    '410' => 'Gone', 
     49    '411' => 'Length Required', 
     50    '412' => 'Precondition Failed', 
     51    '413' => 'Request Entity Too Large', 
     52    '414' => 'Request-URI Too Long', 
     53    '415' => 'Unsupported Media Type', 
     54    '416' => 'Requested Range Not Satisfiable', 
     55    '417' => 'Expectation Failed', 
     56    '500' => 'Internal Server Error', 
     57    '501' => 'Not Implemented', 
     58    '502' => 'Bad Gateway', 
     59    '503' => 'Service Unavailable', 
     60    '504' => 'Gateway Timeout', 
     61    '505' => 'HTTP Version Not Supported', 
     62    ); 
     63 
     64 
    2065    /** 
    2166     * 
     
    3580        header('HTTP/1.1 '.$this->statuscode.' '.) 
    3681        foreach ($this->header as $head){ 
    37            
     82 
    3883        } 
    3984    } 
Note: See TracChangeset for help on using the changeset viewer.