Skip to content

Commit

Permalink
document the 'ckan.download_proxy' option, #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Sep 16, 2022
1 parent 2502c5d commit 98a8166
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion ckanext/archiver/tests/test_archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
]}
Expand Down

0 comments on commit 98a8166

Please sign in to comment.