Skip to content

Commit

Permalink
Don't use requests.packages.urllib3
Browse files Browse the repository at this point in the history
This was a really old hack around forks in urllib3 in early versions of
requests 2. With newer requests we don't need this any more.
  • Loading branch information
jamielennox committed Jan 21, 2024
1 parent 4397fd6 commit 8edce10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests_mock/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
from requests.cookies import MockRequest, MockResponse
from requests.cookies import RequestsCookieJar
from requests.cookies import merge_cookies, cookiejar_from_dict
from requests.packages.urllib3.response import HTTPResponse
from requests.utils import get_encoding_from_headers
from urllib3.response import HTTPResponse

from requests_mock import exceptions

Expand Down

0 comments on commit 8edce10

Please sign in to comment.