Skip to content

Proxy provider produces errors when served an empty tile #24

@jpolchlo

Description

@jpolchlo

I set up a proxy provider to serve a set of tiles that cover the continental US. Requests for tiles outside the covered area are responded to with a 204 status code (correct response, empty result). The proxy provider attempts to handle the empty image as if it contained data and raises an exception leading to a spray of stack traces and 500 errors to the console. Returning a 200 with an empty image gives the same result. Responding with a 404 produces a similar torrent of console messages, but 404s instead of 500s.

There ought to be a way to communicate to the proxy provider that a tile is empty. I would suggest that such tiles respond with 204, and ktile should handle these responses correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions