dallase has asked for the wisdom of the Perl Monks concerning the following question:
use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->timeout(10); my $response = $ua->get('http://avantgardeconcierge.com/'); if ($response->is_success) { print $response->content; # or whatever } else { die $response->status_line; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 500 EOF when chunk header expected
by marto (Cardinal) on Oct 25, 2005 at 16:15 UTC | |
by dallase (Initiate) on Oct 25, 2005 at 17:03 UTC | |
by marto (Cardinal) on Oct 25, 2005 at 17:46 UTC | |
by dallase (Initiate) on Oct 25, 2005 at 18:04 UTC | |
by marto (Cardinal) on Oct 25, 2005 at 18:54 UTC | |
|
Re: 500 EOF when chunk header expected
by planetscape (Chancellor) on Oct 25, 2005 at 19:20 UTC | |
|
Re: 500 EOF when chunk header expected
by Anonymous Monk on Sep 09, 2011 at 07:47 UTC | |
|
Re: 500 EOF when chunk header expected
by Anonymous Monk on Oct 25, 2005 at 17:49 UTC |