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.61 by root, Thu Dec 30 03:45:01 2010 UTC vs.
Revision 1.62 by root, Thu Dec 30 04:30:24 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. Currently, C<http_request> may provide its 152The request headers to use, with the header name (I<MUST be in lowercase>)
153own C<Host:>, C<Content-Length:>, C<Connection:> and C<Cookie:> headers 153as key and header value as hash value.
154and will provide defaults for C<User-Agent:> and C<Referer:> (this can be 154
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
155suppressed by using C<undef> for these headers in which case they won't be 158C<undef> for these headers in which case they won't be sent at all).
156sent at all).
157 159
158=item timeout => $seconds 160=item timeout => $seconds
159 161
160The time-out to use for various stages - each connect attempt will reset 162The time-out to use for various stages - each connect attempt will reset
161the timeout, as will read or write activity, i.e. this is not an overall 163the timeout, as will read or write activity, i.e. this is not an overall

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines