title: "Error: SendFailure (Error writing headers)"
body: <p>I'm trying to fetch data in "xamarin studio" using "rest sharp" package like so:</p>
  
  <pre><code>var client = new RestClient ("https://xxxx.xxxx.com");
  
  var request = new RestRequest ("/api/external/xxxx/xxxx/", Method.GET);
  request.AddParameter("username", "xxxx");
  request.AddParameter("api_key", "xxxx");
  
  request.AddHeader("Content-type", "application/json");      
  request.AddHeader("Accept", "text/plain");
  
  request.RequestFormat = DataFormat.Json;
  
  var response = client.Execute (request);
  
  var model = JsonConvert.DeserializeObject&lt;RootObject&gt; (response.Content);
  </code></pre>
  
  <p>The error I get is </p>
  
  <blockquote>
    <p>Error: SendFailure (Error writing headers)</p>
  </blockquote>
  
  <p>I really don't know what is wrong.
  I'm using windows 7 64-bit.</p>
  
  <p>Please help...
  Thank you for advance!!!</p>