in reply to Re^7: HTTP response: 400 Bad Request
in thread HTTP response: 400 Bad Request
$filename='/temp/edgar/workfile.txt';
$url='https://www.sec.gov/Archives/edgar/daily-index/2023/QTR3/form.20230712.idx';
my $ua = LWP::UserAgent->new(timeout => 10);
$ua->default_header('Accept-Encoding' => scalar HTTP::Message::decodable());
$ua->default_header( USER_AGENT =>'COMPANY email@example.com' );
my $res = $ua->mirror( $url, $filename );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: HTTP response: 400 Bad Request
by hippo (Archbishop) on Jul 15, 2023 at 08:25 UTC | |
by justin423 (Scribe) on Jul 15, 2023 at 15:15 UTC | |
by marto (Cardinal) on Jul 16, 2023 at 11:20 UTC |