Bug 985932 - Fix error HTTP response in test_partially_cached_content.html, r=sworkman

This commit is contained in:
Honza Bambas 2014-04-04 14:42:06 +02:00
Родитель 0ec33c9c0b
Коммит 0f645f0ad5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -12,7 +12,7 @@ function ERR(response, responseCode, responseCodeStr, msg)
setState("expectedRequestType", "");
// Dump to console log and send to client in response.
dump("SERVER ERROR: " + msg + "\n");
response.write("HTTP/1.1" + responseCode + responseCodeStr + "\r\n");
response.write("HTTP/1.1 " + responseCode + " " + responseCodeStr + "\r\n");
response.write("Content-Type: text/html; charset=UTF-8\r\n");
response.write("Content-Length: " + msg.length + "\r\n");
response.write("\r\n");