Skip to content

Add User-Agent in OSM API requests#98

Merged
Zverik merged 1 commit into
Zverik:masterfrom
Firefishy:add-user-agent
Mar 7, 2026
Merged

Add User-Agent in OSM API requests#98
Zverik merged 1 commit into
Zverik:masterfrom
Firefishy:add-user-agent

Conversation

@Firefishy
Copy link
Copy Markdown
Contributor

The OpenStreetMap API requires a User-Agent.

Set a User-Agent.

@Firefishy
Copy link
Copy Markdown
Contributor Author

For the moment I have removed the API User-Agent requirement, but we will be adding it back in the future.
For reference this is what is currently seen server side: "useragent":""

@Firefishy
Copy link
Copy Markdown
Contributor Author

DISCLOSURE! Not tested ;-)

@Zverik Zverik merged commit 3346f1b into Zverik:master Mar 7, 2026
1 check passed
@Zverik
Copy link
Copy Markdown
Owner

Zverik commented Mar 7, 2026

I don't know how to test this frankly. But I've deployed it just now.

@Firefishy Firefishy deleted the add-user-agent branch March 7, 2026 22:41
@Firefishy
Copy link
Copy Markdown
Contributor Author

I can confirm I am seeing User Agent: "Level0/1.3" server side. All good.

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