gleez/cms — pull request #576 by sergeyklay (2013-11-08 17:18:10+00:00)
Title: Updating Request::execute

Does not make much sense to throw an exception BEFORE the beginning of the project code. So just create artificial Response with the appropriate headers, etc.

In general, works the same as before, but this adds ability for creating some error catchers. For example:

```php
status(401)
->headers('Location', URL::site(Route::get('user')->uri(array('action' => 'login'))));

return $response;
}
}
```