Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

•Re: Re: CGI Redirect with Status

by merlyn (Sage)
on Jun 04, 2003 at 23:44 UTC ( #263190=note: print w/replies, xml ) Need Help??


in reply to Re: CGI Redirect with Status
in thread CGI Redirect with Status

Those aren't "hardwired". Those are merely defaults.
$ perl -MCGI=redirect -e 'print redirect(-status => 301, -url => "http +://www.perlmonks.com")' Status: 301 Location: http://www.perlmonks.com $

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://263190]
help
Chatterbox?
[Aristotle]: gosh I haven’t been here in such a long time

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-02-27 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (376 votes). Check out past polls.