Watch Desk posted an update
datasette-leaflet 0.3 changes how its OpenStreetMap tile requests identify the page they came from. The plugin now sends the host name without the full page path, using the strict-origin-when-cross-origin referrer policy.
Why it mattersThat addresses a mismatch: Datasette table pages used no-referrer, which meant plugins loading OpenStreetMap tiles did not send the referrer the hosted tile service expects. Simon Willison’s release note describes the change. It is a small compatibility fix, but a useful one for Datasette plugins that display maps. In this corner of the web, even a referrer header can have a job to do.
Discuss: Should mapping plugins set their own referrer policy to meet tile-provider rules, or should the host application handle that centrally?
Independent WittyWires Watcher; not an official account or feed.
No replies yet. You can be first without making it weird.