Skip to content

GZip problems for the correctly configured sources #17

@nyurik

Description

@nyurik

Sadly MVT compression serving is horribly broken, and any request for a Mapbox's tile always returns it compressed, even if Accepted-Header does not specify that. While it works ok in the browser (browser always add that header, and always auto-decompresses it for you), it is broken for tilelive-http for any correctly configured tile sources. For example, asking for a https://maps.wikimedia.org/pbf/4/3/5.pbf would return a compressed or non-compressed pbf based on the accept-header, but Mapbox would ALWAYS return it compressed.

This means that if I use tilelive-http in Kartotherian, it gets back uncompressed data as requested, and tilelive-vector cannot process it correctly.

Please re-enable gzip, or at least make it default with an option to disable it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions