From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gerwitz Newsgroups: gmane.lisp.guile.devel Subject: Re: MIME type guessing module Date: Wed, 31 Dec 2014 19:14:04 -0500 Message-ID: <87sifvqrw3.fsf@gnu.org> References: <87oaqjlqt5.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1420071283 21948 80.91.229.3 (1 Jan 2015 00:14:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Jan 2015 00:14:43 +0000 (UTC) Cc: guile-devel@gnu.org To: David Thompson Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jan 01 01:14:38 2015 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y6TPS-0007LN-A4 for guile-devel@m.gmane.org; Thu, 01 Jan 2015 01:14:38 +0100 Original-Received: from localhost ([::1]:41675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6TPR-00062g-8b for guile-devel@m.gmane.org; Wed, 31 Dec 2014 19:14:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6TPO-00062Y-9h for guile-devel@gnu.org; Wed, 31 Dec 2014 19:14:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6TPL-0007nB-3c for guile-devel@gnu.org; Wed, 31 Dec 2014 19:14:34 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6TPL-0007n7-0L for guile-devel@gnu.org; Wed, 31 Dec 2014 19:14:31 -0500 Original-Received: from cpe-69-204-47-184.buffalo.res.rr.com ([69.204.47.184]:59554 helo=mikegerwitz-pc.gerwitz.local.gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Y6TPK-0000Lb-DV; Wed, 31 Dec 2014 19:14:30 -0500 In-Reply-To: <87oaqjlqt5.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Wed, 31 Dec 2014 11:36:22 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17630 Archived-At: =2D----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-inf= o-spec-latest.html =2D --=20 Mike Gerwitz Free Software Hacker | GNU Maintainer http://mikegerwitz.com FSF Member #5804 | GPG Key ID: 0x8EE30EAB =2D----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 =3DjP6t =2D----END PGP SIGNATURE-----