Subject: | New feature |
Date: | Thu, 10 Jun 2010 15:18:49 +0200 |
To: | <bug-Net-HTTPServer [...] rt.cpan.org> |
From: | "toomyem" <toomyem [...] toomyem.net> |
Please consider adding one additional parameter to method:
Net::HTTPServer::Response->Redirect.
Currently it only accepts destination url. But unfortunately it is used
hardcoded 307 status number for redirection. In some cases it is more useful to
use 303 code. Right now one has to do:
$res->Redirect("dest url");
$res->Code(303);
I think there should be second parameter for required code as is in the example
below:
$res->Redirect("dest url", 303);
Regards,
toomyem
--
signature? what signature!