[hunchentoot-devel] New release 0.9.2 (Was: User defined http return codes)
Edi Weitz
edi at agharta.de
Tue May 1 14:08:07 UTC 2007
On Tue, 01 May 2007 12:13:04 +0900, Jong-won Choi <jc at itsec.co.kr> wrote:
> Currently if a user want to define a custom http return code, s/he
> has to change reason-phrase function manually.
>
> The attached patch file is my suggestion on this problem.
Thanks, I've made a new release with a modified version of your patch.
> + (defconstant +http-code-reason-table+ (make-hash-table :test #'eq))
That's not portable, you should use EQL. Also, please don't create
new functions or variables without doc strings. See
http://weitz.de/patches.html
Thanks,
Edi.
More information about the Tbnl-devel
mailing list