On 2013-11-28 10:29:07 -0500, Bobby Powers wrote:
> 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?

The file's magic number?

Attachment: pgpA4dXDV5p2E.pgp
Description: PGP signature

Reply via email to