Changeset 11055


Ignore:
Timestamp:
2006-01-17T13:30:17+13:00 (18 years ago)
Author:
mdewsnip
Message:

Added the MIME type for MP3 files. These MIME types really need to be moved out of the code and into a configuration file!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/w32server/cgiwrapper.cpp

    r9636 r11055  
    718718           (ext[2] == 'T' || ext[2] == 'T')) {
    719719      mime = "application/vnd.ms-powerpoint";
     720    } else if ((ext[0] == 'm' || ext[0] == 'M') &&
     721           (ext[1] == 'p' || ext[1] == 'P') &&
     722           (ext[2] == '3')) {
     723      mime = "audio/mpeg";
    720724    }
    721725  } else if (len == 4) {
Note: See TracChangeset for help on using the changeset viewer.