proxy with CONNECT - WeOnlyDo Discussion board

proxy with CONNECT (General questions)

by cs, Tuesday, June 15, 2010, 22:36 (5273 days ago)

is there a way to check proxy compatibility with CONNECT ?

Re: proxy with CONNECT

by woddrazen, Tuesday, June 15, 2010, 22:49 (5273 days ago) @ cs

Hi,


Inside ProxyType Property you can specify which proxy type you want to use. IF proxy type isn't correct you will receive error that you cannot connect to server. Is this maybe what you need?

If I maybe misunderstand your question can you maybe explain it little bit more?


Regards,
Drazen

Re: proxy with CONNECT

by cs, Tuesday, June 15, 2010, 23:13 (5273 days ago) @ woddrazen

ok, CONNECT method is SSL tunneling (http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)

how would i check a proxy while using the CONNECT method?

Re: proxy with CONNECT

by woddrazen, Wednesday, June 16, 2010, 00:05 (5273 days ago) @ cs

Hi,


When you set ProxyType Property to ProxyWEBStandard WEB proxy will be used. This means that CONNECT command is used with proxy server.

If you want to check which proxy server is used. You can try to use wodHttpDLX Trace Method and read from headers server type.
[code]Set http1 = New wodHttpDLXCom

http1.Blocking = True
http1.HostName = proxy_hostname
http1.Port = proxy_port
http1.Timeout = 20
http1.Trace

Debug.Print Server: & http1.Response.Server
Debug.Print http1.Response.Headers.ToString[/code]

If this isn't what you need. Maybe you can explain your problem little bit more so we can try to help you.


Drazen