Closed gabssnake closed 4 years ago
Hi @gabssnake
I suggest you can use res._getHeaders()
to make assertions if header exists and has certain value
Thank you for your answer.
I was specifically interested in cookies, so ended up using req.headers.cookie
and res.cookies
.
Hi, thanks for your work on this module :)
What's your point of view on making assertions on headers, e.g.
res.hasHeader()
? How would one do it while using this module?Best,