stadiamaps / pmtiles-rs

Rust implementation of PMTiles
Apache License 2.0
52 stars 8 forks source link

Fix incorrect 206-partial handling #22

Closed nyurik closed 8 months ago

nyurik commented 8 months ago

Per MDN docs, Accept-Ranges response is returned ONLY when using HEAD request without the Range header. When asking for a specific range, the server must reply with 206 status.

Also did a minor cleanup for the header settings