Fran
Results
2
comments of
Fran
Also I wrote the following workaround to fix the issue: ```diff diff --git a/requests/cookies.py b/requests/cookies.py index 56fccd9c..afe6f597 100644 --- a/requests/cookies.py +++ b/requests/cookies.py @@ -43,7 +43,13 @@ class MockRequest(object): return self.type...
The problem is that the [set_ok_port](https://github.com/python/cpython/blob/e7de54321952ebb58cc414f2160c9ad4f6510af2/Lib/http/cookiejar.py#L1075) function of `DefaultCookiePolicy` from the `http.cookiejar` standard library module doesn’t follow what @sethmlarson said. Instead, as you can see, it checks the port of...