Get raw data from Http Request?
<p>I want to save the raw, full data of an <code>HttpRequest</code>. At the moment I have this:</p>

<pre><code>Request.ContentEncoding.GetString(Request.BinaryRead(int.MaxValue));
</code></pre>

<p>But this only gets the body of the HttpRequest. I also want to get the headers. In the raw form, http requests are transfered as header fields followed by the body, so it should be possible to get the raw text representation of the whole request, but I can't work out how.</p>
