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

package metadata has wrong MIME type #18

Open
drewfish opened this issue Apr 25, 2019 · 2 comments
Open

package metadata has wrong MIME type #18

drewfish opened this issue Apr 25, 2019 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@drewfish
Copy link

When I try curl -I https://npm.open-registry.dev/http-hooks I get Content-Type: text/html. This should be application/json yes?

@victorb
Copy link
Member

victorb commented Apr 25, 2019

Yup, absolutely. Thanks for the report!

@victorb victorb added bug Something isn't working good first issue Good for newcomers labels Apr 25, 2019
@victorb
Copy link
Member

victorb commented Apr 25, 2019

Fixing this would involve changing the metadata-handler to return with content-type, just like the index-handler does.

This would be a good first issue for someone to implement if they are not familiar with the project. Let me know if the instructions above are not clear enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants