/trunk/jrest/lib/HTTP/HTTP/Header.php |
---|
139,7 → 139,7 |
* @access public |
* @return object HTTP_Header |
*/ |
function HTTP_Header() |
function __construct() |
{ |
if (isset($_SERVER['SERVER_PROTOCOL'])) { |
$this->setHttpVersion(substr($_SERVER['SERVER_PROTOCOL'], -3)); |