Back to Daily Feed 
datasette-leaflet 0.3 Fixes OpenStreetMap Referrer Policy
Originally published on Simon Willison's Weblog by Simon Willison
View Original Article
Share this article:
Summary & Key Takeaways
datasette-leafletversion 0.3 addresses OpenStreetMap's referrer policy.- It now sets
Referrer-Policy: strict-origin-when-cross-originfor tile requests. - This resolves issues where Datasette's default
no-referrerpolicy violated OSM's terms. - The plugin bundles Leaflet for other Datasette plugins to use.
- It ensures proper attribution and functionality for map visualizations.
Our Commentary
It's a small but important fix for respecting external service policies. Details like referrer headers can easily be overlooked, so it's good to see the Datasette ecosystem being diligent about it.
View Original Article
Share this article: