RE: https and proxy and maybe ms proxy
am 08.03.2005 08:18:31 von Luc_GerardThanks you for this answer, David.
Unfortunately, it doesn't works. In my original posted code, I made a
mistake ( https proxy url was written as https://127.0.0.1:5865 instead of
http:// : it was only a try ).
Finally I made a few more tests about this issue:
- If I use only a basic proxy which then connects directly to internet, the
sample code works perfectly.
- If I use only a MS proxy which accepts basic authentification ( I never
found a way to authenticate successfully with NTLM ), it doesn't works (
errors are similar as provided in my last email ).
- If I use any web browsers in any of the possible combinations ( basic
proxy + ms proxy / ms proxy alone / ... ), it always connect and retrieve
webpage contents.
BTW, the stranger thing is that lwp module seems to etablish connection
successfully ( "200 Connection etablished " ), but I get no datas in
response.
Only difference with webrowsers such as firefox or IE seem to be that they
send a second CONNECT request when they receive the "200 connection
etablished" response from the proxy.
I don't know how to do the same with LWP, or lets it do that request
automatically if necessary.
Does anyone have experiencies with LWP connecting successfully via ms proxy
in https ?
Thanks you again.
Luc.