mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-30 15:19:12 -06:00
fix header response
This commit is contained in:
parent
e2e92f72b2
commit
6e3c2be8bd
@ -60,8 +60,7 @@ class serveRA(http.server.SimpleHTTPRequestHandler):
|
|||||||
print('failed to serve file!', file=stderr)
|
print('failed to serve file!', file=stderr)
|
||||||
print(traceback.format_exc(), file=stderr)
|
print(traceback.format_exc(), file=stderr)
|
||||||
else:
|
else:
|
||||||
self.send_response(400)
|
self.send_response_only(400)
|
||||||
self.end_headers()
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user