Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use authToken for Curl #3086

Merged
merged 1 commit into from
Jun 28, 2020
Merged

Conversation

HebaruSan
Copy link
Member

Problem

During investigation of #3084, I noticed that the Curl fallback has no support for auth tokens. If Curl is to serve a useful role as a fallback, it should be able to handle the Inflator's network traffic without running into rate limiting issues, and that means auth tokens.

Changes

Now Curl calls set the Authorization header just like the WebClient ones.

@HebaruSan HebaruSan added Bug Something is not working as intended Core (ckan.dll) Issues affecting the core part of CKAN Pull request Network Issues affecting internet connections of CKAN labels Jun 23, 2020
@HebaruSan HebaruSan requested a review from DasSkelett June 23, 2020 00:12
@HebaruSan HebaruSan merged commit 63824f0 into KSP-CKAN:master Jun 28, 2020
@HebaruSan HebaruSan deleted the fix/curl-tokens branch June 28, 2020 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Core (ckan.dll) Issues affecting the core part of CKAN Network Issues affecting internet connections of CKAN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants