RubyGems Navigation menu

mime-types 1.20.1

This library allows for the identification of a file's likely MIME content type. This is release 1.20.1 with new MIME types. The identification of MIME content type is based on a file's filename extensions. 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 and synchronized with 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 follows the official {IANA registry}[] ({ftp}[]) with some unofficial types added from the the {LTSW collection}[].


  1. 3.3 - September 05, 2019 (35.5 KB)
  2. 3.2.2 - August 13, 2018 (35 KB)
  3. 3.2.1 - August 12, 2018 (35 KB)
  4. 3.2 - August 12, 2018 (35 KB)
  5. 3.1 - May 22, 2016 (41.5 KB)
  6. 1.20.1 - February 04, 2013 (54 KB)
Show all versions (37 total)



  • Austin Ziegler

SHA 256 checksum:


Total downloads 289,446,064

For this version 253,362

= Copy to clipboard Copied!




Required Ruby Version: None