Start using handlers for driving the inner logic of LWP::UserAgent.
commita0d23e8007088eaa3bf0f1aca828ec8e2456fa39
authorGisle Aas <gisle@aas.no>
Tue, 2 Sep 2008 08:16:57 +0000 (2 10:16 +0200)
committerGisle Aas <gisle@aas.no>
Tue, 2 Sep 2008 08:16:57 +0000 (2 10:16 +0200)
tree2be78183c4d597c9f3b855f26711a598a0cb4026
parent3bdc0756ae07f2b5d117013ec1b8caba1d705231
Start using handlers for driving the inner logic of LWP::UserAgent.

This also expose all the handler phases for add-ons by user code.
The supported handler phases are:

    request_prepare
    request_send
    response_header
    repoonse_data
    response_done
    response_redirect

The logic for handling of proxies are also changed in that handlers
just need to set the 'proxy' attribute of the request object for
it to be passed on to proxies.
lib/LWP/Protocol.pm
lib/LWP/UserAgent.pm