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.
In reply to Re^3: Stateful Browsing and link extraction with AnyEvent::HTTP
by Corion
in thread Async DNS with LWP
by jc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |