mime-types

mime-types

The mime-types library provides a library and registry for information about MIME content type definitions. It can be used to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions. MIME content types are used in MIME-compliant communications, as in e-mail or HTTP traffic, to indicate the type of content which is transmitted. The mime-types library provides the ability for detailed information about MIME entities (provided as an enumerable collection of MIME::Type objects) to be determined and used programmatically. There are many types defined by RFCs and vendors, so the list is long but by definition incomplete; don't hesitate to add additional type definitions (see Contributing.rdoc). The primary sources for MIME type definitions found in mime-types is the {IANA Media Types registry}[https://www.iana.org/assignments/media-types/media-types.xhtml], RFCs, and W3C recommendations. It conforms to RFCs 2045 and 2231. This is release 2.5 with a couple of bug fixes, updating to the latest IANA type registry, and adding a user-contributed type. mime-types 2.x supports Ruby 1.9.2 or later.

Rubygem mime-types

Total Downloads
55539714
Releases
23
Current Version
2.5
Released
2015-04-25 00:00:00 UTC
First Release
2006-02-12 05:00:00 UTC

Github halostatue/mime-types

Watchers
147
Forks
77
Development activity
Less active
Last commit
2015-04-14 05:28:42 UTC
First commit

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.