title: Handling large http response using boost::beast
body: <p>The following code use to get http response message:</p>
  <pre><code>  boost::beast::tcp_stream stream_;
  
    boost::beast::flat_buffer buffer;
    boost::beast::http::response&lt;boost::beast::http::dynamic_body&gt; res;
    boost::beast::http::read(stream_, buffer, res);
  </code></pre>
  <p>However, In some cases, based on the preceding request, I can expect that the response message body will include large binary file.</p>
  <p>Therefore, I’d like to read it directly to the filesystem and not through <code>buffer</code> variable to avoid excessive use of process memory. How can it be done ?</p>
  <p>in Objective-c framework <code>NSUrlSession</code> there's an easy way to do it using <code>NSURLSessionDownloadTask</code> instead of <code>NSURLSessionDataTask</code>, so I wonder if it's also exist in boost.</p>
  <p>Thanks !</p>