ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-HTTP/HTTP.pm
(Generate patch)

Comparing AnyEvent-HTTP/HTTP.pm (file contents):
Revision 1.62 by root, Thu Dec 30 04:30:24 2010 UTC vs.
Revision 1.63 by root, Thu Dec 30 04:31:55 2010 UTC

147Whether to recurse requests or not, e.g. on redirects, authentication 147Whether to recurse requests or not, e.g. on redirects, authentication
148retries and so on, and how often to do so. 148retries and so on, and how often to do so.
149 149
150=item headers => hashref 150=item headers => hashref
151 151
152The request headers to use, with the header name (I<MUST be in lowercase>) 152The request headers to use. Currently, C<http_request> may provide its
153as key and header value as hash value. 153own C<Host:>, C<Content-Length:>, C<Connection:> and C<Cookie:> headers
154 154and will provide defaults for C<User-Agent:> and C<Referer:> (this can be
155Currently, http_request> may provide its own C<host>, C<content-length>,
156C<connection> and C<cookie> headers and will provide defaults for
157C<user-agent> and C<referer> (this can be suppressed by using a value of
158C<undef> for these headers in which case they won't be sent at all). 155suppressed by using C<undef> for these headers in which case they won't be
156sent at all).
159 157
160=item timeout => $seconds 158=item timeout => $seconds
161 159
162The time-out to use for various stages - each connect attempt will reset 160The time-out to use for various stages - each connect attempt will reset
163the timeout, as will read or write activity, i.e. this is not an overall 161the timeout, as will read or write activity, i.e. this is not an overall

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines