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

Feature Request: Change urls with .json extension to application/json content type #24

Open
AndrewLeedham opened this issue Jan 17, 2019 · 0 comments

Comments

@AndrewLeedham
Copy link

It would be nice if in addition to mapping similiar content-types to just application/json, if this plugin could also map urls e.g. https://www.rest.com/example.json that are served using say text/plain to application/json as well.

Similiar to what https://github.com/samlh/display-inline does for other extensions like .pdf etc.

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

No branches or pull requests

2 participants