It's complicated. Here are some suggestions:
- The property
webex.Response.ResponseUricontains the URI of your proxy server instead of the server you were trying to contact. - A property
webex.Response.StatusCodeis one that always refers to a proxy problem, for example. ProxyAuthenticationRequired. Unfortunately, most statuses can refer to either a proxy error or a server error. webex.Response.Headers , -. , - Squid "X-Squid-Error" .webex.Response.ResponseStream HTML , -. , URI -.
catch , WebException, , . .