module VCR::LibraryHooks::WebMock::Helpers
def request_headers_for(webmock_request)
- Private: -
def request_headers_for(webmock_request) return nil unless webmock_request.headers # WebMock hooks deeply into a Excon at a place where it manually adds a "Host" # header, but this isn't a header we actually care to store... webmock_request.headers.dup.tap do |headers| headers.delete("Host") end end