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:
parent
dc1982784e
commit
1e9f457ef1
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user