[hunchentoot-devel] suggested imporvement: setting content-type with keywords

Ala'a (cmo-0) amalawi at gmail.com
Mon Mar 22 18:25:32 UTC 2010


Hi,

Here is a patch against the stable release of hunchentoot 1.1.0. This
patch will allow the
API users to set the content type via keywords, for example:

(setf (content-type*) :pdf)  or :jpeg, :svg, :css

plus the normal usage

(setf (content-type*) "application/pdf")

regards,

Ala'a (cmo-0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: content-type-by-keywords.udiff
Type: application/octet-stream
Size: 923 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20100322/d74d00e6/attachment.obj>


More information about the Tbnl-devel mailing list