Re: MIME type guessing module

2015-01-02 Thread Thien-Thi Nguyen
() David Thompson () Wed, 31 Dec 2014 11:36:22 -0500 Thoughts? Would this be useful at all? Well, if you use it, then it's useful, yes? :-D There's always room for more implementations. Check out libextractor: http://www.gnu.org/software/libextractor/ See also "ttn-do magic", which is a

Re: MIME type guessing module

2014-12-31 Thread Mike Gerwitz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Dec 31, 2014 at 11:36:22 -0500, David Thompson wrote: > Recently I've taken to writing simple web servers in Guile. Each time I > write one I wish that core Guile came with a procedure to guess the mime > type of a file. Such a procedure woul

MIME type guessing module

2014-12-31 Thread David Thompson
Hello Guile hackers, Recently I've taken to writing simple web servers in Guile. Each time I write one I wish that core Guile came with a procedure to guess the mime type of a file. Such a procedure would be very useful when serving arbitrary static files from disk. However, I can't figure out