Browse Source

respondCustom doesn't work as UTF-8

Darren Ranalli 15 years ago
parent
commit
0e94724790
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/http/WebRequest.py

+ 1 - 1
direct/src/http/WebRequest.py

@@ -51,7 +51,7 @@ class WebRequest(object):
             msg += "\nCache-Control: max-age=313977290\nExpires: Tue, 02 May 2017 04:08:44 GMT\n"
 
         msg += u"\r\n\r\n%s" % (body)
-        self.connection.SendThisResponse(encodedUtf8(msg))
+        self.connection.SendThisResponse(msg)
 
     def timeout(self):
         resp = "<html><body>Error 504: Request timed out</body></html>\r\n"