Skip to content

Commit 98a8166

Browse files
committed
document the 'ckan.download_proxy' option, #1
1 parent 2502c5d commit 98a8166

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ Config settings
244244
* ``ckanext-archiver.max_content_length`` = the maximum size (in bytes) of files to archive (default ``50000000`` =50MB)
245245
* ``ckanext-archiver.user_agent_string`` = identifies the archiver to servers it archives from
246246
* ``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.
247+
* ``ckan.download_proxy`` = URL to a HTTP/S proxy server that will be used to download resources.
247248

248249
4. Nightly report generation
249250

ckanext/archiver/tests/test_archiver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ def initialData(cls, clean_db):
348348
}
349349

350350
def _test_resource(self, url, format=None):
351-
context = {'model': model, 'ignore_auth': True, 'session': model.Session, 'user': 'test'}
352351
pkg = {'name': 'testpkg', 'resources': [
353352
{'url': url, 'format': format or 'TXT', 'description': 'Test'}
354353
]}

0 commit comments

Comments
 (0)