Skip to content

Don't require specific Content-Type header when Protobuf rule is defined for URL #2765

Description

@carstenhag

Description

My responses have the Content-Type "application/vnd.mapbox-vector-tile" (https://github.com/mapbox/vector-tile-spec). Even though I properly configured Protobuf for the URL path, the previewer did not show the decoded response body:

Image

To circumvent this, I had to add script that changes the header: response.headers["Content-Type"] = "Content-Type: application/protobuf";

Why this feature/change is important?

It would make it easier to decode Protobuf, as right now a custom script is needed in some cases.

Context

Protobuf Settings / rule:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions