Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Grab a page using openSSL

by bsb (Priest)
on Jan 25, 2001 at 08:46 UTC ( #54206=note: print w/replies, xml ) Need Help??


in reply to Grab a page using openSSL

LWP::Debug might give you some more details of what is going on.

use LWP::Debug qw(+);

The LWP GET command line util can help:
GET -eSU url

I can't see any probs in your code, you need to be sure that it's not somewhere else (the proxy suggested earlier)

Brad

Replies are listed 'Best First'.
Re: Re: Grab a page using openSSL
by CiceroLove (Monk) on Jan 26, 2001 at 02:17 UTC
    Proxy settings seem correct as I get a 404 when I change them and a 500 when they are reverted. However, the LWP::Debug was a goldmine. When run I get,
    LWP::UserAgent::new() LWP::UserAgent::request: () LWP::UserAgent::simple_request: POST url LWP::UserAgent::_need_proxy: Not proxied LWP::Protocol::http::request: ()
    When I try and change the last line to something like
    LWP::Protocol::https::request 'POST', 'url';
    in my script it tells me that it can't locate object method "new" via package "LWP::Protocol::https::Request". Does this mean that the https request method is not implemented? Thanks so much for your continued help and guidance.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://54206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2021-07-24 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?