Commit 9d1c4b08b2144f990fc97041653845eee1e3581d

Doc tweaks
  
10261026
10271027 KEY DEFAULT
10281028 ----------- --------------------
1029 agent "libwww-perl/#.##"
1029 agent "libwww-perl/#.###"
10301030 from undef
10311031 conn_cache undef
10321032 cookie_jar undef
10891089=item $ua->_agent
10901090
10911091Returns the default agent identifier. This is a string of the form
1092"libwww-perl/#.##", where "#.##" is substituted with the version number
1092"libwww-perl/#.###", where "#.###" is substituted with the version number
10931093of this library.
10941094
10951095=item $ua->from
11571157Get/set the C<LWP::ConnCache> object to use. See L<LWP::ConnCache>
11581158for details.
11591159
1160=item $ua->credentials( $netloc, $realm )
1161
11601162=item $ua->credentials( $netloc, $realm, $uname, $pass )
11611163
1162Set the user name and password to be used for a realm. It is often more
1163useful to specialize the get_basic_credentials() method instead.
1164Get/set the user name and password to be used for a realm.
11641165
1165The $netloc a string of the form "<host>:<port>". The username and
1166The $netloc is a string of the form "<host>:<port>". The username and
11661167password will only be passed to this server. Example:
11671168
11681169 $ua->credentials("www.example.com:80", "Some Realm", "foo", "secret");
13231323=head2 Handlers
13241324
13251325Handlers are code that injected at various phases during the
1326processing of requests.
1326processing of requests. The following methods are provided to manage
1327the active handlers:
13271328
13281329=over
13291330
13301331=item $ua->add_handler( $phase => \&cb, %matchspec )
13311332
13321333Add handler to be invoked in the given processing phase. For how to
1333specify %matchspec see L<HTTP::Config>.
1334specify %matchspec see L<HTTP::Config/"Matching">.
13341335
1335The possible values $phase are:
1336The possible values $phase and the corresponding callback signatures are:
13361337
13371338=over
13381339
14061406
14071407Remove handlers that match the given %matchspec. If $phase is not
14081408provided remove handlers from all phases.
1409
1410Be careful as calling this function with %matchspec that is not not
1411specific enough can remove handlers not owned by you. It's probably
1412better to use the set_my_handler() method instead.
14091413
14101414The removed handlers are returned.
14111415