guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] add web/mime support


From: Andy Wingo
Subject: Re: [PATCH] add web/mime support
Date: Wed, 16 Jan 2013 11:46:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi,

On Thu 23 Feb 2012 15:53, Nala Ginrut <address@hidden> writes:

> There's no mime support in Guile module, so I modified the mime code of
> my project Ragnarok and format a patch.
>
> It's easy to use:
> (use-modules (web mime))
> (define mime (make <mime>))
> (mime:guess mime 'pdf)
> ==> application/pdf
> (mime:guess mime 'php)
> ==> application/x-httpd-php

Just a note to say that I liked this module, and that it would be a
great thing to have in the guildhall.

It would be nice to use
http://freedesktop.org/wiki/Specifications/shared-mime-info-spec on free
software systems.

Cheers,

Andy
-- 
http://wingolog.org/



reply via email to

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