url stringlengths 50 53 | repository_url stringclasses 1
value | labels_url stringlengths 64 67 | comments_url stringlengths 59 62 | events_url stringlengths 57 60 | html_url stringlengths 38 43 | id int64 597k 2.65B | node_id stringlengths 18 32 | number int64 1 6.83k | title stringlengths 1 296 | user dict | labels listlengths 0 5 | state stringclasses 2
values | locked bool 2
classes | assignee dict | assignees listlengths 0 4 | milestone dict | comments int64 0 211 | created_at stringlengths 20 20 | updated_at stringlengths 20 20 | closed_at stringlengths 20 20 ⌀ | author_association stringclasses 3
values | active_lock_reason stringclasses 4
values | body stringlengths 0 65.6k ⌀ | closed_by dict | reactions dict | timeline_url stringlengths 59 62 | performed_via_github_app null | state_reason stringclasses 3
values | draft bool 2
classes | pull_request dict | is_pull_request bool 2
classes | issue_comments listlengths 0 30 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/psf/requests/issues/5283 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5283/labels{/name} | https://api.github.com/repos/psf/requests/issues/5283/comments | https://api.github.com/repos/psf/requests/issues/5283/events | https://github.com/psf/requests/issues/5283 | 533,474,762 | MDU6SXNzdWU1MzM0NzQ3NjI= | 5,283 | mypy is failing on type checking Response | {
"avatar_url": "https://avatars.githubusercontent.com/u/1688249?v=4",
"events_url": "https://api.github.com/users/mateusduboli/events{/privacy}",
"followers_url": "https://api.github.com/users/mateusduboli/followers",
"following_url": "https://api.github.com/users/mateusduboli/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 2 | 2019-12-05T16:56:14Z | 2021-09-03T00:10:45Z | 2020-01-03T09:48:48Z | CONTRIBUTOR | resolved | We're using mypy internally to check for type errors, on an specific interaction with `requests.models.Response` object it gives you an error about a missing attribute, which is declared on the class.
Minimal example
## Expected Result
Type check successful
## Actual Result
```
$ python3.6 -m mypy test.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1688249?v=4",
"events_url": "https://api.github.com/users/mateusduboli/events{/privacy}",
"followers_url": "https://api.github.com/users/mateusduboli/followers",
"following_url": "https://api.github.com/users/mateusduboli/following{/other_user}",
"gists... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5283/reactions"
} | https://api.github.com/repos/psf/requests/issues/5283/timeline | null | completed | null | null | false | [
"This was fixed in typeshed on October 18th in this commit: https://github.com/python/typeshed/commit/bf862d907957e46b97419565a5bb90314d074ee4\r\n\r\nThe requests repo doesn't maintain it's own type hints. Maybe you need to upgrade your MyPy version to get a newer typeshed version? Not sure.",
"Yes, upgrade resol... |
https://api.github.com/repos/psf/requests/issues/5282 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5282/labels{/name} | https://api.github.com/repos/psf/requests/issues/5282/comments | https://api.github.com/repos/psf/requests/issues/5282/events | https://github.com/psf/requests/issues/5282 | 533,233,099 | MDU6SXNzdWU1MzMyMzMwOTk= | 5,282 | incorrect coding of location under 302 response | {
"avatar_url": "https://avatars.githubusercontent.com/u/29330285?v=4",
"events_url": "https://api.github.com/users/billwyy/events{/privacy}",
"followers_url": "https://api.github.com/users/billwyy/followers",
"following_url": "https://api.github.com/users/billwyy/following{/other_user}",
"gists_url": "https:... | [
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
"name": "Propose Close",
"node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=",
"url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close"
},
{
"color": "fef2c0",
"default": false,
"description": ... | closed | true | null | [] | null | 2 | 2019-12-05T09:40:03Z | 2021-09-01T00:11:30Z | 2020-04-10T18:59:32Z | NONE | resolved | When I use headers.get('location') I got http://xxx.xxx.xxx/2019/é????°????1????????-|?????3?o????????-|?????|?±????è??.[è?±] ???????·é????·???..2018-1.epub
Obviously there is problem of encoding. It should be Chinese after '/2019/'
What shall I do to sovle this problem?
HTTP/1.1 302 Found
Server: nginx/1.10.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5282/reactions"
} | https://api.github.com/repos/psf/requests/issues/5282/timeline | null | completed | null | null | false | [
"Hi @billwyy, can you clarify if the server is returning an indiscernible location or if Requests is performing incorrect decoding on it?\r\n\r\nWe want to do the best we can with non-english encodings, but we'd only expect iso-8859-1 and utf-8 with the current HTTP RFCs for headers.",
"Resolving since we haven't... |
https://api.github.com/repos/psf/requests/issues/5281 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5281/labels{/name} | https://api.github.com/repos/psf/requests/issues/5281/comments | https://api.github.com/repos/psf/requests/issues/5281/events | https://github.com/psf/requests/pull/5281 | 530,826,159 | MDExOlB1bGxSZXF1ZXN0MzQ3MzkxMTM2 | 5,281 | Unified check version compatibility | {
"avatar_url": "https://avatars.githubusercontent.com/u/11872712?v=4",
"events_url": "https://api.github.com/users/Mellcap/events{/privacy}",
"followers_url": "https://api.github.com/users/Mellcap/followers",
"following_url": "https://api.github.com/users/Mellcap/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2019-12-02T00:31:15Z | 2021-08-29T00:06:54Z | 2020-05-09T05:23:46Z | NONE | resolved | I have noticed that there is a `# noqa: F811` comment at `__init__.py` when we check the version compatibility of urllib3.
And there exist duplicate code to check the compatibility of different packages.
So I write a method to handle it. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5281/reactions"
} | https://api.github.com/repos/psf/requests/issues/5281/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5281.diff",
"html_url": "https://github.com/psf/requests/pull/5281",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5281.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5281"
} | true | [
"Hi @Mellcap,\r\n\r\nThanks for contributing to Requests! This is an internal implementation detail that we're using to validate a limited number of dependencies. While I think this is a reasonable abstraction, we don't intend to increase the number of dependencies we use. I'm a bit worried this may adds too many c... |
https://api.github.com/repos/psf/requests/issues/5280 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5280/labels{/name} | https://api.github.com/repos/psf/requests/issues/5280/comments | https://api.github.com/repos/psf/requests/issues/5280/events | https://github.com/psf/requests/pull/5280 | 529,833,669 | MDExOlB1bGxSZXF1ZXN0MzQ2NjM1MzMw | 5,280 | Fix test case, test_total_timeout_connect_failed #5279 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1667596?v=4",
"events_url": "https://api.github.com/users/templetontsai/events{/privacy}",
"followers_url": "https://api.github.com/users/templetontsai/followers",
"following_url": "https://api.github.com/users/templetontsai/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 1 | 2019-11-28T10:44:02Z | 2021-08-29T00:07:07Z | 2020-02-18T06:27:23Z | NONE | resolved | This pr is to fix the test case fail regarding ConnecTimeout, #5279. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5280/reactions"
} | https://api.github.com/repos/psf/requests/issues/5280/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5280.diff",
"html_url": "https://github.com/psf/requests/pull/5280",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5280.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5280"
} | true | [
"Hi @templetontsai,\r\n\r\nAs I said in #5279, the exception here is what we're expecting. I'd validate your local network setup to resolve the issue you're seeing."
] |
https://api.github.com/repos/psf/requests/issues/5279 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5279/labels{/name} | https://api.github.com/repos/psf/requests/issues/5279/comments | https://api.github.com/repos/psf/requests/issues/5279/events | https://github.com/psf/requests/issues/5279 | 529,819,693 | MDU6SXNzdWU1Mjk4MTk2OTM= | 5,279 | Test case, test_total_timeout_connect failed | {
"avatar_url": "https://avatars.githubusercontent.com/u/1667596?v=4",
"events_url": "https://api.github.com/users/templetontsai/events{/privacy}",
"followers_url": "https://api.github.com/users/templetontsai/followers",
"following_url": "https://api.github.com/users/templetontsai/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 2 | 2019-11-28T10:19:02Z | 2021-09-02T00:07:21Z | 2020-02-18T06:26:40Z | NONE | resolved | Summary.
When getting the latest release, v2.20, and run the test case it failed in the case test_total_timeout_connect. The test case is expecting, ConnectTimeout exception but instead it gets ConnectionError. The error message is as follows:
```
requests.exceptions.ConnectionError: ('Connection aborted.', Connec... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5279/reactions"
} | https://api.github.com/repos/psf/requests/issues/5279/timeline | null | completed | null | null | false | [
"Upon investigation, it is a mismatch of exception is thrown and the expected exception of test case.\r\n\r\nException thrown: requests.exceptions.ConnectionError\r\nExpected exception in the test case: ConnectTimeout\r\n\r\n```\r\n def test_total_timeout_connect(self, timeout):\r\n try:\r\n r... |
https://api.github.com/repos/psf/requests/issues/5278 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5278/labels{/name} | https://api.github.com/repos/psf/requests/issues/5278/comments | https://api.github.com/repos/psf/requests/issues/5278/events | https://github.com/psf/requests/issues/5278 | 529,735,341 | MDU6SXNzdWU1Mjk3MzUzNDE= | 5,278 | Cannot keep 302 using session | {
"avatar_url": "https://avatars.githubusercontent.com/u/17807236?v=4",
"events_url": "https://api.github.com/users/navysummer/events{/privacy}",
"followers_url": "https://api.github.com/users/navysummer/followers",
"following_url": "https://api.github.com/users/navysummer/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2019-11-28T07:17:30Z | 2021-09-02T00:07:27Z | 2020-02-10T05:44:37Z | NONE | resolved | Requests can not keep 302 using session,I need to get some cookies in 302
`s = requests.Session()
response = s.post(__login_url,data=__login_data,headers=__login_headers,allow_redirects=False)` | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5278/reactions"
} | https://api.github.com/repos/psf/requests/issues/5278/timeline | null | completed | null | null | false | [
"@navysummer `s.cookies` will give you the cookie for that request made to `login_url`.",
"@navysummer you can access the `history` variable on your response object to see all of the redirects. They will each have the cookies for that stage attached to them."
] |
https://api.github.com/repos/psf/requests/issues/5277 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5277/labels{/name} | https://api.github.com/repos/psf/requests/issues/5277/comments | https://api.github.com/repos/psf/requests/issues/5277/events | https://github.com/psf/requests/issues/5277 | 529,648,221 | MDU6SXNzdWU1Mjk2NDgyMjE= | 5,277 | requests can't handle http response header correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/7598892?v=4",
"events_url": "https://api.github.com/users/beruhan/events{/privacy}",
"followers_url": "https://api.github.com/users/beruhan/followers",
"following_url": "https://api.github.com/users/beruhan/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2019-11-28T01:41:57Z | 2021-09-02T00:07:31Z | 2020-02-01T01:36:55Z | NONE | resolved | when there were two status lines in http response,for example
```
HTTP/1.0 200 OK
Date: Thu, 28 Nov 2019 01:27:10 GMT
Server: Boa/0.94.13
Connection: close
HTTP/1.0 200 OK
Connection: close
Content-Length: 75746
Content-Type: image/jpeg
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
The requests lib can only pars... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5277/reactions"
} | https://api.github.com/repos/psf/requests/issues/5277/timeline | null | completed | null | null | false | [
"This is a malformed http response if you’re expecting the headers to occur in a single request. Interpreting that response any differently would be incorrect in this case.\r\n\r\nYou can reach out to the owner of the server to see what’s going on with the responses they’re emitting."
] |
https://api.github.com/repos/psf/requests/issues/5276 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5276/labels{/name} | https://api.github.com/repos/psf/requests/issues/5276/comments | https://api.github.com/repos/psf/requests/issues/5276/events | https://github.com/psf/requests/pull/5276 | 529,369,939 | MDExOlB1bGxSZXF1ZXN0MzQ2MjU5NTYx | 5,276 | Fix the syntax highlighting in the example | {
"avatar_url": "https://avatars.githubusercontent.com/u/2760196?v=4",
"events_url": "https://api.github.com/users/ZhukovAlexander/events{/privacy}",
"followers_url": "https://api.github.com/users/ZhukovAlexander/followers",
"following_url": "https://api.github.com/users/ZhukovAlexander/following{/other_user}",... | [] | closed | true | null | [] | null | 0 | 2019-11-27T14:09:40Z | 2021-08-29T00:07:06Z | 2020-02-18T07:19:39Z | CONTRIBUTOR | resolved | Previously, dots were not included, which was breaking multiline syntax highlighting in for example in interactive mode. Example:

Here is how it looks after the fix:
![Screens... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5276/reactions"
} | https://api.github.com/repos/psf/requests/issues/5276/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5276.diff",
"html_url": "https://github.com/psf/requests/pull/5276",
"merged_at": "2020-02-18T07:19:39Z",
"patch_url": "https://github.com/psf/requests/pull/5276.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5276"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5275 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5275/labels{/name} | https://api.github.com/repos/psf/requests/issues/5275/comments | https://api.github.com/repos/psf/requests/issues/5275/events | https://github.com/psf/requests/issues/5275 | 528,490,705 | MDU6SXNzdWU1Mjg0OTA3MDU= | 5,275 | How to use Session | {
"avatar_url": "https://avatars.githubusercontent.com/u/29891327?v=4",
"events_url": "https://api.github.com/users/contactparthshah/events{/privacy}",
"followers_url": "https://api.github.com/users/contactparthshah/followers",
"following_url": "https://api.github.com/users/contactparthshah/following{/other_use... | [] | closed | true | null | [] | null | 2 | 2019-11-26T05:05:35Z | 2021-09-02T00:07:27Z | 2020-02-10T05:45:28Z | NONE | resolved | ```
import requests
import time
from requests.packages import urllib3
#Disable https insecure warnings for verify=False
urllib3.disable_warnings()
with open('1.ts','rb') as fh:
file_data = fh.read()
def chunk_trans():
for i in range(0, 3):
time.sleep(0.1)
yield file_data
req ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5275/reactions"
} | https://api.github.com/repos/psf/requests/issues/5275/timeline | null | completed | null | null | false | [
"can anyone look into this please and help?",
"Closing as duplicate of #5274."
] |
https://api.github.com/repos/psf/requests/issues/5274 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5274/labels{/name} | https://api.github.com/repos/psf/requests/issues/5274/comments | https://api.github.com/repos/psf/requests/issues/5274/events | https://github.com/psf/requests/issues/5274 | 528,431,790 | MDU6SXNzdWU1Mjg0MzE3OTA= | 5,274 | Two Host header are being sent when doing chunk transfer with Session | {
"avatar_url": "https://avatars.githubusercontent.com/u/29891327?v=4",
"events_url": "https://api.github.com/users/contactparthshah/events{/privacy}",
"followers_url": "https://api.github.com/users/contactparthshah/followers",
"following_url": "https://api.github.com/users/contactparthshah/following{/other_use... | [] | closed | true | null | [] | null | 2 | 2019-11-26T01:27:43Z | 2022-02-27T16:00:27Z | 2021-11-29T15:58:32Z | NONE | resolved | Two Host header are being sent when doing chunk transfer with Session
---------------
>>> import requests
>>> requests.__version__
'2.22.0'
```
import requests
import time
from requests.packages import urllib3
#Disable https insecure warnings for verify=False
urllib3.disable_warnings()
with open('1.ts','... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5274/reactions"
} | https://api.github.com/repos/psf/requests/issues/5274/timeline | null | completed | null | null | false | [
"can anyone look into this and help?",
"I see that there is a PR for this (and has been for a while) but it is not yet merged.\r\n\r\nI am also having this issue. I can apply the patch on my own fork, but is there any reason this hasn't been merged? Just forgotten about maybe?\r\n\r\nI guess it is kind of an edge... |
https://api.github.com/repos/psf/requests/issues/5273 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5273/labels{/name} | https://api.github.com/repos/psf/requests/issues/5273/comments | https://api.github.com/repos/psf/requests/issues/5273/events | https://github.com/psf/requests/issues/5273 | 525,906,975 | MDU6SXNzdWU1MjU5MDY5NzU= | 5,273 | Sending chunked data with proxy fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/1154133?v=4",
"events_url": "https://api.github.com/users/splashx/events{/privacy}",
"followers_url": "https://api.github.com/users/splashx/followers",
"following_url": "https://api.github.com/users/splashx/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2019-11-20T16:13:16Z | 2021-09-03T00:10:50Z | 2019-11-20T16:55:37Z | NONE | resolved | > Disclaimer: this has been seen while using `python-glanceclient`.
When sending chunked data using `requests` and proxy settings, it fails.
This should have been fixed in #5128 / #3844 but apparently it's not 🤔
This has not been solved in `3.0` - for example, when adding:
```
pip install git+https://... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1154133?v=4",
"events_url": "https://api.github.com/users/splashx/events{/privacy}",
"followers_url": "https://api.github.com/users/splashx/followers",
"following_url": "https://api.github.com/users/splashx/following{/other_user}",
"gists_url": "https:/... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5273/reactions"
} | https://api.github.com/repos/psf/requests/issues/5273/timeline | null | completed | null | null | false | [
"I'm closing this as I'm unable to replicate on `master` branch:\r\n\r\n```\r\npip install --upgrade --force-reinstall git+https://github.com/psf/requests.git@master\r\n```\r\n\r\nor, more specifically:\r\n\r\n```\r\npip install --upgrade --force-reinstall git+https://github.com/psf/requests.git@d2590ee46c0641958b6... |
https://api.github.com/repos/psf/requests/issues/5272 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5272/labels{/name} | https://api.github.com/repos/psf/requests/issues/5272/comments | https://api.github.com/repos/psf/requests/issues/5272/events | https://github.com/psf/requests/issues/5272 | 525,730,440 | MDU6SXNzdWU1MjU3MzA0NDA= | 5,272 | Requests supports urllib3 v1.25.7 ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/474255?v=4",
"events_url": "https://api.github.com/users/Rogacz/events{/privacy}",
"followers_url": "https://api.github.com/users/Rogacz/followers",
"following_url": "https://api.github.com/users/Rogacz/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2019-11-20T11:00:59Z | 2021-09-03T00:10:50Z | 2019-11-21T08:04:12Z | NONE | resolved | Hi Guys,
based on [https://2.python-requests.org/en/master/community/updates/#id1](https://2.python-requests.org/en/master/community/updates/#id1) requests should support urllib3 v1.25.2 and greater(?)
The `__init__.py` file doesn't reflect that.
## Expected Result
Support for urllib3 v1.25.7
## Actual Resu... | {
"avatar_url": "https://avatars.githubusercontent.com/u/474255?v=4",
"events_url": "https://api.github.com/users/Rogacz/events{/privacy}",
"followers_url": "https://api.github.com/users/Rogacz/followers",
"following_url": "https://api.github.com/users/Rogacz/following{/other_user}",
"gists_url": "https://api... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5272/reactions"
} | https://api.github.com/repos/psf/requests/issues/5272/timeline | null | completed | null | null | false | [
"It's your chardet version that isn't valid, should be >=3.0.2.\r\n\r\nFix with `$ python -m pip install chardet>=3.0.2`",
"Thanks, pip list was showing chardet as 3.0.4 so that's why I thought it's fine. I did force reinstall it and now there is no error."
] |
https://api.github.com/repos/psf/requests/issues/5271 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5271/labels{/name} | https://api.github.com/repos/psf/requests/issues/5271/comments | https://api.github.com/repos/psf/requests/issues/5271/events | https://github.com/psf/requests/issues/5271 | 525,679,323 | MDU6SXNzdWU1MjU2NzkzMjM= | 5,271 | what is the type of data ? json or dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/35610039?v=4",
"events_url": "https://api.github.com/users/mmdaz/events{/privacy}",
"followers_url": "https://api.github.com/users/mmdaz/followers",
"following_url": "https://api.github.com/users/mmdaz/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 5 | 2019-11-20T09:28:48Z | 2021-08-28T00:06:09Z | 2019-11-23T03:00:42Z | NONE | resolved | Hey!
I am using this library and when I wanted to use ``` request.post() ``` method I was taking data parameter as a dictionary to it and I got some errors, so I read the documentation of this method that says ``` :param data: (optional) Dictionary, list of tuples, bytes, or file-like
object to send in the bo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5271/reactions"
} | https://api.github.com/repos/psf/requests/issues/5271/timeline | null | completed | null | null | false | [
"Requests does support dicts . My guess is the application your trying to post to requires JSON and you need to specify the correct Content-Type header. ",
"> Hey!\r\n> I am using this library and when I wanted to use `request.post()` method I was taking data parameter as a dictionary to it and I got some errors,... |
https://api.github.com/repos/psf/requests/issues/5270 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5270/labels{/name} | https://api.github.com/repos/psf/requests/issues/5270/comments | https://api.github.com/repos/psf/requests/issues/5270/events | https://github.com/psf/requests/issues/5270 | 525,595,925 | MDU6SXNzdWU1MjU1OTU5MjU= | 5,270 | Using the request library to match the requests_toolbelt library request to upload a file, the second request cannot be passed | {
"avatar_url": "https://avatars.githubusercontent.com/u/22344864?v=4",
"events_url": "https://api.github.com/users/longweiqiang/events{/privacy}",
"followers_url": "https://api.github.com/users/longweiqiang/followers",
"following_url": "https://api.github.com/users/longweiqiang/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 4 | 2019-11-20T06:07:46Z | 2021-09-03T00:10:49Z | 2019-11-23T03:03:22Z | NONE | resolved | # Using the request library to match the requests_toolbelt library request to upload a file, the second request cannot be passed.
```python
from requests_toolbelt import MultipartEncoder
import requests
m = MultipartEncoder(fields={'upload': open('test.txt', 'rb')},
boundary='----WebKitFor... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5270/reactions"
} | https://api.github.com/repos/psf/requests/issues/5270/timeline | null | completed | null | null | false | [
"Using the fiddler grab package, you find that after the second request, the body is missing after you enter the requests library",
"First request:\r\n\r\n\r\nSecond request:\r\n from within a docker container(any python release for docker containers) of a flask application, requests.get operations fails. This is also applicable for cases where a web framework is not used - just a simple python script.
**Stack trace**:
Traceback (most recent call last):... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5269/reactions"
} | https://api.github.com/repos/psf/requests/issues/5269/timeline | null | completed | null | null | false | [
"To add to the above, same issue occurs even with urllib3 or without using requests session.\r\n\r\nExample code with urllib3:\r\n\r\nimport urllib3\r\nfrom json import loads\r\n\r\nhttp = urllib3.PoolManager()\r\n\r\nres = http.request(\"GET\",\"http://adrian.localhost/\")\r\n\r\nfinal = loads(res.data)\r\n\r\npri... |
https://api.github.com/repos/psf/requests/issues/5268 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5268/labels{/name} | https://api.github.com/repos/psf/requests/issues/5268/comments | https://api.github.com/repos/psf/requests/issues/5268/events | https://github.com/psf/requests/issues/5268 | 524,614,821 | MDU6SXNzdWU1MjQ2MTQ4MjE= | 5,268 | Session module taking much longer than expected | {
"avatar_url": "https://avatars.githubusercontent.com/u/57504380?v=4",
"events_url": "https://api.github.com/users/unthinkman/events{/privacy}",
"followers_url": "https://api.github.com/users/unthinkman/followers",
"following_url": "https://api.github.com/users/unthinkman/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2019-11-18T20:56:43Z | 2021-09-03T00:10:38Z | 2020-02-01T01:17:26Z | NONE | resolved | Session module is running slower than normal requests.
No errors logged on either side and everything functions properly, but its consistantly 17.5 times slower.
## Expected Result
s.head(addr) returns in under .01 seconds
## Actual Result
s.head(addr) takes around .1 seconds
## Reproduction Steps
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5268/reactions"
} | https://api.github.com/repos/psf/requests/issues/5268/timeline | null | completed | null | null | false | [
"Hi @unthinkman,\r\n\r\nWe'd need a lot more information here to see what is going on. If you're looking at [`Requests.head()`](https://github.com/psf/requests/blob/master/requests/api.py#L60-L61) for comparison, it's effectively identical to the code you're using.\r\n\r\nIf you're trying to compare Requests to ano... |
https://api.github.com/repos/psf/requests/issues/5267 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5267/labels{/name} | https://api.github.com/repos/psf/requests/issues/5267/comments | https://api.github.com/repos/psf/requests/issues/5267/events | https://github.com/psf/requests/issues/5267 | 524,071,476 | MDU6SXNzdWU1MjQwNzE0NzY= | 5,267 | requests[security] / PyOpenSSL does not make requests more secure but more brittle | {
"avatar_url": "https://avatars.githubusercontent.com/u/444071?v=4",
"events_url": "https://api.github.com/users/tiran/events{/privacy}",
"followers_url": "https://api.github.com/users/tiran/followers",
"following_url": "https://api.github.com/users/tiran/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2019-11-18T00:06:02Z | 2021-08-28T00:06:11Z | 2020-11-10T19:28:45Z | CONTRIBUTOR | resolved | Requests added the ``requests[security]`` dependency many, many years ago because the ssl module in Python's stdlib was lacking some features. Since PEP 466 has been implemented in Python 2.7.9, the ssl module supports hostname verification and SNI. 2.7.9 was released in 2014. Python 3.7.0 improved the situation even f... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 1,
"laugh": 0,
"rocket": 0,
"total_count": 6,
"url": "https://api.github.com/repos/psf/requests/issues/5267/reactions"
} | https://api.github.com/repos/psf/requests/issues/5267/timeline | null | completed | null | null | false | [
"A data-point to support this direction for requests and urllib3: 91% (7,298,352 / 7,993,356) of Python 2.7.X downloads for urllib3 were on Python 2.7.9+. Taken from the public download data-set for today.",
"The ratio is even larger. Python 2.7.5 on RHEL 7 machines have a backport of PEP 466, too.\r\n\r\n```\r\n... |
https://api.github.com/repos/psf/requests/issues/5266 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5266/labels{/name} | https://api.github.com/repos/psf/requests/issues/5266/comments | https://api.github.com/repos/psf/requests/issues/5266/events | https://github.com/psf/requests/issues/5266 | 523,698,765 | MDU6SXNzdWU1MjM2OTg3NjU= | 5,266 | 3.python-requests.org documentation says it's for version 2.21.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5297556?v=4",
"events_url": "https://api.github.com/users/nicktimko/events{/privacy}",
"followers_url": "https://api.github.com/users/nicktimko/followers",
"following_url": "https://api.github.com/users/nicktimko/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 4 | 2019-11-15T21:32:50Z | 2021-09-02T00:07:22Z | 2020-02-10T05:46:54Z | CONTRIBUTOR | resolved | Documentation at https://3.python-requests.org/ says it's for Release 2.21.0 which is confusing for users. (#5265).

