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

updating so OSM accepts headers #10

Merged
merged 1 commit into from May 29, 2019

Conversation

Projects
None yet
2 participants
@crooksey
Copy link
Contributor

commented May 29, 2019

As of the weekend just gone, OSM now rejects nearly all requests that do not have a valid user agent supplied. The code as it was had no ability to pass a custom header when using the library as a third party plugin. I have put the OSM related requests into a function so that users can pass their own user agents.

I have included a working example user agent in the documentation as well, let me know what you think.

@MatthewDaws MatthewDaws merged commit ff586d1 into MatthewDaws:master May 29, 2019

@crooksey

This comment has been minimized.

Copy link
Contributor Author

commented May 29, 2019

@MatthewDaws

This comment has been minimized.

Copy link
Owner

commented May 29, 2019

Doing this now! #11

@crooksey

This comment has been minimized.

Copy link
Contributor Author

commented May 30, 2019

Thanks Matthew, if you need a hand with anything let me know, looks like you have it all covered at #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.