in reply to HTTPS Call across proxy server

You already got what you were supposed to get.

You did:
my $request=HTTP::Request->new(POST=> $lstrURL);
which is a post request, and you got a 200 OK back, which meant that your request had been received, understood and processed by the server.

As you seem to be surprised at this response, and also you said "I do not get the content", I assume what you actually wanted to do was a 'GET' instead of 'POST', then you should do something like:
my $request=HTTP::Request->new(GET => $lstrURL);
Update: Thanks to jjdraco for pointing out my typo.

Replies are listed 'Best First'.
Re: Re: HTTPS Call across proxy server
by jjdraco (Scribe) on Dec 13, 2002 at 06:22 UTC
    As you seem to be surprised at this response, and also you said "I do not get the content", I assume what you actually wanted to do was a 'GET' instead of 'POST', then you should do something like:
    my $request=HTTP::Request->new(POST=> $lstrURL);
    I think you meant to say
    my $request=HTTP::Request->new(GET=> $lstrURL);
    or am I wrong on what I thought I read?

    jjdraco
    learning Perl one statement at a time.
Re: Re: HTTPS Call across proxy server
by Anonymous Monk on Dec 13, 2002 at 15:49 UTC
    Dear jjdraco,
    Thanks a lot for the prompt response. I have used
    my $request=HTTP::Request->new(GET => $lstrURL);
    but the result is the same. I want to get the content between the <HTML></HTML> tags. I am unable to get that.
    Regards,
    Binu