title: Not able to add custom Header text in WebApi GET
body: <p>I have a fully working Visual Studio WebApi solution and I'm trying now to add some custom header information in the return response header but on the client side I am able to receive only the standard ones like the following ones:</p>
  
  <p><a href="https://i.stack.imgur.com/FH1wh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FH1wh.png" alt="enter image description here"></a></p>
  
  <p>Here the code of the GetCustomer WebApi:</p>
  
  <pre><code>    public class CustomerController : ApiController
      {
  
          [HttpGet]
          public JsonResult&lt;List&lt;Models.Customer&gt;&gt; GetCustomers()
          {
  
              EntityMapper&lt;DataAccessLayer.Customer, Models.Customer&gt; mapObj = new EntityMapper&lt;DataAccessLayer.Customer, Models.Customer&gt;();
              List&lt;DataAccessLayer.Customer&gt; custList = DAL.GetAllCustomers();
              List&lt;Models.Customer&gt; customers = new List&lt;Models.Customer&gt;();
  
              foreach (var item in custList)
              {
                  customers.Add(mapObj.Translate(item));
              }
  
              // Setting Header  
              HttpContext.Current.Response.Headers.Add("Some-Header", "Some-Text"));
  
  
              // Returning List of Customers Collections  
              return Json&lt;List&lt;Models.Customer&gt;&gt;(customers);
          }
  
  </code></pre>
  
  <p>As a result the <strong>HttpContext.Current.Response.Headers.Add("Some-Header", "Some-Text"));</strong> does not generate error but is completely ignnored.</p>
  
  <p>Any idea on how to resolve this issue?</p>