import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @category Zend
|
||||
* @package Zend_Http
|
||||
* @subpackage Response
|
||||
* @version $Id: Response.php 12519 2008-11-10 18:41:24Z alexander $
|
||||
* @version $Id: Response.php 16024 2009-06-12 15:44:56Z doctorrock83 $
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
@ -397,6 +397,16 @@ class Zend_Http_Response
|
||||
return $this->getHeadersAsString(true, $br) . $br . $this->getRawBody();
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements magic __toString()
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->asString();
|
||||
}
|
||||
|
||||
/**
|
||||
* A convenience function that returns a text representation of
|
||||
* HTTP response codes. Returns 'Unknown' for unknown codes.
|
||||
|
Reference in New Issue
Block a user