If I need to see the incoming request headers I use: req.headers
.
I need to see the list of all headers that will be in the response.
res.headers
is undefined
.
I know I can set response headers: res.header('', '')
.
How do I view the response headers..?