Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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.


Comment on •Re: Re: CGI Redirect with Status
Download Code

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 rifling through the Monastery: (4)
As of 2014-08-23 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls