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

Hans Hübner hans.huebner at gmail.com
Tue Mar 23 06:51:53 UTC 2010


Hi Ala'a,

thank you for your patch.  I think it is useful.  Can you please
update a documentation update?  See http://weitz.de/patches.html

Thanks,
Hans


On Mon, Mar 22, 2010 at 23:00, Ala'a (cmo-0) <amalawi at gmail.com> wrote:
> The Same patch but with #'string-downcase removed, since the hashtable
> used #'equalp (thanks Zach).
>
> On 3/22/10, Ala'a (cmo-0) <amalawi at gmail.com> wrote:
>> 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)
>>
>
>
> --
> Eng. Ala'a Mohammad Alawi
> Private Office Of Shiek Tahnoon Bin Mohammad Al Nahyan
> Engineering & Maintenance Department
> P.O. Box 3853
> Abu Dhabi, U.A.E.
> Tel : +971 02 6345202
> Fax: +971 02 6211900, +971 02 6323932
> Mobile: +971 050 8262596
>
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>




More information about the Tbnl-devel mailing list