BUGFIX #3685: Fixed setting of character set by default when no content negotiator is used.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88218 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-10-06 21:44:38 +00:00
parent 09822abd09
commit baea4ee2ba

View File

@ -65,7 +65,9 @@ class HTTPResponse extends Object {
* @see http://en.wikipedia.org/wiki/List_of_HTTP_headers
* @var array
*/
protected $headers = array();
protected $headers = array(
"Content-Type" => "text/html; charset=\"utf-8\"",
);
/**
* @var string