[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?
0001-add-module-web-mime.patch
Description: Text Data
- [PATCH] add web/mime support,
Nala Ginrut <=