From 73c0647fd35a6ca07bf53a987d6be7ef1055cf43 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 5 Jan 2019 17:22:19 +0100 Subject: browser: Do not overwrite request data when prefetching Needs a testcase. --- crocoite/browser.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'crocoite') 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 """ -- cgit v1.2.3