Let a handler answer with a file instead of JSON
This commit is contained in:
1 parent
02d2e7494e
commit
ae69171f05
1 file changed
+1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user