Fix PKC not showing up as a casting target in some cases
This commit is contained in:
parent
18599e2e81
commit
281fe05158
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class MyHandler(BaseHTTPRequestHandler):
|
||||||
self.send_header('Content-Length', len(body))
|
self.send_header('Content-Length', len(body))
|
||||||
self.send_header('Connection', "close")
|
self.send_header('Connection', "close")
|
||||||
self.end_headers()
|
self.end_headers()
|
||||||
self.wfile.write(body)
|
self.wfile.write(body.encode('utf-8'))
|
||||||
self.wfile.close()
|
self.wfile.close()
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue