Open dgb opened 6 years ago
Sorry not responding for a long time. Does merging https://github.com/parroty/exvcr/pull/140 resolve the issue?
@parroty probably--it looks like a similar fix. I'm not on a project which uses exvcr right now though, so I'm not able to confirm unfortunately. When I have a bit more time later this week I'll try and verify and update this ticket.
Close this as abandoned?
Hi. Are you still observing the issue? I was assuming it was resolved, but didn't have good chance to close this item.
Fixes the ignore_localhost option when recording requests that send headers. This was raising an ArgumentError because every element of the request was being enumerated and checked as a String (including non-string-like maps, which is how headers are represented).
This changes the checking of the url to get the url out of the request via the corresponding adapter.