RubyGems.org

mime-types

1.24

This library allows for the identification of a file's likely MIME content type. This is release 1.24, adding and updating a few MIME types and fixing some issues with documentation. MIME types are used in MIME-compliant communications, as in e-mail or HTTP traffic, to indicate the type of content which is transmitted. MIME::Types provides the ability for detailed information about MIME entities (provided as a set 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 not complete; don't hesitate to ask to add additional information. This library follows the IANA collection of MIME types (see below for reference). MIME::Types for Ruby was originally based on MIME::Types for Perl by Mark Overmeer, copyright 2001 - 2009. As of version 1.15, the data format for the MIME::Type list has changed and the synchronization will no longer happen. MIME::Types is built to conform to the MIME types of RFCs 2045 and 2231. It tracks the {IANA registry}[http://www.iana.org/assignments/media-types/] ({ftp}[ftp://ftp.iana.org/assignments/media-types]) with some unofficial types added from the {LTSW collection}[http://www.ltsw.se/knbase/internet/mime.htp] and added by the users of MIME::Types.

installgem install mime-types -v 1.24
Authors

Austin Ziegler

41,628,843 total downloads 757,523 for this version
Owners

87d08bdf14ef944738d2a81105b1260631ab75f7ddda241830659630746cdd3a

Licenses

MIT, Artistic 2.0, GPL-2

Gemfile
gem 'mime-types', '~> 1.24'
Versions
  1. 2.3 May 23, 2014 (104 KB)
  2. 2.2 March 14, 2014 (98 KB)
  3. 2.1 January 26, 2014 (95.5 KB)
  4. 2.0 October 28, 2013 (71 KB)
  5. 1.25.1 November 24, 2013 (60 KB)
Show all versions (19 total)