Datasette Referrer-Policy Plugin Fixes OpenStreetMap Tile Display
Simon Willison released datasette-referrer-policy 0.1, a plugin for Datasette, to address OpenStreetMap tile display issues on the global-power-plants demo. Two bugs caused the problem: a CAPTCHA blocking .json fetch requests for the map plugin, and OpenStreetMap blocking tile requests from sites using a Referrer-Policy: no-referrer header. Datasette sets this header by default, and Willison opted not to change the default without warning. Instead, he used Codex and GPT-5.5 to develop the plugin, which allows setting the header to another value. The plugin was announced on 5th May 2026. Willison also offers a $10/month sponsorship for a curated email digest of monthly LLM developments.
Key facts
- Datasette global-power-plants demo had OpenStreetMap tile display issues.
- Two bugs caused the problem: CAPTCHA blocking .json fetch requests and OpenStreetMap blocking requests with Referrer-Policy: no-referrer.
- Datasette uses Referrer-Policy: no-referrer by default.
- Simon Willison used Codex and GPT-5.5 to build the datasette-referrer-policy plugin.
- The plugin allows setting the Referrer-Policy header to another value.
- The release was on 5th May 2026.
- Willison offers a $10/month sponsorship for a curated email digest of LLM developments.
Entities
Institutions
- OpenStreetMap
- Datasette