mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-28 22:29:13 -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(traceback.format_exc(), file=stderr)
|
||||
else:
|
||||
self.send_response(400)
|
||||
self.end_headers()
|
||||
self.send_response_only(400)
|
||||
return
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user