Re: [dev][announce] slm - music curation
Hi,
Branislav Blaskovic <branislav_AT_blaskovic.sk> wrote:
> I would detect file type by mime - not by file extension (function
> is_music_file()). But that's not so important. I just remembered that we were
> punished at the school when we did this :)
How do you figure out mime type from a file? I understand if a server
gives you a HTTP header, but if it is a static file on disk, I don't
think it is guaranteed to have a mime type as an xattr. Is there a
standard way to store/determine mime type?
yours,
Bobby
Received on Thu Nov 28 2013 - 16:29:07 CET
This archive was generated by hypermail 2.3.0
: Thu Nov 28 2013 - 16:36:19 CET