mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
respondCustom doesn't work as UTF-8
This commit is contained in:
parent
62fecd76cb
commit
0e94724790
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user