# File lib/vcr/library_hooks/webmock.rb, line 47 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