number int64 6.57k 7.64k | html_url stringlengths 43 43 | title stringlengths 1 228 | body_clean stringlengths 0 55k | body_prose stringlengths 0 28k | text stringlengths 4 28k | comments listlengths 0 23 | state stringclasses 2
values | state_reason stringclasses 3
values | is_closed bool 2
classes | created_at timestamp[s]date 2023-11-05 07:13:53 2026-10-29 02:43:03 | closed_at timestamp[s]date 2023-11-05 11:30:32 2026-10-08 10:00:27 ⌀ | updated_at timestamp[s]date 2023-11-11 12:31:37 2026-10-29 02:43:03 | days_to_close float64 0 868 ⌀ | created_year_month stringdate 2023-11-01 00:00:00 2026-10-01 00:00:00 | labels listlengths 0 3 | issue_type stringclasses 6
values | comments_reported int64 0 23 | n_comments_collected int64 0 23 | comments_complete bool 2
classes | maintainer_replied bool 2
classes | hours_to_first_response float64 0 15.1k ⌀ | reactions_total int64 0 45 | author_id stringlengths 9 9 | author_association stringclasses 3
values | comment_author_ids listlengths 0 23 | comment_author_roles listlengths 0 23 | comment_by_issue_author listlengths 0 23 | has_code_block bool 2
classes | has_traceback bool 2
classes | title_words int64 1 41 | body_words int64 0 855 | locked bool 2
classes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6,752 | https://github.com/psf/requests/issues/6752 | RFC9113 - HTTP/2.0 | I can't find support for HTTP/2.0 in this package, I am also not sure if `urllib3` supports HTTP/2.0. If it does support, then I guess adding the support to `requests` won't be that difficult.
[URL]
It is probably still blocked by the support of HTTP/2.0 in `urllib3` - the tracking issue [URL]
I feel like there cou... | I can't find support for HTTP/2.0 in this package, I am also not sure if `urllib3` supports HTTP/2.0. If it does support, then I guess adding the support to `requests` won't be that difficult.
[URL]
It is probably still blocked by the support of HTTP/2.0 in `urllib3` - the tracking issue [URL]
I feel like there cou... | RFC9113 - HTTP/2.0. I can't find support for HTTP/2.0 in this package, I am also not sure if `urllib3` supports HTTP/2.0. If it does support, then I guess adding the support to `requests` won't be that difficult.
[URL]
It is probably still blocked by the support of HTTP/2.0 in `urllib3` - the tracking issue [URL]
I... | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2024-06-26T11:51:13 | 2024-06-26T11:51:23 | 2024-06-26T11:51:24 | 0 | 2024-06 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0407 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 3 | 72 | true |
6,753 | https://github.com/psf/requests/issues/6753 | Possible .get bug in version 2.32.3 | When executing a file named ast.py which .get(url) it fails with `AttributeError: partially initialized module 'requests' has no attribute 'get' (most likely due to a circular import)`
## Expected Result
To fetch the contents.
1. Create a file named ast.py
2.
```import requests
x = requests.get('[URL]
print(... | When executing a file named ast.py which .get(url) it fails with `AttributeError: partially initialized module 'requests' has no attribute 'get' (most likely due to a circular import)`
## Expected Result
To fetch the contents.
1. Create a file named ast.py
2.
[CODE]
3. rename the file for success.
## Syste... | Possible .get bug in version 2.32.3. When executing a file named ast.py which .get(url) it fails with `AttributeError: partially initialized module 'requests' has no attribute 'get' (most likely due to a circular import)`
## Expected Result
To fetch the contents.
1. Create a file named ast.py
2.
[CODE]
3. r... | [
"[`ast`]([URL] is a module in the standard library. Shadowing commonly used modules will lead to breakages in most Python libraries. This isn't something we can address in Requests, this is a fundamental of the language.",
"@[USER] thanks for letting me know. It was driving me crazy."
] | closed | not_planned | true | 2024-06-27T06:21:52 | 2024-06-27T06:28:03 | 2025-06-28T00:04:44 | 0 | 2024-06 | [] | bug | 2 | 2 | true | true | 0.1 | 0 | user_0195 | NONE | [
"user_0007",
"user_0195"
] | [
"MEMBER",
"NONE"
] | [
false,
true
] | true | false | 6 | 56 | true |
6,754 | https://github.com/psf/requests/issues/6754 | PDF download is distorted using requests | ## Expected Result
The PDF should download without any distortions, similar to how it downloads when using Chrome directly.
## Actual Result
When downloading the PDF from the specified URL using the requests library in Python, the resulting file is distorted. There are lines across the pages and some blank pages. Ho... | ## Expected Result
The PDF should download without any distortions, similar to how it downloads when using Chrome directly.
## Actual Result
When downloading the PDF from the specified URL using the requests library in Python, the resulting file is distorted. There are lines across the pages and some blank pages. Ho... | PDF download is distorted using requests. ## Expected Result
The PDF should download without any distortions, similar to how it downloads when using Chrome directly.
## Actual Result
When downloading the PDF from the specified URL using the requests library in Python, the resulting file is distorted. There are lines... | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow]([URL] for general usage questions instead and only report defects here."
] | closed | not_planned | true | 2024-06-28T10:00:04 | 2024-06-28T10:37:38 | 2024-06-28T10:37:40 | 0.03 | 2024-06 | [] | feature_request | 1 | 1 | true | false | 0.62 | 0 | user_0406 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | true | false | 6 | 76 | true |
6,755 | https://github.com/psf/requests/issues/6755 | Frequently hangs or times out when trying to fetch [URL] | As part of a software version webscraper I use requests. However, recently, it's started to be the case that for one particular site, [URL] , it frequently hangs or times out when trying to fetch that page.
I was able to reproduce this simply by running: `python3 -c 'import requests; x = requests.get("[URL] timeout=30... | As part of a software version webscraper I use requests. However, recently, it's started to be the case that for one particular site, [URL] , it frequently hangs or times out when trying to fetch that page.
I was able to reproduce this simply by running: `python3 -c 'import requests; x = requests.get("[URL] timeout=30... | Frequently hangs or times out when trying to fetch [URL]. As part of a software version webscraper I use requests. However, recently, it's started to be the case that for one particular site, [URL] , it frequently hangs or times out when trying to fetch that page.
I was able to reproduce this simply by running: `pytho... | [
"Please review the [documentation]([URL] on using Requests with respect to timeouts.",
"OK, `x = requests.get(\"[URL] timeout=30)` does seem to time out instead of hanging indefinitely. The question remains, though, why it frequently times out when none of the command line tools or web browsers I've tested have a... | closed | completed | true | 2024-06-28T18:00:05 | 2024-06-28T18:31:27 | 2025-06-30T00:05:35 | 0.02 | 2024-06 | [] | bug | 3 | 3 | true | true | 0.52 | 2 | user_0194 | NONE | [
"user_0007",
"user_0194",
"user_0028"
] | [
"MEMBER",
"NONE",
"CONTRIBUTOR"
] | [
false,
true,
false
] | true | true | 10 | 167 | true |
6,756 | https://github.com/psf/requests/issues/6756 | I am having error on requests.post | I am having Error 500: {"message":"Unexpected control character found (DomainException)","code":0} when trying to use requests.post to an external endpoint.
The body I am sending is this :
{"nomDocument": "Pi\u00e8ce d'identit\u00e9 contact", "contenu": "JVBERi0xLjYNJeLjz9MNCjM3IDAgb2JqIDw8L0xpbmVhcml6ZWQgMS9MIDIwNTk3L... | I am having Error 500: {"message":"Unexpected control character found (DomainException)","code":0} when trying to use requests.post to an external endpoint.
The body I am sending is this :
{"nomDocument": "Pi\u00e8ce d'identit\u00e9 contact", "contenu": "JVBERi0xLjYNJeLjz9MNCjM3IDAgb2JqIDw8L0xpbmVhcml6ZWQgMS9MIDIwNTk3L... | I am having error on requests.post. I am having Error 500: {"message":"Unexpected control character found (DomainException)","code":0} when trying to use requests.post to an external endpoint.
The body I am sending is this :
{"nomDocument": "Pi\u00e8ce d'identit\u00e9 contact", "contenu": "JVBERi0xLjYNJeLjz9MNCjM3IDAgb... | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow]([URL] for general usage questions instead and only report defects here."
] | closed | completed | true | 2024-07-01T18:40:54 | 2024-07-01T19:47:12 | 2025-07-02T00:04:57 | 0.05 | 2024-07 | [] | bug | 1 | 1 | true | true | 1.11 | 0 | user_0405 | NONE | [
"user_0007"
] | [
"MEMBER"
] | [
false
] | true | false | 6 | 68 | true |
6,758 | https://github.com/psf/requests/issues/6758 | Error when headers return 'Location' as an app://xxxx although I have set disable redirects | ## Expected Result
response['Location'] = app://xxxx
## Actual Result
hostIP = socket.gethostbyname(hostonly)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
## Reproduction Steps
```python
import requests
resp = requests.get('[URL] allow_redirects=False)
``` | ## Expected Result
response['Location'] = app://xxxx
## Actual Result
hostIP = socket.gethostbyname(hostonly)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
## Reproduction Steps
[CODE] | Error when headers return 'Location' as an app://xxxx although I have set disable redirects. ## Expected Result
response['Location'] = app://xxxx
## Actual Result
hostIP = socket.gethostbyname(hostonly)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
## Reproduction Steps
[CODE] | [
"Hi @[USER], can you please supply the full set of information requested in the ticket template and the complete stacktrace?\n\nWhat's provided currently is not reproducible.\n\nThis works as expected:\n```python\nimport requests\nr = requests.get('[URL] allow_redirects=False)\n```\n\nFrom the error, it looks like ... | closed | completed | true | 2024-07-02T01:30:02 | 2024-07-02T13:19:35 | 2025-07-03T00:05:12 | 0.49 | 2024-07 | [
"Needs Info"
] | bug | 3 | 3 | true | true | 0.23 | 0 | user_0193 | NONE | [
"user_0007",
"user_0193",
"user_0028"
] | [
"MEMBER",
"NONE",
"CONTRIBUTOR"
] | [
false,
true,
false
] | true | false | 14 | 26 | true |
6,760 | https://github.com/psf/requests/issues/6760 | requests library seems to ignore "Transfer-Encoding" header | I wanted to send a request with "Transfer-Encoding:chunked" but somehow the header is never set.
Below is my code for testing and the corresponding captured request.
```
import requests
url = '[URL]
def data_chunks():
yield b'7\r\n'
yield b'param=2\r\n'
response = requests.post(url,data=data_chunks(), headers={"T... | I wanted to send a request with "Transfer-Encoding:chunked" but somehow the header is never set.
Below is my code for testing and the corresponding captured request.
[CODE]
> POST /test.php HTTP/1.1
> Host: [replaced]
> User-Agent: python-requests/2.28.1
> Accept-Encoding: gzip, deflate, br
> Accept: */*
> Connecti... | requests library seems to ignore "Transfer-Encoding" header. I wanted to send a request with "Transfer-Encoding:chunked" but somehow the header is never set.
Below is my code for testing and the corresponding captured request.
[CODE]
> POST /test.php HTTP/1.1
> Host: [replaced]
> User-Agent: python-requests/2.28.1
... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-07-06T21:41:36 | 2024-07-07T13:16:09 | 2024-07-07T13:16:10 | 0.65 | 2024-07 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 15.58 | 0 | user_0403 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | true | false | 7 | 116 | true |
6,761 | https://github.com/psf/requests/issues/6761 | Request can't get berkshirehathaway letters.html correctly | Hi team,
I use request to get the content of '[URL] but it always can't be decoded as text correctly. Could you help to point out the error of following code? Thanks!
`
BRK_letters = "[URL]
headers = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/5... | Hi team,
I use request to get the content of '[URL] but it always can't be decoded as text correctly. Could you help to point out the error of following code? Thanks!
`
BRK_letters = "[URL]
headers = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/5... | Request can't get berkshirehathaway letters.html correctly. Hi team,
I use request to get the content of '[URL] but it always can't be decoded as text correctly. Could you help to point out the error of following code? Thanks!
`
BRK_letters = "[URL]
headers = {
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWe... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-07-07T12:43:29 | 2024-07-07T12:43:39 | 2024-07-07T12:43:40 | 0 | 2024-07 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0404 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 6 | 64 | true |
6,762 | https://github.com/psf/requests/issues/6762 | "Transfer-Encoding" header is ignored | The "Transfer-Encoding" header is ignored by the requests library.
## Expected Result
I expect a request in line with the following core data:
> POST /test.php HTTP/1.1
> Host: [replaced]
> Transfer-Encoding: chunked
> Content-Type: application/x-www-form-urlencoded
>
> 7
> param=2
## Actual Result
I obtain a requ... | The "Transfer-Encoding" header is ignored by the requests library.
## Expected Result
I expect a request in line with the following core data:
> POST /test.php HTTP/1.1
> Host: [replaced]
> Transfer-Encoding: chunked
> Content-Type: application/x-www-form-urlencoded
>
> 7
> param=2
## Actual Result
I obtain a requ... | "Transfer-Encoding" header is ignored. The "Transfer-Encoding" header is ignored by the requests library.
## Expected Result
I expect a request in line with the following core data:
> POST /test.php HTTP/1.1
> Host: [replaced]
> Transfer-Encoding: chunked
> Content-Type: application/x-www-form-urlencoded
>
> 7
> par... | [
"> The \"Transfer-Encoding\" header is ignored by the requests library.\n> \n> ## Expected Result\n> \n> I expect a request in line with the following core data:\n> \n> > POST /test.php HTTP/1.1\n> > Host: [replaced]\n> > Transfer-Encoding: chunked\n> > Content-Type: application/x-www-form-urlencoded\n> >\n> > 7\n>... | closed | completed | true | 2024-07-07T20:37:39 | 2024-07-18T11:19:10 | 2025-07-19T00:05:16 | 10.61 | 2024-07 | [] | other | 1 | 1 | true | false | 22.05 | 0 | user_0403 | NONE | [
"user_0191"
] | [
"NONE"
] | [
false
] | true | false | 4 | 98 | true |
6,763 | https://github.com/psf/requests/issues/6763 | Body with Special Characters Gets Cut | When sending a request with special characters using the requests module, the request gets cut and is not sent fully.
This seems to be caused by the requests module calculating the length of the original string, but once the request arrives at the urllib3 module, the urllib3 module encodes the request and calculates t... | When sending a request with special characters using the requests module, the request gets cut and is not sent fully.
This seems to be caused by the requests module calculating the length of the original string, but once the request arrives at the urllib3 module, the urllib3 module encodes the request and calculates t... | Body with Special Characters Gets Cut. When sending a request with special characters using the requests module, the request gets cut and is not sent fully.
This seems to be caused by the requests module calculating the length of the original string, but once the request arrives at the urllib3 module, the urllib3 modu... | [
"I'm having this issue too",
"Can you please explain which specific special characters result in cut of request data?",
"Sure, the specific one I came across was \"×\" - after encoding it's ```b'\\xc3\\x97'``` (as shown in the \"Reproduction Steps\"), I also tested other characters like ```b'\\xc3\\x96'``` and ... | closed | completed | true | 2024-07-08T14:33:37 | 2024-07-08T18:29:33 | 2025-07-09T00:05:25 | 0.16 | 2024-07 | [] | bug | 9 | 9 | true | true | 0.1 | 1 | user_0192 | NONE | [
"user_0190",
"user_0191",
"user_0192",
"user_0191",
"user_0191",
"user_0192",
"user_0191",
"user_0007",
"user_0192"
] | [
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"MEMBER",
"NONE"
] | [
false,
false,
true,
false,
false,
true,
false,
false,
true
] | true | false | 6 | 130 | true |
6,764 | https://github.com/psf/requests/issues/6764 | permission denied regression reading extracted certs with multiple users | If it is necessary to [extract the certs from a zip file]([URL] they'll be written to somewhere like `/tmp/cacert.pem`. This is problematic for subsequent users who may not have have permission to access this `/tmp/cacert.pem`
Seems related to [URL]
Note, this issue was not present with version `2.31.0`
## Expected ... | If it is necessary to [extract the certs from a zip file]([URL] they'll be written to somewhere like `/tmp/cacert.pem`. This is problematic for subsequent users who may not have have permission to access this `/tmp/cacert.pem`
Seems related to [URL]
Note, this issue was not present with version `2.31.0`
## Expected ... | permission denied regression reading extracted certs with multiple users. If it is necessary to [extract the certs from a zip file]([URL] they'll be written to somewhere like `/tmp/cacert.pem`. This is problematic for subsequent users who may not have have permission to access this `/tmp/cacert.pem`
Seems related to [... | [
"I think this is fundamentally the same issue as [URL] which was marked as won't fix.\n\nHappy to contribute a fix if there is a satisfactory solution. In my case, the file permissions less of the issue and more so this file is not guaranteed to be owned by the current user. Possible solutions I see include:\n- emb... | closed | completed | true | 2024-07-09T00:54:35 | 2026-03-29T19:30:19 | 2026-03-29T19:30:19 | 628.77 | 2024-07 | [] | bug | 2 | 2 | true | true | 15,090.6 | 1 | user_0189 | NONE | [
"user_0189",
"user_0007"
] | [
"NONE",
"MEMBER"
] | [
true,
false
] | true | true | 9 | 128 | false |
6,766 | https://github.com/psf/requests/issues/6766 | 一个while True requests运行的爬虫程序,会报错:HTTPSConnectionPool(host='***', port=443): Max retries exceeded with url: /aa (Caused by SSLError(OSError(24, 'Too many open files'))) | with requests.session() as session:
while True:
try:
task = get_task()
if task is None:
time.sleep(1)
continue
response = session.get(url, headers=headers, proxies=task['ip'],timeout=6)
parse_detail(response .text)
except Exception as e:
report_data(task['url'], [], task['tid'],False,str(e))
logger.error(e)
... | with requests.session() as session:
while True:
try:
task = get_task()
if task is None:
time.sleep(1)
continue
response = session.get(url, headers=headers, proxies=task['ip'],timeout=6)
parse_detail(response .text)
except Exception as e:
report_data(task['url'], [], task['tid'],False,str(e))
logger.error(e)
... | 一个while True requests运行的爬虫程序,会报错:HTTPSConnectionPool(host='***', port=443): Max retries exceeded with url: /aa (Caused by SSLError(OSError(24, 'Too many open files'))). with requests.session() as session:
while True:
try:
task = get_task()
if task is None:
time.sleep(1)
continue
response = session.get(url, heade... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-07-11T07:14:53 | 2024-07-11T11:11:12 | 2024-07-11T11:11:13 | 0.16 | 2024-07 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 3.94 | 0 | user_0402 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 17 | 34 | true |
6,768 | https://github.com/psf/requests/issues/6768 | Same code works with Python 3.10 but not with 3.11 | The investpy library doesn't work under CPython 3.11 while it works without issues with CPython 3.10
## Expected Result
In the [search.py]([URL] file, at line 157 (function `search_quotes`), I get a ConnectionError (not raised by requests, but connected to the status_code returned by requests). This error is weirdly ... | The investpy library doesn't work under CPython 3.11 while it works without issues with CPython 3.10
## Expected Result
In the [search.py]([URL] file, at line 157 (function `search_quotes`), I get a ConnectionError (not raised by requests, but connected to the status_code returned by requests). This error is weirdly ... | Same code works with Python 3.10 but not with 3.11. The investpy library doesn't work under CPython 3.11 while it works without issues with CPython 3.10
## Expected Result
In the [search.py]([URL] file, at line 157 (function `search_quotes`), I get a ConnectionError (not raised by requests, but connected to the statu... | [
"403 error is issue with authentication/permission, so I don't think it is related to Python version or the requests library. Perhaps you can ask questions on Stack Overflow on why you're getting 403 error",
"As @[USER] correctly noted, the response behavior from the service isn't something we control. There are ... | closed | completed | true | 2024-07-19T12:28:24 | 2024-07-22T18:00:05 | 2025-07-23T00:05:37 | 3.23 | 2024-07 | [] | other | 2 | 2 | true | true | 38.59 | 0 | user_0401 | NONE | [
"user_0044",
"user_0007"
] | [
"NONE",
"MEMBER"
] | [
false,
false
] | true | true | 10 | 151 | true |
6,775 | https://github.com/psf/requests/issues/6775 | With setuptools 72.0.0 requests can no longer be installed from git | ## Expected Result
`pip install git+[URL] gives me the latest development version of `requests`.
## Actual Result
Installation fails due to [an import in setup.py]([URL]
```
Running command git clone -q [URL] /tmp/pip-req-build-bwz96dmd
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.9 /us... | ## Expected Result
`pip install git+[URL] gives me the latest development version of `requests`.
## Actual Result
Installation fails due to [an import in setup.py]([URL]
[CODE]
See the setuptools changelog: [URL]
> The test command has been removed. Users relying on ‘setup.py test’ will need to migrate to anothe... | With setuptools 72.0.0 requests can no longer be installed from git. ## Expected Result
`pip install git+[URL] gives me the latest development version of `requests`.
## Actual Result
Installation fails due to [an import in setup.py]([URL]
[CODE]
See the setuptools changelog: [URL]
> The test command has been rem... | [
"See also #6774",
"This change was reverted in setuptools with [URL] We'll work on the deprecation in an upcoming release.",
"I was surprised to hear that Requests was affected by this, because (just as I recalled) its own source code is Python-only. Looking around a bit, I conclude:\n\n* Developers don't appea... | closed | completed | true | 2024-07-29T11:19:55 | 2024-07-29T15:10:26 | 2025-08-01T00:06:19 | 0.16 | 2024-07 | [] | feature_request | 5 | 5 | true | true | 2.05 | 0 | user_0236 | NONE | [
"user_0187",
"user_0007",
"user_0188",
"user_0007",
"user_0188"
] | [
"NONE",
"MEMBER",
"NONE",
"MEMBER",
"NONE"
] | [
false,
false,
false,
false,
false
] | true | true | 11 | 72 | true |
6,776 | https://github.com/psf/requests/issues/6776 | Documentation of what to override when using custom adapter | Hello,
I wish to use a custom adapter that I can use to access servers with old and expired certificates so I can automate the updating of the SSL certs.
I have the following:
```
###########################################################################
class TruststoreAdapter(HTTPAdapter):
"""An adapter for req... | Hello,
I wish to use a custom adapter that I can use to access servers with old and expired certificates so I can automate the updating of the SSL certs.
I have the following:
[CODE]
Where the SSL Context is defined as:
[CODE] | Documentation of what to override when using custom adapter. Hello,
I wish to use a custom adapter that I can use to access servers with old and expired certificates so I can automate the updating of the SSL certs.
I have the following:
[CODE]
Where the SSL Context is defined as:
[CODE] | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2024-07-31T11:20:19 | 2024-07-31T11:20:30 | 2024-07-31T11:20:31 | 0 | 2024-07 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0186 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | true | false | 9 | 43 | true |
6,777 | https://github.com/psf/requests/issues/6777 | What should be Overwritten to ignore all verification in a custom adapter? | Hello,
I wish to use a custom adapter that I can use to access servers with old and expired certificates so I can automate the updating of the SSL certs. The doc isn't really clear, so I consider this a bug.
I have the following:
```
###########################################################################
class ... | Hello,
I wish to use a custom adapter that I can use to access servers with old and expired certificates so I can automate the updating of the SSL certs. The doc isn't really clear, so I consider this a bug.
I have the following:
[CODE]
Where the SSL Context is defined as:
[CODE] | What should be Overwritten to ignore all verification in a custom adapter?. Hello,
I wish to use a custom adapter that I can use to access servers with old and expired certificates so I can automate the updating of the SSL certs. The doc isn't really clear, so I consider this a bug.
I have the following:
[CODE]
... | [
"Hi @[USER], could you clarify what exactly you'd be looking for in the Requests documentation? We cover what the Adapter intent is at a high-level, what the end user chooses to modify is very open-ended. `urllib3` provides [docs]([URL] on how to provide a custom SSLContext to their Poolmanager which seems to be th... | closed | completed | true | 2024-07-31T11:21:38 | 2026-04-04T19:13:48 | 2026-04-04T19:13:48 | 612.33 | 2024-07 | [] | question | 3 | 3 | true | true | 6.4 | 0 | user_0186 | NONE | [
"user_0007",
"user_0186",
"user_0007"
] | [
"MEMBER",
"NONE",
"MEMBER"
] | [
false,
true,
false
] | true | false | 12 | 54 | false |
6,778 | https://github.com/psf/requests/issues/6778 | Request for py3.7 support | Hi Team,
We are on an application which still supports py3.7 and it would for a year. I understand it is already EOL, but it is more of a compatibility decision.
With the recent vulnerability found in v2.31.0, which was py3.7 supported, we need to fix this, but we can't upgrade as the newer versions don't support py3... | Hi Team,
We are on an application which still supports py3.7 and it would for a year. I understand it is already EOL, but it is more of a compatibility decision.
With the recent vulnerability found in v2.31.0, which was py3.7 supported, we need to fix this, but we can't upgrade as the newer versions don't support py3... | Request for py3.7 support. Hi Team,
We are on an application which still supports py3.7 and it would for a year. I understand it is already EOL, but it is more of a compatibility decision.
With the recent vulnerability found in v2.31.0, which was py3.7 supported, we need to fix this, but we can't upgrade as the newer... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-08-01T03:03:10 | 2024-08-01T03:03:20 | 2024-08-01T03:03:21 | 0 | 2024-08 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0400 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 4 | 93 | true |
6,779 | https://github.com/psf/requests/issues/6779 | Support for py3.7 | Hi Team,
We are on an application which still supports py3.7 and it would for a year. I understand it is already EOL, but it is more of a compatibility decision.
With the recent vulnerability found in v2.31.0, which was py3.7 supported, we need to fix this, but we can't upgrade as the newer versions don't support py3... | Hi Team,
We are on an application which still supports py3.7 and it would for a year. I understand it is already EOL, but it is more of a compatibility decision.
With the recent vulnerability found in v2.31.0, which was py3.7 supported, we need to fix this, but we can't upgrade as the newer versions don't support py3... | Support for py3.7. Hi Team,
We are on an application which still supports py3.7 and it would for a year. I understand it is already EOL, but it is more of a compatibility decision.
With the recent vulnerability found in v2.31.0, which was py3.7 supported, we need to fix this, but we can't upgrade as the newer version... | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2024-08-01T03:04:30 | 2024-08-01T03:04:38 | 2024-08-01T03:04:39 | 0 | 2024-08 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0400 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 3 | 93 | true |
6,782 | https://github.com/psf/requests/issues/6782 | Doc: missing example | Looking at quickstart: a copy paste example that just works with status error magagement, is missing. | Looking at quickstart: a copy paste example that just works with status error magagement, is missing. | Doc: missing example. Looking at quickstart: a copy paste example that just works with status error magagement, is missing. | [
"Hi @[USER], could you be more specific with what you're looking for? We have a [section]([URL] in the Quickstart guide about this topic already.",
"some COMPLETE code one can copy paste and works \n\nlike (found in [URL]\n\n~~~~\nimport requests\nfrom requests.exceptions import HTTPError\n\ntry:\n response = req... | open | null | false | 2024-08-02T17:55:53 | null | 2026-04-04T02:56:35 | null | 2024-08 | [] | documentation | 3 | 3 | true | true | 0.1 | 0 | user_0184 | NONE | [
"user_0007",
"user_0184",
"user_0185"
] | [
"MEMBER",
"NONE",
"NONE"
] | [
false,
true,
false
] | false | false | 3 | 16 | false |
6,783 | https://github.com/psf/requests/issues/6783 | QUIC over Socks5/UDP capable proxy is not working. | QUIC over Socks5/UDP capable proxy is not working.
## Expected Result
QUIC/HTTP3 worked over Socks5+UDP.
## Actual Result
```
<Response HTTP/2 [200]>
SOCKSHTTPSConnectionPool(host='bbc.com', port=443): Read timed out. (read timeout=2)
```
## Reproduction Steps
```python
import niquests
PX='socks5h://127.0.0.1:... | QUIC over Socks5/UDP capable proxy is not working.
## Expected Result
QUIC/HTTP3 worked over Socks5+UDP.
## Actual Result
[CODE]
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE] | QUIC over Socks5/UDP capable proxy is not working.. QUIC over Socks5/UDP capable proxy is not working.
## Expected Result
QUIC/HTTP3 worked over Socks5+UDP.
## Actual Result
[CODE]
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE] | [
"Hi @[USER], Requests notes it only supports http/1.1 throughout our documentation.\n\nAny issues with other libraries trying to add QUIC or h2 support on top of Requests will need to be triaged there. We do not support this functionality.",
"@[USER] then the documentation (proxies section) should be updated to p... | closed | not_planned | true | 2024-08-03T16:28:17 | 2024-08-03T16:48:55 | 2024-08-10T21:14:43 | 0.01 | 2024-08 | [] | other | 3 | 3 | true | true | 0.34 | 0 | user_0183 | NONE | [
"user_0007",
"user_0183",
"user_0007"
] | [
"MEMBER",
"NONE",
"MEMBER"
] | [
false,
true,
false
] | true | false | 8 | 31 | true |
6,784 | https://github.com/psf/requests/issues/6784 | Multiple path separators causes bad requests | I'm assuming that change in [URL] is the cause of this changed behavior that operations with // in path fails. It seems to be related to Authentication as it is the only thing I could find that does not get trimmed by the change in 6644.
## Expected Result
Similar behavior as before 2.32.0
## Actual Result
Request ... | I'm assuming that change in [URL] is the cause of this changed behavior that operations with // in path fails. It seems to be related to Authentication as it is the only thing I could find that does not get trimmed by the change in 6644.
## Expected Result
Similar behavior as before 2.32.0
## Actual Result
Request ... | Multiple path separators causes bad requests. I'm assuming that change in [URL] is the cause of this changed behavior that operations with // in path fails. It seems to be related to Authentication as it is the only thing I could find that does not get trimmed by the change in 6644.
## Expected Result
Similar behavio... | [
"Resolving this as a duplicate of #6711 as they have the same root cause. The issue is now fixed in urllib3. Once that is released, we can fix this in Requests."
] | closed | duplicate | true | 2024-08-05T07:15:00 | 2026-04-04T19:03:50 | 2026-04-04T19:04:03 | 607.49 | 2024-08 | [] | feature_request | 1 | 1 | true | true | 14,579.81 | 2 | user_0399 | NONE | [
"user_0007"
] | [
"MEMBER"
] | [
false
] | true | false | 6 | 231 | false |
6,788 | https://github.com/psf/requests/issues/6788 | Any ipv6 request spuriously stays stuck for a long time, sometimes never progressing | I have an issue with my OS, that I am not sure how to diagnose, but it seems to affect requests too:
```
requests [required: >=2.20, installed: 2.32.3]
│ ├── certifi [required: >=2017.4.17, installed: 2024.7.4]
│ ├── charset-normalizer [required: >=2,<4, installed: 3.3.2]
│ ├── idna [required: >=2.5,<4, installed: 3.7... | I have an issue with my OS, that I am not sure how to diagnose, but it seems to affect requests too:
[CODE]
- Python 3.10.11 (main, Dec 26 2023, 17:59:09) [GCC 10.2.1 20210110] on linux
- OS: Debian GNU/Linux 12 (bookworm) x86_64
- Kernel: 6.1.0-23-amd64
Expected behaviour: requests hits timeout error
Actual beha... | Any ipv6 request spuriously stays stuck for a long time, sometimes never progressing. I have an issue with my OS, that I am not sure how to diagnose, but it seems to affect requests too:
[CODE]
- Python 3.10.11 (main, Dec 26 2023, 17:59:09) [GCC 10.2.1 20210110] on linux
- OS: Debian GNU/Linux 12 (bookworm) x86_64 ... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-08-12T22:06:29 | 2024-08-12T22:06:39 | 2024-08-12T22:06:39 | 0 | 2024-08 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0398 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | true | true | 13 | 118 | true |
6,789 | https://github.com/psf/requests/issues/6789 | Time between request sent and first byte received (time to first byte) | Hi,
It would be awesome if requests allowed for getting the time to first byte metric. Currently, there is the `response.elapsed.total_seconds()` metric but it computes the time for both sending the request and receiving a response:
[URL]
This does not allow requests to be used for performance measurements where we w... | Hi,
It would be awesome if requests allowed for getting the time to first byte metric. Currently, there is the `response.elapsed.total_seconds()` metric but it computes the time for both sending the request and receiving a response:
[URL]
This does not allow requests to be used for performance measurements where we w... | Time between request sent and first byte received (time to first byte). Hi,
It would be awesome if requests allowed for getting the time to first byte metric. Currently, there is the `response.elapsed.total_seconds()` metric but it computes the time for both sending the request and receiving a response:
[URL]
This do... | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2024-08-15T10:36:56 | 2024-08-15T10:37:07 | 2024-08-15T10:37:08 | 0 | 2024-08 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0397 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 12 | 105 | true |
6,790 | https://github.com/psf/requests/issues/6790 | Import time regression | Between 2.31.0 and 2.32.3, import time increased by ~25%. This appears to have been caused by [URL] which changed the expensive `load_verify_locations()` to run at import time (in 2.32.0).
## Reproduction Steps
Compare import time of versions with:
```bash
$ python3 -X importtime -c 'import requests' 2> requests_impo... | Between 2.31.0 and 2.32.3, import time increased by ~25%. This appears to have been caused by [URL] which changed the expensive `load_verify_locations()` to run at import time (in 2.32.0).
## Reproduction Steps
Compare import time of versions with:
[CODE]
2.31.0
` to run at import time (in 2.32.0).
## Reproduction Steps
Compare import time of versions with:
[CODE]
2.31.0
 of the import time with similar command as above.",
"We noticed that this slows down [yt-dlp]([URL] ... | closed | completed | true | 2024-08-15T12:19:37 | 2026-02-13T02:54:43 | 2026-02-13T02:54:43 | 546.61 | 2024-08 | [] | bug | 4 | 4 | true | true | 1,872.9 | 6 | user_0182 | NONE | [
"user_0180",
"user_0181",
"user_0182",
"user_0007"
] | [
"NONE",
"NONE",
"NONE",
"MEMBER"
] | [
false,
false,
true,
false
] | true | false | 3 | 43 | false |
6,792 | https://github.com/psf/requests/issues/6792 | Add Warning for Incorrect Keyword Arguments in POST Requests (e.g., 'header' instead of 'headers') | Summary:
When making a POST request using the requests library, passing an incorrect keyword argument (e.g., header instead of headers) does not trigger any error or warning. This can lead to unintended behavior, as the request proceeds without the intended headers being applied.
Problem:
The requests library curren... | Summary:
When making a POST request using the requests library, passing an incorrect keyword argument (e.g., header instead of headers) does not trigger any error or warning. This can lead to unintended behavior, as the request proceeds without the intended headers being applied.
Problem:
The requests library curren... | Add Warning for Incorrect Keyword Arguments in POST Requests (e.g., 'header' instead of 'headers'). Summary:
When making a POST request using the requests library, passing an incorrect keyword argument (e.g., header instead of headers) does not trigger any error or warning. This can lead to unintended behavior, as the... | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2024-08-23T06:51:57 | 2024-08-23T06:52:08 | 2024-08-23T06:52:09 | 0 | 2024-08 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0396 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 14 | 238 | true |
6,793 | https://github.com/psf/requests/issues/6793 | Cannot close the proxy | In windows pycharm jupyterlab when i open windows system proxy requests will use the proxy i set on windows system.
but cannot close this proxy direct to the internet . I try
```python
response = requests.post(url, headers=headers, json=data, proxies=None)
response = requests.post(url, headers=headers, json=data, prox... | In windows pycharm jupyterlab when i open windows system proxy requests will use the proxy i set on windows system.
but cannot close this proxy direct to the internet . I try
[CODE]
can't work
## Expected Result
don't use proxy I set on windows
## Actual Result
I can check this connection on clash
## Reproduct... | Cannot close the proxy. In windows pycharm jupyterlab when i open windows system proxy requests will use the proxy i set on windows system.
but cannot close this proxy direct to the internet . I try
[CODE]
can't work
## Expected Result
don't use proxy I set on windows
## Actual Result
I can check this connection ... | [
"``The issue here is that on Windows, requests respects system-wide proxy settings by default when making HTTP requests. If you want to bypass these proxies and make requests directly to the internet, setting proxies=None, {}, or an empty string \"\" does not work because requests will still attempt to use the syst... | closed | completed | true | 2024-08-27T10:37:43 | 2026-03-29T19:14:39 | 2026-03-29T19:14:39 | 579.36 | 2024-08 | [] | bug | 2 | 2 | true | false | 3,666.61 | 0 | user_0395 | NONE | [
"user_0164",
"user_0179"
] | [
"NONE",
"NONE"
] | [
false,
false
] | true | false | 4 | 74 | false |
6,794 | https://github.com/psf/requests/issues/6794 | Requests changes the URL on GET | When fetching a URL containing `%2c` with GET, the URL gets modified and `%2c` is replaced by `%2C`.
The problem with this is that the server may return a 404 when using `%2C` even if the resource exists when looking for it using `%2c` (i.e.: the server is expecting you to honor the lower-case encoding). This should n... | When fetching a URL containing `%2c` with GET, the URL gets modified and `%2c` is replaced by `%2C`.
The problem with this is that the server may return a 404 when using `%2C` even if the resource exists when looking for it using `%2c` (i.e.: the server is expecting you to honor the lower-case encoding). This should n... | Requests changes the URL on GET. When fetching a URL containing `%2c` with GET, the URL gets modified and `%2c` is replaced by `%2C`.
The problem with this is that the server may return a 404 when using `%2C` even if the resource exists when looking for it using `%2c` (i.e.: the server is expecting you to honor the lo... | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.",
"@[USER] I always do, but I didn't manage to find a duplicate.\n\nWould you mind sharing which is/are the duplicate/s of this issue?\n\nAlso for traceability and future users that may come here and want to und... | closed | completed | true | 2024-08-28T11:36:45 | 2024-08-28T17:31:09 | 2025-09-23T00:04:43 | 0.25 | 2024-08 | [] | bug | 5 | 5 | true | false | 5.91 | 0 | user_0178 | NONE | [
"user_0028",
"user_0178",
"user_0028",
"user_0178",
"user_0028"
] | [
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR"
] | [
false,
true,
false,
true,
false
] | true | false | 6 | 174 | true |
6,798 | https://github.com/psf/requests/issues/6798 | Environment variables take precedence over the explicitly passed proxies argument in session.get() | Environment:
**uname -a**
Linux 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
**pip list**
Package Version
------------------ ---------
certifi 2024.8.30
charset-normalizer 3.3.2
idna 3.8
pip 23.0.1
requests 2.32.3
setuptools 66.1.1
urllib3 2.2.2
Is that normal that the Environme... | Environment:
**uname -a**
Linux 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
**pip list**
Package Version
------------------ ---------
certifi 2024.8.30
charset-normalizer 3.3.2
idna 3.8
pip 23.0.1
requests 2.32.3
setuptools 66.1.1
urllib3 2.2.2
Is that normal that the Environme... | Environment variables take precedence over the explicitly passed proxies argument in session.get(). Environment:
**uname -a**
Linux 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
**pip list**
Package Version
------------------ ---------
certifi 2024.8.30
charset-normalizer 3.3.2
id... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-09-05T03:05:54 | 2024-09-05T03:06:06 | 2024-09-05T03:06:06 | 0 | 2024-09 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0185 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 12 | 157 | true |
6,799 | https://github.com/psf/requests/issues/6799 | Python requests: No module named 'werkzeug.wrappers.json' | I'm trying to use the requests library in Python, but when I do so, I get an error
```
from werkzeug.wrappers.json import JSONMixin
ModuleNotFoundError: No module named 'werkzeug.wrappers.json'
```
Below is an example (using a repo I forked specially for this, and a very fine grained access token that will expire s... | I'm trying to use the requests library in Python, but when I do so, I get an error
[CODE]
Below is an example (using a repo I forked specially for this, and a very fine grained access token that will expire soon, in case you're concerned about me sharing it).
[CODE]
The full error message:
[CODE]
Some vers... | Python requests: No module named 'werkzeug.wrappers.json'. I'm trying to use the requests library in Python, but when I do so, I get an error
[CODE]
Below is an example (using a repo I forked specially for this, and a very fine grained access token that will expire soon, in case you're concerned about me sharing it... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-09-05T14:02:17 | 2024-09-05T14:02:52 | 2024-09-05T14:02:53 | 0 | 2024-09 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0.01 | 0 | user_0394 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | true | true | 6 | 71 | true |
6,800 | https://github.com/psf/requests/issues/6800 | AttributeError: 'Request' object has no attribute 'authorize' | There seems to be a call to request.authorize. Shouldn't that be request.auth?
```python
import requests
requests.get("[URL]
```
## Error
```
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/user/my_lib/__main__.py",... | There seems to be a call to request.authorize. Shouldn't that be request.auth?
[CODE]
## Error
[CODE]
## System Information
$ python -m requests.help
[CODE] | AttributeError: 'Request' object has no attribute 'authorize'. There seems to be a call to request.authorize. Shouldn't that be request.auth?
[CODE]
## Error
[CODE]
## System Information
$ python -m requests.help
[CODE] | [
"Ok. nevermind. my venv was indeed outdated. closing"
] | closed | completed | true | 2024-09-09T09:02:53 | 2024-09-09T09:07:20 | 2025-09-10T00:04:44 | 0 | 2024-09 | [] | bug | 1 | 1 | true | false | null | 0 | user_0177 | NONE | [
"user_0177"
] | [
"NONE"
] | [
true
] | true | true | 7 | 24 | true |
6,804 | https://github.com/psf/requests/issues/6804 | XML gets shortened when submitting a post request | I am trying to send an xml in a post request to a SOAP endpoint of a TMS server.
The code is the following:
```
response = requests.post(
url,
data=xml_output,
headers={"Content-Type": "text/xml"},
timeout=60,
cert=(cert_file, decrypted_key_file),
)
```
The server returns a response saying that it got an unexpec... | I am trying to send an xml in a post request to a SOAP endpoint of a TMS server.
The code is the following:
[CODE]
The server returns a response saying that it got an unexpected end of input in lixe x, char y. The error is dependent on the size of the xml, but is reproducible.
I am attaching 2 XMLs as examples:
EX... | XML gets shortened when submitting a post request. I am trying to send an xml in a post request to a SOAP endpoint of a TMS server.
The code is the following:
[CODE]
The server returns a response saying that it got an unexpected end of input in lixe x, char y. The error is dependent on the size of the xml, but is re... | [
"Tried to replicate this using a simple flask server setup using the 2 xmls as above.\nThe server did not complain and was able to print out the entire xml that was sent to it.\nThat makes me think that there should be no payload limit on the requests client while it sends out the http requests. Do you think there ... | closed | completed | true | 2024-10-01T09:02:13 | 2024-10-27T18:49:31 | 2025-10-28T00:04:45 | 26.41 | 2024-10 | [] | feature_request | 1 | 1 | true | false | 632.22 | 0 | user_0393 | NONE | [
"user_0176"
] | [
"NONE"
] | [
false
] | true | false | 8 | 95 | true |
6,807 | https://github.com/psf/requests/issues/6807 | what is the point of this line? | [URL] | [URL] | what is the point of this line?. [URL] | [
"You have blamed the commit which shows which PR it came from (#1944) which references other issues and PRs. Please follow and read those. Issues are for detects and this is neither a defect nor pointing at a potential one."
] | closed | not_planned | true | 2024-10-10T12:51:29 | 2024-10-10T14:31:55 | 2025-10-11T00:04:39 | 0.07 | 2024-10 | [] | question | 1 | 1 | true | false | 1.67 | 0 | user_0392 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | false | false | 7 | 1 | true |
6,808 | https://github.com/psf/requests/issues/6808 | Double-digit link-local IPv6 zone id raises ValueError | When making a request to a link-local IPv6 address, it becomes necessary to specify the "zone id" aka "scope id". [RFC 6874]([URL] specifies zone ids as follows:
> According to IPv6 Scoped Address syntax [[RFC4007]([URL] a zone identifier
> is attached to the textual representation of an IPv6 address by
> concatenatin... | When making a request to a link-local IPv6 address, it becomes necessary to specify the "zone id" aka "scope id". [RFC 6874]([URL] specifies zone ids as follows:
> According to IPv6 Scoped Address syntax [[RFC4007]([URL] a zone identifier
> is attached to the textual representation of an IPv6 address by
> concatenatin... | Double-digit link-local IPv6 zone id raises ValueError. When making a request to a link-local IPv6 address, it becomes necessary to specify the "zone id" aka "scope id". [RFC 6874]([URL] specifies zone ids as follows:
> According to IPv6 Scoped Address syntax [[RFC4007]([URL] a zone identifier
> is attached to the tex... | [
"Hi maintainers, I would like to work on this issue.\n\nI can investigate the incorrect handling of percent-encoded IPv6 zone\nidentifiers and ensure Request’s IPv6 parsing aligns with RFC 6874\n(e.g., preventing double-decoding of %25 and properly supporting\nmulti-character zone IDs like %53 or %eth0).\n\nPlease ... | open | null | false | 2024-10-10T22:32:21 | null | 2026-05-19T11:44:56 | null | 2024-10 | [] | bug | 2 | 2 | true | false | 9,811.13 | 1 | user_0391 | NONE | [
"user_0098",
"user_0175"
] | [
"NONE",
"NONE"
] | [
false,
false
] | true | false | 7 | 329 | false |
6,809 | https://github.com/psf/requests/issues/6809 | Retry hangs indefinitely for 503 status code | When making a GET request to a URL that returns a 503 status code, the retry strategy causes the code to loop indefinitely, regardless of whether the 503 status code is included in the status_forcelist parameter.
## Expected Result
The retry mechanism should follow the configured retry policy (e.g., retry a specified... | When making a GET request to a URL that returns a 503 status code, the retry strategy causes the code to loop indefinitely, regardless of whether the 503 status code is included in the status_forcelist parameter.
## Expected Result
The retry mechanism should follow the configured retry policy (e.g., retry a specified... | Retry hangs indefinitely for 503 status code. When making a GET request to a URL that returns a 503 status code, the retry strategy causes the code to loop indefinitely, regardless of whether the 503 status code is included in the status_forcelist parameter.
## Expected Result
The retry mechanism should follow the co... | [
"@[USER] My dear friend,\nYes, you are right. When the `Retry() `reaches its limit, it should raise a `RetryError` exception. However, regarding the issue you mentioned, I checked the responses from the URL you provided and noticed that there is a `Retry-After` header in the response, which is set to **3600** (this... | closed | completed | true | 2024-10-16T12:36:00 | 2024-10-17T16:24:45 | 2025-10-18T00:04:39 | 1.16 | 2024-10 | [] | bug | 2 | 2 | true | false | 25.71 | 1 | user_0174 | NONE | [
"user_0173",
"user_0174"
] | [
"NONE",
"NONE"
] | [
false,
true
] | true | false | 7 | 89 | true |
6,810 | https://github.com/psf/requests/issues/6810 | Change auth.py to be used in a FIPS system | ## Expected Result
Using the requests to perform a HTTPS action is working in a FIPS environment
## Actual Result
In UNIX environment with fips enabled the MD5 can't be used.
It provides this error
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS
## Solution
Apply this patch in aut... | ## Expected Result
Using the requests to perform a HTTPS action is working in a FIPS environment
## Actual Result
In UNIX environment with fips enabled the MD5 can't be used.
It provides this error
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS
## Solution
Apply this patch in aut... | Change auth.py to be used in a FIPS system. ## Expected Result
Using the requests to perform a HTTPS action is working in a FIPS environment
## Actual Result
In UNIX environment with fips enabled the MD5 can't be used.
It provides this error
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled f... | [
"Could I work on this ticket ?\nThe `usedforsecurity` parameter is only available in python >= 3.9. Plan is to set `usedforsecurity` to True only if python version >= 3.9.",
"that seems ok for me. We use already python 3.10/3.11 in our environment and i believe most cases also",
"We support all supported Python... | closed | completed | true | 2024-10-18T10:32:43 | 2026-04-15T14:56:40 | 2026-04-15T14:56:40 | 544.18 | 2024-10 | [] | bug | 6 | 6 | true | true | 461.91 | 0 | user_0171 | NONE | [
"user_0170",
"user_0171",
"user_0028",
"user_0170",
"user_0172",
"user_0007"
] | [
"NONE",
"NONE",
"CONTRIBUTOR",
"NONE",
"NONE",
"MEMBER"
] | [
false,
true,
false,
false,
false,
false
] | false | false | 9 | 94 | false |
6,813 | https://github.com/psf/requests/issues/6813 | `Session.request` documentation does not specify what unit of time the `timeout` argument uses | [the documentation for `requests.request`]([URL] says this:
> - **timeout** (_[float]([URL] or [tuple]([URL] – (optional) How many seconds to wait for the server to send data before giving up, as a float, or a [(connect timeout, read timeout)]([URL] tuple.
however [the documentation for the same argument in `Session... | [the documentation for `requests.request`]([URL] says this:
> - **timeout** (_[float]([URL] or [tuple]([URL] – (optional) How many seconds to wait for the server to send data before giving up, as a float, or a [(connect timeout, read timeout)]([URL] tuple.
however [the documentation for the same argument in `Session... | `Session.request` documentation does not specify what unit of time the `timeout` argument uses. [the documentation for `requests.request`]([URL] says this:
> - **timeout** (_[float]([URL] or [tuple]([URL] – (optional) How many seconds to wait for the server to send data before giving up, as a float, or a [(connect ti... | [] | closed | completed | true | 2024-10-21T05:02:29 | 2025-07-18T02:09:21 | 2026-08-26T00:04:45 | 269.88 | 2024-10 | [] | documentation | 0 | 0 | true | false | null | 1 | user_0390 | NONE | [] | [] | [] | false | false | 13 | 85 | true |
6,815 | https://github.com/psf/requests/issues/6815 | Handle PermissionError when importing adapter.py | In Windows, if the running process has restricted permissions the process may not have permission to read the file "C:\\Users\\User\\Documents\\syskeylog.txt". Sounds silly, but this error can propagate through dependencies and prevent them from complete importing, even if the functionality you expect from them do not ... | In Windows, if the running process has restricted permissions the process may not have permission to read the file "C:\\Users\\User\\Documents\\syskeylog.txt". Sounds silly, but this error can propagate through dependencies and prevent them from complete importing, even if the functionality you expect from them do not ... | Handle PermissionError when importing adapter.py. In Windows, if the running process has restricted permissions the process may not have permission to read the file "C:\\Users\\User\\Documents\\syskeylog.txt". Sounds silly, but this error can propagate through dependencies and prevent them from complete importing, even... | [
"[URL]\n\nThis code path is only triggered with that environment variable set. Unset it, and you won't have permissions problems.",
"Thanks for the prompt help!! \n\nCan I recommend leaving a comment mentioning this at this line?",
"It's in a different project"
] | closed | not_planned | true | 2024-10-25T23:51:02 | 2024-10-26T00:34:54 | 2025-10-27T00:05:08 | 0.03 | 2024-10 | [] | bug | 3 | 3 | true | false | 0.31 | 0 | user_0169 | NONE | [
"user_0028",
"user_0169",
"user_0028"
] | [
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR"
] | [
false,
true,
false
] | true | false | 5 | 91 | true |
6,823 | https://github.com/psf/requests/issues/6823 | chunked put using a generator function... | I made a generator function that returns str chunks; I passed it to data [...data=my_func()...], and it eventually comes back with the error "memoryview: a bytes-like object is required, not 'str'" (debug statements indicate this is happening on the first yield...)
Documentation indicates this is the way to do it: [[U... | I made a generator function that returns str chunks; I passed it to data [...data=my_func()...], and it eventually comes back with the error "memoryview: a bytes-like object is required, not 'str'" (debug statements indicate this is happening on the first yield...)
Documentation indicates this is the way to do it: [[U... | chunked put using a generator function.... I made a generator function that returns str chunks; I passed it to data [...data=my_func()...], and it eventually comes back with the error "memoryview: a bytes-like object is required, not 'str'" (debug statements indicate this is happening on the first yield...)
Documentat... | [
"PS A put using a file descriptor as the data argument (opened 'rb' to a .json file...) works...",
"PPS I also tried returning byte strings, even though the documentation example does not do that, and it also fails, with a 400, bad request...",
"Hi @[USER], this issue was patched in 2.29.0 early last year. If y... | closed | completed | true | 2024-11-09T03:17:27 | 2024-11-09T03:40:37 | 2025-11-10T00:05:10 | 0.02 | 2024-11 | [] | other | 4 | 4 | true | true | 0.39 | 0 | user_0168 | NONE | [
"user_0168",
"user_0168",
"user_0007",
"user_0168"
] | [
"NONE",
"NONE",
"MEMBER",
"NONE"
] | [
true,
true,
false,
true
] | true | false | 6 | 81 | true |
6,826 | https://github.com/psf/requests/issues/6826 | multipart/form-data and a generator... | I used a generator as an argument to data for Content-Type application/json, and that worked fine.
The problem now is that I need to do this for multipart/form-data, and it appears to not support a generator.
- I tried files={'content': my_generator_func()} and got: a bytes-like object is required, not 'generator'; s... | I used a generator as an argument to data for Content-Type application/json, and that worked fine.
The problem now is that I need to do this for multipart/form-data, and it appears to not support a generator.
- I tried files={'content': my_generator_func()} and got: a bytes-like object is required, not 'generator'; s... | multipart/form-data and a generator.... I used a generator as an argument to data for Content-Type application/json, and that worked fine.
The problem now is that I need to do this for multipart/form-data, and it appears to not support a generator.
- I tried files={'content': my_generator_func()} and got: a bytes-lik... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-11-13T02:26:25 | 2024-11-13T02:26:34 | 2024-11-13T02:26:35 | 0 | 2024-11 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0168 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 4 | 217 | true |
6,827 | https://github.com/psf/requests/issues/6827 | SSL: DH_KEY_TOO_SMALL, Requests > 2.31.0 | How to make requests to problematic sites (on old versions disabling shfires helped)?
`import requests, urllib3`
`print(f"requests={requests.__version__}, urllib3={urllib3.__version__}")`
requests=**2.32.3**, urllib3=**1.26.18** (This version of Urllib3 still supports custom cipher selection.)
`requests.packages.url... | How to make requests to problematic sites (on old versions disabling shfires helped)?
`import requests, urllib3`
`print(f"requests={requests.__version__}, urllib3={urllib3.__version__}")`
requests=**2.32.3**, urllib3=**1.26.18** (This version of Urllib3 still supports custom cipher selection.)
`requests.packages.url... | SSL: DH_KEY_TOO_SMALL, Requests > 2.31.0. How to make requests to problematic sites (on old versions disabling shfires helped)?
`import requests, urllib3`
`print(f"requests={requests.__version__}, urllib3={urllib3.__version__}")`
requests=**2.32.3**, urllib3=**1.26.18** (This version of Urllib3 still supports custom ... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-11-15T10:35:38 | 2024-11-15T10:35:48 | 2024-11-15T10:35:49 | 0 | 2024-11 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0139 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 5 | 113 | true |
6,828 | https://github.com/psf/requests/issues/6828 | AssertionError on malformed URL through a proxy | Unsure whether this is the right place to handle this error – happy to report this elsewhere if you disagree.
When opening a request with a malformed URL through a proxy, an AssertionError from deep in the http library is reported.
## Expected Result
`ConnectionError`, `NameResolutionError` or something more indicat... | Unsure whether this is the right place to handle this error – happy to report this elsewhere if you disagree.
When opening a request with a malformed URL through a proxy, an AssertionError from deep in the http library is reported.
## Expected Result
`ConnectionError`, `NameResolutionError` or something more indicat... | AssertionError on malformed URL through a proxy. Unsure whether this is the right place to handle this error – happy to report this elsewhere if you disagree.
When opening a request with a malformed URL through a proxy, an AssertionError from deep in the http library is reported.
## Expected Result
`ConnectionError`... | [
"The issue you're encountering is related to how the requests library handles malformed URLs when making requests through a proxy. Specifically, the AssertionError is being raised because the URL contains invalid characters (in this case, %C2%A0, which is a non-breaking space encoded in UTF-8).\n\nhere is the solut... | closed | completed | true | 2024-11-17T13:38:08 | 2026-03-25T02:17:55 | 2026-03-25T02:17:56 | 492.53 | 2024-11 | [] | bug | 4 | 4 | true | true | 1,863.18 | 0 | user_0389 | CONTRIBUTOR | [
"user_0164",
"user_0028",
"user_0167",
"user_0007"
] | [
"NONE",
"CONTRIBUTOR",
"NONE",
"MEMBER"
] | [
false,
false,
false,
false
] | true | true | 7 | 72 | false |
6,830 | https://github.com/psf/requests/issues/6830 | PreparedRequests can't bypass URL normalization when proxies are used | Related to #5289, where [akmalhisyam found a way to bypass URL normalization using PreparedRequests]([URL] however, the solution doesn't work when you have proxies provided.
## Expected Result
This should be able to explicitly set the request URL without getting normalized (from `/../something.txt` to `/something.txt... | Related to #5289, where [akmalhisyam found a way to bypass URL normalization using PreparedRequests]([URL] however, the solution doesn't work when you have proxies provided.
## Expected Result
This should be able to explicitly set the request URL without getting normalized (from `/../something.txt` to `/something.txt... | PreparedRequests can't bypass URL normalization when proxies are used. Related to #5289, where [akmalhisyam found a way to bypass URL normalization using PreparedRequests]([URL] however, the solution doesn't work when you have proxies provided.
## Expected Result
This should be able to explicitly set the request URL ... | [
"The issue arises because the requests library automatically normalizes URLs when preparing a request. This normalization process resolves paths like /../something.txt into /something.txt, which may not be the desired behavior when using a proxy.\n\nA possible workaround is to use a lower-level library like httpx o... | open | null | false | 2024-11-18T17:06:17 | null | 2026-04-17T19:42:59 | null | 2024-11 | [] | bug | 3 | 3 | true | false | 1,668 | 1 | user_0388 | NONE | [
"user_0164",
"user_0165",
"user_0166"
] | [
"NONE",
"NONE",
"NONE"
] | [
false,
false,
false
] | true | false | 9 | 87 | false |
6,831 | https://github.com/psf/requests/issues/6831 | Support for "DEFAULT_CIPHERS" requests > 2.31.0 is broken | GNU/Linux, deb, Python 3.8
Android/Termux, Python 3.11.5
Urllib3 = 1.26.18, 1.26.20
Requests = 2.32.3
```python
import requests
requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS += ':!DH'
print(requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS)
```
>ECDHE+AESGCM:ECDHE+CHACHA20:DHE+AESGCM:DHE+CHACHA20:ECDH+AESGCM:... | GNU/Linux, deb, Python 3.8
Android/Termux, Python 3.11.5
Urllib3 = 1.26.18, 1.26.20
Requests = 2.32.3
[CODE]
>ECDHE+AESGCM:ECDHE+CHACHA20:DHE+AESGCM:DHE+CHACHA20:ECDH+AESGCM:DH+AESGCM:ECDH+AES:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!eNULL:!MD5:!DSS:!DH
[CODE]
>SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL]
Solution: r... | Support for "DEFAULT_CIPHERS" requests > 2.31.0 is broken. GNU/Linux, deb, Python 3.8
Android/Termux, Python 3.11.5
Urllib3 = 1.26.18, 1.26.20
Requests = 2.32.3
[CODE]
>ECDHE+AESGCM:ECDHE+CHACHA20:DHE+AESGCM:DHE+CHACHA20:ECDH+AESGCM:DH+AESGCM:ECDH+AES:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!eNULL:!MD5:!DSS:!DH
[CODE]
... | [
"Run Java and pipeline in developer and run script",
"@[USER], the packages module has always been an internal Requests detail which previously housed vendored copies of those packages. That hasn't been true for ~7 years and anything under there is not intended to support mutation. If you want to override values,... | closed | completed | true | 2024-11-20T03:45:33 | 2026-02-10T20:13:57 | 2026-02-10T20:24:05 | 447.69 | 2024-11 | [] | bug | 3 | 3 | true | true | 181.02 | 0 | user_0139 | NONE | [
"user_0045",
"user_0007",
"user_0045"
] | [
"NONE",
"MEMBER",
"NONE"
] | [
false,
false,
false
] | true | false | 8 | 28 | false |
6,832 | https://github.com/psf/requests/issues/6832 | CURL and Requests.session() returning different values during SSL and CA verification | I don't know if anyone has seen this happen. but when i'm using Requests.Session() for making a requests to HTTPS URL with SSL certificate and CA cert verification it doesn't give correct response.
Whereas when i use the same certs(SSL and CA Cert) with CURL command it works seamlessly.
This is causing [URL]
## Exp... | I don't know if anyone has seen this happen. but when i'm using Requests.Session() for making a requests to HTTPS URL with SSL certificate and CA cert verification it doesn't give correct response.
Whereas when i use the same certs(SSL and CA Cert) with CURL command it works seamlessly.
This is causing [URL]
## Exp... | CURL and Requests.session() returning different values during SSL and CA verification. I don't know if anyone has seen this happen. but when i'm using Requests.Session() for making a requests to HTTPS URL with SSL certificate and CA cert verification it doesn't give correct response.
Whereas when i use the same certs(... | [
"I have no issues verifying TLS with a proper trust bundle and a server providing the full chain. Is this specific to Kafka or are you experiencing this with something other than Kafka as well?",
"Could you specify the versions of the Schema Registry and Kafka you are using? Additionally, did this issue arise fol... | closed | not_planned | true | 2024-11-24T00:46:35 | 2024-11-24T22:31:44 | 2024-11-24T22:32:25 | 0.91 | 2024-11 | [
"Needs Info",
"Question/Not a bug"
] | question | 3 | 3 | true | false | 1.48 | 0 | user_0387 | NONE | [
"user_0028",
"user_0163",
"user_0028"
] | [
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR"
] | [
false,
false,
false
] | false | false | 11 | 92 | true |
6,833 | https://github.com/psf/requests/issues/6833 | Lack of respect for questions and support requests | Sincerely, I don't know what is the objective of those responsible for [URL] if they don't know how to kill this project, if they are bored or if they are simply busier with other things.
I have been observing your behavior for some time now, and it worries me:
.- Don't you have time to develop this library?: **perfe... | Sincerely, I don't know what is the objective of those responsible for [URL] if they don't know how to kill this project, if they are bored or if they are simply busier with other things.
I have been observing your behavior for some time now, and it worries me:
.- Don't you have time to develop this library?: **perfe... | Lack of respect for questions and support requests. Sincerely, I don't know what is the objective of those responsible for [URL] if they don't know how to kill this project, if they are bored or if they are simply busier with other things.
I have been observing your behavior for some time now, and it worries me:
.- D... | [
"Hi @[USER],\n\nThis seems like more of an airing of grievances than actionable feedback but I'll try to address your points as concisely as we can.\n\nRequests has triaged support questions through StackOverflow for a decade. We've had success with that because it provides a dedicated, more visible, space for your... | closed | completed | true | 2024-11-25T20:46:53 | 2024-11-26T00:49:23 | 2025-11-27T00:05:00 | 0.17 | 2024-11 | [] | feature_request | 2 | 2 | true | true | 3.85 | 0 | user_0162 | NONE | [
"user_0007",
"user_0162"
] | [
"MEMBER",
"NONE"
] | [
false,
true
] | false | false | 8 | 281 | true |
6,834 | https://github.com/psf/requests/issues/6834 | multipart response preserve carriage return linefeed pairs | Hi,
Trying to process the response that is a multipart/form-data.
```
multipart_data = MultipartDecoder.from_response(response)
for part in multipart_data.parts:
print(part.content)
print(part.headers)
```
which fails with ```requests_toolbelt.multipart.decoder.ImproperBodyPartContentException: content does not c... | Hi,
Trying to process the response that is a multipart/form-data.
[CODE]
which fails with [CODE]
And when I try to get to the body of the response(runtime version 2.32.3) any other way the "\r\n"'s don't exist.
response headers are
[CODE]
Started with conda env yesterday
[CODE]
[CODE]
is the POST request and... | multipart response preserve carriage return linefeed pairs. Hi,
Trying to process the response that is a multipart/form-data.
[CODE]
which fails with [CODE]
And when I try to get to the body of the response(runtime version 2.32.3) any other way the "\r\n"'s don't exist.
response headers are
[CODE]
Started with c... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-11-27T20:34:35 | 2024-11-27T20:34:46 | 2024-11-27T20:34:47 | 0 | 2024-11 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0386 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | true | false | 7 | 122 | true |
6,835 | https://github.com/psf/requests/issues/6835 | why requests.session doesn't send stored cookie? | Here is a reproducible example:
- server.py
```python
from flask import request, make_response, Flask
import json as j
app = Flask(__name__)
@[USER].route('/set')
def set_cookie():
cookie = {}
resp = make_response('')
for k, v in request.args.items():
resp.set_cookie(k, v, domain='localhost', samesite='lax', se... | Here is a reproducible example:
- server.py
[CODE]
- client.py
[CODE]
And logs:
- SERVER
[CODE]
- CLIENT
[CODE]
Why `session` doesn't send stored cookies at second request? More over, why domain looks like `.localhost` inside session cookies. I set it as `Domain=localhost` (without leading dot).
requ... | why requests.session doesn't send stored cookie?. Here is a reproducible example:
- server.py
[CODE]
- client.py
[CODE]
And logs:
- SERVER
[CODE]
- CLIENT
[CODE]
Why `session` doesn't send stored cookies at second request? More over, why domain looks like `.localhost` inside session cookies. I set it ... | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.\n\nSee also #5977"
] | closed | not_planned | true | 2024-11-29T05:23:55 | 2024-11-29T14:28:12 | 2025-11-30T00:05:28 | 0.38 | 2024-11 | [] | bug | 1 | 1 | true | false | 9.07 | 0 | user_0385 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | true | false | 6 | 50 | true |
6,838 | https://github.com/psf/requests/issues/6838 | v 2.32.3 sends multiple requests | I am working with quite an old and slow API -- [GDELT]([URL] I am trying to send a single get request. However, in response, I get a message that I send too many requests at the same time. I suspect that it is the issue of the timeout settings but setting it to very liberal values for example 3 and 27 does not really h... | I am working with quite an old and slow API -- [GDELT]([URL] I am trying to send a single get request. However, in response, I get a message that I send too many requests at the same time. I suspect that it is the issue of the timeout settings but setting it to very liberal values for example 3 and 27 does not really h... | v 2.32.3 sends multiple requests. I am working with quite an old and slow API -- [GDELT]([URL] I am trying to send a single get request. However, in response, I get a message that I send too many requests at the same time. I suspect that it is the issue of the timeout settings but setting it to very liberal values for ... | [
"I confirm the problem.\nRequests 2.31.0\nresponse = <Response [200]>\nRequests 2.32.3\nresponse = <Response [429]> 'Please limit requests to one every 5 seconds or contact email for larger queries.\\n\\n'\n\n@[USER] \n>In other words, requests do not wait long enough for the response before sending a repetitive re... | closed | not_planned | true | 2024-12-05T09:59:06 | 2024-12-06T16:00:54 | 2025-12-07T00:05:22 | 1.25 | 2024-12 | [] | feature_request | 10 | 10 | true | false | 26.26 | 0 | user_0161 | NONE | [
"user_0139",
"user_0028",
"user_0139",
"user_0028",
"user_0139",
"user_0161",
"user_0028",
"user_0161",
"user_0028",
"user_0161"
] | [
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE"
] | [
false,
false,
false,
false,
false,
true,
false,
true,
false,
true
] | true | false | 5 | 152 | true |
6,854 | https://github.com/psf/requests/issues/6854 | slowness when writing response text to file, working in one environment but not the other | Please refer to our [Stack Overflow tag]([URL] for guidance.
Facing a weird issue saving response text for a file. This is working fine in Azure linux but not OCI linux. It took 3 minutes to write to file on OCI linux and only a second in Azure linux.
OCI Linux version:
NAME="Oracle Linux Server"
VERSION="8.10"
Azur... | Please refer to our [Stack Overflow tag]([URL] for guidance.
Facing a weird issue saving response text for a file. This is working fine in Azure linux but not OCI linux. It took 3 minutes to write to file on OCI linux and only a second in Azure linux.
OCI Linux version:
NAME="Oracle Linux Server"
VERSION="8.10"
Azur... | slowness when writing response text to file, working in one environment but not the other. Please refer to our [Stack Overflow tag]([URL] for guidance.
Facing a weird issue saving response text for a file. This is working fine in Azure linux but not OCI linux. It took 3 minutes to write to file on OCI linux and only a ... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-12-12T22:43:46 | 2024-12-12T22:43:57 | 2024-12-12T22:43:57 | 0 | 2024-12 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0384 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 15 | 250 | true |
6,855 | https://github.com/psf/requests/issues/6855 | Response history is wrong | History for requests with multiple redirects is incorrect.
## Expected Result
Correct history in history of each request
## Actual Result
second request has itself in the history
## Reproduction Steps
```python
In [2]: import requests
# 301 -> [URL] 302 -> [URL] 200 https:/www.google.com
In [3]: r = requests.get... | History for requests with multiple redirects is incorrect.
## Expected Result
Correct history in history of each request
## Actual Result
second request has itself in the history
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE] | Response history is wrong. History for requests with multiple redirects is incorrect.
## Expected Result
Correct history in history of each request
## Actual Result
second request has itself in the history
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE] | [
"This is a duplicate of [URL]"
] | closed | completed | true | 2024-12-13T21:57:00 | 2024-12-13T22:24:45 | 2025-12-14T00:05:27 | 0.02 | 2024-12 | [] | bug | 1 | 1 | true | true | 0.46 | 0 | user_0383 | NONE | [
"user_0007"
] | [
"MEMBER"
] | [
false
] | true | false | 4 | 40 | true |
6,856 | https://github.com/psf/requests/issues/6856 | HTTP/2 | I am trying to get HTTP/2 with requests, and I found these:
> It can: [URL]
[URL]
> There is no roadmap for this. HTTP/2 is a complex protocol and it is not likely that Requests in its current form will achieve good support for it any time soon. In the meantime, you can [use this](//hyper.readthedocs.org/en/developm... | I am trying to get HTTP/2 with requests, and I found these:
> It can: [URL]
[URL]
> There is no roadmap for this. HTTP/2 is a complex protocol and it is not likely that Requests in its current form will achieve good support for it any time soon. In the meantime, you can [use this](//hyper.readthedocs.org/en/developm... | HTTP/2. I am trying to get HTTP/2 with requests, and I found these:
> It can: [URL]
[URL]
> There is no roadmap for this. HTTP/2 is a complex protocol and it is not likely that Requests in its current form will achieve good support for it any time soon. In the meantime, you can [use this](//hyper.readthedocs.org/en/... | [
"Try a more modern python library: [httpx]([URL] http/2 support is declared.\n\nSyntax is the same as requests.",
"urllib3 would need to add support for HTTP/2, Requests doesn't actually do any HTTP handling itself. Closing this issue as not actionable.",
"@[USER] Being rude to volunteers is not a good look.\n\... | closed | completed | true | 2024-12-15T08:59:44 | 2025-01-15T15:12:24 | 2025-01-19T16:07:59 | 31.26 | 2024-12 | [] | other | 4 | 4 | true | true | 525.06 | 0 | user_0160 | NONE | [
"user_0139",
"user_0141",
"user_0141",
"user_0160"
] | [
"NONE",
"MEMBER",
"MEMBER",
"NONE"
] | [
false,
false,
false,
true
] | false | false | 1 | 101 | true |
6,858 | https://github.com/psf/requests/issues/6858 | Unable to remove default content-length header field | The server I'm requesting from needs to remove the content-length field in order to properly respond to the data, but after I try to del session.headers['content-length'] , when I re-initiate the request, the request header adds the field again,how do I fix this? | The server I'm requesting from needs to remove the content-length field in order to properly respond to the data, but after I try to del session.headers['content-length'] , when I re-initiate the request, the request header adds the field again,how do I fix this? | Unable to remove default content-length header field. The server I'm requesting from needs to remove the content-length field in order to properly respond to the data, but after I try to del session.headers['content-length'] , when I re-initiate the request, the request header adds the field again,how do I fix this? | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2024-12-16T09:06:34 | 2024-12-16T09:06:46 | 2024-12-16T09:06:47 | 0 | 2024-12 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0382 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 7 | 43 | true |
6,859 | https://github.com/psf/requests/issues/6859 | Documentation: Session docstring for verify attribute should note that it supports a string value. | `Session` docstring for `verify` attribute should note that it supports a string value.
## Actual Result
Currently, the `Session` docstring notes that its `verify` attribute only supports a bool.
However, `session.request` supports a string for its `verify` arg: [URL]
and when a `verify` arg isn't passed to `ses... | `Session` docstring for `verify` attribute should note that it supports a string value.
## Actual Result
Currently, the `Session` docstring notes that its `verify` attribute only supports a bool.
However, `session.request` supports a string for its `verify` arg: [URL]
and when a `verify` arg isn't passed to `ses... | Documentation: Session docstring for verify attribute should note that it supports a string value.. `Session` docstring for `verify` attribute should note that it supports a string value.
## Actual Result
Currently, the `Session` docstring notes that its `verify` attribute only supports a bool.
However, `session.... | [
"I've submitted a PR (#6865) to address this issue. Please let me know if there are additional changes required. Thank you!",
"hey i want to work on this issue, could you please assign me this issue"
] | closed | completed | true | 2024-12-16T22:20:10 | 2026-02-13T02:52:09 | 2026-02-13T02:52:09 | 423.19 | 2024-12 | [] | documentation | 2 | 2 | true | false | 377.78 | 0 | user_0381 | NONE | [
"user_0159",
"user_0155"
] | [
"CONTRIBUTOR",
"NONE"
] | [
false,
false
] | false | false | 14 | 63 | false |
6,860 | https://github.com/psf/requests/issues/6860 | "No address associated with hostname" when querying IPv6 hosts | ## Expected Result
```
$ python
Python 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> requests.get("[URL]
'2001:920:[REDACTED]'
```
## Actual Result
```shell
$ python
Python 3.12.3 (main, Nov 6 2024, 18:32:19)... | ## Expected Result
[CODE]
## Actual Result
[CODE]
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE]
installed versions (OS is Ubuntu 24)
[CODE]
Network (I have a fully functional IPv6 setup)
[CODE] | "No address associated with hostname" when querying IPv6 hosts. ## Expected Result
[CODE]
## Actual Result
[CODE]
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE]
installed versions (OS is Ubuntu 24)
[CODE]
Network (I have a fully functional IPv6 setup)
[CODE] | [
"More of an issue with urllib3 package than requests better to raise an issue there 😅\n\n`.
However, when I run the script for multiple URLs, I encounter an issue where the program gets stuck on a request and do... | I am working on a web scraping project using Python's `requests` library. The goal is to scrape emails from numerous URLs. To handle network delays, I set the timeout parameter as `timeout=(10, 10)`.
However, when I run the script for multiple URLs, I encounter an issue where the program gets stuck on a request and do... | Timeout Issue When Scraping Emails from Multiple URLs Using Python requests. I am working on a web scraping project using Python's `requests` library. The goal is to scrape emails from numerous URLs. To handle network delays, I set the timeout parameter as `timeout=(10, 10)`.
However, when I run the script for multipl... | [
"See also:\n\n* Issues #3099 #5450 and others.\n* [URL]\n* [URL]\n\nIn the future, please search **closed and** open issues before creating new ones that are duplicates."
] | closed | not_planned | true | 2024-12-24T14:57:57 | 2024-12-24T15:36:29 | 2024-12-24T15:36:55 | 0.03 | 2024-12 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0.64 | 0 | user_0380 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | true | false | 11 | 176 | true |
6,867 | https://github.com/psf/requests/issues/6867 | Problem Error Download failed : HTTPSConnectionPool(host='swcdn.apple.com',port=443): Read timed out. Opencore legacy patcher 2.2.0 | Hello and happy new year !
I don't know if it's a bug, or something I'm doing wrong when installing Ventura on my Macbook Pro Mid 2021 9.1 - i7 Quadcore 2.3ghz, 16GB Ram 1866Mhz, SSD Samsung Evo 860 - 512gb. I had managed to install it almost 2 years ago except that in the meantime I wanted to put Sonoma, but it must ... | Hello and happy new year !
I don't know if it's a bug, or something I'm doing wrong when installing Ventura on my Macbook Pro Mid 2021 9.1 - i7 Quadcore 2.3ghz, 16GB Ram 1866Mhz, SSD Samsung Evo 860 - 512gb. I had managed to install it almost 2 years ago except that in the meantime I wanted to put Sonoma, but it must ... | Problem Error Download failed : HTTPSConnectionPool(host='swcdn.apple.com',port=443): Read timed out. Opencore legacy patcher 2.2.0. Hello and happy new year !
I don't know if it's a bug, or something I'm doing wrong when installing Ventura on my Macbook Pro Mid 2021 9.1 - i7 Quadcore 2.3ghz, 16GB Ram 1866Mhz, SSD Sam... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2025-01-06T13:40:01 | 2025-01-06T13:40:12 | 2025-01-06T13:40:13 | 0 | 2025-01 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0379 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 13 | 182 | true |
6,868 | https://github.com/psf/requests/issues/6868 | `import requests` intermittently fails on windows server 2022 | I have an error on a miniconda based python3.11 installation on Windows Server 2022 where `import requests` fails intermittently for one of my apps. It seems to be an SSL verification issue as far as I can tell.
## Expected Result
I expected the `requests` library to successfully load.
## Actual Result
`import req... | I have an error on a miniconda based python3.11 installation on Windows Server 2022 where `import requests` fails intermittently for one of my apps. It seems to be an SSL verification issue as far as I can tell.
## Expected Result
I expected the `requests` library to successfully load.
## Actual Result
`import req... | `import requests` intermittently fails on windows server 2022. I have an error on a miniconda based python3.11 installation on Windows Server 2022 where `import requests` fails intermittently for one of my apps. It seems to be an SSL verification issue as far as I can tell.
## Expected Result
I expected the `requests... | [
"you can recreate the environment and try it again",
"As mentioned above, the issue happens intermittently not continuously as mentioned in the PR. I have indeed recreated the environment in the PR but this does not appear to have fixed the issue. \n\nWhat would be the best way to improve the logs so that we can ... | closed | completed | true | 2025-01-10T02:55:11 | 2026-02-12T23:26:40 | 2026-02-12T23:26:40 | 398.86 | 2025-01 | [] | bug | 4 | 4 | true | true | 58.03 | 0 | user_0156 | NONE | [
"user_0155",
"user_0156",
"user_0152",
"user_0007"
] | [
"NONE",
"NONE",
"NONE",
"MEMBER"
] | [
false,
true,
false,
false
] | true | true | 8 | 108 | false |
6,869 | https://github.com/psf/requests/issues/6869 | Please add support for the `QUERY` HTTP method | On 2025-01-07 the [`QUERY` HTTP method, "a safe, idempotent request method that can carry request content." has reached the level of a Proposed Standard]([URL]
It solves the problem of making complex queries where the GET method is sometimes sufficient as it (according to the standard) lacks support for sending the qu... | On 2025-01-07 the [`QUERY` HTTP method, "a safe, idempotent request method that can carry request content." has reached the level of a Proposed Standard]([URL]
It solves the problem of making complex queries where the GET method is sometimes sufficient as it (according to the standard) lacks support for sending the qu... | Please add support for the `QUERY` HTTP method. On 2025-01-07 the [`QUERY` HTTP method, "a safe, idempotent request method that can carry request content." has reached the level of a Proposed Standard]([URL]
It solves the problem of making complex queries where the GET method is sometimes sufficient as it (according t... | [
"As described in the template, Requests is not accepting feature requests",
"To be clear, `QUERY` is already supported. Both `requests.request` and `requests.Session.request` allow for passing an arbitrary method."
] | closed | not_planned | true | 2025-01-11T10:01:05 | 2025-01-11T10:01:19 | 2025-01-11T14:29:30 | 0 | 2025-01 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 2 | 2 | true | false | 0 | 0 | user_0378 | CONTRIBUTOR | [
"user_0023",
"user_0028"
] | [
"NONE",
"CONTRIBUTOR"
] | [
false,
false
] | false | false | 8 | 128 | true |
6,871 | https://github.com/psf/requests/issues/6871 | "I use the same proxy for requests to 300 websites from china, and httpx and requests behave completely differently." | same code ,same proxies!
success rate verry diffrrence
this is requests success rate!
<img width="988" alt="image" src="[URL] />
<img width="1209" alt="image" src="[URL] />
this is httpx success rate!
<img width="1073" alt="image" src="[URL] />
I am a user from China. I suspect that when using a proxy with requests... | same code ,same proxies!
success rate verry diffrrence
this is requests success rate!
<img width="988" alt="image" src="[URL] />
<img width="1209" alt="image" src="[URL] />
this is httpx success rate!
<img width="1073" alt="image" src="[URL] />
I am a user from China. I suspect that when using a proxy with requests... | "I use the same proxy for requests to 300 websites from china, and httpx and requests behave completely differently.". same code ,same proxies!
success rate verry diffrrence
this is requests success rate!
<img width="988" alt="image" src="[URL] />
<img width="1209" alt="image" src="[URL] />
this is httpx success rat... | [
"this is my website_list! the proxies server in oversea!\n\nin china ,if not use proxies, success rate is 0%!\nin china , if use proxies ,requests can to 20%!\nin china , if use proxies ,httpx can to 90%!\n\nI think the design of proxies in requests is worse than in httpx, but I don't know exactly where it falls sh... | closed | completed | true | 2025-01-15T05:46:49 | 2025-01-20T13:15:31 | 2026-01-21T00:05:25 | 5.31 | 2025-01 | [] | feature_request | 2 | 2 | true | false | null | 0 | user_0154 | NONE | [
"user_0154",
"user_0154"
] | [
"NONE",
"NONE"
] | [
true,
true
] | false | false | 19 | 204 | true |
6,872 | https://github.com/psf/requests/issues/6872 | Requests v2.32.0-v2.32.3 caused a segmentation fault with multiple simultaneous requests with a certificate. | We are having intermittent segmentation faults on requests (using requests v2.32.0-v2.32.3, urllib3 v1.26.19). On investigation with faulthandler, they occur when a certificate is passed in, and two separate threads are trying to access the same ssl_context at the same time - one updating it with the given cert, one re... | We are having intermittent segmentation faults on requests (using requests v2.32.0-v2.32.3, urllib3 v1.26.19). On investigation with faulthandler, they occur when a certificate is passed in, and two separate threads are trying to access the same ssl_context at the same time - one updating it with the given cert, one re... | Requests v2.32.0-v2.32.3 caused a segmentation fault with multiple simultaneous requests with a certificate.. We are having intermittent segmentation faults on requests (using requests v2.32.0-v2.32.3, urllib3 v1.26.19). On investigation with faulthandler, they occur when a certificate is passed in, and two separate th... | [
"Ensure that each thread creates and uses its own ssl_context rather than sharing a global one. This isolates SSL configurations and avoids concurrency issues.\n Use requests' Session object and configure a unique SSL context per session.\nimport requests\nfrom urllib3.util.ssl_ import create_urllib3_context\n\ndef... | closed | completed | true | 2025-01-16T18:54:19 | 2025-01-28T18:47:37 | 2026-02-04T00:06:08 | 12 | 2025-01 | [] | feature_request | 5 | 5 | true | false | 203.62 | 0 | user_0153 | NONE | [
"user_0152",
"user_0153",
"user_0028",
"user_0153",
"user_0028"
] | [
"NONE",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR"
] | [
false,
true,
false,
true,
false
] | true | false | 13 | 170 | true |
6,874 | https://github.com/psf/requests/issues/6874 | Async requests through aget/apost/… methods | Hello, I do know that ‘Requests is not accepting feature requests at this time.´ but I’d still like to propose something, and be willing to implement it myself if it actually sounds like a decent feature.
It is true that Requests is usually the way to go, and it’s KISS api make it imo the best choice for either small ... | Hello, I do know that ‘Requests is not accepting feature requests at this time.´ but I’d still like to propose something, and be willing to implement it myself if it actually sounds like a decent feature.
It is true that Requests is usually the way to go, and it’s KISS api make it imo the best choice for either small ... | Async requests through aget/apost/… methods. Hello, I do know that ‘Requests is not accepting feature requests at this time.´ but I’d still like to propose something, and be willing to implement it myself if it actually sounds like a decent feature.
It is true that Requests is usually the way to go, and it’s KISS api ... | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2025-01-26T22:54:29 | 2025-01-26T22:54:41 | 2025-01-26T22:54:42 | 0 | 2025-01 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0377 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 5 | 286 | true |
6,877 | https://github.com/psf/requests/issues/6877 | List of documented exceptions doesn't match reality / unused `URLRequired` exception | The documentation lists a [relatively small list]([URL] of exceptions, among them:
> exception `requests.URLRequired(*args, **kwargs)`
> A valid URL is required to make a request.
which would imply that passing an invalid URL raises `URLRequired`. However, that exception is actually dead code and not raised anywhere ... | The documentation lists a [relatively small list]([URL] of exceptions, among them:
> exception `requests.URLRequired(*args, **kwargs)`
> A valid URL is required to make a request.
which would imply that passing an invalid URL raises `URLRequired`. However, that exception is actually dead code and not raised anywhere ... | List of documented exceptions doesn't match reality / unused `URLRequired` exception. The documentation lists a [relatively small list]([URL] of exceptions, among them:
> exception `requests.URLRequired(*args, **kwargs)`
> A valid URL is required to make a request.
which would imply that passing an invalid URL raises... | [
"Thanks for reporting, if you could submit a PR fixing the issue it would be appreciated.",
"The fix itself for this is probably trivial, at least for the \"undocumented exceptions\" part (adding a few `.. autoexception:: requests.[...]` lines). The bigger questions I cannot answer on my own are:\n\n- Which of th... | closed | completed | true | 2025-01-31T16:15:01 | 2026-02-12T23:29:16 | 2026-02-12T23:29:16 | 377.3 | 2025-01 | [] | bug | 5 | 5 | true | true | 0.81 | 0 | user_0150 | NONE | [
"user_0141",
"user_0150",
"user_0007",
"user_0151",
"user_0007"
] | [
"MEMBER",
"NONE",
"MEMBER",
"CONTRIBUTOR",
"MEMBER"
] | [
false,
true,
false,
false,
false
] | false | false | 11 | 182 | false |
6,878 | https://github.com/psf/requests/issues/6878 | Question: would a patch deferring the creation of the pre-loaded SSLContext be accepted for faster startup? | Hi,
So I'm investigating ways to improve pip's startup time. Obviously importing a HTTP library like requests is going to be slow regardless of we do, but the deferring the SSLContext pre-loading until use is something would benefit pip.
[URL]
[pip manages its own SSLContext]([URL] so it can use truststore for auto... | Hi,
So I'm investigating ways to improve pip's startup time. Obviously importing a HTTP library like requests is going to be slow regardless of we do, but the deferring the SSLContext pre-loading until use is something would benefit pip.
[URL]
[pip manages its own SSLContext]([URL] so it can use truststore for auto... | Question: would a patch deferring the creation of the pre-loaded SSLContext be accepted for faster startup?. Hi,
So I'm investigating ways to improve pip's startup time. Obviously importing a HTTP library like requests is going to be slow regardless of we do, but the deferring the SSLContext pre-loading until use is s... | [
"Ah, there is already an issue and PR for this. Funnily enough, I 👍 the issue, but I totally forgot about it. Sorry!\n\n- [URL]\n- [URL]"
] | closed | duplicate | true | 2025-02-01T18:18:28 | 2025-02-01T18:26:04 | 2026-02-02T00:06:57 | 0.01 | 2025-02 | [] | question | 1 | 1 | true | false | null | 0 | user_0149 | NONE | [
"user_0149"
] | [
"NONE"
] | [
true
] | false | false | 16 | 158 | true |
6,885 | https://github.com/psf/requests/issues/6885 | Unexpected `SSLEOFError` when Receiving Redirect (307) Response with Large Data Payload | This issue occurs only when TLS is enabled on both the client and server sides.
When a `requests` client sends a large `PUT` request and receives an **HTTP 307 redirect**, the server may close the connection early before the payload is fully transmitted. This happens because the server issuing the redirect does not ne... | This issue occurs only when TLS is enabled on both the client and server sides.
When a `requests` client sends a large `PUT` request and receives an **HTTP 307 redirect**, the server may close the connection early before the payload is fully transmitted. This happens because the server issuing the redirect does not ne... | Unexpected `SSLEOFError` when Receiving Redirect (307) Response with Large Data Payload. This issue occurs only when TLS is enabled on both the client and server sides.
When a `requests` client sends a large `PUT` request and receives an **HTTP 307 redirect**, the server may close the connection early before the paylo... | [
"Hi, wanted to add some background for this issue. \n\nWe noticed this on only Python versions 3.10-3.12. See these related issues:\n\n- [URL]\n- [URL]\n- [URL] \n\nBelow is a screenshot of a pcap file for our specific SDK/server interaction. You can see the client receive a RST without sending a prior FIN packet. ... | open | null | false | 2025-02-04T18:16:05 | null | 2025-02-05T03:20:27 | null | 2025-02 | [] | bug | 3 | 3 | true | false | 0.84 | 3 | user_0376 | NONE | [
"user_0148",
"user_0028",
"user_0148"
] | [
"NONE",
"CONTRIBUTOR",
"NONE"
] | [
false,
false,
false
] | true | false | 11 | 219 | false |
6,886 | https://github.com/psf/requests/issues/6886 | requests.Session is not properly applying SSL Verification default | The [requests documentation]([URL] states that the `value` property of `request.Session` is "SSL verification default". I believe that this default, when set in code, should have a higher precedence than the value set through the `REQUESTS_CA_BUNDLE` environment variable.
## Expected Result
`Session.requests` should ... | The [requests documentation]([URL] states that the `value` property of `request.Session` is "SSL verification default". I believe that this default, when set in code, should have a higher precedence than the value set through the `REQUESTS_CA_BUNDLE` environment variable.
## Expected Result
`Session.requests` should ... | requests.Session is not properly applying SSL Verification default. The [requests documentation]([URL] states that the `value` property of `request.Session` is "SSL verification default". I believe that this default, when set in code, should have a higher precedence than the value set through the `REQUESTS_CA_BUNDLE` e... | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.",
"open and closed issues like which one?"
] | closed | not_planned | true | 2025-02-04T22:06:47 | 2025-02-05T00:47:46 | 2025-12-17T11:42:54 | 0.11 | 2025-02 | [] | feature_request | 2 | 2 | true | false | 2.68 | 0 | user_0375 | NONE | [
"user_0028",
"user_0147"
] | [
"CONTRIBUTOR",
"NONE"
] | [
false,
false
] | true | false | 8 | 97 | false |
6,887 | https://github.com/psf/requests/issues/6887 | Automatically retry idempotent requests | [`urllib3`]([URL] `OkHttp` (Java) and Apache HttpClient HTTP client libraries retry failed idempotent requests by default. I think retrying such requests is something that user would naturally want. Would a pull request adding such a functionality be accepted? | [`urllib3`]([URL] `OkHttp` (Java) and Apache HttpClient HTTP client libraries retry failed idempotent requests by default. I think retrying such requests is something that user would naturally want. Would a pull request adding such a functionality be accepted? | Automatically retry idempotent requests. [`urllib3`]([URL] `OkHttp` (Java) and Apache HttpClient HTTP client libraries retry failed idempotent requests by default. I think retrying such requests is something that user would naturally want. Would a pull request adding such a functionality be accepted? | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2025-02-05T12:49:30 | 2025-02-05T12:49:40 | 2025-02-05T12:49:41 | 0 | 2025-02 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0374 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 4 | 37 | true |
6,888 | https://github.com/psf/requests/issues/6888 | Importing requests will very rarely, throw a regex error. | `import requests`
requests==2.32.3
throws an intermittent regular expression error for IPV6 in `<my_venv>/lib/python3.10/site-packages/urllib3/util/url.py`
The error is extremely rare and intermittently shows up, with seemingly nothing different.
It's likely worth mentioning that I'm using Ubuntu LTS and have disabled... | `import requests`
requests==2.32.3
throws an intermittent regular expression error for IPV6 in `<my_venv>/lib/python3.10/site-packages/urllib3/util/url.py`
The error is extremely rare and intermittently shows up, with seemingly nothing different.
It's likely worth mentioning that I'm using Ubuntu LTS and have disabled... | Importing requests will very rarely, throw a regex error.. `import requests`
requests==2.32.3
throws an intermittent regular expression error for IPV6 in `<my_venv>/lib/python3.10/site-packages/urllib3/util/url.py`
The error is extremely rare and intermittently shows up, with seemingly nothing different.
It's likely w... | [
"This can happen as rarely as once a month, or more rarely.\nI don't have any better ideas on how to reproduce this issue outside of trying to do something like this over a long period of time:\n\n```bash\ni=1\nwhile true; do\n echo \"iter: $i\"\n py -c \"import requests\" || { echo \"found it! exit code: $?\" ; br... | closed | completed | true | 2025-02-07T22:20:50 | 2025-02-08T13:54:11 | 2026-02-12T00:07:15 | 0.65 | 2025-02 | [] | bug | 12 | 12 | true | false | 15.56 | 0 | user_0146 | NONE | [
"user_0146",
"user_0146",
"user_0146",
"user_0146",
"user_0146",
"user_0146",
"user_0146",
"user_0146",
"user_0146",
"user_0028",
"user_0146",
"user_0146"
] | [
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"NONE",
"CONTRIBUTOR",
"NONE",
"NONE"
] | [
true,
true,
true,
true,
true,
true,
true,
true,
true,
false,
true,
true
] | true | true | 9 | 94 | true |
6,890 | https://github.com/psf/requests/issues/6890 | Incorrect Handling of Escaped Quotes in Cookie Values | ## Expected Result
Legitimate escaped quotes (e.g., `\"`) in cookie values should be preserved. For example:
Input value `"159\\"687"` (actual string: `159\"687`) should remain unchanged.
## Actual Result
Requests incorrectly replaces escaped quotes with an empty string, causing `"159\\"687"` to become `"159687"` (... | ## Expected Result
Legitimate escaped quotes (e.g., `\"`) in cookie values should be preserved. For example:
Input value `"159\\"687"` (actual string: `159\"687`) should remain unchanged.
## Actual Result
Requests incorrectly replaces escaped quotes with an empty string, causing `"159\\"687"` to become `"159687"` (... | Incorrect Handling of Escaped Quotes in Cookie Values. ## Expected Result
Legitimate escaped quotes (e.g., `\"`) in cookie values should be preserved. For example:
Input value `"159\\"687"` (actual string: `159\"687`) should remain unchanged.
## Actual Result
Requests incorrectly replaces escaped quotes with an emp... | [
"I have noticed the historical discussions on #1440, #3759, and #5459, and have written a supplementary analysis.\n\n---\n\n### Supplemental Analysis: Cookie Value Handling in Requests\n\n#### **1. RFC 6265 vs. Real-World Practices** \nRFC 6265 defines `cookie-value` as: \n```\ncookie-value = *cookie-octet / ( DQUO... | open | null | false | 2025-02-11T17:30:11 | null | 2026-06-29T17:35:33 | null | 2025-02 | [] | bug | 3 | 3 | true | false | 10,674.85 | 0 | user_0144 | NONE | [
"user_0144",
"user_0144",
"user_0145"
] | [
"NONE",
"NONE",
"NONE"
] | [
true,
true,
false
] | true | false | 8 | 166 | false |
6,892 | https://github.com/psf/requests/issues/6892 | Issue with SSL verification using self-signed certificate in version 2.32.3 | I am experiencing an issue with version 2.32.3 of the library when using build_connection_pool_key_attributes with a self-signed certificate. I need a custom SSL context because the connection fails due to weak certificate strength.
See also [URL]
Here is the code I am using:
```python
Code kopieren
import ssl
impo... | I am experiencing an issue with version 2.32.3 of the library when using build_connection_pool_key_attributes with a self-signed certificate. I need a custom SSL context because the connection fails due to weak certificate strength.
See also [URL]
Here is the code I am using:
[CODE]
When I run this code, I encou... | Issue with SSL verification using self-signed certificate in version 2.32.3. I am experiencing an issue with version 2.32.3 of the library when using build_connection_pool_key_attributes with a self-signed certificate. I need a custom SSL context because the connection fails due to weak certificate strength.
See also ... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2025-02-12T12:35:34 | 2025-02-12T12:35:43 | 2025-02-12T12:35:45 | 0 | 2025-02 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0228 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | true | false | 10 | 111 | true |
6,893 | https://github.com/psf/requests/issues/6893 | Issue with SSL verification using self-signed certificate in version 2.32.3 | I am experiencing an issue with version 2.32.3 of the library when using build_connection_pool_key_attributes with a self-signed certificate. I need a custom SSL context because the connection fails due to weak certificate strength.
See also [URL]
## Expected Result
The connection should be established.
## Actual R... | I am experiencing an issue with version 2.32.3 of the library when using build_connection_pool_key_attributes with a self-signed certificate. I need a custom SSL context because the connection fails due to weak certificate strength.
See also [URL]
## Expected Result
The connection should be established.
## Actual R... | Issue with SSL verification using self-signed certificate in version 2.32.3. I am experiencing an issue with version 2.32.3 of the library when using build_connection_pool_key_attributes with a self-signed certificate. I need a custom SSL context because the connection fails due to weak certificate strength.
See also ... | [
"Duplicate of #6892",
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2025-02-12T12:38:39 | 2025-02-12T19:54:09 | 2025-02-12T19:54:10 | 0.3 | 2025-02 | [
"actions/autoclose-qa"
] | question | 2 | 2 | true | false | 7.25 | 0 | user_0228 | NONE | [
"user_0028",
"user_0023"
] | [
"CONTRIBUTOR",
"NONE"
] | [
false,
false
] | true | false | 10 | 91 | true |
6,894 | https://github.com/psf/requests/issues/6894 | timeout on requests.get is not working | requests.get is not timing out after the set timeout period is elapsed.
Using sample code like below -
import requests
data_uri = f"[URL]
print(f"datauri : {data_uri}")
headers = {
"Authorization": "Bearer " + "access_token",
"Accept": "application/json"
}
response = requests.get(data_uri, headers=headers,timeout=... | requests.get is not timing out after the set timeout period is elapsed.
Using sample code like below -
import requests
data_uri = f"[URL]
print(f"datauri : {data_uri}")
headers = {
"Authorization": "Bearer " + "access_token",
"Accept": "application/json"
}
response = requests.get(data_uri, headers=headers,timeout=... | timeout on requests.get is not working. requests.get is not timing out after the set timeout period is elapsed.
Using sample code like below -
import requests
data_uri = f"[URL]
print(f"datauri : {data_uri}")
headers = {
"Authorization": "Bearer " + "access_token",
"Accept": "application/json"
}
response = request... | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.\n\nSearching for \"timeout\" \"wall clock timeout\" etc. would have found the numerous duplicates that exist with explanations for the behaviour. Also looking at the [Quickstart]([URL] documentation would have rev... | closed | duplicate | true | 2025-02-14T15:28:16 | 2025-02-14T15:38:51 | 2026-02-15T00:07:31 | 0.01 | 2025-02 | [] | bug | 1 | 1 | true | false | 0.18 | 0 | user_0373 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | false | false | 6 | 77 | true |
6,896 | https://github.com/psf/requests/issues/6896 | Regenerating tests/certs/ with OpenSSL >= 3.2.0 causes test failures | Regenerating `tests/certs/` using the provided `Makefile`s causes test failures.
## Expected Result
[URL] reports that requests 2.32.3 as packaged in Debian fails tests if run on a system whose time has been artificially set to 2028. It occurred to me that a simple time-trap-free approach to this might be to change t... | Regenerating `tests/certs/` using the provided `Makefile`s causes test failures.
## Expected Result
[URL] reports that requests 2.32.3 as packaged in Debian fails tests if run on a system whose time has been artificially set to 2028. It occurred to me that a simple time-trap-free approach to this might be to change t... | Regenerating tests/certs/ with OpenSSL >= 3.2.0 causes test failures. Regenerating `tests/certs/` using the provided `Makefile`s causes test failures.
## Expected Result
[URL] reports that requests 2.32.3 as packaged in Debian fails tests if run on a system whose time has been artificially set to 2028. It occurred to... | [
"You're regenerating things in the wrong order. That's why the CA is failing those two tests. Start with the valid server directory first then do the other two in whatever order you want",
"I get the same failures from `for cert in valid/server expired mtls; do make -C tests/certs/$cert clean all; done`.\n\nFWIW,... | closed | completed | true | 2025-02-16T15:51:42 | 2025-02-17T12:40:21 | 2026-02-18T00:08:44 | 0.87 | 2025-02 | [] | bug | 5 | 5 | true | false | 6.26 | 0 | user_0143 | CONTRIBUTOR | [
"user_0028",
"user_0143",
"user_0143",
"user_0143",
"user_0143"
] | [
"CONTRIBUTOR",
"CONTRIBUTOR",
"CONTRIBUTOR",
"CONTRIBUTOR",
"CONTRIBUTOR"
] | [
false,
true,
true,
true,
true
] | true | false | 9 | 116 | true |
6,900 | https://github.com/psf/requests/issues/6900 | Unable to request a private URL endpoint with custom SNI and self-signed CA when the proxy is set | Recently I was using [requests_toolbelt]([URL] alongside the `requests` library, more specifically, I was leveraging the `HostHeaderSSLAdapter` from `requests_toolbelt` to make sure I could request a private URL endpoint (e.g. `[URL] with the custom SNI and self-signed CA certificate.
It works great until I try to requ... | Recently I was using [requests_toolbelt]([URL] alongside the `requests` library, more specifically, I was leveraging the `HostHeaderSSLAdapter` from `requests_toolbelt` to make sure I could request a private URL endpoint (e.g. `[URL] with the custom SNI and self-signed CA certificate.
It works great until I try to requ... | Unable to request a private URL endpoint with custom SNI and self-signed CA when the proxy is set. Recently I was using [requests_toolbelt]([URL] alongside the `requests` library, more specifically, I was leveraging the `HostHeaderSSLAdapter` from `requests_toolbelt` to make sure I could request a private URL endpoint ... | [] | open | null | false | 2025-02-19T12:07:21 | null | 2025-02-19T12:07:21 | null | 2025-02 | [] | bug | 0 | 0 | true | false | null | 0 | user_0372 | NONE | [] | [] | [] | true | false | 18 | 160 | false |
6,902 | https://github.com/psf/requests/issues/6902 | support http3 quic | Please consider using curl python binding for http3 quic support | Please consider using curl python binding for http3 quic support | support http3 quic. Please consider using curl python binding for http3 quic support | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2025-02-20T04:33:30 | 2025-02-20T04:33:42 | 2025-02-20T04:33:43 | 0 | 2025-02 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0185 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 3 | 10 | true |
6,903 | https://github.com/psf/requests/issues/6903 | Help with POST request with XML payload | The following curl request works,
`curl -v -u "user:password" -X POST '[URL] --header 'Content-Type: application/xml' --data @[USER].xml`
However, `requests.post` fails with status code 411 - Length Required
```
content_length = str(len(payload))
headers = {'Content-Type': 'application/xml', 'Content-Length': content... | The following curl request works,
`curl -v -u "user:password" -X POST '[URL] --header 'Content-Type: application/xml' --data @[USER].xml`
However, `requests.post` fails with status code 411 - Length Required
[CODE]
Sample payload,
[CODE]
Any help on this would be appreciated. | Help with POST request with XML payload. The following curl request works,
`curl -v -u "user:password" -X POST '[URL] --header 'Content-Type: application/xml' --data @[USER].xml`
However, `requests.post` fails with status code 411 - Length Required
[CODE]
Sample payload,
[CODE]
Any help on this would be appreci... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2025-02-21T00:39:53 | 2025-02-21T00:40:05 | 2025-02-21T00:40:06 | 0 | 2025-02 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0371 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | true | false | 7 | 38 | true |
6,904 | https://github.com/psf/requests/issues/6904 | Compatibility with Python 3.13 | Are there any plans or timelines for releasing a version of the requests package compatible with Python 3.13? And I'd like to know when we can expect support for this version in requests. | Are there any plans or timelines for releasing a version of the requests package compatible with Python 3.13? And I'd like to know when we can expect support for this version in requests. | Compatibility with Python 3.13. Are there any plans or timelines for releasing a version of the requests package compatible with Python 3.13? And I'd like to know when we can expect support for this version in requests. | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2025-02-21T11:11:03 | 2025-02-21T11:11:15 | 2025-02-21T11:11:17 | 0 | 2025-02 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0142 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 4 | 33 | true |
6,905 | https://github.com/psf/requests/issues/6905 | Support for Python 3.13 compatibility | Are there any plans or timelines for releasing a version of the requests package compatible with Python 3.13? And I'd like to know when we can expect support for this version in requests. | Are there any plans or timelines for releasing a version of the requests package compatible with Python 3.13? And I'd like to know when we can expect support for this version in requests. | Support for Python 3.13 compatibility. Are there any plans or timelines for releasing a version of the requests package compatible with Python 3.13? And I'd like to know when we can expect support for this version in requests. | [
"Are you seeing any compatibility problems? You don't reference any in your issue. Or is this a question of whether we'll add the \"3.13\" classifier?",
"In PyPI for requests, classifier 3.13 is not listed, which is causing confusion about whether it will work with Python 3.13. Will the latest version of the requ... | closed | completed | true | 2025-02-21T11:17:01 | 2025-03-03T05:24:43 | 2026-03-04T00:07:26 | 9.76 | 2025-02 | [] | feature_request | 3 | 3 | true | true | 3.06 | 0 | user_0142 | NONE | [
"user_0141",
"user_0142",
"user_0007"
] | [
"MEMBER",
"NONE",
"MEMBER"
] | [
false,
true,
false
] | false | false | 5 | 33 | true |
6,906 | https://github.com/psf/requests/issues/6906 | Improve "import requests" time by delaying ssl context preload | Requests is not accepting feature requests at this time.
In requests/adapters.py there is initialization for _preloaded_ssl_context in global scope.
In corporate environment this operation consumes significant portion of the "import requests" time.
Wrapping this initialization into a function that is called where thi... | Requests is not accepting feature requests at this time.
In requests/adapters.py there is initialization for _preloaded_ssl_context in global scope.
In corporate environment this operation consumes significant portion of the "import requests" time.
Wrapping this initialization into a function that is called where thi... | Improve "import requests" time by delaying ssl context preload. Requests is not accepting feature requests at this time.
In requests/adapters.py there is initialization for _preloaded_ssl_context in global scope.
In corporate environment this operation consumes significant portion of the "import requests" time.
Wrapp... | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2025-02-23T18:11:10 | 2025-02-23T18:11:19 | 2025-02-23T18:11:20 | 0 | 2025-02 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0370 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 9 | 81 | true |
6,908 | https://github.com/psf/requests/issues/6908 | requests.exceptions.SSLError | ```
Traceback (most recent call last):
File "C:\Users\11989\anaconda3\Lib\site-packages\urllib3\connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Users\11989\anaconda3\Lib\site-packages\urllib3\connectionpool.py", line 404, in _make_request
self._validate_... | [CODE]
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE]
Python version: Python 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:26:23) [MSC v.1916 64 bit (AMD64)] on win32
OS: windows 11 | requests.exceptions.SSLError. [CODE]
## Reproduction Steps
[CODE]
## System Information
$ python -m requests.help
[CODE]
Python version: Python 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:26:23) [MSC v.1916 64 bit (AMD64)] on win32
OS: windows 11 | [
"Temporary solution\nfix url:\nurl = \"[URL]\nurl = \"[URL]\n\n<details>\n<summary>spoiler: fix</summary>\n\n at:
`DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): some/url.com`
However, downgrading to version 2.32.2 solves this problem.
## Reproduction Steps
```python
import requests
url = 'some/url.com'
requests.get(url, timeout=some_ti... | Using version 2.32.3 takes a very long time (in the order of minutes) at:
`DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): some/url.com`
However, downgrading to version 2.32.2 solves this problem.
## Reproduction Steps
[CODE]
## System Information
{
"chardet": {
"version": null
},
"charset_no... | Version 2.32.3 takes a long time for "connectionpool:Starting". Using version 2.32.3 takes a very long time (in the order of minutes) at:
`DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): some/url.com`
However, downgrading to version 2.32.2 solves this problem.
## Reproduction Steps
[CODE]
## Syst... | [
"I'm experiencing the same issue. It still persists in the latest version 2.32.4.",
"have you done that ?",
"We reverted the changes in 3.32.3 in 3.32.5, this should no longer be an issue."
] | closed | completed | true | 2025-03-06T10:09:30 | 2026-02-12T23:32:24 | 2026-02-13T02:02:32 | 343.56 | 2025-03 | [] | other | 3 | 3 | true | true | 3,367.21 | 1 | user_0369 | NONE | [
"user_0137",
"user_0138",
"user_0007"
] | [
"NONE",
"NONE",
"MEMBER"
] | [
false,
false,
false
] | true | false | 8 | 97 | false |
6,911 | https://github.com/psf/requests/issues/6911 | Enforce Latest Stable urllib3 Dependency in Requests | We encountered a PUT issue on one of our legacy clusters that appears to be due to an outdated version of urllib3 (v1.25.8) being used in the system’s default Python environment—even though we're running the latest stable version of Requests (v2.32.3).
### Expected Behavior:
When using [AIStore]([URL] a PUT request is... | We encountered a PUT issue on one of our legacy clusters that appears to be due to an outdated version of urllib3 (v1.25.8) being used in the system’s default Python environment—even though we're running the latest stable version of Requests (v2.32.3).
### Expected Behavior:
When using [AIStore]([URL] a PUT request is... | Enforce Latest Stable urllib3 Dependency in Requests. We encountered a PUT issue on one of our legacy clusters that appears to be due to an outdated version of urllib3 (v1.25.8) being used in the system’s default Python environment—even though we're running the latest stable version of Requests (v2.32.3).
### Expected... | [
"Hi @[USER],\n\nRequests does appear to be stable with most server implementations and urllib3==1.25.8. We generally try not to break users by raising the floor unnecessarily. The error you're receiving implies that AiStor is unceremoniously terminating the connection. This may be due to ciphersuites while negotiat... | closed | completed | true | 2025-03-10T23:12:23 | 2025-03-11T00:31:56 | 2026-03-12T00:07:08 | 0.06 | 2025-03 | [] | feature_request | 3 | 3 | true | true | 0.9 | 0 | user_0136 | NONE | [
"user_0007",
"user_0136",
"user_0007"
] | [
"MEMBER",
"NONE",
"MEMBER"
] | [
false,
true,
false
] | true | false | 7 | 150 | true |
6,912 | https://github.com/psf/requests/issues/6912 | asyncio | Requests is not accepting feature reque | Requests is not accepting feature reque | asyncio. Requests is not accepting feature reque | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2025-03-12T10:38:43 | 2025-03-12T10:38:53 | 2025-03-12T10:38:54 | 0 | 2025-03 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0368 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 1 | 6 | true |
6,914 | https://github.com/psf/requests/issues/6914 | The docs say raise_for_status() returns the Response when status is 200. It does not do that. | === Summary ===
`Response.raise_for_status()` should return the `Response` object when the status_code is 200, as specified by the docs: [URL]
=== What you expected ===
`Response.raise_for_status()` returns the Response object when status code is 200.
=== What happened instead ===
`Response.raise_for_status()` doe... | === Summary ===
`Response.raise_for_status()` should return the `Response` object when the status_code is 200, as specified by the docs: [URL]
=== What you expected ===
`Response.raise_for_status()` returns the Response object when status code is 200.
=== What happened instead ===
`Response.raise_for_status()` doe... | The docs say raise_for_status() returns the Response when status is 200. It does not do that.. === Summary ===
`Response.raise_for_status()` should return the `Response` object when the status_code is 200, as specified by the docs: [URL]
=== What you expected ===
`Response.raise_for_status()` returns the Response ob... | [
"Hi @[USER],\n\nThe docs you're linking to are not for Requests, but for an unmaintained for that isn't authored here. You can find the full Requests docs at [URL] Please let us know if you have any other questions, thanks!",
"Oh, huh. Is there any way to make Google take that version off its search? I found thos... | closed | completed | true | 2025-03-17T18:16:28 | 2025-03-17T20:43:51 | 2026-03-19T00:09:00 | 0.1 | 2025-03 | [] | documentation | 5 | 5 | true | true | 2.46 | 0 | user_0135 | NONE | [
"user_0007",
"user_0135",
"user_0028",
"user_0135",
"user_0028"
] | [
"MEMBER",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR"
] | [
false,
true,
false,
true,
false
] | true | false | 16 | 144 | true |
6,915 | https://github.com/psf/requests/issues/6915 | HTTPDigestAuth add optional Realm parameter to the authentication | I noticed that urllib allows to specify the realm of a HTTPDigestAuth but the requests library doesn't allow it. Is it possible to add it on the standard requests library?
There are many devices that specify the realm where it is not the url domain name.
It is possible to do it with the urllib library that requests us... | I noticed that urllib allows to specify the realm of a HTTPDigestAuth but the requests library doesn't allow it. Is it possible to add it on the standard requests library?
There are many devices that specify the realm where it is not the url domain name.
It is possible to do it with the urllib library that requests us... | HTTPDigestAuth add optional Realm parameter to the authentication. I noticed that urllib allows to specify the realm of a HTTPDigestAuth but the requests library doesn't allow it. Is it possible to add it on the standard requests library?
There are many devices that specify the realm where it is not the url domain nam... | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2025-03-18T15:04:14 | 2025-03-18T15:04:25 | 2025-03-18T15:04:27 | 0 | 2025-03 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0367 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 8 | 157 | true |
6,917 | https://github.com/psf/requests/issues/6917 | Incorrect Content-Length header with StringIO body | When requests is used with an `io.StringIO` as the `data` type, and the body contains characters whose utf-8 encoding is multiple bytes, the Content-Length header is set incorrectly.
Looking at the [implementation of `super_len`]([URL] it appears that `io.StringIO` has its length measured using `seek` and `tell`.
It h... | When requests is used with an `io.StringIO` as the `data` type, and the body contains characters whose utf-8 encoding is multiple bytes, the Content-Length header is set incorrectly.
Looking at the [implementation of `super_len`]([URL] it appears that `io.StringIO` has its length measured using `seek` and `tell`.
It h... | Incorrect Content-Length header with StringIO body. When requests is used with an `io.StringIO` as the `data` type, and the body contains characters whose utf-8 encoding is multiple bytes, the Content-Length header is set incorrectly.
Looking at the [implementation of `super_len`]([URL] it appears that `io.StringIO` h... | [
"To [quote myself]([URL] from 2023\n\n> Bytes are the language of the internet\n\nWe cannot silently do a copy like this into a `BytesIO` largely because we can only _guess_ the encoding, as we discussed and eventually did in #6586 and also because any silent copy that has happened in the past has been an unwelcome... | open | null | false | 2025-03-21T08:39:21 | null | 2025-03-21T20:42:15 | null | 2025-03 | [] | bug | 5 | 5 | true | false | 4.02 | 0 | user_0134 | NONE | [
"user_0028",
"user_0134",
"user_0028",
"user_0134",
"user_0134"
] | [
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"NONE"
] | [
false,
true,
false,
true,
true
] | true | false | 6 | 192 | false |
6,921 | https://github.com/psf/requests/issues/6921 | Implement Happy Eyeballs? | Requests is not accepting feature requests at this time.
The above said, would implementing Happy Eyeballs be difficult? | Requests is not accepting feature requests at this time.
The above said, would implementing Happy Eyeballs be difficult? | Implement Happy Eyeballs?. Requests is not accepting feature requests at this time.
The above said, would implementing Happy Eyeballs be difficult? | [
"As described in the template, Requests is not accepting feature requests"
] | closed | not_planned | true | 2025-03-24T18:12:38 | 2025-03-24T18:12:50 | 2025-03-24T18:12:51 | 0 | 2025-03 | [
"Feature Request",
"actions/autoclose-feat"
] | feature_request | 1 | 1 | true | false | 0 | 0 | user_0366 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 3 | 18 | true |
6,922 | https://github.com/psf/requests/issues/6922 | `proxies=None` seem to be "overridden" by env vars even on when specifed on the individual requests | Hey.
According to the [documentaion]([URL]
> Setting `session.proxies` may behave differently than expected. Values provided will be overwritten by environmental proxies (those returned by [urllib.request.getproxies]([URL] To ensure the use of proxies in the presence of environmental proxies, explicitly specify the `p... | Hey.
According to the [documentaion]([URL]
> Setting `session.proxies` may behave differently than expected. Values provided will be overwritten by environmental proxies (those returned by [urllib.request.getproxies]([URL] To ensure the use of proxies in the presence of environmental proxies, explicitly specify the `p... | `proxies=None` seem to be "overridden" by env vars even on when specifed on the individual requests. Hey.
According to the [documentaion]([URL]
> Setting `session.proxies` may behave differently than expected. Values provided will be overwritten by environmental proxies (those returned by [urllib.request.getproxies]([... | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates."
] | closed | not_planned | true | 2025-03-27T03:31:58 | 2025-03-27T13:31:57 | 2026-03-28T00:09:10 | 0.42 | 2025-03 | [] | feature_request | 1 | 1 | true | false | 10 | 0 | user_0365 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | false | false | 16 | 137 | true |
6,928 | https://github.com/psf/requests/issues/6928 | Python 3.13: an unexpected `Authorization` header because of NETRC file | When sending POST request using Python 3.13 with `requests` v2.32.3 there appear an unexpected `Authorization` header.
This is not the case with Python 3.10 with the same version of `requests` lib.
## Expected Result
POST request does not get updated with an unexpected `Authorization` header.
## Actual Result
Pytho... | When sending POST request using Python 3.13 with `requests` v2.32.3 there appear an unexpected `Authorization` header.
This is not the case with Python 3.10 with the same version of `requests` lib.
## Expected Result
POST request does not get updated with an unexpected `Authorization` header.
## Actual Result
Pytho... | Python 3.13: an unexpected `Authorization` header because of NETRC file. When sending POST request using Python 3.13 with `requests` v2.32.3 there appear an unexpected `Authorization` header.
This is not the case with Python 3.10 with the same version of `requests` lib.
## Expected Result
POST request does not get up... | [
"This is strange as `Og==` is base64 encoded from `:`. \n\nMy best guess is that adding `trust_env=False` would fix this on Python 3.13. Why it fixes it though, is likely do to something in the `netrc` standard library.\n\nIf you check `~/.netrc` do you have any configuration for the particular host you care about?... | closed | completed | true | 2025-04-04T22:09:06 | 2026-02-13T02:07:27 | 2026-02-13T02:07:27 | 314.17 | 2025-04 | [] | other | 10 | 10 | true | true | 14.75 | 0 | user_0132 | NONE | [
"user_0028",
"user_0028",
"user_0132",
"user_0028",
"user_0132",
"user_0028",
"user_0132",
"user_0132",
"user_0133",
"user_0007"
] | [
"CONTRIBUTOR",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"NONE",
"NONE",
"MEMBER"
] | [
false,
false,
true,
false,
true,
false,
true,
true,
false,
false
] | true | false | 10 | 68 | false |
6,930 | https://github.com/psf/requests/issues/6930 | Not able to connect anymore | Since today it ain't able to connect. Yesterday I see it still worked
Tried to restart and rebuild, but want resolving. Login via the normal app of the solar panels works fine and there is data available of today
See logging
Getting mqtt data...
[18:43:24] INFO: null
[18:43:24] INFO: {"supervisor":"2025.03.4","homeas... | Since today it ain't able to connect. Yesterday I see it still worked
Tried to restart and rebuild, but want resolving. Login via the normal app of the solar panels works fine and there is data available of today
See logging
Getting mqtt data...
[18:43:24] INFO: null
[18:43:24] INFO: {"supervisor":"2025.03.4","homeas... | Not able to connect anymore. Since today it ain't able to connect. Yesterday I see it still worked
Tried to restart and rebuild, but want resolving. Login via the normal app of the solar panels works fine and there is data available of today
See logging
Getting mqtt data...
[18:43:24] INFO: null
[18:43:24] INFO: {"su... | [
"This is not the correct place to file this bug. Please reach out to the home assistant project or the library it uses for your solar panel integration"
] | closed | not_planned | true | 2025-04-08T16:47:56 | 2025-04-08T17:22:52 | 2026-04-09T00:09:29 | 0.02 | 2025-04 | [] | bug | 1 | 1 | true | false | 0.59 | 0 | user_0364 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | false | false | 5 | 211 | true |
6,931 | https://github.com/psf/requests/issues/6931 | Deadlock with geaddrinfo() | I am using flask app that is served by gunicorn and it has to send requests to third-party APIs, but from time to time I am experiencing deadlocks leading to leaving the gunicorn process in RAM.
For now I am mitigating the issue with sending the IP address of the third-party API server. I observe the issue with python... | I am using flask app that is served by gunicorn and it has to send requests to third-party APIs, but from time to time I am experiencing deadlocks leading to leaving the gunicorn process in RAM.
For now I am mitigating the issue with sending the IP address of the third-party API server. I observe the issue with python... | Deadlock with geaddrinfo(). I am using flask app that is served by gunicorn and it has to send requests to third-party APIs, but from time to time I am experiencing deadlocks leading to leaving the gunicorn process in RAM.
For now I am mitigating the issue with sending the IP address of the third-party API server. I o... | [
"could be many problems. have you tried setting a timeout for sending a request? maybe add try-except to handle timeouts \n\nthis just prevents requests from hanging in getaddrinfo",
"thank you @[USER] so here is how I do it basically:\n```\ndef perform_request():\n try:\n with requests.post(\n url, headers=heade... | closed | completed | true | 2025-04-11T05:54:21 | 2025-04-12T12:59:59 | 2026-04-13T00:12:39 | 1.3 | 2025-04 | [] | other | 5 | 5 | true | false | 26.55 | 0 | user_0131 | NONE | [
"user_0130",
"user_0131",
"user_0130",
"user_0131",
"user_0028"
] | [
"NONE",
"NONE",
"NONE",
"NONE",
"CONTRIBUTOR"
] | [
false,
true,
false,
true,
false
] | true | false | 3 | 134 | true |
6,932 | https://github.com/psf/requests/issues/6932 | [Query] Is there any plan to release out a new version of requests lib in 2025? | Dear requests lib contributor,
Our projects depends **requests** lib a lot, and we want to know if there is a plan to release out a new version in 2025, so that we can upgrade our dependency to the latest version of requests lib.
Thanks a lot for your response in advance! | Dear requests lib contributor,
Our projects depends **requests** lib a lot, and we want to know if there is a plan to release out a new version in 2025, so that we can upgrade our dependency to the latest version of requests lib.
Thanks a lot for your response in advance! | [Query] Is there any plan to release out a new version of requests lib in 2025?. Dear requests lib contributor,
Our projects depends **requests** lib a lot, and we want to know if there is a plan to release out a new version in 2025, so that we can upgrade our dependency to the latest version of requests lib.
Thanks ... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2025-04-11T08:53:54 | 2025-04-11T08:54:07 | 2025-04-11T08:54:08 | 0 | 2025-04 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0363 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 16 | 51 | true |
6,933 | https://github.com/psf/requests/issues/6933 | Next release | Dear Maintainer,
Our projects depends on requests lib.
Our internal tool (Blackduck) has reported an operational issue as there is no release from the repo since long time.
We noticed that there are many PRs, and if they could incorporate into a minor release, it would be of great help.
We could then upgrade to newe... | Dear Maintainer,
Our projects depends on requests lib.
Our internal tool (Blackduck) has reported an operational issue as there is no release from the repo since long time.
We noticed that there are many PRs, and if they could incorporate into a minor release, it would be of great help.
We could then upgrade to newe... | Next release. Dear Maintainer,
Our projects depends on requests lib.
Our internal tool (Blackduck) has reported an operational issue as there is no release from the repo since long time.
We noticed that there are many PRs, and if they could incorporate into a minor release, it would be of great help.
We could then u... | [
"Duplicate of #6932"
] | closed | completed | true | 2025-04-11T09:26:05 | 2025-04-11T11:17:57 | 2025-04-11T11:18:01 | 0.08 | 2025-04 | [] | other | 1 | 1 | true | false | 1.86 | 0 | user_0362 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | false | false | 2 | 78 | true |
6,934 | https://github.com/psf/requests/issues/6934 | Test regressions with urllib3 2.4.0 on Python 3.13 | ## Expected Result
(all tests pass)
## Actual Result
```
====================================== short test summary info =======================================
FAILED tests/test_requests.py::TestRequests::test_proxy_error - Failed: DID NOT RAISE <class 'requests.exceptions.ProxyError'>
FAILED tests/test_requests.py:... | ## Expected Result
(all tests pass)
## Actual Result
[CODE]
## Reproduction Steps
[CODE]
Observe the output from “Actual result,” above.
Now, try upper-bounding the version of `urllib3` as an experiment:
[CODE]
[CODE]
This appears to confirm that three of the failing tests are associated with the upgr... | Test regressions with urllib3 2.4.0 on Python 3.13. ## Expected Result
(all tests pass)
## Actual Result
[CODE]
## Reproduction Steps
[CODE]
Observe the output from “Actual result,” above.
Now, try upper-bounding the version of `urllib3` as an experiment:
[CODE]
[CODE]
This appears to confirm that thr... | [
"cc @[USER]",
"[URL] should fix `test_different_connection_pool_for_tls_settings_verify_bundle_unexpired_cert`\n\nPlease check [URL] too",
"> [#6924]([URL] should fix `test_different_connection_pool_for_tls_settings_verify_bundle_unexpired_cert`\n> \n> Please check [urllib3/urllib3#3577 (comment)]([URL] too\n\n... | closed | completed | true | 2025-04-12T14:32:06 | 2025-06-09T17:02:40 | 2026-08-26T00:04:51 | 58.1 | 2025-04 | [] | bug | 4 | 4 | true | true | 70.55 | 0 | user_0129 | NONE | [
"user_0024",
"user_0128",
"user_0129",
"user_0007"
] | [
"CONTRIBUTOR",
"NONE",
"NONE",
"MEMBER"
] | [
false,
false,
true,
false
] | true | false | 8 | 61 | true |
6,935 | https://github.com/psf/requests/issues/6935 | tests: add trailing slashes to mount to match docs recommendation? | I was digging into the docs and noticed this:
> The adapter will be chosen based on a longest prefix match. Be mindful prefixes such as [URL] will also match [URL] or [URL] It’s recommended to terminate full hostnames with a /.
[link]([URL]
While checking out some tests that uses the `Session.mount()`, I saw that a f... | I was digging into the docs and noticed this:
> The adapter will be chosen based on a longest prefix match. Be mindful prefixes such as [URL] will also match [URL] or [URL] It’s recommended to terminate full hostnames with a /.
[link]([URL]
While checking out some tests that uses the `Session.mount()`, I saw that a f... | tests: add trailing slashes to mount to match docs recommendation?. I was digging into the docs and noticed this:
> The adapter will be chosen based on a longest prefix match. Be mindful prefixes such as [URL] will also match [URL] or [URL] It’s recommended to terminate full hostnames with a /.
[link]([URL]
While che... | [
"The tests do not need to follow the recommendations for users as they're testing exactly what they're meant to. If you want to add a test case so the documented recommendation doesn't ever break that's fine but the logic is so fundamentally simple that I can't imagine why it would break this but not the existing t... | closed | completed | true | 2025-04-22T18:39:58 | 2025-05-03T16:39:15 | 2026-05-04T00:19:11 | 10.92 | 2025-04 | [] | documentation | 2 | 2 | true | false | 3.46 | 0 | user_0127 | CONTRIBUTOR | [
"user_0028",
"user_0127"
] | [
"CONTRIBUTOR",
"CONTRIBUTOR"
] | [
false,
true
] | true | false | 10 | 138 | true |
6,938 | https://github.com/psf/requests/issues/6938 | Bug: URL parameters lost when hash fragment exists | ## 问题描述
URL中包含`#`时,`?`后的查询参数被错误丢弃
## 复现步骤
```python
import requests
r = requests.get("[URL]
print(r.url) # 实际输出:[URL] | ## 问题描述
URL中包含`#`时,`?`后的查询参数被错误丢弃
## 复现步骤
```python
import requests
r = requests.get("[URL]
print(r.url) # 实际输出:[URL] | Bug: URL parameters lost when hash fragment exists. ## 问题描述
URL中包含`#`时,`?`后的查询参数被错误丢弃
## 复现步骤
```python
import requests
r = requests.get("[URL]
print(r.url) # 实际输出:[URL] | [
"```\nprint(r.request.url)\n```\n\nHere's some examples of this working as intended:\n\nSimple local server:\n\n```golang\npackage main\n\nimport (\n \"encoding/json\"\n \"log/slog\"\n \"net/http\"\n)\n\nfunc main() {\n http.HandleFunc(\"/get\", func(w http.ResponseWriter, r *http.Request) {\n w.WriteHeader(http.St... | closed | completed | true | 2025-04-26T14:14:07 | 2025-04-27T02:15:50 | 2026-04-28T00:19:10 | 0.5 | 2025-04 | [] | bug | 1 | 1 | true | false | 12.03 | 0 | user_0361 | NONE | [
"user_0028"
] | [
"CONTRIBUTOR"
] | [
false
] | true | false | 8 | 14 | true |
6,942 | https://github.com/psf/requests/issues/6942 | [Security] Medium Severity Vulnerability (CVE-2015-2296) in Requests v2.32.3 | A potential medium-severity security issue has been identified in the requests library, version 2.32.3, due to indirect implications of CVE-2015-2296.
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host va... | A potential medium-severity security issue has been identified in the requests library, version 2.32.3, due to indirect implications of CVE-2015-2296.
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host va... | [Security] Medium Severity Vulnerability (CVE-2015-2296) in Requests v2.32.3. A potential medium-severity security issue has been identified in the requests library, version 2.32.3, due to indirect implications of CVE-2015-2296.
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remot... | [
"As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow]([URL]"
] | closed | completed | true | 2025-05-05T12:58:07 | 2025-05-05T12:58:18 | 2025-05-05T12:58:19 | 0 | 2025-05 | [
"Question/Not a bug",
"actions/autoclose-qa"
] | question | 1 | 1 | true | false | 0 | 0 | user_0359 | NONE | [
"user_0023"
] | [
"NONE"
] | [
false
] | false | false | 8 | 51 | true |
6,943 | https://github.com/psf/requests/issues/6943 | Error de red o descarga: ('Connection broken: IncompleteRead (ayuda no puedo descargar .zip de copernicus) thanks! | import requests
import pandas as pd
import geopandas as gpd
from shapely.geometry import shape
from requests.exceptions import RequestException
import time
# Credenciales
copernicus_user = "usuario_name"
copernicus_password = "password"
client_id = "cdse-public"
# Área de interés (WKT)
ft = "POLYGON((-6.305113 37.195... | import requests
import pandas as pd
import geopandas as gpd
from shapely.geometry import shape
from requests.exceptions import RequestException
import time
# Credenciales
copernicus_user = "usuario_name"
copernicus_password = "password"
client_id = "cdse-public"
# Área de interés (WKT)
ft = "POLYGON((-6.305113 37.195... | Error de red o descarga: ('Connection broken: IncompleteRead (ayuda no puedo descargar .zip de copernicus) thanks!. import requests
import pandas as pd
import geopandas as gpd
from shapely.geometry import shape
from requests.exceptions import RequestException
import time
# Credenciales
copernicus_user = "usuario_name"... | [] | closed | completed | true | 2025-05-05T15:28:45 | 2025-05-05T15:29:20 | 2026-05-06T00:19:39 | 0 | 2025-05 | [] | bug | 0 | 0 | true | false | null | 0 | user_0360 | NONE | [] | [] | [] | false | false | 16 | 382 | true |
6,944 | https://github.com/psf/requests/issues/6944 | Project Control / Ownership | In light of this tweet ([URL]
<img width="602" alt="Image" src="[URL] />
Does Kenneth Reitz have the permissions required to remove this project from GitHub and/or PyPI? | In light of this tweet ([URL]
<img width="602" alt="Image" src="[URL] />
Does Kenneth Reitz have the permissions required to remove this project from GitHub and/or PyPI? | Project Control / Ownership. In light of this tweet ([URL]
<img width="602" alt="Image" src="[URL] />
Does Kenneth Reitz have the permissions required to remove this project from GitHub and/or PyPI? | [
"Kenneth has not had formal access to Requests on GitHub or PyPI since ~2019.",
"Thanks for the quick response."
] | closed | completed | true | 2025-05-05T21:36:13 | 2025-05-05T21:50:21 | 2026-05-06T00:19:39 | 0.01 | 2025-05 | [] | other | 2 | 2 | true | true | 0.05 | 0 | user_0126 | NONE | [
"user_0007",
"user_0126"
] | [
"MEMBER",
"NONE"
] | [
false,
true
] | false | false | 4 | 26 | true |
6,945 | https://github.com/psf/requests/issues/6945 | `SSLCertVerificationError` when fetching `[URL] | Fetching API under `[URL] raises an `SSLCertVerificationError`, while no certificate issue is reported when opening the same URL in the browser (latest Chrome or Firefox).
## Expected Result
No error should be raised.
## Actual Result
An error is raised: `requests.exceptions.SSLError: HTTPSConnectionPool(host='od.m... | Fetching API under `[URL] raises an `SSLCertVerificationError`, while no certificate issue is reported when opening the same URL in the browser (latest Chrome or Firefox).
## Expected Result
No error should be raised.
## Actual Result
An error is raised: `requests.exceptions.SSLError: HTTPSConnectionPool(host='od.m... | `SSLCertVerificationError` when fetching `[URL]. Fetching API under `[URL] raises an `SSLCertVerificationError`, while no certificate issue is reported when opening the same URL in the browser (latest Chrome or Firefox).
## Expected Result
No error should be raised.
## Actual Result
An error is raised: `requests.ex... | [
"Please use either your browser, or OpenSSL, or curl to retrieve the certificate chain being sent by the server. This error isn't specific to requests but is happening at the OpenSSL layer in the standard library. Regardless, I may be able to help you find workarounds",
"This is the certificate chain download fro... | closed | completed | true | 2025-05-06T17:03:58 | 2025-05-19T02:03:23 | 2026-08-26T00:04:53 | 12.37 | 2025-05 | [] | bug | 10 | 10 | true | false | 2.37 | 0 | user_0124 | NONE | [
"user_0028",
"user_0124",
"user_0028",
"user_0124",
"user_0028",
"user_0124",
"user_0028",
"user_0124",
"user_0028",
"user_0125"
] | [
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE",
"CONTRIBUTOR",
"NONE"
] | [
false,
true,
false,
true,
false,
true,
false,
true,
false,
false
] | true | false | 4 | 74 | true |
6,946 | https://github.com/psf/requests/issues/6946 | [Security] Medium Severity Vulnerability (CVE-2015-2296) in Requests v2.32.3 | A potential medium-severity security issue has been identified in the requests library, version 2.32.3, due to indirect implications of [URL]
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a ... | A potential medium-severity security issue has been identified in the requests library, version 2.32.3, due to indirect implications of [URL]
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a ... | [Security] Medium Severity Vulnerability (CVE-2015-2296) in Requests v2.32.3. A potential medium-severity security issue has been identified in the requests library, version 2.32.3, due to indirect implications of [URL]
The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attacke... | [
"Why are you spamming the issue tracker about something that doesn't affect 2.32 as the vulnerability and advisory clearly indicate this doesn't impact anything greater than 2.6.0?\n\n![Affected versions are <2.6.0]([URL]",
"@[USER] please review our [Security Policy]([URL] You should avoid reporting what you bel... | closed | completed | true | 2025-05-07T12:45:50 | 2025-05-07T16:32:04 | 2026-05-08T00:20:08 | 0.16 | 2025-05 | [] | security | 2 | 2 | true | true | 0.64 | 0 | user_0359 | NONE | [
"user_0028",
"user_0007"
] | [
"CONTRIBUTOR",
"MEMBER"
] | [
false,
false
] | false | false | 8 | 51 | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.