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

Owner: Nobody in particular
Requestors: toomyem [...]

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 [...]>
From: "toomyem" <toomyem [...]>
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 infrastructure.

Please report any issues with to