From 98a81664b85d1f6a80e5f56603dbfd96e7b8e1ce Mon Sep 17 00:00:00 2001 From: antuarc Date: Fri, 16 Sep 2022 11:34:14 +1000 Subject: [PATCH] document the 'ckan.download_proxy' option, #1 --- README.rst | 1 + ckanext/archiver/tests/test_archiver.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f0b7c5c4..ca595944 100644 --- a/README.rst +++ b/README.rst @@ -244,6 +244,7 @@ Config settings * ``ckanext-archiver.max_content_length`` = the maximum size (in bytes) of files to archive (default ``50000000`` =50MB) * ``ckanext-archiver.user_agent_string`` = identifies the archiver to servers it archives from * ``ckanext-archiver.verify_https`` = true/false whether you want to verify https connections and therefore fail if it is specified in the URL but does not verify. + * ``ckan.download_proxy`` = URL to a HTTP/S proxy server that will be used to download resources. 4. Nightly report generation diff --git a/ckanext/archiver/tests/test_archiver.py b/ckanext/archiver/tests/test_archiver.py index 95503b40..95aefb38 100644 --- a/ckanext/archiver/tests/test_archiver.py +++ b/ckanext/archiver/tests/test_archiver.py @@ -348,7 +348,6 @@ def initialData(cls, clean_db): } def _test_resource(self, url, format=None): - context = {'model': model, 'ignore_auth': True, 'session': model.Session, 'user': 'test'} pkg = {'name': 'testpkg', 'resources': [ {'url': url, 'format': format or 'TXT', 'description': 'Test'} ]}