Skip to content
Snippets Groups Projects
Commit 106e0a3e authored by Ian Cordasco's avatar Ian Cordasco
Browse files

Fix matcher for requests 2.4.0

parent 0525588e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -46,6 +46,8 @@ class CustomHeadersMatcher(betamax.BaseMatcher):
recorded_request['headers'].pop('User-Agent', None)
request.headers.pop('Accept-Encoding', None)
recorded_request['headers'].pop('Accept-Encoding', None)
request.headers.pop('Connection', None)
recorded_request['headers'].pop('Connection', None)
return self.headers_matcher.match(request, recorded_request)
 
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment