in reply to Re^5: Submitting queries to server
in thread Submitting queries to server

Sorry, what should I do to show you HTTP header? Actually I'm new to this.

Replies are listed 'Best First'.
Re^7: Submitting queries to server
by ikegami (Patriarch) on Sep 16, 2005 at 14:41 UTC
    # The line you already have, but I renamed the var. my $response = $ua->request($req); #print $response->content(); # Prints the content. print $response->as_string(); # Prints the header and the content.
      I got it, that is:
      HTTP/1.1 200 OK Pragma: no-cache Pragma: no-cache Server: Apache/1.3.26 (Unix) Debian GNU/Linux Content-Type: text/html Expires: 0 Client-Date:17 Sep 2005..... Client-Peer:xxxxxxxxxxx Client-Response-Num: 1 Title:xxxxxxxxx
      Is there any thing wrong so I can't do redirection?