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.135 by root, Mon Sep 10 07:03:12 2018 UTC vs.
Revision 1.136 by root, Wed Oct 16 01:20:02 2019 UTC

200Currently, if your proxy requires authorization, you have to specify an 200Currently, if your proxy requires authorization, you have to specify an
201appropriate "Proxy-Authorization" header in every request. 201appropriate "Proxy-Authorization" header in every request.
202 202
203Note that this module will prefer an existing persistent connection, 203Note that this module will prefer an existing persistent connection,
204even if that connection was made using another proxy. If you need to 204even if that connection was made using another proxy. If you need to
205ensure that a new conneciton is made in this case, you can either force 205ensure that a new connection is made in this case, you can either force
206C<persistent> to false or e.g. use the proxy address in your C<sessionid>. 206C<persistent> to false or e.g. use the proxy address in your C<sessionid>.
207 207
208=item body => $string 208=item body => $string
209 209
210The request body, usually empty. Will be sent as-is (future versions of 210The request body, usually empty. Will be sent as-is (future versions of
272to do this, but you can provide your own C<tcp_connect> function - 272to do this, but you can provide your own C<tcp_connect> function -
273obviously, it has to follow the same calling conventions, except that it 273obviously, it has to follow the same calling conventions, except that it
274may always return a connection guard object. 274may always return a connection guard object.
275 275
276The connections made by this hook will be treated as equivalent to 276The connections made by this hook will be treated as equivalent to
277connecitons made the built-in way, specifically, they will be put into 277connections made the built-in way, specifically, they will be put into
278and taken from the persistent conneciton cache. If your C<$tcp_connect> 278and taken from the persistent connection cache. If your C<$tcp_connect>
279function is incompatible with this kind of re-use, consider switching off 279function is incompatible with this kind of re-use, consider switching off
280C<persistent> connections and/or providing a C<sessionid> identifier. 280C<persistent> connections and/or providing a C<sessionid> identifier.
281 281
282There are probably lots of weird uses for this function, starting from 282There are probably lots of weird uses for this function, starting from
283tracing the hosts C<http_request> actually tries to connect, to (inexact 283tracing the hosts C<http_request> actually tries to connect, to (inexact

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines