1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

setup: bump min versions for wsgiprox, warcio

rewriterapp: add warc record param to _add_custom_params() to expose record to extensions
This commit is contained in:
Ilya Kreymer 2018-05-31 17:29:37 -07:00
parent dc1982784e
commit 1e9f457ef1
2 changed files with 4 additions and 4 deletions

View File

@ -329,7 +329,7 @@ class RewriterApp(object):
return resp
self._add_custom_params(cdx, r.headers, kwargs)
self._add_custom_params(cdx, r.headers, kwargs, record)
if self._add_range(record, wb_url, range_start, range_end):
wb_url.mod = 'id_'
@ -626,7 +626,7 @@ class RewriterApp(object):
def get_cookie_key(self, kwargs):
raise NotImplemented()
def _add_custom_params(self, cdx, headers, kwargs):
def _add_custom_params(self, cdx, headers, kwargs, record):
pass
def get_top_frame_params(self, wb_url, kwargs):

View File

@ -1,5 +1,5 @@
six
warcio>=1.5.0
warcio>=1.5.2
chardet
requests
redis
@ -12,4 +12,4 @@ webencodings
gevent==1.2.2
webassets==0.12.1
portalocker
wsgiprox>=1.4.1
wsgiprox>=1.5.0