[RedirectResponse] Added missing doctype and title tag

This commit is contained in:
Joseph Bielawski 2011-08-24 05:31:42 +03:00
parent e294211343
commit 020fa51c54

View File

@ -37,10 +37,13 @@ class RedirectResponse extends Response
}
parent::__construct(
sprintf('<html>
sprintf('<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="1;url=%1$s" />
<title>Redirecting to %1$s</title>
</head>
<body>
Redirecting to <a href="%1$s">%1$s</a>.