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

[nominatim][bugfix] User agent for initJob curl, handle non-success response #46

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

dekzz
Copy link
Contributor

@dekzz dekzz commented Mar 29, 2023

Provide user agent on curl, mainly because of this, also added -f (--fail) which changes the return code of curl command if http status is not success.
(I've added user agent to all init job curls, althought it is only required by https://nominatim.org/data)

Implements #45.

@robjuz robjuz merged commit bb88549 into robjuz:master Mar 30, 2023
@robjuz
Copy link
Owner

robjuz commented Mar 30, 2023

Thx. I really appreciate!

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