It's not clear to new users that "Requests III" means "the pending 3.x release of Reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5266/reactions"
} | https://api.github.com/repos/psf/requests/issues/5266/timeline | null | completed | null | null | false | [
"Also, the download link on this page leads to this Github repo, so it's not clear how you can actually download version 3 or if it's vaporware.",
"Hi @nicktimo,\r\n\r\nWe don't have access to that domain or control of the contents on it. You might be able to reach out to @kennethreitz on how it's being updated."... |
https://api.github.com/repos/psf/requests/issues/5265 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5265/labels{/name} | https://api.github.com/repos/psf/requests/issues/5265/comments | https://api.github.com/repos/psf/requests/issues/5265/events | https://github.com/psf/requests/issues/5265 | 523,344,064 | MDU6SXNzdWU1MjMzNDQwNjQ= | 5,265 | raise_for_status returns None | {
"avatar_url": "https://avatars.githubusercontent.com/u/3991046?v=4",
"events_url": "https://api.github.com/users/llamafilm/events{/privacy}",
"followers_url": "https://api.github.com/users/llamafilm/followers",
"following_url": "https://api.github.com/users/llamafilm/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 6 | 2019-11-15T09:05:33Z | 2021-09-03T00:10:51Z | 2019-11-15T21:47:47Z | NONE | resolved | According to the documentation, `raise_for_status()` should return the response object for a successful response. But I am getting None.
## Expected Result
<Response [200]>
## Actual Result
None
## Reproduction Steps
```
$ python3
>>> import requests
>>> r = requests.get('http://google.com')
>>> r.rais... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3991046?v=4",
"events_url": "https://api.github.com/users/llamafilm/events{/privacy}",
"followers_url": "https://api.github.com/users/llamafilm/followers",
"following_url": "https://api.github.com/users/llamafilm/following{/other_user}",
"gists_url": "h... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5265/reactions"
} | https://api.github.com/repos/psf/requests/issues/5265/timeline | null | completed | null | null | false | [
"The docs seem to say:\r\n> **raise_for_status()**\r\n> Raises stored HTTPError, if one occurred.\r\n>\r\n> - https://requests.kennethreitz.org/en/master/api/#requests.Response.raise_for_status\r\n> - https://github.com/psf/requests/blob/d2590ee46c06/requests/models.py#L938-L939\r\n\r\nOther mention below, whic... |
https://api.github.com/repos/psf/requests/issues/5264 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5264/labels{/name} | https://api.github.com/repos/psf/requests/issues/5264/comments | https://api.github.com/repos/psf/requests/issues/5264/events | https://github.com/psf/requests/issues/5264 | 523,224,062 | MDU6SXNzdWU1MjMyMjQwNjI= | 5,264 | Documentation for trust_env not accessible. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5836555?v=4",
"events_url": "https://api.github.com/users/chrzhang/events{/privacy}",
"followers_url": "https://api.github.com/users/chrzhang/followers",
"following_url": "https://api.github.com/users/chrzhang/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2019-11-15T03:01:27Z | 2021-09-03T00:10:47Z | 2019-12-11T04:19:53Z | NONE | resolved | [The link for trust_env documentation](https://2.python-requests.org//en/latest/api/#requests.Session.trust_env) fails to load.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/5836555?v=4",
"events_url": "https://api.github.com/users/chrzhang/events{/privacy}",
"followers_url": "https://api.github.com/users/chrzhang/followers",
"following_url": "https://api.github.com/users/chrzhang/following{/other_user}",
"gists_url": "http... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5264/reactions"
} | https://api.github.com/repos/psf/requests/issues/5264/timeline | null | completed | null | null | false | [
"Duplicate of #5214\r\n\r\n[Here's a working link](https://requests.kennethreitz.org/en/latest/api/#requests.Session.trust_env)",
"The proper / canonical link should be https://requests.readthedocs.io/en/master/api/#requests.Session.trust_env however both indexation and intra-doc linking is currently a mess."
] |
https://api.github.com/repos/psf/requests/issues/5263 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5263/labels{/name} | https://api.github.com/repos/psf/requests/issues/5263/comments | https://api.github.com/repos/psf/requests/issues/5263/events | https://github.com/psf/requests/issues/5263 | 522,980,865 | MDU6SXNzdWU1MjI5ODA4NjU= | 5,263 | `connect` timeout is *not* a TCP connect timeout, but a TCP connect + send the whole HTTP request timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/1730297?v=4",
"events_url": "https://api.github.com/users/thomas-riccardi/events{/privacy}",
"followers_url": "https://api.github.com/users/thomas-riccardi/followers",
"following_url": "https://api.github.com/users/thomas-riccardi/following{/other_user}",... | [] | open | false | null | [] | null | 14 | 2019-11-14T16:49:25Z | 2021-03-11T10:22:43Z | null | NONE | null | `connect` timeout is *not* a TCP connect timeout, but a TCP connect + send the whole HTTP request timeout.
## Expected Result
I expect that the documentation is correct about `connect` timeout:
The [advanced documentation](https://requests.readthedocs.io/en/master/user/advanced/#timeouts) says:
> The connect ti... | null | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/5263/reactions"
} | https://api.github.com/repos/psf/requests/issues/5263/timeline | null | null | null | null | false | [
"Have you raised this on urllib3 side? That sounds like an odd behavioural change ",
"I think this is a fair criticism of the documentation @nanonyme given the changes in the standard library in 3.5",
"FWIW https://github.com/python/cpython/commit/8912d1418e6b336c21bbe21c0dd123332bbe5ab5 is the commit where fun... |
https://api.github.com/repos/psf/requests/issues/5262 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5262/labels{/name} | https://api.github.com/repos/psf/requests/issues/5262/comments | https://api.github.com/repos/psf/requests/issues/5262/events | https://github.com/psf/requests/issues/5262 | 522,629,598 | MDU6SXNzdWU1MjI2Mjk1OTg= | 5,262 | License issue with requests and requests3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/17051931?v=4",
"events_url": "https://api.github.com/users/CAM-Gerlach/events{/privacy}",
"followers_url": "https://api.github.com/users/CAM-Gerlach/followers",
"following_url": "https://api.github.com/users/CAM-Gerlach/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 3 | 2019-11-14T05:14:26Z | 2022-02-26T19:00:19Z | 2021-11-28T06:04:05Z | NONE | resolved | @kennethreitz @nateprewitt If this gets too long and you'd like to get streight to the point, feel free to skip the sections between `The Situation` to `Okay, but what does this all mean?` noninclusive if you just want the upshot.
**Disclaimer:** IANAL and this is not legal advice. I've worked with copyright lawyer... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 1,
"-1": 1,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/5262/reactions"
} | https://api.github.com/repos/psf/requests/issues/5262/timeline | null | completed | null | null | false | [
"@nateprewitt I can't see your reply on here for some reason, only in my email, but the TL;DR of the above is due to what you mention, `requests3` is apparently in serious breach of _this project's_ license and that of all your contributors, due to the issue identified above. Ergo, given I couldn't open an issue ov... |
https://api.github.com/repos/psf/requests/issues/5261 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5261/labels{/name} | https://api.github.com/repos/psf/requests/issues/5261/comments | https://api.github.com/repos/psf/requests/issues/5261/events | https://github.com/psf/requests/pull/5261 | 522,350,952 | MDExOlB1bGxSZXF1ZXN0MzQwNTY4MDA5 | 5,261 | Doctest Updated | {
"avatar_url": "https://avatars.githubusercontent.com/u/13817417?v=4",
"events_url": "https://api.github.com/users/SKAUL05/events{/privacy}",
"followers_url": "https://api.github.com/users/SKAUL05/followers",
"following_url": "https://api.github.com/users/SKAUL05/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2019-11-13T17:00:02Z | 2021-08-30T00:06:34Z | 2019-11-23T02:41:30Z | NONE | resolved | Added Response 404 Doctest | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5261/reactions"
} | https://api.github.com/repos/psf/requests/issues/5261/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5261.diff",
"html_url": "https://github.com/psf/requests/pull/5261",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5261.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5261"
} | true | [
"Hi @SKAUL05, thanks for this PR. Unfortunately, I don’t think we’ll be able to merge this. The doctstring is meant to be a simple example, so we won’t enumerate the potential status codes here."
] |
https://api.github.com/repos/psf/requests/issues/5260 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5260/labels{/name} | https://api.github.com/repos/psf/requests/issues/5260/comments | https://api.github.com/repos/psf/requests/issues/5260/events | https://github.com/psf/requests/pull/5260 | 521,747,071 | MDExOlB1bGxSZXF1ZXN0MzQwMDY2Nzc3 | 5,260 | Teste | {
"avatar_url": "https://avatars.githubusercontent.com/u/42797266?v=4",
"events_url": "https://api.github.com/users/cydlos/events{/privacy}",
"followers_url": "https://api.github.com/users/cydlos/followers",
"following_url": "https://api.github.com/users/cydlos/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 0 | 2019-11-12T19:12:06Z | 2021-08-30T00:06:33Z | 2019-11-23T02:41:41Z | NONE | resolved | Testando pull request. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5260/reactions"
} | https://api.github.com/repos/psf/requests/issues/5260/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5260.diff",
"html_url": "https://github.com/psf/requests/pull/5260",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5260.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5260"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5259 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5259/labels{/name} | https://api.github.com/repos/psf/requests/issues/5259/comments | https://api.github.com/repos/psf/requests/issues/5259/events | https://github.com/psf/requests/pull/5259 | 521,648,645 | MDExOlB1bGxSZXF1ZXN0MzM5OTg5NTIy | 5,259 | docs - clarify json() error exception for Python 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5124946?v=4",
"events_url": "https://api.github.com/users/wesinator/events{/privacy}",
"followers_url": "https://api.github.com/users/wesinator/followers",
"following_url": "https://api.github.com/users/wesinator/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 4 | 2019-11-12T16:13:47Z | 2021-08-30T00:06:32Z | 2019-11-23T02:47:42Z | NONE | resolved | python 3 exception is `JSONDecodeError: Expecting value: line 1 column 1 (char 0)`
https://github.com/psf/requests/issues/4908 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5259/reactions"
} | https://api.github.com/repos/psf/requests/issues/5259/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5259.diff",
"html_url": "https://github.com/psf/requests/pull/5259",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5259.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5259"
} | true | [
"This should absolutely not be merged.",
"> This should absolutely not be merged.\r\n\r\nwhy ? ",
"Hi @wesinator, I think we’ll pass on this one. If you take a look at Python 3, you’ll find that JSONDecodeError to be a ValueError. Including the simplejson stack trace doesn’t provide information specific to Requ... |
https://api.github.com/repos/psf/requests/issues/5258 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5258/labels{/name} | https://api.github.com/repos/psf/requests/issues/5258/comments | https://api.github.com/repos/psf/requests/issues/5258/events | https://github.com/psf/requests/issues/5258 | 520,055,151 | MDU6SXNzdWU1MjAwNTUxNTE= | 5,258 | Issue with Latin Characters in URL | {
"avatar_url": "https://avatars.githubusercontent.com/u/7874711?v=4",
"events_url": "https://api.github.com/users/daltonch/events{/privacy}",
"followers_url": "https://api.github.com/users/daltonch/followers",
"following_url": "https://api.github.com/users/daltonch/following{/other_user}",
"gists_url": "http... | [] | open | false | null | [] | null | 2 | 2019-11-08T14:48:07Z | 2020-08-06T12:18:08Z | null | NONE | null | Getting UTF-8 when attempting to get a URL with Latin characters in the URL.
## Expected Result
<Response [200]>
## Actual Result
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 75, in get
return request('g... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5258/reactions"
} | https://api.github.com/repos/psf/requests/issues/5258/timeline | null | null | null | null | false | [
"**NB: Encoding of `é`: in utf-8, it is `\\xC3\\xA9`, in latin1, it is `\\xE9`**\r\n\r\nHere's what I found:\r\n\r\n## Opening with Firefox\r\nWhen I open with firefox, \r\n1. `http://www.janes.com/article/92450/south-korea-launches-philippine-navy-s-second-jos%C3%A9-rizal-class-frigate?from_rss=1` got 302 redirect... |
https://api.github.com/repos/psf/requests/issues/5257 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5257/labels{/name} | https://api.github.com/repos/psf/requests/issues/5257/comments | https://api.github.com/repos/psf/requests/issues/5257/events | https://github.com/psf/requests/pull/5257 | 519,861,422 | MDExOlB1bGxSZXF1ZXN0MzM4NTUxNTU1 | 5,257 | Safely handle, when uri contains IPv6 link local with %zone index | {
"avatar_url": "https://avatars.githubusercontent.com/u/1691611?v=4",
"events_url": "https://api.github.com/users/jjlogu/events{/privacy}",
"followers_url": "https://api.github.com/users/jjlogu/followers",
"following_url": "https://api.github.com/users/jjlogu/following{/other_user}",
"gists_url": "https://ap... | [] | open | false | null | [] | null | 0 | 2019-11-08T07:40:46Z | 2022-01-03T15:27:48Z | null | NONE | null | ## Issue:
When URI contains IPv6 link local with zone index (Ex: fe80::726f:8a26:222a:2bf3%eth0), requote_uri encodes all % to %25. Because of it, requests.get was requesting different resource.
Screenshot:

