title: How does one set Expect100Continue to false on a Coded Visual Studio 2013 WebTestRequest?
body: <p>I am currently having an issue where when attempting to hit an external service, the webtest is throwing the following exception:</p>
  
  <p>'Request failed: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF'</p>
  
  <p>Investigation into this led me to this excellent article describing the underlying cause of this exception.</p>
  
  <p><a href="http://mehdi.me/a-tale-of-debugging-the-linkedin-api-net-and-http-protocol-violations/" rel="nofollow">http://mehdi.me/a-tale-of-debugging-the-linkedin-api-net-and-http-protocol-violations/</a></p>
  
  <p>Taking his repo program and adding request.ServicePoint.Expect100Continue = false; into the BuildWebRequest method and pointing it at the external service we need to test does indeed, weirdly as he pointed out, result in success. </p>
  
  <p>However, the coded web tests do not use the normal WebRequest object, but instead the WebTestRequest project which does not have a settable Expect100Continue field nor seem to respected ANY change to ServicePointManger.Expect100Continue.</p>
  
  <p>My question is thus: how does on set this on the WebTestRequest object type? Is it possible or will some kind of wrapper be necessary?</p>