Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-04-26 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (487 votes). Check out past polls.