edicl/hunchentoot — pull request #34 by lemoinem (2012-08-13 15:13:53+00:00)
Title: Fix `code` pre-processing in redirect so the documentation on the website is coherent with actual behavior.

Hello,

I noticed a discrepancy between the website documentation and the code:

On the website "In case of NIL, a 302 status code will be sent to the client.". But the code was `(check-type code (integer 300 399))`.
In case of nil, this signals a correctable error.

With this patch, in case of nil, +http-moved-temporarily+ is used as value for code, before it was only if code wasn't specified.