title: Response in ASP.net is not showing my custom header
body: <p>So I'm using ASP.NET 3.5 and learning about adding custom headers to a Request.</p>
  
  <pre><code>void Button1_Click(object sender, EventArgs e)
  {
      HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(my_url_here);
  
      webRequest.Headers.Add("Hello", "World");
  
      HttpWebResponse resp = (HttpWebResponse)webRequest.GetResponse();
  
      StreamReader r = new StreamReader(resp.GetResponseStream());
  
      Response.Write(r.ReadToEnd());
  
      Response.End();
  }
  </code></pre>
  
  <p>I can use <code>xhr.setRequestHeader</code> through JavaScript and pick up my custom name/value in the response that way.</p>
  
  <p>But, if I put a break point above after <code>.GetResponse</code> and inspect <code>resp.Headers.AllKeys</code> my custom header is not there. Why would that be?</p>