in reply to Re: "Request URI Too Large (The size of the required header is too large...."
in thread "Request URI Too Large (The size of the required header is too large...."
Thanks, very good point... I rewrote the code to make a post request so I could pass it into my $mech
#List page is the BASE page from which I am starting my $aspContent= $aspnet->httpRequest->content; my $req = HTTP::Request->new(POST => "$LIST_PAGE"); $req->content_type('application/x-www-form-urlencoded'); $req->content("$aspContent"); my $res = $mech->request($req); if ($res->is_success) { $content = $res->content; } print $content;
So what I assume is that this should be sent like :
POST
Host: $LIST_PAGE
User-Agent: Mozilla/5.1
Content-Type: application/x-www-form-urlencoded
Content: With the content of the asp post here.
This runs but however still returns the base page.
So I am still back where I started :(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "Request URI Too Large (The size of the required header is too large...."
by Corion (Patriarch) on Jun 28, 2011 at 16:13 UTC |