Skip Menu |
 

This queue is for tickets about the Net-HTTPServer CPAN distribution.

Report information
The Basics
Id: 58304
Status: new
Priority: 0/
Queue: Net-HTTPServer

People
Owner: Nobody in particular
Requestors: toomyem [...] toomyem.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: New feature
Date: Thu, 10 Jun 2010 15:18:49 +0200
To: <bug-Net-HTTPServer [...] rt.cpan.org>
From: "toomyem" <toomyem [...] toomyem.net>
Download (untitled) / with headers
text/plain 506b
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!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.