mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
frames: add request_ts to wbinfo and use that as the timestamp in the top-frame. for exact replay, request_ts == timestamp for latest replay / no timestamp / memento timegate, redirect to current time instead of time of last capture, while serving last capture. timeutils: add timestamp_now() function to return timestamp of current datetime Add extra tests for this mode Tracked via #72
30 lines
600 B
YAML
30 lines
600 B
YAML
# pywb memento test config file
|
|
# ========================================
|
|
|
|
# minimal settings for memento http api testing
|
|
|
|
collections:
|
|
pywb: ./sample_archive/cdx/
|
|
|
|
pywb-non-exact:
|
|
index_paths: ./sample_archive/cdx/
|
|
redir_to_exact: false
|
|
|
|
archive_paths: ['./sample_archive/warcs/']
|
|
|
|
# Test memento
|
|
enable_memento: true
|
|
|
|
# Enable simple http proxy mode
|
|
enable_http_proxy: true
|
|
|
|
# test unaltered replay for proxy as well
|
|
proxy_options:
|
|
unaltered_replay: true
|
|
|
|
# enable cdx server api for timemap
|
|
enable_cdx_api: true
|
|
|
|
# test memento with framed replay
|
|
framed_replay: true
|