Creates a redirect response so that it conforms to the rules defined for a redirect status code.
public __construct ( string $url, integer $status = 302 ) | ||
$url | string | The URL to redirect to |
$status | integer | The status code (302 by default) |