except requests.exceptions.Timeout:
pass
```
I think a nicer solution could be:
`requests.fire_and_forget(my_uri, me... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5256/reactions"
} | https://api.github.com/repos/psf/requests/issues/5256/timeline | null | completed | null | null | false | [
"You can't actually \"forget\" about the connection because you'll need to hold it open, and possibly even wait for TLS negotiation (which requires a few RTT's). Run the connection in a thread, or use async libraries like [aiohttp](https://aiohttp.readthedocs.io/en/stable/client_quickstart.html#make-a-request) or R... |
https://api.github.com/repos/psf/requests/issues/5255 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5255/labels{/name} | https://api.github.com/repos/psf/requests/issues/5255/comments | https://api.github.com/repos/psf/requests/issues/5255/events | https://github.com/psf/requests/issues/5255 | 517,568,621 | MDU6SXNzdWU1MTc1Njg2MjE= | 5,255 | Allow authentication methods to set client certficates | {
"avatar_url": "https://avatars.githubusercontent.com/u/1281144?v=4",
"events_url": "https://api.github.com/users/aragilar/events{/privacy}",
"followers_url": "https://api.github.com/users/aragilar/followers",
"following_url": "https://api.github.com/users/aragilar/following{/other_user}",
"gists_url": "http... | [] | open | false | null | [] | null | 0 | 2019-11-05T06:16:50Z | 2019-11-05T06:16:50Z | null | NONE | null | Currently authentication methods can configure all the request options except for the `cert` option (the `verify` option also cannot be specified, but I don't a need for that). Would a PR to allow the setting of `cert` on the request object to be propagated up to send be acceptable?
| null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5255/reactions"
} | https://api.github.com/repos/psf/requests/issues/5255/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5254 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5254/labels{/name} | https://api.github.com/repos/psf/requests/issues/5254/comments | https://api.github.com/repos/psf/requests/issues/5254/events | https://github.com/psf/requests/issues/5254 | 517,537,388 | MDU6SXNzdWU1MTc1MzczODg= | 5,254 | Docsearch on the left menu bar is not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/5844587?v=4",
"events_url": "https://api.github.com/users/Mariatta/events{/privacy}",
"followers_url": "https://api.github.com/users/Mariatta/followers",
"following_url": "https://api.github.com/users/Mariatta/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2019-11-05T04:08:16Z | 2021-11-05T03:00:26Z | 2021-08-07T02:46:30Z | NONE | resolved | Enter any text into the search bar on the left where it says "Search the doc" (see screenshot)
Press enter

## Expected Result
I expected to see some search results.
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5254/reactions"
} | https://api.github.com/repos/psf/requests/issues/5254/timeline | null | completed | null | null | false | [
"Forgot to attach screenshot. It's been added.",
"This was fixed last year but this wasn't resolved."
] |
https://api.github.com/repos/psf/requests/issues/5253 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5253/labels{/name} | https://api.github.com/repos/psf/requests/issues/5253/comments | https://api.github.com/repos/psf/requests/issues/5253/events | https://github.com/psf/requests/pull/5253 | 517,197,071 | MDExOlB1bGxSZXF1ZXN0MzM2MzEzMjU0 | 5,253 | Make ✨ 🍰 ✨ requests act like jQuery when passing nested objects to data/payload | {
"avatar_url": "https://avatars.githubusercontent.com/u/9326700?v=4",
"events_url": "https://api.github.com/users/Ousret/events{/privacy}",
"followers_url": "https://api.github.com/users/Ousret/followers",
"following_url": "https://api.github.com/users/Ousret/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 14 | 2019-11-04T14:41:46Z | 2021-08-29T00:07:03Z | 2020-02-24T22:21:10Z | CONTRIBUTOR | resolved | Requests does not support dict with depth greater than 1 on parameter data for a x-www-form-urlencoded based request.
What I'm proposing here is to remove depth from a dict while keeping actual sent data untouched.
## Expected Result
```python
print(response.request.body)
# auth_user=test&auth_pwd=test&json_... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5253/reactions"
} | https://api.github.com/repos/psf/requests/issues/5253/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5253.diff",
"html_url": "https://github.com/psf/requests/pull/5253",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5253.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5253"
} | true | [
"```python\r\nfrom requests.models import RequestEncodingMixin\r\n\r\nmy_dict_ = {\r\n 'json_data': {\r\n 'operation': 'get',\r\n 'class': 'ServiceChange',\r\n 'key': 'SELECT ServiceChange',\r\n 'output_fields': 'request_state',\r\n 'h': {\r\n 't': 1\r\n }\r\n... |
https://api.github.com/repos/psf/requests/issues/5252 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5252/labels{/name} | https://api.github.com/repos/psf/requests/issues/5252/comments | https://api.github.com/repos/psf/requests/issues/5252/events | https://github.com/psf/requests/pull/5252 | 517,062,831 | MDExOlB1bGxSZXF1ZXN0MzM2MjA0MzAx | 5,252 | RFC8288 support for link relations | {
"avatar_url": "https://avatars.githubusercontent.com/u/11753054?v=4",
"events_url": "https://api.github.com/users/dirkjonker/events{/privacy}",
"followers_url": "https://api.github.com/users/dirkjonker/followers",
"following_url": "https://api.github.com/users/dirkjonker/following{/other_user}",
"gists_url"... | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 1 | 2019-11-04T10:28:57Z | 2024-05-20T14:36:20Z | 2024-05-20T14:36:20Z | NONE | null | Comply to RFC8288 for relation type (section 3.3)
https://tools.ietf.org/html/rfc8288#section-3.3
Changes:
- Only parse first "rel" parameter
- Allow multiple link relation types, i.e.
rel="start http://example.net/relation/other" | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5252/reactions"
} | https://api.github.com/repos/psf/requests/issues/5252/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5252.diff",
"html_url": "https://github.com/psf/requests/pull/5252",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5252.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5252"
} | true | [
"In an effort to clean up the issue tracker to only have issues that are still relevant to the project we've done a quick pass and decided this issue may no longer be relevant for a variety of potential reasons, including:\r\n\r\n* Applies to a much older version, unclear whether the issue still applies.\r\n* Chang... |
https://api.github.com/repos/psf/requests/issues/5251 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5251/labels{/name} | https://api.github.com/repos/psf/requests/issues/5251/comments | https://api.github.com/repos/psf/requests/issues/5251/events | https://github.com/psf/requests/pull/5251 | 515,961,634 | MDExOlB1bGxSZXF1ZXN0MzM1MzEyMzc4 | 5,251 | pytest 5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15092?v=4",
"events_url": "https://api.github.com/users/jayvdb/events{/privacy}",
"followers_url": "https://api.github.com/users/jayvdb/followers",
"following_url": "https://api.github.com/users/jayvdb/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2019-11-01T07:49:25Z | 2021-08-29T00:06:55Z | 2020-05-09T04:58:32Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5251/reactions"
} | https://api.github.com/repos/psf/requests/issues/5251/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5251.diff",
"html_url": "https://github.com/psf/requests/pull/5251",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5251.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5251"
} | true | [
"This may not be all of the changes needed to work on pytest 5, but it was enough for the openSUSE build to pass https://build.opensuse.org/request/show/744656 - it is using `-k \"not (TestTimeout or connect or test_https_warnings)\"`, so is skipping 12 and deselecting 16.",
"This should be resolved in #5027 "
] | |
https://api.github.com/repos/psf/requests/issues/5250 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5250/labels{/name} | https://api.github.com/repos/psf/requests/issues/5250/comments | https://api.github.com/repos/psf/requests/issues/5250/events | https://github.com/psf/requests/pull/5250 | 514,919,960 | MDExOlB1bGxSZXF1ZXN0MzM0NDY0NTU5 | 5,250 | Fix link to requests-threads in community/recommended doc | {
"avatar_url": "https://avatars.githubusercontent.com/u/1845314?v=4",
"events_url": "https://api.github.com/users/MasterOdin/events{/privacy}",
"followers_url": "https://api.github.com/users/MasterOdin/followers",
"following_url": "https://api.github.com/users/MasterOdin/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2019-10-30T19:16:01Z | 2021-08-30T00:06:33Z | 2019-11-23T02:50:55Z | CONTRIBUTOR | resolved | The link for `Requests-Threads` was missing a trailing `_` causing it to be italicized instead of being a proper link. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5250/reactions"
} | https://api.github.com/repos/psf/requests/issues/5250/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5250.diff",
"html_url": "https://github.com/psf/requests/pull/5250",
"merged_at": "2019-11-23T02:50:54Z",
"patch_url": "https://github.com/psf/requests/pull/5250.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5250"
} | true | [
"Might be worth adding doc building to the CI and either disabling `default_role` (such that using it is an error) or switching it out for `any` (though I don't know that that would find explicit link references)."
] |
https://api.github.com/repos/psf/requests/issues/5249 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5249/labels{/name} | https://api.github.com/repos/psf/requests/issues/5249/comments | https://api.github.com/repos/psf/requests/issues/5249/events | https://github.com/psf/requests/issues/5249 | 513,695,739 | MDU6SXNzdWU1MTM2OTU3Mzk= | 5,249 | TLS Handshake issue | Python 2.7.6 | Requests 2.13.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3884911?v=4",
"events_url": "https://api.github.com/users/varkychen/events{/privacy}",
"followers_url": "https://api.github.com/users/varkychen/followers",
"following_url": "https://api.github.com/users/varkychen/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 6 | 2019-10-29T05:05:52Z | 2021-09-03T00:10:51Z | 2019-11-14T15:23:36Z | NONE | resolved | Hi All
I'm kinda new to python and I'm facing issues with TLS handshakes. My project currently uses python 2.7.6, requests 2.13.0 with no pip. I'm running on a Windows machine. I've been currently asked to stick with these versions.
I'm using code similar to the the one below.
```
import requests
import reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3884911?v=4",
"events_url": "https://api.github.com/users/varkychen/events{/privacy}",
"followers_url": "https://api.github.com/users/varkychen/followers",
"following_url": "https://api.github.com/users/varkychen/following{/other_user}",
"gists_url": "h... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5249/reactions"
} | https://api.github.com/repos/psf/requests/issues/5249/timeline | null | completed | null | null | false | [
"There is no excuse to still be using python 2. Its being depricated in 2020 so dont expect anyone to help you, or things to ever be update for py2 after that date. Try running the same code in python 3 and the newest version of requests. ",
"I agree, and I'm pushing to use a higher version of python. I've also p... |
https://api.github.com/repos/psf/requests/issues/5248 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5248/labels{/name} | https://api.github.com/repos/psf/requests/issues/5248/comments | https://api.github.com/repos/psf/requests/issues/5248/events | https://github.com/psf/requests/issues/5248 | 511,959,321 | MDU6SXNzdWU1MTE5NTkzMjE= | 5,248 | http://docs.python-requests.org/ and associated is down | {
"avatar_url": "https://avatars.githubusercontent.com/u/23175939?v=4",
"events_url": "https://api.github.com/users/klarose/events{/privacy}",
"followers_url": "https://api.github.com/users/klarose/followers",
"following_url": "https://api.github.com/users/klarose/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2019-10-24T13:50:36Z | 2021-09-04T00:06:08Z | 2019-10-24T13:52:44Z | NONE | resolved | I cannot retrieve the docs for python-requests without using non-TLS http.
## Expected Result
The following should return the page content at the end:
`curl -L http://docs.python-requests.org/ -v`
## Actual Result
Instead, I get a TLS error:
```
curl -L http://docs.python-requests.org/ -v
* Trying... | {
"avatar_url": "https://avatars.githubusercontent.com/u/23175939?v=4",
"events_url": "https://api.github.com/users/klarose/events{/privacy}",
"followers_url": "https://api.github.com/users/klarose/followers",
"following_url": "https://api.github.com/users/klarose/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5248/reactions"
} | https://api.github.com/repos/psf/requests/issues/5248/timeline | null | completed | null | null | false | [
"Seems like this is a duplicate of https://github.com/psf/requests/issues/5212. The fix just hasn't gone live."
] |
https://api.github.com/repos/psf/requests/issues/5247 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5247/labels{/name} | https://api.github.com/repos/psf/requests/issues/5247/comments | https://api.github.com/repos/psf/requests/issues/5247/events | https://github.com/psf/requests/issues/5247 | 511,919,392 | MDU6SXNzdWU1MTE5MTkzOTI= | 5,247 | Android and ios project | {
"avatar_url": "https://avatars.githubusercontent.com/u/56755465?v=4",
"events_url": "https://api.github.com/users/faout/events{/privacy}",
"followers_url": "https://api.github.com/users/faout/followers",
"following_url": "https://api.github.com/users/faout/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 1 | 2019-10-24T12:43:30Z | 2021-09-03T00:10:54Z | 2019-10-25T02:52:37Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
Hi there! i am new in app development but i have to submit an android and ios app within 2 weeks i do not know where to start. please help me . thank you
| {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5247/reactions"
} | https://api.github.com/repos/psf/requests/issues/5247/timeline | null | completed | null | null | false | [
"Hi @faout, this is a support forum for Requests. I would suggest posting on StackOverflow with questions about getting started with these topics. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/5246 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5246/labels{/name} | https://api.github.com/repos/psf/requests/issues/5246/comments | https://api.github.com/repos/psf/requests/issues/5246/events | https://github.com/psf/requests/pull/5246 | 511,826,573 | MDExOlB1bGxSZXF1ZXN0MzMxOTUwNjI0 | 5,246 | Update documentation for response.json() | {
"avatar_url": "https://avatars.githubusercontent.com/u/53315310?v=4",
"events_url": "https://api.github.com/users/ellie/events{/privacy}",
"followers_url": "https://api.github.com/users/ellie/followers",
"following_url": "https://api.github.com/users/ellie/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 3 | 2019-10-24T09:36:45Z | 2022-02-26T15:00:32Z | 2021-11-28T14:15:03Z | NONE | resolved | The current documentation says that the function is encoding - actually, it is decoding!
I'm also wondering if it might be worth putting in some type annotations at some point | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5246/reactions"
} | https://api.github.com/repos/psf/requests/issues/5246/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5246.diff",
"html_url": "https://github.com/psf/requests/pull/5246",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5246.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5246"
} | true | [
"It doesn't return JSON body. It returns Python object.\r\n\r\nFixes #5245 ",
"As long as this is open - I would like to add that the \"if any\" clause is very unclear, from the code I can't tell what is meant to say.\r\n\r\nFrom what I can see the function tries to return the decoded representation *as if* the c... |
https://api.github.com/repos/psf/requests/issues/5245 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5245/labels{/name} | https://api.github.com/repos/psf/requests/issues/5245/comments | https://api.github.com/repos/psf/requests/issues/5245/events | https://github.com/psf/requests/issues/5245 | 511,283,605 | MDU6SXNzdWU1MTEyODM2MDU= | 5,245 | Incorrect json() docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/10272121?v=4",
"events_url": "https://api.github.com/users/alekna/events{/privacy}",
"followers_url": "https://api.github.com/users/alekna/followers",
"following_url": "https://api.github.com/users/alekna/following{/other_user}",
"gists_url": "https://a... | [] | open | false | null | [] | null | 4 | 2019-10-23T12:16:53Z | 2024-10-31T11:31:39Z | null | NONE | null | What `json()` actually does - it deserializes JSON into a Python object.
So the docstring below must be wrong:
https://github.com/psf/requests/blob/fab1fd10d0b115e635b9ef1364f8444089725000/requests/models.py#L894-L918 | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5245/reactions"
} | https://api.github.com/repos/psf/requests/issues/5245/timeline | null | null | null | null | false | [
"Do you mind if I take this task as an intro issue to the project? I'm looking to be a new contributor",
"This has tripped me up as well. I'm new to Python. I expected response.json() to return JSON, but it doesn't. I don't know if I'm expected to do something further to turn it into actual JSON (and if so, what)... |
https://api.github.com/repos/psf/requests/issues/5244 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5244/labels{/name} | https://api.github.com/repos/psf/requests/issues/5244/comments | https://api.github.com/repos/psf/requests/issues/5244/events | https://github.com/psf/requests/pull/5244 | 511,200,500 | MDExOlB1bGxSZXF1ZXN0MzMxNDQxODEz | 5,244 | Add option to hide url from raise_for_status | {
"avatar_url": "https://avatars.githubusercontent.com/u/355251?v=4",
"events_url": "https://api.github.com/users/barroca/events{/privacy}",
"followers_url": "https://api.github.com/users/barroca/followers",
"following_url": "https://api.github.com/users/barroca/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2019-10-23T09:38:18Z | 2021-08-29T00:07:08Z | 2020-02-17T18:25:52Z | NONE | resolved | This PR adds an option on raise_for_status function that hides the url from the log message so it is possible to protect the sensitive data from the url without having to do complex parsing of it. | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5244/reactions"
} | https://api.github.com/repos/psf/requests/issues/5244/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5244.diff",
"html_url": "https://github.com/psf/requests/pull/5244",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5244.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5244"
} | true | [
"This seems application specific. If the error message is being displayed to the user the URL can be masked in that section of application code or alternatively you can re-raise the exception with an edited message."
] |
https://api.github.com/repos/psf/requests/issues/5243 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5243/labels{/name} | https://api.github.com/repos/psf/requests/issues/5243/comments | https://api.github.com/repos/psf/requests/issues/5243/events | https://github.com/psf/requests/pull/5243 | 510,747,474 | MDExOlB1bGxSZXF1ZXN0MzMxMDY3NzU2 | 5,243 | Test on Python 3.8 final | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2019-10-22T15:47:28Z | 2021-08-30T00:06:34Z | 2019-10-25T02:32:26Z | CONTRIBUTOR | resolved | The Trove classifier is already added:
https://github.com/psf/requests/blob/fab1fd10d0b115e635b9ef1364f8444089725000/setup.py#L98
| {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5243/reactions"
} | https://api.github.com/repos/psf/requests/issues/5243/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5243.diff",
"html_url": "https://github.com/psf/requests/pull/5243",
"merged_at": "2019-10-25T02:32:26Z",
"patch_url": "https://github.com/psf/requests/pull/5243.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5243"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5242 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5242/labels{/name} | https://api.github.com/repos/psf/requests/issues/5242/comments | https://api.github.com/repos/psf/requests/issues/5242/events | https://github.com/psf/requests/pull/5242 | 510,641,630 | MDExOlB1bGxSZXF1ZXN0MzMwOTgwMzU5 | 5,242 | Improved setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/45028982?v=4",
"events_url": "https://api.github.com/users/adisakshya/events{/privacy}",
"followers_url": "https://api.github.com/users/adisakshya/followers",
"following_url": "https://api.github.com/users/adisakshya/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 0 | 2019-10-22T13:03:54Z | 2021-08-27T00:08:38Z | 2021-05-20T16:53:48Z | NONE | resolved | Improved support for setup.py upload command.
Replaced method of accepting `upload` command using `sys-command-line-arguments`, with `UploadCommand` class and added it in cmdClass. | {
"avatar_url": "https://avatars.githubusercontent.com/u/45028982?v=4",
"events_url": "https://api.github.com/users/adisakshya/events{/privacy}",
"followers_url": "https://api.github.com/users/adisakshya/followers",
"following_url": "https://api.github.com/users/adisakshya/following{/other_user}",
"gists_url"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5242/reactions"
} | https://api.github.com/repos/psf/requests/issues/5242/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5242.diff",
"html_url": "https://github.com/psf/requests/pull/5242",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5242.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5242"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5241 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5241/labels{/name} | https://api.github.com/repos/psf/requests/issues/5241/comments | https://api.github.com/repos/psf/requests/issues/5241/events | https://github.com/psf/requests/pull/5241 | 509,941,294 | MDExOlB1bGxSZXF1ZXN0MzMwMzg4MzQ5 | 5,241 | docs: update docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/41265033?v=4",
"events_url": "https://api.github.com/users/chrisguox/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisguox/followers",
"following_url": "https://api.github.com/users/chrisguox/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2019-10-21T12:50:26Z | 2021-08-29T00:07:09Z | 2020-02-15T06:49:51Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/41265033?v=4",
"events_url": "https://api.github.com/users/chrisguox/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisguox/followers",
"following_url": "https://api.github.com/users/chrisguox/following{/other_user}",
"gists_url": "... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5241/reactions"
} | https://api.github.com/repos/psf/requests/issues/5241/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5241.diff",
"html_url": "https://github.com/psf/requests/pull/5241",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5241.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5241"
} | true | [
"@adisakshya \r\n\r\nI merged new commits. but I'm not sure it's necessary.\r\n"
] | |
https://api.github.com/repos/psf/requests/issues/5240 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5240/labels{/name} | https://api.github.com/repos/psf/requests/issues/5240/comments | https://api.github.com/repos/psf/requests/issues/5240/events | https://github.com/psf/requests/pull/5240 | 509,936,039 | MDExOlB1bGxSZXF1ZXN0MzMwMzg0MTIz | 5,240 | fix: typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/41265033?v=4",
"events_url": "https://api.github.com/users/chrisguox/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisguox/followers",
"following_url": "https://api.github.com/users/chrisguox/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2019-10-21T12:40:06Z | 2021-08-30T00:06:36Z | 2019-10-25T02:35:02Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5240/reactions"
} | https://api.github.com/repos/psf/requests/issues/5240/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5240.diff",
"html_url": "https://github.com/psf/requests/pull/5240",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5240.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5240"
} | true | [
"Hi @chrisguox, thanks for contributing to Requests! I think the current usages probably make more sense than the new proposals, so we'll pass on this one."
] | |
https://api.github.com/repos/psf/requests/issues/5239 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5239/labels{/name} | https://api.github.com/repos/psf/requests/issues/5239/comments | https://api.github.com/repos/psf/requests/issues/5239/events | https://github.com/psf/requests/pull/5239 | 509,914,002 | MDExOlB1bGxSZXF1ZXN0MzMwMzY2MTU5 | 5,239 | Catch AttributeError in utils.super_len | {
"avatar_url": "https://avatars.githubusercontent.com/u/875184?v=4",
"events_url": "https://api.github.com/users/dimbleby/events{/privacy}",
"followers_url": "https://api.github.com/users/dimbleby/followers",
"following_url": "https://api.github.com/users/dimbleby/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | {
"closed_at": "2021-12-30T21:48:07Z",
"closed_issues": 11,
"created_at": "2021-09-02T07:23:33Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/user... | 1 | 2019-10-21T11:55:23Z | 2022-02-26T21:00:46Z | 2021-11-28T20:03:31Z | CONTRIBUTOR | resolved | This allows it to handle files obtained via `Tarfile.extractfile()`.
Fixes #5229. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5239/reactions"
} | https://api.github.com/repos/psf/requests/issues/5239/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5239.diff",
"html_url": "https://github.com/psf/requests/pull/5239",
"merged_at": "2021-11-28T20:03:31Z",
"patch_url": "https://github.com/psf/requests/pull/5239.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5239"
} | true | [
"Wow, I had forgotten all about this. Still a good fix though, so I have rebased and added an entry to HISTORY.md"
] |
https://api.github.com/repos/psf/requests/issues/5238 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5238/labels{/name} | https://api.github.com/repos/psf/requests/issues/5238/comments | https://api.github.com/repos/psf/requests/issues/5238/events | https://github.com/psf/requests/issues/5238 | 509,754,840 | MDU6SXNzdWU1MDk3NTQ4NDA= | 5,238 | monkey patching of urllib3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/48501609?v=4",
"events_url": "https://api.github.com/users/christopher-hesse/events{/privacy}",
"followers_url": "https://api.github.com/users/christopher-hesse/followers",
"following_url": "https://api.github.com/users/christopher-hesse/following{/other_... | [] | closed | true | null | [] | null | 2 | 2019-10-21T06:21:35Z | 2021-08-28T00:06:11Z | 2020-11-10T00:34:04Z | NONE | resolved | I'm using urllib3 and recently ran into an issue where my library would fail if pyopenssl was installed and requests was imported (by some other library).
```
File "/root/miniconda3/envs/env/lib/python3.7/site-packages/urllib3/request.py", line 72, in request
**urlopen_kw)
File "/root/miniconda3/envs/en... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5238/reactions"
} | https://api.github.com/repos/psf/requests/issues/5238/timeline | null | completed | null | null | false | [
"I have this issue too, thank you for the workaround!\r\nCouldn't find this issue on google, so here are some keywords for future googlers: requests urllib3 ssl error pyopenssl\r\n\r\nAnd a few lines of code that reproduce the error, uncomment to enable workaround:\r\n\r\n```\r\nimport requests\r\nimport urllib3\r\... |
https://api.github.com/repos/psf/requests/issues/5237 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5237/labels{/name} | https://api.github.com/repos/psf/requests/issues/5237/comments | https://api.github.com/repos/psf/requests/issues/5237/events | https://github.com/psf/requests/pull/5237 | 509,364,629 | MDExOlB1bGxSZXF1ZXN0MzI5OTY1MTM0 | 5,237 | Update translation links from http -> https | {
"avatar_url": "https://avatars.githubusercontent.com/u/53452777?v=4",
"events_url": "https://api.github.com/users/chmreid/events{/privacy}",
"followers_url": "https://api.github.com/users/chmreid/followers",
"following_url": "https://api.github.com/users/chmreid/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2019-10-19T00:35:38Z | 2021-08-30T00:06:35Z | 2019-10-25T02:46:05Z | CONTRIBUTOR | resolved | This modifies links to translations of the `requests` documentation for non-English languages to https instead of http | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5237/reactions"
} | https://api.github.com/repos/psf/requests/issues/5237/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5237.diff",
"html_url": "https://github.com/psf/requests/pull/5237",
"merged_at": "2019-10-25T02:46:05Z",
"patch_url": "https://github.com/psf/requests/pull/5237.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5237"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5236 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5236/labels{/name} | https://api.github.com/repos/psf/requests/issues/5236/comments | https://api.github.com/repos/psf/requests/issues/5236/events | https://github.com/psf/requests/pull/5236 | 509,185,058 | MDExOlB1bGxSZXF1ZXN0MzI5ODI0Njg2 | 5,236 | Change documentation website to requests.readthedocs.io | {
"avatar_url": "https://avatars.githubusercontent.com/u/102495?v=4",
"events_url": "https://api.github.com/users/ssbarnea/events{/privacy}",
"followers_url": "https://api.github.com/users/ssbarnea/followers",
"following_url": "https://api.github.com/users/ssbarnea/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2019-10-18T16:29:33Z | 2021-08-30T00:06:34Z | 2019-10-25T03:02:55Z | CONTRIBUTOR | resolved | Fixes: #5212 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5236/reactions"
} | https://api.github.com/repos/psf/requests/issues/5236/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5236.diff",
"html_url": "https://github.com/psf/requests/pull/5236",
"merged_at": "2019-10-25T03:02:55Z",
"patch_url": "https://github.com/psf/requests/pull/5236.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5236"
} | true | [
"Looks like there's one more reference remaining in `docs/_templates/sidebarlogo.html` on line 57:\r\n\r\n```\r\n$ grep -n -r \"docs\\.python\" *\r\ndocs/_templates/sidebarlogo.html:57: <li><a href=\"http://docs.python-requests.org/\">English</a></li>\r\n...\r\n```"
] |
https://api.github.com/repos/psf/requests/issues/5235 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5235/labels{/name} | https://api.github.com/repos/psf/requests/issues/5235/comments | https://api.github.com/repos/psf/requests/issues/5235/events | https://github.com/psf/requests/issues/5235 | 508,879,800 | MDU6SXNzdWU1MDg4Nzk4MDA= | 5,235 | Python crashed while run requests.get() in a daemon process with pandas. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5044734?v=4",
"events_url": "https://api.github.com/users/virus-warnning/events{/privacy}",
"followers_url": "https://api.github.com/users/virus-warnning/followers",
"following_url": "https://api.github.com/users/virus-warnning/following{/other_user}",
... | [] | closed | true | null | [] | null | 3 | 2019-10-18T06:25:35Z | 2021-09-02T00:07:15Z | 2019-10-25T02:54:56Z | NONE | resolved | Run requests.get() in a daemon process with `import pandas` then python would be crashed.
* Comment `import pandas` it would be fine.
* Comment `.. os.fork() ...` it would be fine.
The problem was found on macOS only. (macOS Mojave 10.14.6)
## Expected Result
200
## Actual Result
```
objc[89863]: +[... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5235/reactions"
} | https://api.github.com/repos/psf/requests/issues/5235/timeline | null | completed | null | null | false | [
"This is hard to say to be issue of the requests. It crashes on purpose in case of user does n't know what he is doing. \r\n\r\n> objc[1936]: +[NSValue initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead... |
https://api.github.com/repos/psf/requests/issues/5234 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5234/labels{/name} | https://api.github.com/repos/psf/requests/issues/5234/comments | https://api.github.com/repos/psf/requests/issues/5234/events | https://github.com/psf/requests/issues/5234 | 508,805,713 | MDU6SXNzdWU1MDg4MDU3MTM= | 5,234 | Caused by NewConnectionError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001F06C779470>) | {
"avatar_url": "https://avatars.githubusercontent.com/u/47957320?v=4",
"events_url": "https://api.github.com/users/xiao1i/events{/privacy}",
"followers_url": "https://api.github.com/users/xiao1i/followers",
"following_url": "https://api.github.com/users/xiao1i/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2019-10-18T01:42:13Z | 2021-09-02T00:07:29Z | 2020-02-01T01:45:03Z | NONE | resolved | partial code as follows:
header = {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/74.0.3729.131 Safari/537.36",
"Content-Type": "text/html; charset=utf-8"
}
r = requests.get('https:... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/5234/reactions"
} | https://api.github.com/repos/psf/requests/issues/5234/timeline | null | completed | null | null | false | [
"Are you sure this is not a network issue on your end? This appears to be working for me. Have you tried URLs other than the one you have mentioned here?",
"Hi @Hacker1faker, this is a network issue likely with the interface you’re issuing the request on or perhaps the firewall. There isn’t anything we can do fro... |
https://api.github.com/repos/psf/requests/issues/5233 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5233/labels{/name} | https://api.github.com/repos/psf/requests/issues/5233/comments | https://api.github.com/repos/psf/requests/issues/5233/events | https://github.com/psf/requests/pull/5233 | 508,708,165 | MDExOlB1bGxSZXF1ZXN0MzI5NDUxNjUz | 5,233 | Fix broken URLS in readme | {
"avatar_url": "https://avatars.githubusercontent.com/u/53452777?v=4",
"events_url": "https://api.github.com/users/chmreid/events{/privacy}",
"followers_url": "https://api.github.com/users/chmreid/followers",
"following_url": "https://api.github.com/users/chmreid/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2019-10-17T20:37:53Z | 2021-08-30T00:06:37Z | 2019-10-19T00:36:05Z | CONTRIBUTOR | resolved | [This commit](https://github.com/psf/requests/commit/74b72ce4265583db0430080ab67d3d5e0c4b44b2) removed several references to the URL 2.python-requests.org but left several behind. This PR cleans those up and replaces with requests.readthedocs.io | {
"avatar_url": "https://avatars.githubusercontent.com/u/53452777?v=4",
"events_url": "https://api.github.com/users/chmreid/events{/privacy}",
"followers_url": "https://api.github.com/users/chmreid/followers",
"following_url": "https://api.github.com/users/chmreid/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5233/reactions"
} | https://api.github.com/repos/psf/requests/issues/5233/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5233.diff",
"html_url": "https://github.com/psf/requests/pull/5233",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5233.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5233"
} | true | [
"@ssbarnea looks like you were much more thorough in replacing the old URLs...\r\n\r\nAdmins - approve #5236 instead!"
] |
https://api.github.com/repos/psf/requests/issues/5232 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5232/labels{/name} | https://api.github.com/repos/psf/requests/issues/5232/comments | https://api.github.com/repos/psf/requests/issues/5232/events | https://github.com/psf/requests/pull/5232 | 508,622,251 | MDExOlB1bGxSZXF1ZXN0MzI5MzgwODEy | 5,232 | Add timeout as a default attribute for Session objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/9677399?v=4",
"events_url": "https://api.github.com/users/ofek/events{/privacy}",
"followers_url": "https://api.github.com/users/ofek/followers",
"following_url": "https://api.github.com/users/ofek/following{/other_user}",
"gists_url": "https://api.gith... | [] | open | false | null | [] | null | 1 | 2019-10-17T17:37:10Z | 2022-01-03T15:28:12Z | null | CONTRIBUTOR | null | We encountered a bug today wherein we mistakenly assumed it was already supported as an attribute like all the other kwargs, https://github.com/DataDog/integrations-core/pull/4811 | null | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5232/reactions"
} | https://api.github.com/repos/psf/requests/issues/5232/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5232.diff",
"html_url": "https://github.com/psf/requests/pull/5232",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5232.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5232"
} | true | [
"@Lukasa @kennethreitz @nateprewitt Hello there! After opening this I came across https://github.com/psf/requests/issues/3341\r\n\r\nDoes that decision (from way back then) still remain true today? As it is, the behavior is not very user-friendly and is entirely unexpected, hence the reason so many people keep open... |
https://api.github.com/repos/psf/requests/issues/5231 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5231/labels{/name} | https://api.github.com/repos/psf/requests/issues/5231/comments | https://api.github.com/repos/psf/requests/issues/5231/events | https://github.com/psf/requests/issues/5231 | 508,557,896 | MDU6SXNzdWU1MDg1NTc4OTY= | 5,231 | Support for HTTP/3 (QUIC) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1223984?v=4",
"events_url": "https://api.github.com/users/mikehwang/events{/privacy}",
"followers_url": "https://api.github.com/users/mikehwang/followers",
"following_url": "https://api.github.com/users/mikehwang/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2019-10-17T15:31:52Z | 2021-09-03T00:10:54Z | 2019-10-25T02:57:03Z | NONE | resolved | Is there currently a way to have requests to use HTTP/3 and thus QUIC as the transport protocol? If not, has there been discussion about supporting this in future releases?
Thank you | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5231/reactions"
} | https://api.github.com/repos/psf/requests/issues/5231/timeline | null | completed | null | null | false | [
"Hi mikehwang@, we don't have a way to support HTTP/3 or QUIC directly with Requests right now. I'd suggest taking a look at either the Python-Hyper project or httpx to see if they have plans for integrating that support."
] |
https://api.github.com/repos/psf/requests/issues/5230 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5230/labels{/name} | https://api.github.com/repos/psf/requests/issues/5230/comments | https://api.github.com/repos/psf/requests/issues/5230/events | https://github.com/psf/requests/pull/5230 | 507,797,007 | MDExOlB1bGxSZXF1ZXN0MzI4NzE1MTMx | 5,230 | #3070 Defaults on session level | {
"avatar_url": "https://avatars.githubusercontent.com/u/6348620?v=4",
"events_url": "https://api.github.com/users/FilipMalczak/events{/privacy}",
"followers_url": "https://api.github.com/users/FilipMalczak/followers",
"following_url": "https://api.github.com/users/FilipMalczak/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 1 | 2019-10-16T11:43:00Z | 2023-05-12T00:03:08Z | 2022-05-11T00:55:50Z | NONE | resolved | See #3070 and [this](https://stackoverflow.com/questions/41295142/is-there-a-way-to-globally-override-requests-timeout-setting). Also, compare #3341
TODO:
- [ ] docs for the session instance attributes
- [ ] tests for this attributes' usage
- [ ] decision on default value for timeout
-------------------------... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 29,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 29,
"url": "https://api.github.com/repos/psf/requests/issues/5230/reactions"
} | https://api.github.com/repos/psf/requests/issues/5230/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5230.diff",
"html_url": "https://github.com/psf/requests/pull/5230",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5230.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5230"
} | true | [
"I don't believe we'll be able to accept this. `timeout` was intentionally omitted from the Session class in Requests 2.x and we don't intend to add it within this major version."
] |
https://api.github.com/repos/psf/requests/issues/5229 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5229/labels{/name} | https://api.github.com/repos/psf/requests/issues/5229/comments | https://api.github.com/repos/psf/requests/issues/5229/events | https://github.com/psf/requests/issues/5229 | 507,728,405 | MDU6SXNzdWU1MDc3Mjg0MDU= | 5,229 | requests.utils.super_len() can't cope with tarfile members | {
"avatar_url": "https://avatars.githubusercontent.com/u/875184?v=4",
"events_url": "https://api.github.com/users/dimbleby/events{/privacy}",
"followers_url": "https://api.github.com/users/dimbleby/followers",
"following_url": "https://api.github.com/users/dimbleby/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2019-10-16T09:27:08Z | 2022-02-26T21:00:45Z | 2021-11-28T20:07:47Z | CONTRIBUTOR | resolved | ## Expected Result
POSTing a large file that I have extracted from a tarfile. I expect that `requests` should be able to determine the length of that file, set the `Content-Length` header, and upload it efficiently.
## Actual Result
`requests` fails to determine the file length, goes with `Transfer-Encoding: ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5229/reactions"
} | https://api.github.com/repos/psf/requests/issues/5229/timeline | null | completed | null | null | false | [
"I feel it should be raising unsupported exception when the underlying attribute doesn't have fileno. I have opened https://bugs.python.org/issue38572",
"Sounds reasonable, thanks - though obviously I hope that meanwhile we can get a workaround/fix here, per #5239.",
"Resolved with #5239"
] |
https://api.github.com/repos/psf/requests/issues/5228 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5228/labels{/name} | https://api.github.com/repos/psf/requests/issues/5228/comments | https://api.github.com/repos/psf/requests/issues/5228/events | https://github.com/psf/requests/issues/5228 | 506,320,521 | MDU6SXNzdWU1MDYzMjA1MjE= | 5,228 | num_connections is bigger than pool_maxsize | {
"avatar_url": "https://avatars.githubusercontent.com/u/56507765?v=4",
"events_url": "https://api.github.com/users/joripage/events{/privacy}",
"followers_url": "https://api.github.com/users/joripage/followers",
"following_url": "https://api.github.com/users/joripage/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2019-10-13T12:42:51Z | 2021-09-02T00:07:20Z | 2020-02-18T06:51:40Z | NONE | resolved | Hi,
I use requests.Session() to send a request in many threads. When timeout error occurs, I see num_connections increased and it's bigger than pool_maxsize.
Can you tell me if it is correct behaviour?
## Expected Result
num_connections is always less than pool_maxsize.
## Actual Result
num_connections ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5228/reactions"
} | https://api.github.com/repos/psf/requests/issues/5228/timeline | null | completed | null | null | false | [
"Hi @joripage,\r\n\r\nThis doesn't appear related to Requests or a defect in our software. I'd recommend seeking advice on a platform like StackOverflow. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/5227 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5227/labels{/name} | https://api.github.com/repos/psf/requests/issues/5227/comments | https://api.github.com/repos/psf/requests/issues/5227/events | https://github.com/psf/requests/issues/5227 | 506,156,376 | MDU6SXNzdWU1MDYxNTYzNzY= | 5,227 | request timeouts connect vs read - clarification needed | {
"avatar_url": "https://avatars.githubusercontent.com/u/6190824?v=4",
"events_url": "https://api.github.com/users/adithyaonline/events{/privacy}",
"followers_url": "https://api.github.com/users/adithyaonline/followers",
"following_url": "https://api.github.com/users/adithyaonline/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 4 | 2019-10-12T08:47:08Z | 2021-09-02T00:07:22Z | 2020-02-10T05:54:54Z | NONE | resolved | documentation reads :
`requests.get('https://github.com/', timeout=0.001)`
> timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for timeout seconds (more precisely, if no bytes have been received on the underlying socket for timeout ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5227/reactions"
} | https://api.github.com/repos/psf/requests/issues/5227/timeline | null | completed | null | null | false | [
"It expects a tuple in the format (connect timeout, read timeout) which you can see being used [here](https://github.com/psf/requests/blob/master/requests/adapters.py#L425)\r\n\r\nLn435 is what happens if only one value is passed (else).",
"hmm, then the documentation needs an update... \r\n\r\n`requests.get('htt... |
https://api.github.com/repos/psf/requests/issues/5226 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5226/labels{/name} | https://api.github.com/repos/psf/requests/issues/5226/comments | https://api.github.com/repos/psf/requests/issues/5226/events | https://github.com/psf/requests/pull/5226 | 505,503,188 | MDExOlB1bGxSZXF1ZXN0MzI2OTIzNzc3 | 5,226 | Fix duplicated idna requirement | {
"avatar_url": "https://avatars.githubusercontent.com/u/5607572?v=4",
"events_url": "https://api.github.com/users/Jamim/events{/privacy}",
"followers_url": "https://api.github.com/users/Jamim/followers",
"following_url": "https://api.github.com/users/Jamim/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 6 | 2019-10-10T20:49:41Z | 2021-08-29T00:07:00Z | 2020-02-18T15:16:12Z | NONE | resolved | Hello everyone,
The `idna` is in the `install_requires` already, so it makes sense to remove it from extra requirements.
Also, `poetry` has been confused by this duplicated requirement.
https://github.com/sdispater/poetry/issues/1449
Best regards! | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5226/reactions"
} | https://api.github.com/repos/psf/requests/issues/5226/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5226.diff",
"html_url": "https://github.com/psf/requests/pull/5226",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5226.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5226"
} | true | [
"Hello @nateprewitt,\r\nCould you please take a look at this PR?\r\nThank you!",
"Also looks to cause problems with recent setuptools/pip.",
"It looks like cryptography [removed its dependency of idna](https://github.com/pyca/cryptography/commit/7e422821b9f800f5345c37011c510dc9e76f552c), so we're free to remove... |
https://api.github.com/repos/psf/requests/issues/5225 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5225/labels{/name} | https://api.github.com/repos/psf/requests/issues/5225/comments | https://api.github.com/repos/psf/requests/issues/5225/events | https://github.com/psf/requests/pull/5225 | 505,159,923 | MDExOlB1bGxSZXF1ZXN0MzI2NjQ2MzAx | 5,225 | Give the body of the response when raising an exception for a 400 error. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1815251?v=4",
"events_url": "https://api.github.com/users/RubenGarcia/events{/privacy}",
"followers_url": "https://api.github.com/users/RubenGarcia/followers",
"following_url": "https://api.github.com/users/RubenGarcia/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2019-10-10T09:49:36Z | 2021-08-28T00:06:31Z | 2020-05-09T05:54:05Z | NONE | resolved | This makes debugging the reason for the error much easier, e.g. in keycloak / OpenID.
Before the patch:
400 Client Error: Bad Request for url: <url>
After the patch:
400 Client Error: Bad Request for url: <url>, response body is {"error":"unauthorized_client","error_description":"Invalid client secret"} | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5225/reactions"
} | https://api.github.com/repos/psf/requests/issues/5225/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5225.diff",
"html_url": "https://github.com/psf/requests/pull/5225",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5225.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5225"
} | true | [
"Hi @RubenGarcia,\r\n\r\nWe've reviewed this proposal in the past but there are a number of cases, both unintentional and intentional, where an unreasonable amount of data is sent back through a connection. In that case you may not be able to do anything useful with this information, or more severe negative implica... |
https://api.github.com/repos/psf/requests/issues/5224 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5224/labels{/name} | https://api.github.com/repos/psf/requests/issues/5224/comments | https://api.github.com/repos/psf/requests/issues/5224/events | https://github.com/psf/requests/issues/5224 | 504,608,266 | MDU6SXNzdWU1MDQ2MDgyNjY= | 5,224 | utf-8 chars in name of file in post requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/15328872?v=4",
"events_url": "https://api.github.com/users/FrostNecro/events{/privacy}",
"followers_url": "https://api.github.com/users/FrostNecro/followers",
"following_url": "https://api.github.com/users/FrostNecro/following{/other_user}",
"gists_url"... | [] | open | false | null | [] | null | 0 | 2019-10-09T12:07:41Z | 2019-10-09T12:08:22Z | null | NONE | null | I have some code like this:
``` python
files = {"file": ("some utf-8 chars like '№'", open("file.jpg", "rb"), "image/jpeg")}
r = requests.post("localhost", files=files)
```
and I receive broken jpg file (actually, 2x size of original)
## Expected Result
I expect to receive file.jpg
## Actual Result
... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5224/reactions"
} | https://api.github.com/repos/psf/requests/issues/5224/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5223 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5223/labels{/name} | https://api.github.com/repos/psf/requests/issues/5223/comments | https://api.github.com/repos/psf/requests/issues/5223/events | https://github.com/psf/requests/issues/5223 | 503,935,292 | MDU6SXNzdWU1MDM5MzUyOTI= | 5,223 | Running requests in parallel from a zip archive can create race condition when unpacking the cacerts.pem file | {
"avatar_url": "https://avatars.githubusercontent.com/u/35614?v=4",
"events_url": "https://api.github.com/users/tru/events{/privacy}",
"followers_url": "https://api.github.com/users/tru/followers",
"following_url": "https://api.github.com/users/tru/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 8 | 2019-10-08T09:34:58Z | 2021-10-05T01:21:46Z | 2021-07-07T00:14:52Z | NONE | resolved | We ran into a really crazy case and I understand this is a edge case but it might be worth fixing.
We started to see this backtrace in our CI:
```
[2019-10-08T08:01:13.655Z] File "/data/jenkins/postproc-asustor/204934530/conan/lib/conan-1.4.4-66-linux-py36.pyz/requests/api.py", line 75, in get
[2019-10-08T08:... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5223/reactions"
} | https://api.github.com/repos/psf/requests/issues/5223/timeline | null | completed | null | null | false | [
"This can be reproduced with running pip in parallel too.",
"Genuinely, it'd be best if there was a way not have to extract `cacerts.pem` from the zip file at all and be able to clean it up simply but that just doesn't exist. I've taken multiple approaches trying to fix this, and it's just not that simple to fix.... |
https://api.github.com/repos/psf/requests/issues/5222 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5222/labels{/name} | https://api.github.com/repos/psf/requests/issues/5222/comments | https://api.github.com/repos/psf/requests/issues/5222/events | https://github.com/psf/requests/issues/5222 | 503,125,998 | MDU6SXNzdWU1MDMxMjU5OTg= | 5,222 | Requests inexplicably aborts connection to https://dictionary.cambridge.org | {
"avatar_url": "https://avatars.githubusercontent.com/u/52673001?v=4",
"events_url": "https://api.github.com/users/abmyii/events{/privacy}",
"followers_url": "https://api.github.com/users/abmyii/followers",
"following_url": "https://api.github.com/users/abmyii/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2019-10-06T16:37:47Z | 2021-09-03T00:10:53Z | 2019-10-25T03:01:58Z | NONE | resolved | I also tested the same url with `urllib.request.urlopen` and it works fine.
## Expected Result
To get a connection to https://dictionary.cambridge.org.
## Actual Result
Requests fails with the error:
```
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionp... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5222/reactions"
} | https://api.github.com/repos/psf/requests/issues/5222/timeline | null | completed | null | null | false | [
"I don't understand much of what is happening at the lower level and I'm sure that is where the error is at (connection headers, ect.). I also came across this error which, if you could explain, I'd be much obliged:\r\n```\r\nurllib.request.urlopen('https://www.enotes.com')\r\n```\r\nGives the error:\r\n```\r\nTrac... |
https://api.github.com/repos/psf/requests/issues/5221 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5221/labels{/name} | https://api.github.com/repos/psf/requests/issues/5221/comments | https://api.github.com/repos/psf/requests/issues/5221/events | https://github.com/psf/requests/pull/5221 | 501,663,168 | MDExOlB1bGxSZXF1ZXN0MzIzODkyOTY0 | 5,221 | Change raise_for_status message to hide password in URL | {
"avatar_url": "https://avatars.githubusercontent.com/u/285063?v=4",
"events_url": "https://api.github.com/users/Overv/events{/privacy}",
"followers_url": "https://api.github.com/users/Overv/followers",
"following_url": "https://api.github.com/users/Overv/following{/other_user}",
"gists_url": "https://api.gi... | [] | open | false | null | [] | null | 4 | 2019-10-02T18:49:19Z | 2022-09-28T16:03:27Z | null | NONE | null | This PR fixes #5021 by replacing a password in the URL with asterisks.
Example:
```python
import requests
r = requests.get("http://foo:secret@httpbin.org/status/401")
r.raise_for_status()
```
Output:
```
Traceback (most recent call last):
File "5021.py", line 4, in <module>
r.raise_for_status... | null | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5221/reactions"
} | https://api.github.com/repos/psf/requests/issues/5221/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5221.diff",
"html_url": "https://github.com/psf/requests/pull/5221",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5221.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5221"
} | true | [
"@jackyzha0 @barroca I'll have time to get back to this next weekend.",
"@Overv I opened a similar PR for this that might help you to write a test #5244 let me know if you need help.",
"I've added a unit test.",
"Running into this same issue for requests with `client_id` and `client_secret` parameters in the ... |
https://api.github.com/repos/psf/requests/issues/5220 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5220/labels{/name} | https://api.github.com/repos/psf/requests/issues/5220/comments | https://api.github.com/repos/psf/requests/issues/5220/events | https://github.com/psf/requests/pull/5220 | 501,644,975 | MDExOlB1bGxSZXF1ZXN0MzIzODc4MDE3 | 5,220 | Fix connection pool managers not taking varying TLS parameters into account | {
"avatar_url": "https://avatars.githubusercontent.com/u/285063?v=4",
"events_url": "https://api.github.com/users/Overv/events{/privacy}",
"followers_url": "https://api.github.com/users/Overv/followers",
"following_url": "https://api.github.com/users/Overv/following{/other_user}",
"gists_url": "https://api.gi... | [] | open | false | null | [] | null | 0 | 2019-10-02T18:12:03Z | 2022-01-03T15:28:37Z | null | NONE | null | This PR fixes #5140 and #4325 by returning different connection and proxy pools based on the connection parameters for the current request.
I tested it with the following code:
```python
import requests
session = requests.Session()
print(session.get('https://client.badssl.com/'))
print(session.get('https:... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5220/reactions"
} | https://api.github.com/repos/psf/requests/issues/5220/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5220.diff",
"html_url": "https://github.com/psf/requests/pull/5220",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5220.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5220"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5219 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5219/labels{/name} | https://api.github.com/repos/psf/requests/issues/5219/comments | https://api.github.com/repos/psf/requests/issues/5219/events | https://github.com/psf/requests/pull/5219 | 501,113,140 | MDExOlB1bGxSZXF1ZXN0MzIzNDQ5ODY5 | 5,219 | Change requests.ConnectionError to inherit standard ConnectionError | {
"avatar_url": "https://avatars.githubusercontent.com/u/285063?v=4",
"events_url": "https://api.github.com/users/Overv/events{/privacy}",
"followers_url": "https://api.github.com/users/Overv/followers",
"following_url": "https://api.github.com/users/Overv/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 2 | 2019-10-01T19:58:06Z | 2023-05-12T00:03:09Z | 2022-05-11T00:53:03Z | NONE | resolved | This PR changes the requests version of `ConnectionError` to also inherit from the built-in `ConnectionError`, see #5162 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5219/reactions"
} | https://api.github.com/repos/psf/requests/issues/5219/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5219.diff",
"html_url": "https://github.com/psf/requests/pull/5219",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5219.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5219"
} | true | [
"This PR doesn't solve the issue that `requests.exceptions.ConnectionError` redefines the builtin `ConnectionError`. What about renaming this to `RequestsConnectionError` or another name altogether?\r\n\r\nAlso - does this actually produce the result you're expecting? You expected:\r\n\r\n(<class 'requests.exceptio... |
https://api.github.com/repos/psf/requests/issues/5218 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5218/labels{/name} | https://api.github.com/repos/psf/requests/issues/5218/comments | https://api.github.com/repos/psf/requests/issues/5218/events | https://github.com/psf/requests/issues/5218 | 501,106,361 | MDU6SXNzdWU1MDExMDYzNjE= | 5,218 | sphinx.ext.autodoc intersphinx_mapping for python-requests throws SSLError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1781964?v=4",
"events_url": "https://api.github.com/users/serbant/events{/privacy}",
"followers_url": "https://api.github.com/users/serbant/followers",
"following_url": "https://api.github.com/users/serbant/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 4 | 2019-10-01T19:44:00Z | 2021-08-28T00:06:11Z | 2020-11-10T00:44:19Z | NONE | resolved | Summary.
Sphinx documentation 'make html' throws warning about https://2.python-requests.org/en/master/objects.inv
## Expected Result
Sphinx make can pull the objects.inv without problems
## Actual Result
```
(phsa_venv) phsa@lvmsocq01:~/p_soc_auto/docs$ make html
Running Sphinx v2.1.2
loading pickled... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5218/reactions"
} | https://api.github.com/repos/psf/requests/issues/5218/timeline | null | completed | null | null | false | [
"Isn't this a duplicate of #5212 ?",
"Fixed by using https://requests.readthedocs.io/en/master/ for intersphinx configuration.",
"I don't see a point in recent history for Requests where we've had an intersphinx_mapping like this. Assuming this is one you've created, Natim's response is correct. We recommend us... |
https://api.github.com/repos/psf/requests/issues/5217 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5217/labels{/name} | https://api.github.com/repos/psf/requests/issues/5217/comments | https://api.github.com/repos/psf/requests/issues/5217/events | https://github.com/psf/requests/issues/5217 | 501,092,513 | MDU6SXNzdWU1MDEwOTI1MTM= | 5,217 | Requests does not preserve supplied CookiePolicy or CookieJar | {
"avatar_url": "https://avatars.githubusercontent.com/u/52045989?v=4",
"events_url": "https://api.github.com/users/jandersen-plaid/events{/privacy}",
"followers_url": "https://api.github.com/users/jandersen-plaid/followers",
"following_url": "https://api.github.com/users/jandersen-plaid/following{/other_user}"... | [] | open | false | null | [] | null | 0 | 2019-10-01T19:14:46Z | 2019-10-01T19:14:46Z | null | NONE | null | Recently, I have run into some niche issues with cookies where servers are sending cookies that they themselves do not accept. An example is in https://github.com/psf/requests/issues/4592 or where a `'Set-Cookie'` header has a value that contains ASCII control codes -- `r'[\x01-\x1F\x7F]'`. I fully accept that it is no... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5217/reactions"
} | https://api.github.com/repos/psf/requests/issues/5217/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5216 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5216/labels{/name} | https://api.github.com/repos/psf/requests/issues/5216/comments | https://api.github.com/repos/psf/requests/issues/5216/events | https://github.com/psf/requests/pull/5216 | 499,937,156 | MDExOlB1bGxSZXF1ZXN0MzIyNTE4MjQx | 5,216 | documentation link fixed | {
"avatar_url": "https://avatars.githubusercontent.com/u/1415031?v=4",
"events_url": "https://api.github.com/users/Leetcore/events{/privacy}",
"followers_url": "https://api.github.com/users/Leetcore/followers",
"following_url": "https://api.github.com/users/Leetcore/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2019-09-29T16:11:17Z | 2021-08-30T00:06:36Z | 2019-09-30T09:52:29Z | CONTRIBUTOR | resolved | websites is down, link to requests.readthedocs.io | {
"avatar_url": "https://avatars.githubusercontent.com/u/1200832?v=4",
"events_url": "https://api.github.com/users/ewdurbin/events{/privacy}",
"followers_url": "https://api.github.com/users/ewdurbin/followers",
"following_url": "https://api.github.com/users/ewdurbin/following{/other_user}",
"gists_url": "http... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5216/reactions"
} | https://api.github.com/repos/psf/requests/issues/5216/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5216.diff",
"html_url": "https://github.com/psf/requests/pull/5216",
"merged_at": "2019-09-30T09:52:29Z",
"patch_url": "https://github.com/psf/requests/pull/5216.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5216"
} | true | [
"Thank you @Leetcore, until we can sort out what happened with python-requests.org this looks good.",
"@ewdurbin also see #5236"
] |
https://api.github.com/repos/psf/requests/issues/5215 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5215/labels{/name} | https://api.github.com/repos/psf/requests/issues/5215/comments | https://api.github.com/repos/psf/requests/issues/5215/events | https://github.com/psf/requests/issues/5215 | 499,662,944 | MDU6SXNzdWU0OTk2NjI5NDQ= | 5,215 | verify=False causing memory leak | {
"avatar_url": "https://avatars.githubusercontent.com/u/9195301?v=4",
"events_url": "https://api.github.com/users/tallona/events{/privacy}",
"followers_url": "https://api.github.com/users/tallona/followers",
"following_url": "https://api.github.com/users/tallona/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 13 | 2019-09-27T21:39:37Z | 2021-12-03T21:00:30Z | 2021-09-04T20:09:26Z | NONE | resolved | When I use `verify=False` in `requests.get` the memory usage creeps up over time until all memory is used up, if I remove `verify=False` then the memory usage is stable at approximately about 14.2-14.9mb over time.
I've changed the request to use `verify=True` and memory usage is stable at the expected usage I've se... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5215/reactions"
} | https://api.github.com/repos/psf/requests/issues/5215/timeline | null | completed | null | null | false | [
"@tallona Have you tried the same experiment with straight urllib3? I ask because it seems the verify code just reduces to this function where, if `verify = False`, then `conn.ca_certs` is not set on the urllib3 Connection object.\r\nhttps://github.com/psf/requests/blob/2e0f38c7913a1e248b32030f7c8c00defd365b08/requ... |
https://api.github.com/repos/psf/requests/issues/5214 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5214/labels{/name} | https://api.github.com/repos/psf/requests/issues/5214/comments | https://api.github.com/repos/psf/requests/issues/5214/events | https://github.com/psf/requests/issues/5214 | 499,154,249 | MDU6SXNzdWU0OTkxNTQyNDk= | 5,214 | Website and documentation are offline | {
"avatar_url": "https://avatars.githubusercontent.com/u/5641900?v=4",
"events_url": "https://api.github.com/users/thedoc31/events{/privacy}",
"followers_url": "https://api.github.com/users/thedoc31/followers",
"following_url": "https://api.github.com/users/thedoc31/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 14 | 2019-09-26T23:01:44Z | 2021-11-10T09:02:12Z | 2021-08-12T06:59:35Z | NONE | resolved | Looks like www.python-requests.org and docs.python-requests.org are redirecting to https://2.python-requests.org and failing SSL negotiation, making the site appear down. Google links are all dead, documentation links don't work, etc.
http://2.python-requests.org redirects to https://requests.kennethreitz.org/en/mas... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 16,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 16,
"url": "https://api.github.com/repos/psf/requests/issues/5214/reactions"
} | https://api.github.com/repos/psf/requests/issues/5214/timeline | null | completed | null | null | false | [
"My first Google result is 2.python-requests.org, which is down. Came here to report this.",
"👍 Same here\r\n\r\nBtw, the new logo is cool AF. Kudos. ",
"https://requests.readthedocs.io/en/master/ is up.\r\n\r\nhttps://requests.kennethreitz.org/en/master/ is up.\r\n\r\nFrom @kennethreitz https://twitter.com/k... |
https://api.github.com/repos/psf/requests/issues/5213 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5213/labels{/name} | https://api.github.com/repos/psf/requests/issues/5213/comments | https://api.github.com/repos/psf/requests/issues/5213/events | https://github.com/psf/requests/issues/5213 | 498,934,456 | MDU6SXNzdWU0OTg5MzQ0NTY= | 5,213 | zlib.error: Error -3 while decompressing data: invalid distance too far back | {
"avatar_url": "https://avatars.githubusercontent.com/u/33418824?v=4",
"events_url": "https://api.github.com/users/zablah/events{/privacy}",
"followers_url": "https://api.github.com/users/zablah/followers",
"following_url": "https://api.github.com/users/zablah/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2019-09-26T14:46:56Z | 2021-09-04T00:06:09Z | 2019-09-26T17:16:01Z | NONE | resolved | ## Expected Result
I installed requests on raspberry pi and every thing run good but suddenly I can't start requests module and I got the following error
## Reproduction Steps
```python
import requests
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dis... | {
"avatar_url": "https://avatars.githubusercontent.com/u/33418824?v=4",
"events_url": "https://api.github.com/users/zablah/events{/privacy}",
"followers_url": "https://api.github.com/users/zablah/followers",
"following_url": "https://api.github.com/users/zablah/following{/other_user}",
"gists_url": "https://a... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5213/reactions"
} | https://api.github.com/repos/psf/requests/issues/5213/timeline | null | completed | null | null | false | [
"`python -m pip freeze` might be useful to debug this issue. It looks like a file is getting decompressed in a way that doesn't work on a 32 bit machine perhaps?",
"I solve this issue by upgrade setuptools\r\n```\r\npip install --upgrade setuptools\r\n```"
] |
https://api.github.com/repos/psf/requests/issues/5212 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5212/labels{/name} | https://api.github.com/repos/psf/requests/issues/5212/comments | https://api.github.com/repos/psf/requests/issues/5212/events | https://github.com/psf/requests/issues/5212 | 497,983,716 | MDU6SXNzdWU0OTc5ODM3MTY= | 5,212 | URL in readme (https://2.python-requests.org/) is http only | {
"avatar_url": "https://avatars.githubusercontent.com/u/53452777?v=4",
"events_url": "https://api.github.com/users/chmreid/events{/privacy}",
"followers_url": "https://api.github.com/users/chmreid/followers",
"following_url": "https://api.github.com/users/chmreid/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 13 | 2019-09-25T00:19:36Z | 2021-09-03T00:10:53Z | 2019-10-25T03:02:55Z | CONTRIBUTOR | resolved | The URL `//2.python-requests.org/` (which is in the readme) automatically resolves to `https://2.python-requests.org` which is down (there is no HTTPS version of the site). The HTTP version of the site, `http://2.python-requests.org`, is fine.
## Expected Result
I expect that when I click the link in the readme, ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 8,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 8,
"url": "https://api.github.com/repos/psf/requests/issues/5212/reactions"
} | https://api.github.com/repos/psf/requests/issues/5212/timeline | null | completed | null | null | false | [
"I moved the site to requests.kennethreitz.org, in preparation to it being requests.psf.org (or something similar, ideally).",
"Can you fix up the redirect from `docs.pyhon-requests.org' so that it doesn't redirect to a URL that cannot work? \r\n\r\n`http://docs.python-requests.org/en/master/objects.inv` -> `http... |
https://api.github.com/repos/psf/requests/issues/5211 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5211/labels{/name} | https://api.github.com/repos/psf/requests/issues/5211/comments | https://api.github.com/repos/psf/requests/issues/5211/events | https://github.com/psf/requests/issues/5211 | 497,948,210 | MDU6SXNzdWU0OTc5NDgyMTA= | 5,211 | Clarification of timeline for removing Python 2.7 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/842790?v=4",
"events_url": "https://api.github.com/users/brainwane/events{/privacy}",
"followers_url": "https://api.github.com/users/brainwane/followers",
"following_url": "https://api.github.com/users/brainwane/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 3 | 2019-09-24T22:08:43Z | 2021-08-30T00:06:20Z | 2020-01-09T17:55:20Z | CONTRIBUTOR | resolved | Hi, all. I'm trying to update some documentation regarding the [sunset/"end of life"/EOL of Python 2.x](https://www.python.org/doc/sunset-python-2/) and ran into a question regarding Requests. Could you confirm that Requests does NOT expect to drop support for Python 2.7 in 2020?
Context: https://github.com/python3s... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5211/reactions"
} | https://api.github.com/repos/psf/requests/issues/5211/timeline | null | completed | null | null | false | [
"Hi @brainwane, thanks for reaching out on this. The quote above is correct, we don't have immediate plans to remove support for 2.7 from Requests. The earliest time we'd be able to remove support for 2.7 would be after pip had stopped support, but I'd expect around a 6 month ramp down after that. We'll make sure w... |
https://api.github.com/repos/psf/requests/issues/5210 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5210/labels{/name} | https://api.github.com/repos/psf/requests/issues/5210/comments | https://api.github.com/repos/psf/requests/issues/5210/events | https://github.com/psf/requests/pull/5210 | 497,268,276 | MDExOlB1bGxSZXF1ZXN0MzIwNDMyMzM5 | 5,210 | Session instance `verify` precedence over REQUESTS_CA_BUNDLE | {
"avatar_url": "https://avatars.githubusercontent.com/u/636320?v=4",
"events_url": "https://api.github.com/users/fopina/events{/privacy}",
"followers_url": "https://api.github.com/users/fopina/followers",
"following_url": "https://api.github.com/users/fopina/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 5 | 2019-09-23T18:55:15Z | 2023-04-13T00:02:59Z | 2022-04-12T18:33:39Z | NONE | resolved | To fix #5209 (more details in the issue)
Results for the [newly-added test](https://github.com/fopina/requests/blob/ca_cert_instance_versus_env/tests/test_requests.py#L1946)
```
➜ git checkout master
➜ git checkout ca_cert_instance_versus_env -- tests/test_requests.py
➜ pipenv run py.test tests/test_reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/636320?v=4",
"events_url": "https://api.github.com/users/fopina/events{/privacy}",
"followers_url": "https://api.github.com/users/fopina/followers",
"following_url": "https://api.github.com/users/fopina/following{/other_user}",
"gists_url": "https://api... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5210/reactions"
} | https://api.github.com/repos/psf/requests/issues/5210/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5210.diff",
"html_url": "https://github.com/psf/requests/pull/5210",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5210.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5210"
} | true | [
"Any reason to not merge this simple fix ?",
"@Patazerty \r\n\r\n1. Doesn't look like it would merge cleanly\r\n1. Is documented as the behaviour that's unfortunate but not fixable until a major version bump due to a strict backwards compatibility policy\r\n",
"@sigmavirus24 I think that if a PR from 10 months ... |
https://api.github.com/repos/psf/requests/issues/5209 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5209/labels{/name} | https://api.github.com/repos/psf/requests/issues/5209/comments | https://api.github.com/repos/psf/requests/issues/5209/events | https://github.com/psf/requests/issues/5209 | 497,260,366 | MDU6SXNzdWU0OTcyNjAzNjY= | 5,209 | REQUESTS_CA_BUNDLE overrides request.Session verify property | {
"avatar_url": "https://avatars.githubusercontent.com/u/636320?v=4",
"events_url": "https://api.github.com/users/fopina/events{/privacy}",
"followers_url": "https://api.github.com/users/fopina/followers",
"following_url": "https://api.github.com/users/fopina/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2019-09-23T18:37:38Z | 2021-11-10T08:00:29Z | 2021-08-12T07:01:09Z | NONE | resolved | When `REQUESTS_CA_BUNDLE` is defined, the CA certificate passed to `requests.Session` constructor is overridden when `requests.Session.request` is called.
Guilty method/lines:
https://github.com/psf/requests/blob/master/requests/sessions.py#L694-L710
## Expected Result
I would expect for the priority to be:
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5209/reactions"
} | https://api.github.com/repos/psf/requests/issues/5209/timeline | null | completed | null | null | false | [
"Same issues I presume:\r\nhttps://github.com/psf/requests/issues/4938\r\nhttps://github.com/home-assistant/home-assistant-cli/issues/184\r\n\r\nHad also opened a pull request, hopefully one of them gets merged in. This is a tiresome issue.\r\nhttps://github.com/psf/requests/pull/5172",
"This looks like a duplica... |
https://api.github.com/repos/psf/requests/issues/5208 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5208/labels{/name} | https://api.github.com/repos/psf/requests/issues/5208/comments | https://api.github.com/repos/psf/requests/issues/5208/events | https://github.com/psf/requests/pull/5208 | 497,255,890 | MDExOlB1bGxSZXF1ZXN0MzIwNDIyMjI1 | 5,208 | Part II: The Principle of Polarity | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2019-09-23T18:27:34Z | 2021-08-30T00:06:38Z | 2019-09-23T20:08:41Z | CONTRIBUTOR | resolved | Love & Hated appear orthogonal, yet are extracted from the same substance & essences. The opposite of Love is not Hatred — but Apathy.
> Everything is dual; Everything has poles; Everything has its pair of opposites; Like and unlike are the same; Opposites are identical in nature, but different in degree; Extremes m... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5208/reactions"
} | https://api.github.com/repos/psf/requests/issues/5208/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5208.diff",
"html_url": "https://github.com/psf/requests/pull/5208",
"merged_at": "2019-09-23T20:08:41Z",
"patch_url": "https://github.com/psf/requests/pull/5208.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5208"
} | true | [
"Part III is a :sparkles: :cake: :sparkles:"
] |
https://api.github.com/repos/psf/requests/issues/5207 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5207/labels{/name} | https://api.github.com/repos/psf/requests/issues/5207/comments | https://api.github.com/repos/psf/requests/issues/5207/events | https://github.com/psf/requests/pull/5207 | 497,133,936 | MDExOlB1bGxSZXF1ZXN0MzIwMzIzOTU1 | 5,207 | Test on Python 3.8 beta | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2019-09-23T14:29:26Z | 2021-08-30T00:06:38Z | 2019-09-26T22:06:30Z | CONTRIBUTOR | resolved | Python 3.8.0 is due out in a month on 2019-10-21.
* https://www.python.org/dev/peps/pep-0569/#schedule
Test now to help test both Python 3.8 before it's released, and to make sure requests works on 3.8.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5207/reactions"
} | https://api.github.com/repos/psf/requests/issues/5207/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5207.diff",
"html_url": "https://github.com/psf/requests/pull/5207",
"merged_at": "2019-09-26T22:06:30Z",
"patch_url": "https://github.com/psf/requests/pull/5207.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5207"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5206 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5206/labels{/name} | https://api.github.com/repos/psf/requests/issues/5206/comments | https://api.github.com/repos/psf/requests/issues/5206/events | https://github.com/psf/requests/pull/5206 | 497,038,477 | MDExOlB1bGxSZXF1ZXN0MzIwMjQ1NDIx | 5,206 | Tidy community files | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2019-09-23T11:23:31Z | 2021-08-29T00:07:11Z | 2020-01-19T15:41:10Z | CONTRIBUTOR | resolved | These files can live under `.github/`, and there are already community files there.
Let's keep them together to keep the root directory a bit neater.
* https://help.github.com/en/articles/about-community-profiles-for-public-repositories
Also:
* Fix the image for Markdown not RST
* Fix headers, compare htt... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5206/reactions"
} | https://api.github.com/repos/psf/requests/issues/5206/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5206.diff",
"html_url": "https://github.com/psf/requests/pull/5206",
"merged_at": "2020-01-19T15:41:10Z",
"patch_url": "https://github.com/psf/requests/pull/5206.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5206"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5205 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5205/labels{/name} | https://api.github.com/repos/psf/requests/issues/5205/comments | https://api.github.com/repos/psf/requests/issues/5205/events | https://github.com/psf/requests/issues/5205 | 496,839,546 | MDU6SXNzdWU0OTY4Mzk1NDY= | 5,205 | Obtain all the content from https://free-ss.site/ by requests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/11155854?v=4",
"events_url": "https://api.github.com/users/hongyi-zhao/events{/privacy}",
"followers_url": "https://api.github.com/users/hongyi-zhao/followers",
"following_url": "https://api.github.com/users/hongyi-zhao/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2019-09-22T22:09:19Z | 2021-09-03T00:10:53Z | 2019-10-25T03:13:01Z | NONE | resolved | Hi,
I try to obtain the content from https://free-ss.site/ by requests.
But it seems that the above tools cannot get all of the content as the
stuff obtained by the firefox.
Is is possible to get all of the content just as the results via firefox
for this website by using requests?
Regards | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5205/reactions"
} | https://api.github.com/repos/psf/requests/issues/5205/timeline | null | completed | null | null | false | [
"Not necessarily. Reference https://github.com/psf/requests/issues/5189",
"@hongyi-zhao, Requests is not a browser, it's an HTTP client. It won't perform asynchronous calls or evaluate scripts in response bodies. I believe the issue you're hitting may be better solved with something like Selenium or Ghost.js."
] |
https://api.github.com/repos/psf/requests/issues/5204 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5204/labels{/name} | https://api.github.com/repos/psf/requests/issues/5204/comments | https://api.github.com/repos/psf/requests/issues/5204/events | https://github.com/psf/requests/issues/5204 | 496,059,064 | MDU6SXNzdWU0OTYwNTkwNjQ= | 5,204 | SSL: CERTIFICATE_VERIFY_FAILED with urllib 1.25.4 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1697670?v=4",
"events_url": "https://api.github.com/users/xNinjaKittyx/events{/privacy}",
"followers_url": "https://api.github.com/users/xNinjaKittyx/followers",
"following_url": "https://api.github.com/users/xNinjaKittyx/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 3 | 2019-09-19T22:41:26Z | 2021-09-04T00:06:11Z | 2019-09-20T01:33:30Z | NONE | resolved | Have a bunch of code using verify=False because it's a local server with no certificate.
Fails with something like:
```
requests.exceptions.SSLError: HTTPSConnectionPool(host='hostname', port=80): Max retries exceeded with url: /api (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate veri... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5204/reactions"
} | https://api.github.com/repos/psf/requests/issues/5204/timeline | null | completed | null | null | false | [
"Thanks for opening a ticket @xNinjaKittyx. The issue is being tracked in urllib3 at urllib3/urllib3#1682. We’ll leave this open for visibility until the issue is resolved.",
"This issue is resolved in urllib3 1.25.5.",
"Thanks Seth! I’ll close this out then."
] |
https://api.github.com/repos/psf/requests/issues/5203 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5203/labels{/name} | https://api.github.com/repos/psf/requests/issues/5203/comments | https://api.github.com/repos/psf/requests/issues/5203/events | https://github.com/psf/requests/issues/5203 | 495,868,459 | MDU6SXNzdWU0OTU4Njg0NTk= | 5,203 | Re-consider the occult imagery. | {
"avatar_url": "https://avatars.githubusercontent.com/u/92340?v=4",
"events_url": "https://api.github.com/users/antlong/events{/privacy}",
"followers_url": "https://api.github.com/users/antlong/followers",
"following_url": "https://api.github.com/users/antlong/following{/other_user}",
"gists_url": "https://a... | [
{
"color": "fbca04",
"default": false,
"description": "",
"id": 1576621295,
"name": "silly-but-understandable",
"node_id": "MDU6TGFiZWwxNTc2NjIxMjk1",
"url": "https://api.github.com/repos/psf/requests/labels/silly-but-understandable"
}
] | closed | true | null | [] | null | 22 | 2019-09-19T15:19:22Z | 2021-12-01T02:14:23Z | 2019-09-21T17:16:29Z | NONE | resolved | The occult logo evokes strong emotion in viewers of certain faiths. An uninitiated looking for [more information](https://gnosticteachings.org/books-by-samael-aun-weor/the-doomed-aryan-race/1305-the-caduceus-of-mercury.html) on the logo would [easily](http://www.occultopedia.com/c/caduceus.htm) come to this [informatio... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 2,
"-1": 15,
"confused": 0,
"eyes": 3,
"heart": 0,
"hooray": 0,
"laugh": 7,
"rocket": 0,
"total_count": 27,
"url": "https://api.github.com/repos/psf/requests/issues/5203/reactions"
} | https://api.github.com/repos/psf/requests/issues/5203/timeline | null | completed | null | null | false | [
"Its a pretty common logo used by hospitals, ambulances and in healthcare. Its a common symbol of medicine in the US. At least, that's the first thing I was reminded of when I saw the logo. Google image search for `logo hospital` shows many similar images...\r\n\r\nhttps://www.google.com/search?q=logo+hospital&rlz=... |
https://api.github.com/repos/psf/requests/issues/5202 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5202/labels{/name} | https://api.github.com/repos/psf/requests/issues/5202/comments | https://api.github.com/repos/psf/requests/issues/5202/events | https://github.com/psf/requests/issues/5202 | 495,858,434 | MDU6SXNzdWU0OTU4NTg0MzQ= | 5,202 | Multipart post of image does not get the same result in requests as in Insomnia/Postman | {
"avatar_url": "https://avatars.githubusercontent.com/u/28776681?v=4",
"events_url": "https://api.github.com/users/ClerkCunt/events{/privacy}",
"followers_url": "https://api.github.com/users/ClerkCunt/followers",
"following_url": "https://api.github.com/users/ClerkCunt/following{/other_user}",
"gists_url": "... | [] | open | false | null | [] | null | 3 | 2019-09-19T15:02:49Z | 2020-04-07T23:23:16Z | null | NONE | null | I am trying to upload a .jpg file to a server using HTTP POST with the requests library in Python 3.7.
Target URL has some PHP code that handles the upload, taking 'fileToUpload' as the multipart variable.
I tried putting the request into a **with-statemen**t for opening the file, changing the **data=files to fil... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5202/reactions"
} | https://api.github.com/repos/psf/requests/issues/5202/timeline | null | null | null | null | false | [
"Just a thought on how to debug the issue: create a preparedRequest() and then .send() that. If the same behavior arises, then just investigate what's in the prepared request and see if the binary data matches what you wish to send, etc.\r\nThis way you might be able to find a cut off point for where the code is ei... |
https://api.github.com/repos/psf/requests/issues/5201 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5201/labels{/name} | https://api.github.com/repos/psf/requests/issues/5201/comments | https://api.github.com/repos/psf/requests/issues/5201/events | https://github.com/psf/requests/pull/5201 | 495,763,435 | MDExOlB1bGxSZXF1ZXN0MzE5MjQ3Njg4 | 5,201 | Corrected "certianly" to "certainly" | {
"avatar_url": "https://avatars.githubusercontent.com/u/248982?v=4",
"events_url": "https://api.github.com/users/marcuse/events{/privacy}",
"followers_url": "https://api.github.com/users/marcuse/followers",
"following_url": "https://api.github.com/users/marcuse/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2019-09-19T12:20:24Z | 2021-08-30T00:06:40Z | 2019-09-19T12:22:25Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/248982?v=4",
"events_url": "https://api.github.com/users/marcuse/events{/privacy}",
"followers_url": "https://api.github.com/users/marcuse/followers",
"following_url": "https://api.github.com/users/marcuse/following{/other_user}",
"gists_url": "https://... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5201/reactions"
} | https://api.github.com/repos/psf/requests/issues/5201/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5201.diff",
"html_url": "https://github.com/psf/requests/pull/5201",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5201.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5201"
} | true | [
"Whoops, duplicate."
] | |
https://api.github.com/repos/psf/requests/issues/5200 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5200/labels{/name} | https://api.github.com/repos/psf/requests/issues/5200/comments | https://api.github.com/repos/psf/requests/issues/5200/events | https://github.com/psf/requests/pull/5200 | 495,693,970 | MDExOlB1bGxSZXF1ZXN0MzE5MTkwNzky | 5,200 | Fixed a tiny typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/1298583?v=4",
"events_url": "https://api.github.com/users/stuartmaxwell/events{/privacy}",
"followers_url": "https://api.github.com/users/stuartmaxwell/followers",
"following_url": "https://api.github.com/users/stuartmaxwell/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 1 | 2019-09-19T09:52:42Z | 2021-08-30T00:06:39Z | 2019-09-19T15:31:06Z | NONE | resolved | certianly -> certainly | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5200/reactions"
} | https://api.github.com/repos/psf/requests/issues/5200/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5200.diff",
"html_url": "https://github.com/psf/requests/pull/5200",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5200.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5200"
} | true | [
"Hi @stuartmaxwell, thanks for contributing to Requests. It looks like this is a duplicate of #5197 so I'm goin resolve this in favor of the original. Cheers!"
] |
https://api.github.com/repos/psf/requests/issues/5199 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5199/labels{/name} | https://api.github.com/repos/psf/requests/issues/5199/comments | https://api.github.com/repos/psf/requests/issues/5199/events | https://github.com/psf/requests/issues/5199 | 495,540,808 | MDU6SXNzdWU0OTU1NDA4MDg= | 5,199 | Python 2.7 Build Still Broken - Incompatible Requirements | {
"avatar_url": "https://avatars.githubusercontent.com/u/11529426?v=4",
"events_url": "https://api.github.com/users/AndTheDaysGoBy/events{/privacy}",
"followers_url": "https://api.github.com/users/AndTheDaysGoBy/followers",
"following_url": "https://api.github.com/users/AndTheDaysGoBy/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2019-09-19T02:34:41Z | 2021-09-04T00:06:12Z | 2019-09-19T15:42:15Z | NONE | resolved | E.g. looking at https://travis-ci.com/psf/requests/jobs/237028717 or some of the more recent builds, we notice that there are issues in installing dependencies during the Python 2.7 build. In particular, the issue arises due to attempting the install `more-itertools==7.2.0`.
Looking at https://pypi.org/simple/more-ite... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5199/reactions"
} | https://api.github.com/repos/psf/requests/issues/5199/timeline | null | completed | null | null | false | [
"Python 2.7 support is ending at the end of 2019. It might be better to just drop 2.7 support in requests too. https://pythonclock.org/",
"Hi @AndTheDaysGoBy, I've resolved the issue by pinning more-itertools at 5.x (a5f4f3c9), thanks for letting us know.\r\n\r\n@abaham, Requests has a large user base with varyin... |
https://api.github.com/repos/psf/requests/issues/5198 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5198/labels{/name} | https://api.github.com/repos/psf/requests/issues/5198/comments | https://api.github.com/repos/psf/requests/issues/5198/events | https://github.com/psf/requests/issues/5198 | 495,229,405 | MDU6SXNzdWU0OTUyMjk0MDU= | 5,198 | Timeout parameter is ignored when using HTTP proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/9042837?v=4",
"events_url": "https://api.github.com/users/jcarlosroldan/events{/privacy}",
"followers_url": "https://api.github.com/users/jcarlosroldan/followers",
"following_url": "https://api.github.com/users/jcarlosroldan/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 1 | 2019-09-18T13:32:50Z | 2021-09-04T00:06:12Z | 2019-09-18T13:52:40Z | NONE | resolved | When I use a HTTP proxy, the `timeout` parameter is ignored.
## Expected Result
The request raising a TimeoutError after a given time.
## Actual Result
A blocking request that sometimes finishes with a 200 code, after much more than the given timeout.
## Reproduction Steps
```python
import requests
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/9042837?v=4",
"events_url": "https://api.github.com/users/jcarlosroldan/events{/privacy}",
"followers_url": "https://api.github.com/users/jcarlosroldan/followers",
"following_url": "https://api.github.com/users/jcarlosroldan/following{/other_user}",
"gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5198/reactions"
} | https://api.github.com/repos/psf/requests/issues/5198/timeline | null | completed | null | null | false | [
"As I read in the requests reference: ```timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for timeout seconds (more precisely, if no bytes have been received on the underlying socket for timeout seconds).```\r\n\r\nSo it seems that a... |
https://api.github.com/repos/psf/requests/issues/5197 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5197/labels{/name} | https://api.github.com/repos/psf/requests/issues/5197/comments | https://api.github.com/repos/psf/requests/issues/5197/events | https://github.com/psf/requests/pull/5197 | 495,157,404 | MDExOlB1bGxSZXF1ZXN0MzE4NzU2Nzcy | 5,197 | Fix misspelling | {
"avatar_url": "https://avatars.githubusercontent.com/u/20659309?v=4",
"events_url": "https://api.github.com/users/peterschutt/events{/privacy}",
"followers_url": "https://api.github.com/users/peterschutt/followers",
"following_url": "https://api.github.com/users/peterschutt/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2019-09-18T11:09:41Z | 2021-08-30T00:06:40Z | 2019-09-19T15:29:30Z | CONTRIBUTOR | resolved | Just noticed a small typo! | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5197/reactions"
} | https://api.github.com/repos/psf/requests/issues/5197/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5197.diff",
"html_url": "https://github.com/psf/requests/pull/5197",
"merged_at": "2019-09-19T15:29:30Z",
"patch_url": "https://github.com/psf/requests/pull/5197.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5197"
} | true | [
"Thanks @5uper5hoot!"
] |
https://api.github.com/repos/psf/requests/issues/5196 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5196/labels{/name} | https://api.github.com/repos/psf/requests/issues/5196/comments | https://api.github.com/repos/psf/requests/issues/5196/events | https://github.com/psf/requests/issues/5196 | 494,624,604 | MDU6SXNzdWU0OTQ2MjQ2MDQ= | 5,196 | Host header is propagated on allow_redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/333846?v=4",
"events_url": "https://api.github.com/users/stitch/events{/privacy}",
"followers_url": "https://api.github.com/users/stitch/followers",
"following_url": "https://api.github.com/users/stitch/following{/other_user}",
"gists_url": "https://api... | [] | open | false | null | [] | null | 1 | 2019-09-17T13:28:37Z | 2019-10-01T19:37:13Z | null | NONE | null | ## Summary:
We use a combination of explicit IP addresses and Host header to contact a website explicitly via IPv4 and IPv6. The Host header is propagated in every redirect, which causes problems, as the Host header and the address will not match the visited address anymore. This might cause an infinite redirect lo... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5196/reactions"
} | https://api.github.com/repos/psf/requests/issues/5196/timeline | null | null | null | null | false | [
"There has been some discussion about this before in #4002."
] |
https://api.github.com/repos/psf/requests/issues/5195 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5195/labels{/name} | https://api.github.com/repos/psf/requests/issues/5195/comments | https://api.github.com/repos/psf/requests/issues/5195/events | https://github.com/psf/requests/pull/5195 | 494,596,859 | MDExOlB1bGxSZXF1ZXN0MzE4MzE3NDkx | 5,195 | Fix formatting of status code example | {
"avatar_url": "https://avatars.githubusercontent.com/u/15225902?v=4",
"events_url": "https://api.github.com/users/tesuji/events{/privacy}",
"followers_url": "https://api.github.com/users/tesuji/followers",
"following_url": "https://api.github.com/users/tesuji/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 0 | 2019-09-17T12:36:50Z | 2021-08-30T00:06:39Z | 2019-09-19T15:32:14Z | CONTRIBUTOR | resolved | Currently the [website][1] looks like this:

[1]: https://2.python-requests.org/en/master/api/#status-code-lookup | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5195/reactions"
} | https://api.github.com/repos/psf/requests/issues/5195/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5195.diff",
"html_url": "https://github.com/psf/requests/pull/5195",
"merged_at": "2019-09-19T15:32:14Z",
"patch_url": "https://github.com/psf/requests/pull/5195.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5195"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5194 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5194/labels{/name} | https://api.github.com/repos/psf/requests/issues/5194/comments | https://api.github.com/repos/psf/requests/issues/5194/events | https://github.com/psf/requests/issues/5194 | 493,850,293 | MDU6SXNzdWU0OTM4NTAyOTM= | 5,194 | json.dumps() fails for CookieJar deserialization after serialization | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | open | false | null | [] | null | 2 | 2019-09-16T05:14:12Z | 2019-10-03T12:59:17Z | null | NONE | null | Summary.
## Expected Result
Seamless serialization/deserialization to and from dictionary consisting of name:value pairs.
## Actual Result
Serialization succeeds but the object it returns is not a serialized dictionary. If one then tries to deserialize this resulting object using `json.loads(serialized_obj)... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5194/reactions"
} | https://api.github.com/repos/psf/requests/issues/5194/timeline | null | null | null | null | false | [
"I cannot reproduce this. In your first example I get an error during serialization (`Object of type RequestsCookieJar is not JSON serializable`).",
"@Overv Forgive me for the late reply. Since I've moved on to other projects, I don't have time to look into this again.\r\n\r\nIf you do not see this being a proble... |
https://api.github.com/repos/psf/requests/issues/5193 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5193/labels{/name} | https://api.github.com/repos/psf/requests/issues/5193/comments | https://api.github.com/repos/psf/requests/issues/5193/events | https://github.com/psf/requests/pull/5193 | 493,088,332 | MDExOlB1bGxSZXF1ZXN0MzE3MTM3MTg1 | 5,193 | Test under PyPy3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10340167?v=4",
"events_url": "https://api.github.com/users/johnthagen/events{/privacy}",
"followers_url": "https://api.github.com/users/johnthagen/followers",
"following_url": "https://api.github.com/users/johnthagen/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 17 | 2019-09-13T00:38:38Z | 2021-08-29T00:07:11Z | 2020-01-21T17:00:51Z | CONTRIBUTOR | resolved | `setup.py` and [`README.md`](https://github.com/psf/requests/blob/3c01cd708033295c65be3fd85dea9d453506c854/README.md#feature-support) explicitly list PyPy support. This PR extends testing to PyPy3 (which is currently Python 3.6-compatible). This will help ensure that support for PyPy3 does not regress. | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5193/reactions"
} | https://api.github.com/repos/psf/requests/issues/5193/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5193.diff",
"html_url": "https://github.com/psf/requests/pull/5193",
"merged_at": "2020-01-21T17:00:51Z",
"patch_url": "https://github.com/psf/requests/pull/5193.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5193"
} | true | [
"PyPy3 build failure seems to be due to a stall?\r\n\r\n```\r\n============================= test session starts ==============================\r\nplatform linux -- Python 3.6.1[pypy-7.1.1-beta], pytest-3.10.1, py-1.8.0, pluggy-0.11.0\r\nrootdir: /home/travis/build/psf/requests, inifile: pytest.ini\r\nplugins: xdis... |
https://api.github.com/repos/psf/requests/issues/5192 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5192/labels{/name} | https://api.github.com/repos/psf/requests/issues/5192/comments | https://api.github.com/repos/psf/requests/issues/5192/events | https://github.com/psf/requests/pull/5192 | 492,212,010 | MDExOlB1bGxSZXF1ZXN0MzE2NDI3NTMz | 5,192 | Fixes indent for rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/1926776?v=4",
"events_url": "https://api.github.com/users/0bsearch/events{/privacy}",
"followers_url": "https://api.github.com/users/0bsearch/followers",
"following_url": "https://api.github.com/users/0bsearch/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2019-09-11T12:39:11Z | 2021-08-30T00:06:41Z | 2019-09-11T13:06:07Z | NONE | resolved | Fixes formatting for https://2.python-requests.org/en/master/api/#status-code-lookup | {
"avatar_url": "https://avatars.githubusercontent.com/u/1926776?v=4",
"events_url": "https://api.github.com/users/0bsearch/events{/privacy}",
"followers_url": "https://api.github.com/users/0bsearch/followers",
"following_url": "https://api.github.com/users/0bsearch/following{/other_user}",
"gists_url": "http... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5192/reactions"
} | https://api.github.com/repos/psf/requests/issues/5192/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5192.diff",
"html_url": "https://github.com/psf/requests/pull/5192",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5192.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5192"
} | true | [
"Duplicates https://github.com/psf/requests/pull/5183"
] |
https://api.github.com/repos/psf/requests/issues/5191 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5191/labels{/name} | https://api.github.com/repos/psf/requests/issues/5191/comments | https://api.github.com/repos/psf/requests/issues/5191/events | https://github.com/psf/requests/issues/5191 | 490,401,273 | MDU6SXNzdWU0OTA0MDEyNzM= | 5,191 | SSL: CERTIFICATE_VERIFY_FAILED -> During handling of the above exception, another exception occurred: | {
"avatar_url": "https://avatars.githubusercontent.com/u/436227?v=4",
"events_url": "https://api.github.com/users/mattismyname/events{/privacy}",
"followers_url": "https://api.github.com/users/mattismyname/followers",
"following_url": "https://api.github.com/users/mattismyname/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2019-09-06T15:53:28Z | 2022-02-26T06:00:23Z | 2021-11-28T05:39:09Z | NONE | resolved | Not sure if you'd consider this a bug, but from user's standpoint it's annoying because it causes messages printed to console that we'd rather not have printed. When SSL cert verification fails, there are several levels of unhandled exceptions being thrown from inside other exception handler contexts, which results in ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5191/reactions"
} | https://api.github.com/repos/psf/requests/issues/5191/timeline | null | completed | null | null | false | [
"This is a side-effect or urlli3b retries, Requests can't do anything about this unfortunately. Closing this issue."
] |
https://api.github.com/repos/psf/requests/issues/5190 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5190/labels{/name} | https://api.github.com/repos/psf/requests/issues/5190/comments | https://api.github.com/repos/psf/requests/issues/5190/events | https://github.com/psf/requests/issues/5190 | 490,306,545 | MDU6SXNzdWU0OTAzMDY1NDU= | 5,190 | Requests does not handle http status 103 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5447220?v=4",
"events_url": "https://api.github.com/users/asavah/events{/privacy}",
"followers_url": "https://api.github.com/users/asavah/followers",
"following_url": "https://api.github.com/users/asavah/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2019-09-06T12:42:19Z | 2021-09-02T00:07:27Z | 2020-02-10T05:56:08Z | NONE | resolved | Summary.
## Expected Result
Requests is able to fetch html.
## Actual Result
Requests returns empty text/content if server makes use of 103 status code (checkpoint).
## Reproduction Steps
```python
import requests
r = requests.get("https://www.samba.org/ftp/talloc/")
print(r.status_code)
print... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5190/reactions"
} | https://api.github.com/repos/psf/requests/issues/5190/timeline | null | completed | null | null | false | [
"Hi @asavah, I can't seem to reproduce your issue with your example. I'm able to get a 200 correctly from that address. Tested in both 2.7 and 3.6.\r\n\r\n```\r\n200\r\n12612\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\r\n<html>\r\n <head>\r\n <title>Index of /ftp/talloc</title>\r\n </head>\r\n <b... |
https://api.github.com/repos/psf/requests/issues/5189 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5189/labels{/name} | https://api.github.com/repos/psf/requests/issues/5189/comments | https://api.github.com/repos/psf/requests/issues/5189/events | https://github.com/psf/requests/issues/5189 | 490,093,802 | MDU6SXNzdWU0OTAwOTM4MDI= | 5,189 | Requests module get method response says "JavaScript has been disabled on your browser" | {
"avatar_url": "https://avatars.githubusercontent.com/u/31011485?v=4",
"events_url": "https://api.github.com/users/vempasiddhartha/events{/privacy}",
"followers_url": "https://api.github.com/users/vempasiddhartha/followers",
"following_url": "https://api.github.com/users/vempasiddhartha/following{/other_user}"... | [] | closed | true | null | [] | null | 2 | 2019-09-06T02:18:14Z | 2021-09-04T00:06:11Z | 2019-09-19T23:04:35Z | NONE | resolved | Summary.
I have a url whose html response has to be assigned to a variable. In order to do that I am using the below code
resp = requests.get(url, timeout=05, verify=False)
html_output = resp.text
from the above html_output variable I am expecting the total html response of the page. However I am seeing a intermedi... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5189/reactions"
} | https://api.github.com/repos/psf/requests/issues/5189/timeline | null | completed | null | null | false | [
"Could be my ignorance, but to me that has nothing to do with requests. I.e. this has to with the page being able to render before responding to your GET. I.e. sort of like how you need selenium for certain tasks because it allows certain necessary browser functionalities to exist.",
"Hi @vempasiddhartha, \r\n\r\... |
https://api.github.com/repos/psf/requests/issues/5188 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5188/labels{/name} | https://api.github.com/repos/psf/requests/issues/5188/comments | https://api.github.com/repos/psf/requests/issues/5188/events | https://github.com/psf/requests/pull/5188 | 490,057,634 | MDExOlB1bGxSZXF1ZXN0MzE0NzM5Njc2 | 5,188 | Correct Travis 2.7 build | {
"avatar_url": "https://avatars.githubusercontent.com/u/50109?v=4",
"events_url": "https://api.github.com/users/gliptak/events{/privacy}",
"followers_url": "https://api.github.com/users/gliptak/followers",
"following_url": "https://api.github.com/users/gliptak/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2019-09-05T23:24:51Z | 2021-08-30T00:06:41Z | 2019-09-15T01:39:24Z | NONE | resolved | Signed-off-by: Gábor Lipták <gliptak@gmail.com>
failing build https://travis-ci.com/psf/requests/jobs/228220372 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5188/reactions"
} | https://api.github.com/repos/psf/requests/issues/5188/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5188.diff",
"html_url": "https://github.com/psf/requests/pull/5188",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5188.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5188"
} | true | [
"https://github.com/psf/requests/pull/5174",
"@kennethreitz please review",
"Hi @gliptak, this is a duplicate of #5174. We’re going to resolve this in favor of the outcome of that ticket. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/5187 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5187/labels{/name} | https://api.github.com/repos/psf/requests/issues/5187/comments | https://api.github.com/repos/psf/requests/issues/5187/events | https://github.com/psf/requests/pull/5187 | 489,717,382 | MDExOlB1bGxSZXF1ZXN0MzE0NDc0MTc5 | 5,187 | Fix encode data which has a dict value | {
"avatar_url": "https://avatars.githubusercontent.com/u/11171020?v=4",
"events_url": "https://api.github.com/users/sunshineplan/events{/privacy}",
"followers_url": "https://api.github.com/users/sunshineplan/followers",
"following_url": "https://api.github.com/users/sunshineplan/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 3 | 2019-09-05T12:23:04Z | 2021-08-28T00:06:25Z | 2020-07-21T06:45:04Z | NONE | resolved | If data contains a dict in dict value like {'a': 'b', 'c': {'d': 'e'}}, it will be encoded as a=b&c=d which is obviously wrong. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5187/reactions"
} | https://api.github.com/repos/psf/requests/issues/5187/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5187.diff",
"html_url": "https://github.com/psf/requests/pull/5187",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5187.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5187"
} | true | [
"requests.post('https://httpbin.org/post', data={'a': 'b', 'c': {'d': 'e'}}).text\r\n\r\n```\r\n{\r\n \"args\": {},\r\n \"data\": \"\",\r\n \"files\": {},\r\n \"form\": {\r\n \"a\": \"b\",\r\n \"c\": \"d\"\r\n },\r\n \"headers\": {\r\n \"Accept\": \"*/*\",\r\n \"Accept-Encoding\": \"gzip, deflate\... |
https://api.github.com/repos/psf/requests/issues/5186 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5186/labels{/name} | https://api.github.com/repos/psf/requests/issues/5186/comments | https://api.github.com/repos/psf/requests/issues/5186/events | https://github.com/psf/requests/pull/5186 | 489,002,190 | MDExOlB1bGxSZXF1ZXN0MzEzOTA3Mjgx | 5,186 | defense programming to convert args from string to list | {
"avatar_url": "https://avatars.githubusercontent.com/u/5009485?v=4",
"events_url": "https://api.github.com/users/magus0219/events{/privacy}",
"followers_url": "https://api.github.com/users/magus0219/followers",
"following_url": "https://api.github.com/users/magus0219/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2019-09-04T07:58:19Z | 2021-08-29T00:06:54Z | 2020-05-09T05:57:26Z | NONE | resolved | fix #5180 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5186/reactions"
} | https://api.github.com/repos/psf/requests/issues/5186/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5186.diff",
"html_url": "https://github.com/psf/requests/pull/5186",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5186.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5186"
} | true | [
"Hi @magus0219, It's not immediately clear what the goal of this PR is. We have a Makefile setup and instructions for running tests in the documentation for correct usage of the testing infrastructure. I'm going to close this for now but let us know if we're missing something."
] |
https://api.github.com/repos/psf/requests/issues/5185 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5185/labels{/name} | https://api.github.com/repos/psf/requests/issues/5185/comments | https://api.github.com/repos/psf/requests/issues/5185/events | https://github.com/psf/requests/issues/5185 | 488,930,661 | MDU6SXNzdWU0ODg5MzA2NjE= | 5,185 | confusing error for bad timeout value | {
"avatar_url": "https://avatars.githubusercontent.com/u/1731829?v=4",
"events_url": "https://api.github.com/users/bennn/events{/privacy}",
"followers_url": "https://api.github.com/users/bennn/followers",
"following_url": "https://api.github.com/users/bennn/following{/other_user}",
"gists_url": "https://api.g... | [] | open | false | null | [] | null | 0 | 2019-09-04T04:16:48Z | 2019-09-04T04:16:48Z | null | NONE | null | Calling `requests.get(...., timeout=X)` with a bad value for `X` causes `urllib3` to throw an exception.
If `X` is a tuple, then `requests` raises its own exception too (good!).
If not, then `requests` doesn't say that it got a bad timeout value.
#5017 suggested a fix, but was closed
## Expected Result
... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5185/reactions"
} | https://api.github.com/repos/psf/requests/issues/5185/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5184 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5184/labels{/name} | https://api.github.com/repos/psf/requests/issues/5184/comments | https://api.github.com/repos/psf/requests/issues/5184/events | https://github.com/psf/requests/issues/5184 | 488,819,667 | MDU6SXNzdWU0ODg4MTk2Njc= | 5,184 | different header handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/14077066?v=4",
"events_url": "https://api.github.com/users/obelix05/events{/privacy}",
"followers_url": "https://api.github.com/users/obelix05/followers",
"following_url": "https://api.github.com/users/obelix05/following{/other_user}",
"gists_url": "htt... | [] | open | false | null | [] | null | 0 | 2019-09-03T20:57:53Z | 2019-09-03T21:02:24Z | null | NONE | null | There is a difference between the `requests.Request.prepare()` call and the `requests.Session().send()` call. I would like to explain a little:
When a `requests.Session()` is initialized, different `default_headers` are set ('Accept-Encoding', 'Accept' and 'Connection'). Such a session is also initialized by `requests... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5184/reactions"
} | https://api.github.com/repos/psf/requests/issues/5184/timeline | null | null | null | null | false | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.