Merge pull request #1451 from croneter/fix-companion
Fix PKC not showing up as a casting target in some cases
This commit is contained in:
commit
f634554699
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