-
Notifications
You must be signed in to change notification settings - Fork 3
Development Issues
Rick Eversole edited this page Mar 31, 2014
·
1 revision
While the IANA registry for media types allows for the use of "MAGIC" numbers to identify a file type, the Ruby MIME::Type class does not appear to support this ability. Unfortunately, for QSO-PARTY software, too many extensions are overloaded or just not reliable to identify the type of log that we will receive. Example Ruby/Rails demo scripts for downloading files rely on the MIME::Type class to get the file type. We will have to override after we use a MAGIC number to find the real file type.