Detect MIME types from file extensions, filenames, and binary content using magic byte signatures. Includes 200+ extension mappings, 30+ magic byte patterns, custom registration, charset detection, Accept header parsing, and content negotiation.

Required Ruby Version

>= 3.1.0

Authors

Philip Rehberger

Versions

  1. 0.4.0 April 26, 2026 (12 KB)
  2. 0.3.0 April 16, 2026 (11.5 KB)
  3. 0.2.0 April 04, 2026 (11 KB)
  4. 0.1.5 March 31, 2026 (9.5 KB)
  5. 0.1.4 March 25, 2026 (9.5 KB)
Show all versions (9 total)

SHA 256 checksum