--- AnyEvent-HTTP/README 2011/01/18 17:50:20 1.18 +++ AnyEvent-HTTP/README 2011/02/19 06:46:14 1.19 @@ -131,12 +131,14 @@ Default timeout is 5 minutes. proxy => [$host, $port[, $scheme]] or undef - Use the given http proxy for all requests. If not specified, - then the default proxy (as specified by $ENV{http_proxy}) is - used. + Use the given http proxy for all requests, or no proxy if + "undef" is used. $scheme must be either missing or must be "http" for HTTP. + If not specified, then the default proxy is used (see + "AnyEvent::HTTP::set_proxy"). + body => $string The request body, usually empty. Will be sent as-is (future versions of this module might offer more options). @@ -368,6 +370,10 @@ To clear an already-set proxy, use "undef". + When AnyEvent::HTTP is laoded for the first time it will query the + default proxy from the operating system, currently by looking at + "$ENV{http_proxy"}. + AnyEvent::HTTP::cookie_jar_expire $jar[, $session_end] Remove all cookies from the cookie jar that have been expired. If $session_end is given and true, then additionally remove all session @@ -459,7 +465,7 @@ HTTP/1.1 FILE DOWNLOAD Downloading files with HTTP can be quite tricky, especially when - something goes wrong and you want tor esume. + something goes wrong and you want to resume. Here is a function that initiates and resumes a download. It uses the last modified time to check for file content changes, and works with