To view the incoming request headers, I typically use: req.headers
.
I am looking to see a comprehensive list of all headers that will be included in the response.
Currently, res.headers
returns undefined
.
I understand that I can set response headers using: res.header('', '')
.
Is there a way for me to access and view the response headers?