good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: [LWP::UserAgent] Send POST request and ignore responseby rhesa (Vicar) |
on May 10, 2008 at 14:16 UTC ( [id://685877]=note: print w/replies, xml ) | Need Help?? |
Set the chunk size to a low value, and add a callback to the request that dies immediately. That will abort the response after the first chunk has been read.
Example:
In Section
Seekers of Perl Wisdom
|
|