Skip Menu |
 

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

Report information
The Basics
Id: 114027
Status: new
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: felipe [...] felipegasper.com
Cc:
AdminCc:

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



Subject: Net::Server::HTTP treats all Location headers as 302
Date: Wed, 27 Apr 2016 16:07:09 -0500
To: bug-Net-Server [...] rt.cpan.org
From: Felipe Gasper <felipe [...] felipegasper.com>
Download (untitled) / with headers
text/plain 371b
The HTTP spec ascribes different meaning to “Location” depending on the supplied status code; however, Net::HTTP::Server appears to force a 302 status code whenever there is a “Location” header being sent to the client. It looks like these lines: elsif ($key eq 'Location') { $headers->{'status'} = [302, 'bouncing']; } … just need to be taken out? -FG


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.