summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crocoite/browser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/browser.py b/crocoite/browser.py
index 67c75c3..e58fce8 100644
--- a/crocoite/browser.py
+++ b/crocoite/browser.py
@@ -158,7 +158,7 @@ class SiteLoader:
# redirects never “finish” loading, but yield another requestWillBeSent with this key set
redirectResp = kwargs.get ('redirectResponse')
if redirectResp:
- resp = {'requestId': reqId, 'response': redirectResp}
+ resp = {'requestId': reqId, 'response': redirectResp, 'timestamp': kwargs['timestamp']}
item.setResponse (resp)
self.loadingFinished (item, redirect=True)
self.logger.debug ('redirected request {} has url {}'.format (reqId, req['url']))