fix header response

This commit is contained in:
Skillet 2023-08-13 18:19:12 -04:00
parent e2e92f72b2
commit 6e3c2be8bd

View File

@ -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