title: HttpClient, server committed a protocol violation Section=ResponseHeader Detail=CR must be followed by LF
body: <p>I am using the HttpClient to communicate with a GoPro Camera over WiFi, but I am getting the following error. "<strong>The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF</strong>" Although I have notified them, I cannot change GoPro's web server, so I need to resolve/ignore this on the client side. When i make this call, using Fiddler as a proxy, Fiddler corrects the issue and my app runs as expected. But without fiddler i get the protocol violation message.</p>
  
  <p>From the searching i have done this can be resolved by adding <code>&lt;httpWebRequest useUnsafeHeaderParsing = "true"/&gt;</code> (see <a href="http://msdn.microsoft.com/en-us/library/system.net.configuration.httpwebrequestelement.useunsafeheaderparsing.aspx" rel="nofollow">HttpWebRequestElement.UseUnsafeHeaderParsing Property</a>), but this is a Windows 8 store app and there is no configuration file.</p>
  
  <p>One option is to write a custom handler and inject it into the HttpClient ctor, but I am not sure where to start with my own custom handler and it seems like a big effort for something that should be built in.</p>
  
  <p>Is there a simple solution?</p>