GitHub repository: net-engine/mimemagic
Description: Mime type detection in ruby via file extension or file content