1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-24 15:09:54 +01:00
pywb/tests/test_config_memento.yaml
Ilya Kreymer 66f5ad62b3 memento: when redir_to_exact is false, don't redirect latest replay/timegate to current timestamp, but return directly latest capture.
when memento enabled, the timegate now follows memento pattern 2.2  (http://tools.ietf.org/html/rfc7089#section-4.2.2)
also return content-location instead of location, update memento no-redirect tests to match new behavior. closes #122
2015-07-18 23:30:31 -07:00

30 lines
599 B
YAML

# pywb memento test config file
# ========================================
# minimal settings for memento http api testing
collections:
pywb: ./sample_archive/cdx/
pywb-no-redir:
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