Skip to content

Protobuf Format: Incomplete media type detection #443

@JemDay

Description

@JemDay

The protobuf format uses a test on the content-type to detect if the business data is "text" :

type.startsWith("text/") || "application/json".equals(type) || "application/xml".equals(type)

This will not correct detect other dialects, eg application/foobar+json

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