title: cpp netlib headers
body: <p>I am having some trouble understanding the cpp netlib documentation.</p>
  
  <pre><code>member name  type               description
  headers      vector&lt;header&gt;     Vector of headers.
  
  A header is a struct of type response_header&lt;http::tags::http_server&gt;. 
  An instance always has the members name and value both of which are of type string_type.
  string_type is boost::network::string&lt;http::tags::http_server&gt;::type.
  </code></pre>
  
  <p>In my code when I try to access the headers:</p>
  
  <pre><code>http_server::response_header headers[] = request.headers;
  </code></pre>
  
  <p>the above doesn't compile. I understand this might seem pretty basic, but I am new to c++.
  Can anyone guide me on how to iterate through the headers from request?</p>