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

Make user agent string customisable #557

Merged
merged 5 commits into from
Nov 28, 2024
Merged

Conversation

ThrawnCA
Copy link
Contributor

Some servers whitelist or blacklist specific user agents, so allow the header value to be configured.

Also fix the build on latest ckan-dev container.

@seitenbau-govdata
Copy link
Member

@ThrawnCA Thanks for the contribution. LGTM. Maybe it would be helpful if the configuration value is validated that it is a simple string to avoid problems sending the request.

@amercader amercader merged commit d2a1ca4 into ckan:master Nov 28, 2024
4 checks passed
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.

4 participants