[Top][All Lists]

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

[PATCH] add web/mime support

From: Nala Ginrut
Subject: [PATCH] add web/mime support
Date: Thu, 23 Feb 2012 22:53:21 +0800

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

Maybe useful for some guys~
Any comments?

Attachment: 0001-add-module-web-mime.patch
Description: Text Data

reply via email to

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