-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ckan.datapusher.callback_url_base when downloading data
The `ckan.datapusher.callback_url_base` config option can be used when the host where DataPusher is running can not access the public CKAN site URL. It defines an alternative internal host that will be used in the API calls to CKAN that the DataPusher performs. But this was not applied when getting the actual data from an uploaded resource to CKAN, which has a CKAN url. This changes replaces the host in the resource URL if the resource is an upload and a value for `ckan.datapusher.callback_url_base` was provided
- Loading branch information
Showing
2 changed files
with
106 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters