Fixed HTTP header in physfshttpd.c.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 22 Jan 2008 03:44:49 +0000
changeset 912 a68ff7aaf9a3
parent 910 0860638fad95
child 914 202a708f479b
Fixed HTTP header in physfshttpd.c.
CHANGELOG.txt
extras/physfshttpd.c
--- a/CHANGELOG.txt	Tue Dec 11 18:54:10 2007 +0000
+++ b/CHANGELOG.txt	Tue Jan 22 03:44:49 2008 +0000
@@ -2,6 +2,7 @@
  * CHANGELOG.
  */
 
+01212008 - Fixed HTTP header in physfshttpd.c.
 12112007 - Fixed incorrect directory test in Windows code (thanks, Dennis!).
 10012007 - More mingw32 fixes.
 07122007 - Maybe fixed compile on mingw32.
--- a/extras/physfshttpd.c	Tue Dec 11 18:54:10 2007 +0000
+++ b/extras/physfshttpd.c	Tue Jan 22 03:44:49 2008 +0000
@@ -67,7 +67,7 @@
 static char *txt404 =
 "HTTP/1.0 404 Not Found\n"
 "Connection: close\n"
-"Content-type: text/html\n"
+"Content-Type: text/html; charset=utf-8\n"
 "\n"
 "<html><head><title>404 Not Found</title></head>\n"
 "<body>Can't find that.</body></html>\n\n";