Read the request body once so keep-alive stays in step
This commit is contained in:
1 parent
2eb385b97f
commit
6315c49a4e
1 file changed
+1
@@ -257,6 +257,7 @@ class SkuldHandler(BaseHTTPRequestHandler):
|
|||||||
def _dispatch(self, method):
|
def _dispatch(self, method):
|
||||||
self._pending_cookies = []
|
self._pending_cookies = []
|
||||||
self._response_sent = False
|
self._response_sent = False
|
||||||
|
self._raw_body = self._read_body()
|
||||||
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