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

Markdown, MD return wrong content type. #12

Closed
envygeeks opened this issue Jun 2, 2018 · 6 comments
Closed

Markdown, MD return wrong content type. #12

envygeeks opened this issue Jun 2, 2018 · 6 comments

Comments

@envygeeks
Copy link

Even though this has been filed upstream, they've been slow to progress on the issue, even though an RFC exists for text/markdown being md, and markdown, and a pull-request exists upstream (see: mime-types/mime-types-data#15, mime-types/mime-types-data#13) this problem has yet to be fixed, so I'm hoping we can get a quick resolution here?

@SamSaffron
Copy link
Member

@jeremy what are your thoughts here, on one hand it is an easy one line change, but on the other hand we all agree it belongs upstream.

@jeremy
Copy link
Collaborator

jeremy commented Jun 4, 2018

Agree we should take care to track upstream, one-liner temptations aside 😄

Looks like the PR is essentially a bump from IANA upstream, suggesting that mime-types-data could use a more automated release process to keep up to date. Good way to contribute in permanently effective way?

/cc @halostatue

@halostatue
Copy link

Yes, I would happily consider PRs that improve the automation of mime-types-data, or even possibly finding a maintainer who has more time (most of my development time these days is not currently in Ruby).

@SamSaffron
Copy link
Member

Yay, I just pulled it in from upstream going to do a new 1.0.1 version right now

@halostatue
Copy link

Cool. One thing to point out is that extensions are not currently available from the raw IANA data. If they were, I would happily extend the parser.

@envygeeks
Copy link
Author

I noticed that a couple of weeks ago when I was trying to update some sys mimetypes on Linux in an automated way and I had to do it all manually because they mix documentation and extensions >.> it was easier to just parse the HTML from Wikipedia and extract it from there.

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

No branches or pull requests

4 participants