in reply to LWP redirect problem, produces malformed URL?

. For some reason, if I uncomment the line to enable automatic redirection, the web server gets a malformed URL from my script:

Please show the LWP::Debug output ... then upgrade LWP :)

  • Comment on Re: LWP redirect problem, produces malformed URL?

Replies are listed 'Best First'.
Re^2: LWP redirect problem, produces malformed URL?
by FloydATC (Deacon) on Oct 09, 2009 at 09:13 UTC
    LWP::UserAgent::new: () LWP::UserAgent::request: () HTTP::Cookies::add_cookie_header: Checking intranett.oikt.local for co +okies HTTP::Cookies::add_cookie_header: Checking .oikt.local for cookies HTTP::Cookies::add_cookie_header: Checking oikt.local for cookies HTTP::Cookies::add_cookie_header: Checking .local for cookies LWP::UserAgent::send_request: POST http://intranett.oikt.local/user/lo +gin LWP::UserAgent::_need_proxy: Not proxied LWP::Protocol::http::request: () LWP::Protocol::collect: read 178 bytes HTTP::Cookies::extract_cookies: Set cookie eZSESSIDoikt_intranett => k +ra0uraccka3vif17fut1mk445 LWP::UserAgent::request: Simple response: Found LWP::UserAgent::request: () HTTP::Cookies::add_cookie_header: Checking intranett.oikt.local for co +okies HTTP::Cookies::add_cookie_header: - checking cookie path=/ HTTP::Cookies::add_cookie_header: - checking cookie eZSESSIDoikt_intr +anett=kra0uraccka3vif17fut1mk445 HTTP::Cookies::add_cookie_header: it's a match HTTP::Cookies::add_cookie_header: Checking .oikt.local for cookies HTTP::Cookies::add_cookie_header: Checking oikt.local for cookies HTTP::Cookies::add_cookie_header: Checking .local for cookies LWP::UserAgent::send_request: GET http://intranett.oikt.local/,%20http +://intranett.oikt.local/ LWP::UserAgent::_need_proxy: Not proxied LWP::Protocol::http::request: () LWP::Protocol::collect: read 570 bytes LWP::Protocol::collect: read 3072 bytes LWP::Protocol::collect: read 1016 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 1947 bytes LWP::UserAgent::request: Simple response: Not Found
    But... This is libwww-perl-5.805. That's strange, I upgraded this from CPAN yesterday but something must have gone wrong.

    -- Time flies when you don't know what you're doing