Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protobuf Format: Incomplete media type detection #443

Closed
JemDay opened this issue Jan 27, 2022 · 0 comments · Fixed by #444
Closed

Protobuf Format: Incomplete media type detection #443

JemDay opened this issue Jan 27, 2022 · 0 comments · Fixed by #444

Comments

@JemDay
Copy link
Contributor

JemDay commented Jan 27, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant