Skip to content

Conversation

OriHoch
Copy link

@OriHoch OriHoch commented Oct 2, 2018

Added an IXLoader interface method: modify_download_request, which can be used to modify the download url or http headers.

JVickery-TBS pushed a commit to JVickery-TBS/ckanext-xloader that referenced this pull request Jun 19, 2023

def modify_download_request(self, url, resource, api_key, headers):
""" Can be used to modify the http download request.
The headers parameter is a dict which should be modified directly.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should say "can be modified" rather than "should be modified".

@ThrawnCA
Copy link
Collaborator

@OriHoch This looks like it could proceed, but needs the merge conflict resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants