I want to read the response headers that came from accessing my website, so for example when I send a request to mywebsite.com it will return headers from aws CloudFront, I want to use one of these headers can someone advice? all I have been seeing is using the following and pass a url to make a new request, but I already have the response.
this.http.get<HttpResponse<Object>>(this.url, {observe: 'response'}).pipe(
tap(resp => console.log('response', resp))
);