in reply to Re^2: Stateful Browsing and link extraction with AnyEvent::HTTP
in thread Async DNS with LWP
If you are currently using LWP::UserAgent, you get a HTTP::Response back. If you are using AnyEvent::HTTP, you get the data and the headers back. From the data and the headers, you can either (re)construct a HTTP::Response or do your own stuff with them directly.
If you want to handle cookies, see HTTP::Cookies which can extract cookies from a HTTP::Message.
If you want to (re)use WWW::Mechanize, see its ->update_html method and (for header handling and general message handling (the source of) its ->request method.
|
---|
Replies are listed 'Best First'. | |
---|---|
AnyEvent::DNS is effectively synchronous?
by jc (Acolyte) on Oct 05, 2010 at 11:30 UTC | |
by Corion (Patriarch) on Oct 05, 2010 at 11:57 UTC | |
by jc (Acolyte) on Oct 05, 2010 at 12:51 UTC | |
by jc (Acolyte) on Oct 05, 2010 at 14:05 UTC | |
by Corion (Patriarch) on Oct 05, 2010 at 14:11 UTC | |
by jc (Acolyte) on Oct 05, 2010 at 15:01 UTC | |
|