8000 Fix matcher for requests 2.4.0 · staticdev/github4.py@106e0a3 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit 106e0a3

Browse files
committed
Fix matcher for requests 2.4.0
1 parent 0525588 commit 106e0a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ def match(self, request, recorded_request):
4646
recorded_request['headers'].pop('User-Agent', None)
4747
request.headers.pop('Accept-Encoding', None)
4848
recorded_request['headers'].pop('Accept-Encoding', None)
49+
request.headers.pop('Connection', None)
50+
recorded_request['headers'].pop('Connection', None)
4951
return self.headers_matcher.match(request, recorded_request)
5052

5153

0 commit comments

Comments
 (0)
0