in reply to Re: getting mime type from file content
in thread getting mime type from file content
Shouldn't be expensive. I would be happy to just get the output from the unix file command. That would be enough to create a mime type. The file command is fast enough for me. It's too bad I can't do this with the file command `echo hello | file`