0

what is the proper way of injecting an HTTP::Response (and implicitly or maybe explicitly as well the corresponding HTTP::Request) in a WWW::Mechanize instance, if any?

Basically I want to separate the downloading process so I can use PoCo::Client::HTTP, for example or AnyEvent::HTTP and use a $mech only to query the response and prepare further requests. And I need a way to grab the prepared HTTP::Request, of course.

user237419
  • 8,829
  • 4
  • 31
  • 38

1 Answers1

0

I'm fairly certain LWP::Protocol::AnyEvent::http will handle that for you.

Oesor
  • 6,632
  • 2
  • 29
  • 56