Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2016-09-27 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (515 votes). Check out past polls.