From ecc65466d36da704fdef7b2cf72587271bf2cbdf Mon Sep 17 00:00:00 2001 From: Skillet Date: Sun, 13 Aug 2023 18:13:56 -0400 Subject: [PATCH] fix header response --- simpleFileServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpleFileServer.py b/simpleFileServer.py index 112e7f7..a046b27 100644 --- a/simpleFileServer.py +++ b/simpleFileServer.py @@ -60,7 +60,7 @@ class serveRA(http.server.SimpleHTTPRequestHandler): print('failed to serve file!', file=stderr) print(traceback.format_exc(), file=stderr) else: - self.send_response(404) + self.send_response_only(404, 'you must specify the group to pull from!') return