title: Get header value from http response in Typescript
body: <p>I am trying to access a new header I have added to my API response in TypeScript. In the Network tab of my developer tools, I can see that the new header I added is present, but when I try <code>req.headers.get(&quot;x-web-frontend-version&quot;)</code> I just get null.</p>
  <p>Here is my code and image of my network tab:</p>
  <pre><code>intercept(req: HttpRequest&lt;any&gt;, next: HttpHandler): Observable&lt;HttpEvent&lt;any&gt;&gt; {
      let headers = req.headers;
  
      console.log('HEADERS: ' + headers.get('x-web-frontend-version'));
  
      const authReq = req.clone({
        headers: headers
      });
  
      return next.handle(authReq);
    }
  }
  </code></pre>
  <p>Image:</p>
  <p><a href="https://i.stack.imgur.com/6Bs7n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Bs7n.png" alt="enter image description here" /></a></p>