From 41487dd9d4503f1af9da2b6a5047176527305d76 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Fri, 27 Mar 2015 07:58:51 -0700 Subject: [PATCH] update changelist for 0.9.2 cdx: include match type in cdx query error --- CHANGES.rst | 7 +++++++ pywb/cdx/cdxserver.py | 3 +++ 2 files changed, 10 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 4ad132cc..a22a87f0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,13 @@ pywb 0.9.2 changelist ~~~~~~~~~~~~~~~~~~~~~ +* Collections Manager: Allow adding any templates to shared directory, fix adding WARCs with relative path. + +* Replay: Remove limit by HTTP ``Content-Length`` as it may be invalid (only using the record length). + +* WARC Revisit-Resolution Improvements: Support indexes and warcs without any ``digest`` field. If no digest is found, attempt to look up + the original WARC record from the ``WARC-Refers-To-Target-URI`` and ``WARC-Refers-To-Date`` only, even for same url revisits. + (Previously, only used this lookup original url was different from revisit url) pywb 0.9.1 changelist diff --git a/pywb/cdx/cdxserver.py b/pywb/cdx/cdxserver.py index 0de3e325..65dfe6e7 100644 --- a/pywb/cdx/cdxserver.py +++ b/pywb/cdx/cdxserver.py @@ -58,6 +58,9 @@ class BaseCDXServer(object): return self.load_cdx(**fuzzy_query_params) msg = 'No Captures found for: ' + query.url + if not query.is_exact: + msg += ' (' + query.match_type + ' query)' + raise NotFoundException(msg, url=query.url) def _calc_search_keys(self, query):