A lot of apps authenticate via a token in the headers. We ran into an issue where exvcr would not allow us to make a request to the same endpoint as a different user and verify different results. This adds the support to allow matching by headers.
I'm happy to take any feedback. Please let me know if there is anything missing.
Coverage increased (+0.1%) to 93.431% when pulling d7e22c006d49639c48a8fa0b9f2027d987dd9b5b on drapergeek:jd-headers into 0ae8a0f04416138ba9137fa66a695c48ef20fb8e on parroty:master.
Coverage increased (+0.1%) to 93.431% when pulling 33b7f1bd90f635108a234297743460541036f0ea on drapergeek:jd-headers into 0ae8a0f04416138ba9137fa66a695c48ef20fb8e on parroty:master.
A lot of apps authenticate via a token in the headers. We ran into an issue where exvcr would not allow us to make a request to the same endpoint as a different user and verify different results. This adds the support to allow matching by headers.
I'm happy to take any feedback. Please let me know if there is anything missing.