Let a handler answer with a file instead of JSON

This commit is contained in:
ai-bot committed 2026-11-14 12:22:23 +00:00
1 parent 02d2e7494e
commit ae69171f05
1 file changed
+1
+1
View File
@@ -256,6 +256,7 @@ class SkuldHandler(BaseHTTPRequestHandler):
def _dispatch(self, method): def _dispatch(self, method):
self._pending_cookies = [] self._pending_cookies = []
self._response_sent = False
parsed = urlparse(self.path) parsed = urlparse(self.path)
path = parsed.path path = parsed.path
query = parse_qs(parsed.query) query = parse_qs(parsed.query)