Perl AnyEvent::HTTP request using Proxy fails
问题 I tried using the perl module AnyEvent::HTTP to make asynchronous HTTP requests by following this post: http://www.windley.com/archives/2012/03/asynchronous_http_requests_in_perl_using_anyevent.shtml However, I'm not able to get it working through proxies... my $request; my $host = '<userid>:<pswd>@<proxyip>'; my $port = '<proxyport>'; my $headers = { ... 'Accept-Language'=> 'en-us,en;q=0.5', 'Accept-Charset'=> 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'Keep-Alive' => 300, }; $request = http_request(