Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Access to https page.

by wind (Priest)
on Feb 24, 2011 at 02:41 UTC ( #889894=note: print w/replies, xml ) Need Help??

in reply to Access to https page.

Based off the error message alone, why not change your url to 'https://westproxy:8080', if it really is an ssl server?

Of course giving it an explicit https isn't necessary if you're stating the port, but there might basic error checking.

- Miller

Replies are listed 'Best First'.
Re^2: Access to https page.
by shriken (Priest) on Feb 24, 2011 at 15:18 UTC

    Specifying the correct Method -- "https://" in this case -- is definitely necessary.

    The agent code would infer the default TCP port based on the method. But it certainly will not infer the method to be used based on the port. (The method is explicitly given.) The OP seems to know the server is listening on 8080, so it should be "https://yaddayadd:8080". That being said, it's not common for https to be on 8080. So maybe the OP has two problems; using "http://" when it should be "https://" *and* aiming at TCP/8080 when it's actually somewhere else.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://889894]
[choroba]: It should greatly simplify the parsing code, no flags or additional reading of the next buffer needed
[Corion]: choroba: Yeah, that's why I like that approach; it seems even quite obvious in retrospect to me, but many things are in hindsight ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2016-12-06 15:38 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (109 votes). Check out past polls.