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

Ability to disable media type validation for UriRetriever #543

Closed
estahn opened this issue Nov 5, 2018 · 1 comment
Closed

Ability to disable media type validation for UriRetriever #543

estahn opened this issue Nov 5, 2018 · 1 comment

Comments

@estahn
Copy link
Contributor

estahn commented Nov 5, 2018

There are several endpoints that do not have the correct media type (e.g. http://json-schema.org/). While this is not ideal it's current reality.

It would be great to be able to disable the content type check as we don't have control of upstream schemas.

Same as #540

@erayd
Copy link
Contributor

erayd commented Nov 6, 2018

This is a good idea. It shouldn't be the default behavior, but adding a config flag to allow non-compliant mimetypes would be extremely helpful to those for whom fixing the mimetype header isn't a viable option.

PRs are welcome, or otherwise I'll get to it eventually :-). We're fairly short on manpower on this project.

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

No branches or pull requests

2 participants