Also see: Controller/Action/Helper/Redirector.php Line 89:
if (!is_int($code) || (300 > $code) || (307 < $code)) {
require_once 'Zend/Controller/Exception.php';
throw new Zend_Controller_Action_Exception('Invalid redirect
HTTP status code (' . $code . ')');
}
On Feb 1, 2008 5:47 PM, AmirBehzad Eslami <[EMAIL PROTECTED]> wrote:
> >> My understanding is
> >> that PHP will convert it to an integer before sending it anyways.
>
> No. In my experience an exception thrown
> @see: Controller/Response/Abstract.php , Line 230
>
> if (!is_int($code) || (100 > $code) || (599 < $code)) {
> require_once 'Zend/Controller/Response/Exception.php';
> throw new Zend_Controller_Response_Exception('Invalid HTTP
> response code');
> }
>
>