How to view the headers sent by HttpWebRequest
<p>I'm scraping a site with HttpWebRequest, but the site is returning an error.  The page works fine when I hit it from my browser.  I'd like to compare them to see what may be causing the error.  I know how to intercept the request from my browser to inspect the headers, but how do I view the data sent by HttpWebRequest?</p>
