Make headers optional
ericclemmons opened this issue · 2 comments
ericclemmons commented
I don't usually need them, but a test may want to confirm that set-cookie
is passed.
Or validate some cache-control headers.
ericclemmons commented
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.
ericclemmons commented
Solved in #11
They're defaulted now, while normalizers
can remove them.