summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2019-01-05 17:22:19 +0100
committerLars-Dominik Braun <lars@6xq.net>2019-01-05 17:22:19 +0100
commit73c0647fd35a6ca07bf53a987d6be7ef1055cf43 (patch)
treebdcce88b02a5c742cbbf3bb794d7682f7a563221 /crocoite
parentbe5f9525649ac39fd9b72a0ad1e6442c72034834 (diff)
downloadcrocoite-73c0647fd35a6ca07bf53a987d6be7ef1055cf43.tar.gz
crocoite-73c0647fd35a6ca07bf53a987d6be7ef1055cf43.tar.bz2
crocoite-73c0647fd35a6ca07bf53a987d6be7ef1055cf43.zip
browser: Do not overwrite request data when prefetching
Needs a testcase.
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/browser.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/crocoite/browser.py b/crocoite/browser.py
index 50561ed..902a068 100644
--- a/crocoite/browser.py
+++ b/crocoite/browser.py
@@ -234,8 +234,6 @@ class RequestResponsePair:
self.request.body = UnicodeBody (postData['postData'])
except TabException:
self.request.body = None
- else:
- self.request.body = None
async def prefetchResponseBody (self, tab):
""" Fetch response body """