--------

| I would like to introduce it for my music-friends, which raises this question:
| They are (mostly) Windows-users, and know generally far more about music
|       than about computers.
| If you click the "M" link, you get a reference to af file with extension
|       .midi, which most standard Windows-setup won't recognize. (Windows
|       normally recognize filetype .mid)
| One solution would be to teach all Windows-users how to make Windows
|       recognize .midi as a midi-file -
| My question is: Would it be possible for you to simply return a .mid file
|       (maybe if the user clikced a checkbox claiming, that she is a
|       Windows-user) ????

I doubt this would have any effect at all. You are laboring under the
misconception  that  your browser pays attention to the .midi suffix.
It normally doesn't; it uses the MIME type from the  HTTP  header  to
determine the file type.  For MIDI files, this line is
   Content-type:  audio/midi
Your  browser  must  be  configured  to  handle  this.  The suffix is
irrelevant. This was done more or less intentionally by the folks who
built the first browsers, because they realized that getting users of
different computers to agree on file-type suffixes was hopeless.   So
the  web server sends the type along with the data, and the suffix is
only used if no MIME type was received (as happens with  the  file://
and ftp:// URLs, which don't go through a web server).

Unfortunately, configuring browsers for MIME types  is  reaching  the
state  of  Black  Art.   No two releases of anyone's software does it
quite the same, and there  seems  to  be  an  industry  rule  against
documenting it clearly anywhere.

To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to