[Catalyst] HOWTO: extend the Authentication tutorial example
and redirect to original URI
Dave Rolsky
autarch at urth.org
Thu Mar 29 18:40:51 GMT 2007
On Thu, 29 Mar 2007, Bill Moseley wrote:
> This always makes me wish for a 4xx code that could be returned to the
> client but not force the browser to ask for authentication. After
> all, the user is not currently authorized to view the page. And the
> idea being that the browser would not cache the 4xx response.
Your wish is granted. If you return a 401 with an HTML body, it should
work. They won't get an auth popup unless you send a WWW-Authenticate
header.
-dave
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/
More information about the Catalyst
mailing list