ericclemmons/node-recorder

Make headers optional

ericclemmons opened this issue · 2 comments

I don't usually need them, but a test may want to confirm that set-cookie is passed.

Or validate some cache-control headers.

I think https://netflix.github.io/pollyjs/#/configuration?id=defaults does a good job with this: it basically acts as a whitelist/blacklist/customlist.

It can also play into #9 or replace the need.

Solved in #11

They're defaulted now, while normalizers can remove them.