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

Merge pull request #279 from sigmavirus24/278

Make tests pass on develop after upgrading to requests 2.4.0 with betamax
parents 61ab8cc1 958882ad
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