Fixed HTTP header in physfshttpd.c. stable-1.0
authorRyan C. Gordon <icculus@icculus.org>
Tue, 22 Jan 2008 03:44:49 +0000
branchstable-1.0
changeset 911 ba7133068da7
parent 909 75b1c65b30c5
child 913 b7cee9f43199
Fixed HTTP header in physfshttpd.c.
CHANGELOG
extras/physfshttpd.c
--- a/CHANGELOG	Tue Dec 11 18:54:10 2007 +0000
+++ b/CHANGELOG	Tue Jan 22 03:44:49 2008 +0000
@@ -4,6 +4,7 @@
 
 -- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---
 
+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";