Explorar o código

Fixed HTTP header in physfshttpd.c.

Ryan C. Gordon %!s(int64=18) %!d(string=hai) anos
pai
achega
6ec1239122
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  1. 1 0
      CHANGELOG
  2. 1 1
      extras/physfshttpd.c

+ 1 - 0
CHANGELOG

@@ -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.

+ 1 - 1
extras/physfshttpd.c

@@ -67,7 +67,7 @@ typedef struct
 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";