kevin1024 / vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Would it make sense to support glob in `filter_headers`

stdedos opened this issue · comments

(PS: I am using the https://github.com/kiwicom/pytest-recording tool)

I'd like to ignore all of those X-* headers, but preferably not list them all individually.

According to e.g. https://www.ibm.com/docs/en/sva/10.0.7?topic=stanza-http-header, only /a-z_-/i are valid Header Names, so there would be no collision