Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: http::header, redirect, hyperlink send with location

by sutch (Curate)
on Mar 25, 2001 at 20:55 UTC ( #67035=note: print w/ replies, xml ) Need Help??


in reply to http::header, redirect, hyperlink send with location

I've never used HTTP::Headers, instead I use HTTP::Response or CGI. Doing it with CGI is easy:

use CGI; my $q = new CGI; print $q->redirect(-uri=>'http://blah.com/blah');
Which returns:

Status: 302 Moved location: http://blah.com/blah


Comment on Re: http::header, redirect, hyperlink send with location
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://67035]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2015-04-25 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (475 votes), past polls