title: Separating HTTP Response Body from Header in C++
body: <p>I'm currently writing my own C++ HTTP class for a certain project. And I'm trying to find a way to separate the response body from the header, because that's the only part I need to return.</p>
  
  <p>Here's a sample of the raw http headers if you're not familiar with it:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Server: nginx/0.7.65
  Date: Wed, 29 Dec 2010 06:13:07 GMT
  Content-Type: text
  Connection: keep-alive
  Vary: Cookie
  Content-Length: 82
  </code></pre>
  
  <p>Below that is the HTML/Response body. What would be the best way to do this? I'm only using Winsock library for the requests by the way (I don't even think this matters).</p>
  
  <p>Thanks in advance.</p>