Maybe i am doing something wrong but when i make a request with Http i can see on the Network tab on chrome that the response include a custom header called 'Authorization' used to refresh the JWT. But when i try to access the response.headers it prints empty on the console.
return this.http.request(req).map((res: Response) => console.log(res.headers.values()));

the same behaviour when printing keys().
the request headers, on the other hand, do print all the custom headers i add to the request.
Maybe i am doing something wrong but when i make a request with Http i can see on the Network tab on chrome that the response include a custom header called 'Authorization' used to refresh the JWT. But when i try to access the response.headers it prints empty on the console.
the same behaviour when printing keys().
the request headers, on the other hand, do print all the custom headers i add to the request.