Hi,
I am trying to use Tor-Server as a proxy in HttpWebRequest, my code looks like this:
HttpWebRequest request;
HttpWebResponse response;
request = (HttpWebRequest)WebRequest.Create("http://www.google.com");
request.Proxy = new WebProxy("127.0.0.1:9051");
response = (HttpWebResponse)request.GetResponse();
response.Close();
it works perfect with "normal" proxies but with Tor I am getting Exceptions while calling GetResponse() with Status = ServerProtocolViolation. The message is (in German...): Message = "Der Server hat eine Protokollverletzung ausgeführt.. Section=ResponseStatusLine"
hope anyone has an idea how to fix that. I would be grateful.
Greetings
L.