hiw3c 日报精选
Simon Willison 网页快照

datasette-leaflet 0.3

原文标题 · datasette-leaflet 0.3

发布:datasette-leaflet 0.3 OpenStreetMap 有一项非常合理的策略,要求当访问其托管瓦片服务器时必须发送引用头。Datasette表格页面使用Referrer-Policy:无引用HTTP头,导致从OpenStreetMap加载瓦片的插件违反该策略。datasette-leaflet是那个用于加载捆绑式Leaflet的插件,其他Datasette插件可依赖它。现在,

来源:Simon Willison · simonwillison.net

正文为英文,可一键机器翻译(仅首次需要等待)

Simon Willison’s Weblog

OpenStreetMap have a very reasonable policy that hits to their hosted tile server should send a referrer header . Datasette table pages used the Referrer-Policy: no-referrer HTTP header, causing plugins that loaded tiles from OpenStreetMap to violate that policy.

datasette-leaflet is the plugin that loads a bundled Leaflet so other Datasette plugins can depend on it. It now sets the referrer policy on the tile requests themselves to strict-origin-when-cross-origin , passing the host but not the full path to the page.

Recent articles

Locating the source of a mysterious beep with Claude - 9th November 2026

Hide your slop PR descriptions behind <details><summary> - 9th November 2026

Qwen 3.8 27B on my laptop can interpret model weights, too - 3rd November 2026

The U.S. Census Bureau and “Super Intelligence” - 2nd November 2026

This is a beat by Simon Willison, posted on 13th November 2026 .

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.