guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIME type guessing module


From: Mike Gerwitz
Subject: Re: MIME type guessing module
Date: Wed, 31 Dec 2014 19:14:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

-----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 would be very useful when serving
> arbitrary static files from disk.

I'm paused on a guile-mime project that reads a XDG Shared MIME-Info
globs2 database[0]:

  https://gitorious.org/guile-mime

I was planning on continuing it's development shortly.  Do you agree
with that approach?

If you want to cooperate on an effort, that's fine with me.

(The database is distributed with most GNU/Linux distributions and can
be referenced with the `xdg*` commands on the system.)

[0]: 
http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html

- -- 
Mike Gerwitz
Free Software Hacker | GNU Maintainer
http://mikegerwitz.com
FSF Member #5804 | GPG Key ID: 0x8EE30EAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUpJFMAAoJEPIruBWO4w6rAIgP/Aw0gMEWr6Zr4uLArBXR3Ove
ixrZ1Bfgw1Mef7q7p9qwVX45NSyKt3uZs5HPsCRwQ3tALdLLZTPZw1YR7WhAXbBl
gq109+38iY3yN8J0wqwAS1EiNgp98EYiKKP7OwuabyfRRTkEQxKyWKnxw8MRsQgz
E6lC5JyMr0J8PdE8kxVBQFq4NDsjqRSlMEA8krKs68KywpbtbJEjGvlZkdOv+kWP
fu/fyI0p2hMjhKuCd5u74sIM1LdBgnzyWmRhrtDniC/fgXRgBaehnAaPZUIAwE2p
qWF7hVN8ngnumhO4h4+SjaBDIuSmRpQV9IoKROplhhCwqByflqrZdaOZnPINcb5e
sc11wha/B2Gfv5rvq/eTGHZoPeRY6IV4TeCWUHwSPlDq7IPyw5j8xRtTtuvEKDl2
xZaLJkcJq7VJv9Qv0I7/otDFAN/MPf8wO0N4ODci2SsBs4bjjouZNyyB0w5V8QDl
7/8MGVYcnzqRdP7raarQMrCJFlOUU7OIUv0odlcHd3vnvqM/k2RMJj7pkKpe9EUM
hcCkhmT0pT1ZzTkeGpuikCW7hPe50h0di00kNgUjjzZptaYX9FF3TNWBSMdBBtEM
Viybrf0YfWuLXNP/4oQbtRQ0F7oYec/K1eVustyrtLv0GN43Ch/lVQdl+SYvWkCJ
KnyiIxNLnxsh9xMK8j5i
=jP6t
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]