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/6419 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6419/labels{/name} | https://api.github.com/repos/psf/requests/issues/6419/comments | https://api.github.com/repos/psf/requests/issues/6419/events | https://github.com/psf/requests/issues/6419 | 1,678,812,364 | I_kwDOABTKOs5kEKTM | 6,419 | pypy 3.7 CI build failing | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2023-04-21T16:46:50Z | 2024-04-23T00:03:47Z | 2023-04-22T23:41:29Z | CONTRIBUTOR | resolved | pypy 3.7 fails with a core dump:
```
Fatal Python error: Aborted
Stack (most recent call first, approximate line numbers):
File "<frozen importlib._bootstrap>", line 220 in _call_with_frames_removed
make: *** [Makefile:8: ci] Aborted (core dumped)
``` | {
"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/6419/reactions"
} | https://api.github.com/repos/psf/requests/issues/6419/timeline | null | completed | null | null | false | [
"Looks like it's failing due to the trustme import in the nosan_server fixture "
] |
https://api.github.com/repos/psf/requests/issues/6418 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6418/labels{/name} | https://api.github.com/repos/psf/requests/issues/6418/comments | https://api.github.com/repos/psf/requests/issues/6418/events | https://github.com/psf/requests/pull/6418 | 1,678,740,670 | PR_kwDOABTKOs5O37Ur | 6,418 | update GitHub actions to ubuntu 22.04 | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 0 | 2023-04-21T15:54:43Z | 2024-04-23T00:03:52Z | 2023-04-22T23:53:09Z | CONTRIBUTOR | resolved | refs: https://github.com/psf/requests/issues/6417
I tried running tox locally on ubuntu 22.04 and it passed | {
"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/6418/reactions"
} | https://api.github.com/repos/psf/requests/issues/6418/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6418.diff",
"html_url": "https://github.com/psf/requests/pull/6418",
"merged_at": "2023-04-22T23:53:09Z",
"patch_url": "https://github.com/psf/requests/pull/6418.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6418"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6417 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6417/labels{/name} | https://api.github.com/repos/psf/requests/issues/6417/comments | https://api.github.com/repos/psf/requests/issues/6417/events | https://github.com/psf/requests/issues/6417 | 1,678,739,581 | I_kwDOABTKOs5kD4h9 | 6,417 | github actions on ubuntu 18.04 fail to start because the image was removed | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2023-04-21T15:53:46Z | 2024-04-23T00:03:46Z | 2023-04-23T00:00:59Z | CONTRIBUTOR | resolved | github actions on ubuntu 18.04 fail to start because the image was removed: https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/
this might be a challenge because the tests fail with SSLError: https://github.com/psf/requests... | {
"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/6417/reactions"
} | https://api.github.com/repos/psf/requests/issues/6417/timeline | null | completed | null | null | false | [
"Resolved in #6418"
] |
https://api.github.com/repos/psf/requests/issues/6416 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6416/labels{/name} | https://api.github.com/repos/psf/requests/issues/6416/comments | https://api.github.com/repos/psf/requests/issues/6416/events | https://github.com/psf/requests/pull/6416 | 1,678,557,230 | PR_kwDOABTKOs5O3TsJ | 6,416 | reenable the warnings plugin | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 5 | 2023-04-21T13:50:36Z | 2024-04-23T00:03:51Z | 2023-04-23T00:00:22Z | CONTRIBUTOR | resolved | The warnings plugin was disabled in https://github.com/psf/requests/pull/4056 but that issue is now fixed by
https://github.com/pytest-dev/pytest/pull/2445 | {
"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/6416/reactions"
} | https://api.github.com/repos/psf/requests/issues/6416/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6416.diff",
"html_url": "https://github.com/psf/requests/pull/6416",
"merged_at": "2023-04-23T00:00:22Z",
"patch_url": "https://github.com/psf/requests/pull/6416.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6416"
} | true | [
"Thanks Thomas, I'll kick the failed test once the rest finish. If they're all working this seems fine.",
"Hmm, the failure seems reproducible but unrelated. It's localized to Pypy with:\r\n\r\n```\r\nFatal Python error: Aborted\r\n\r\nStack (most recent call first, approximate line numbers):\r\n File \"<frozen ... |
https://api.github.com/repos/psf/requests/issues/6415 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6415/labels{/name} | https://api.github.com/repos/psf/requests/issues/6415/comments | https://api.github.com/repos/psf/requests/issues/6415/events | https://github.com/psf/requests/pull/6415 | 1,678,220,807 | PR_kwDOABTKOs5O2LRy | 6,415 | Improve documentation of request method in sessions | {
"avatar_url": "https://avatars.githubusercontent.com/u/37971350?v=4",
"events_url": "https://api.github.com/users/sodrooome/events{/privacy}",
"followers_url": "https://api.github.com/users/sodrooome/followers",
"following_url": "https://api.github.com/users/sodrooome/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2023-04-21T09:41:02Z | 2024-04-23T00:03:56Z | 2023-04-21T15:34:29Z | NONE | resolved | Just a small enhancement that listing of all valid HTTP in `request()` method | {
"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/6415/reactions"
} | https://api.github.com/repos/psf/requests/issues/6415/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6415.diff",
"html_url": "https://github.com/psf/requests/pull/6415",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6415.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6415"
} | true | [
"Hi @sodrooome,\r\n\r\nThanks for the contribution! This is currently well documented elsewhere, and we've seen a lot of unnecessary bloat in docstrings over the last couple years. I think we'll have to pass on this one for the time being."
] |
https://api.github.com/repos/psf/requests/issues/6414 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6414/labels{/name} | https://api.github.com/repos/psf/requests/issues/6414/comments | https://api.github.com/repos/psf/requests/issues/6414/events | https://github.com/psf/requests/pull/6414 | 1,674,443,746 | PR_kwDOABTKOs5OpezY | 6,414 | remove beautification comment | {
"avatar_url": "https://avatars.githubusercontent.com/u/5639662?v=4",
"events_url": "https://api.github.com/users/jelgun/events{/privacy}",
"followers_url": "https://api.github.com/users/jelgun/followers",
"following_url": "https://api.github.com/users/jelgun/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2023-04-19T08:35:45Z | 2024-04-19T00:03:21Z | 2023-04-19T13:55:45Z | NONE | resolved | This PR removes a beautification comment (i.e. a comment that includes an array of special characters for beautification). | {
"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/6414/reactions"
} | https://api.github.com/repos/psf/requests/issues/6414/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6414.diff",
"html_url": "https://github.com/psf/requests/pull/6414",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6414.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6414"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6413 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6413/labels{/name} | https://api.github.com/repos/psf/requests/issues/6413/comments | https://api.github.com/repos/psf/requests/issues/6413/events | https://github.com/psf/requests/pull/6413 | 1,674,443,216 | PR_kwDOABTKOs5OpesW | 6,413 | remove irrelevant comment | {
"avatar_url": "https://avatars.githubusercontent.com/u/5639662?v=4",
"events_url": "https://api.github.com/users/jelgun/events{/privacy}",
"followers_url": "https://api.github.com/users/jelgun/followers",
"following_url": "https://api.github.com/users/jelgun/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2023-04-19T08:35:23Z | 2024-04-19T00:03:22Z | 2023-04-19T13:55:31Z | NONE | resolved | This PR removed an irrelevant comment (i.e. comment that is not related to code or does not add much information to explain 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/6413/reactions"
} | https://api.github.com/repos/psf/requests/issues/6413/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6413.diff",
"html_url": "https://github.com/psf/requests/pull/6413",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6413.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6413"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6412 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6412/labels{/name} | https://api.github.com/repos/psf/requests/issues/6412/comments | https://api.github.com/repos/psf/requests/issues/6412/events | https://github.com/psf/requests/pull/6412 | 1,674,442,845 | PR_kwDOABTKOs5Openh | 6,412 | fix misleading comment | {
"avatar_url": "https://avatars.githubusercontent.com/u/5639662?v=4",
"events_url": "https://api.github.com/users/jelgun/events{/privacy}",
"followers_url": "https://api.github.com/users/jelgun/followers",
"following_url": "https://api.github.com/users/jelgun/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2023-04-19T08:35:07Z | 2024-04-19T00:03:23Z | 2023-04-19T13:55:26Z | NONE | resolved | This PR fixes a misleading comment (i.e. a comment that incorrectly describes what the code does). | {
"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/6412/reactions"
} | https://api.github.com/repos/psf/requests/issues/6412/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6412.diff",
"html_url": "https://github.com/psf/requests/pull/6412",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6412.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6412"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6411 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6411/labels{/name} | https://api.github.com/repos/psf/requests/issues/6411/comments | https://api.github.com/repos/psf/requests/issues/6411/events | https://github.com/psf/requests/pull/6411 | 1,674,441,966 | PR_kwDOABTKOs5Opebf | 6,411 | remove obvious comment | {
"avatar_url": "https://avatars.githubusercontent.com/u/5639662?v=4",
"events_url": "https://api.github.com/users/jelgun/events{/privacy}",
"followers_url": "https://api.github.com/users/jelgun/followers",
"following_url": "https://api.github.com/users/jelgun/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2023-04-19T08:34:34Z | 2024-04-19T00:03:24Z | 2023-04-19T13:55:20Z | NONE | resolved | This PR removes an obvious comment (i.e. comment that restates what the code does in an obvious manner). The code itself is understandable that the request is being created. | {
"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/6411/reactions"
} | https://api.github.com/repos/psf/requests/issues/6411/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6411.diff",
"html_url": "https://github.com/psf/requests/pull/6411",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6411.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6411"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6410 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6410/labels{/name} | https://api.github.com/repos/psf/requests/issues/6410/comments | https://api.github.com/repos/psf/requests/issues/6410/events | https://github.com/psf/requests/issues/6410 | 1,674,441,325 | I_kwDOABTKOs5jzfJt | 6,410 | vague comment in `help.py` | {
"avatar_url": "https://avatars.githubusercontent.com/u/5639662?v=4",
"events_url": "https://api.github.com/users/jelgun/events{/privacy}",
"followers_url": "https://api.github.com/users/jelgun/followers",
"following_url": "https://api.github.com/users/jelgun/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2023-04-19T08:34:08Z | 2024-04-19T00:03:18Z | 2023-04-19T14:03:24Z | NONE | resolved | The comment in https://github.com/psf/requests/blob/main/requests/help.py#L60 is difficult to understand. Is it possible to provide a clear explanation? | {
"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/6410/reactions"
} | https://api.github.com/repos/psf/requests/issues/6410/timeline | null | completed | null | null | false | [
"Do you mean `#Complete Guess`?",
"This is a comment Kenneth made stating he shipped this without testing it. As in \"This is entirely a guess\".\n\nThis is an ancillary file not intended for use outside of Requests, so it's unlikely we'll make an material changes to what's in there."
] |
https://api.github.com/repos/psf/requests/issues/6409 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6409/labels{/name} | https://api.github.com/repos/psf/requests/issues/6409/comments | https://api.github.com/repos/psf/requests/issues/6409/events | https://github.com/psf/requests/issues/6409 | 1,674,439,707 | I_kwDOABTKOs5jzewb | 6,409 | `test_request_recovery` fails when using pytest-xdist | {
"avatar_url": "https://avatars.githubusercontent.com/u/5639662?v=4",
"events_url": "https://api.github.com/users/jelgun/events{/privacy}",
"followers_url": "https://api.github.com/users/jelgun/followers",
"following_url": "https://api.github.com/users/jelgun/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2023-04-19T08:33:07Z | 2024-04-19T00:03:20Z | 2023-04-19T13:57:24Z | NONE | resolved | This issue was created as a result of removing a TODO comment in https://github.com/psf/requests/pull/6406.
```
# TODO: figure out why this sometimes fails when using pytest-xdist.
``` | {
"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/6409/reactions"
} | https://api.github.com/repos/psf/requests/issues/6409/timeline | null | not_planned | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6408 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6408/labels{/name} | https://api.github.com/repos/psf/requests/issues/6408/comments | https://api.github.com/repos/psf/requests/issues/6408/events | https://github.com/psf/requests/issues/6408 | 1,674,240,695 | I_kwDOABTKOs5jyuK3 | 6,408 | equests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://login.cac1.pure.cloud/oauth/token | {
"avatar_url": "https://avatars.githubusercontent.com/u/30565416?v=4",
"events_url": "https://api.github.com/users/bilalahmed381/events{/privacy}",
"followers_url": "https://api.github.com/users/bilalahmed381/followers",
"following_url": "https://api.github.com/users/bilalahmed381/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2023-04-19T06:17:21Z | 2024-04-19T00:03:19Z | 2023-04-19T14:00:35Z | NONE | resolved | <!-- Summary. -->
**Issue:**
I'm using airflow httphook to get authentication token. But I'm facing bad request error, status response 400. I verified the payload and header is correct. If I use ```response: requests.Response = requests.post("https://login.cac1.pure.cloud/oauth/token", headers=request_headers, data... | {
"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/6408/reactions"
} | https://api.github.com/repos/psf/requests/issues/6408/timeline | null | completed | null | null | false | [
"Hi @bilalahmed381, from what you've provided. You've confirmed the request worked with Requests.\n\nFor questions about Airflow's abstractions, you may consider reaching out to their issue tracker or posting on StackOverflow. I don't believe we'll be able to help here."
] |
https://api.github.com/repos/psf/requests/issues/6407 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6407/labels{/name} | https://api.github.com/repos/psf/requests/issues/6407/comments | https://api.github.com/repos/psf/requests/issues/6407/events | https://github.com/psf/requests/issues/6407 | 1,673,429,053 | I_kwDOABTKOs5jvoA9 | 6,407 | Server redirect containing neither body nor content-length header can result in delays/timeouts | {
"avatar_url": "https://avatars.githubusercontent.com/u/55152140?v=4",
"events_url": "https://api.github.com/users/jayaddison/events{/privacy}",
"followers_url": "https://api.github.com/users/jayaddison/followers",
"following_url": "https://api.github.com/users/jayaddison/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 15 | 2023-04-18T16:00:22Z | 2024-05-17T00:03:19Z | 2023-04-19T14:53:07Z | NONE | resolved | When `requests` v2.28.1 follows an HTTP redirect, it attempts to [consume the content of the server response](https://github.com/psf/requests/blob/4d394574f5555a8ddcc38f707e0c9f57f55d9a3b/requests/sessions.py#L185-L188), and then [closes the response](https://github.com/psf/requests/blob/4d394574f5555a8ddcc38f707e0c9f5... | {
"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/6407/reactions"
} | https://api.github.com/repos/psf/requests/issues/6407/timeline | null | not_planned | null | null | false | [
"Hi @jayaddison,\n\nIf the server doesn't send an appropriate Content-Length or Transfer-Encoding header in the response, it's difficult for clients to know when the response is complete.\n\nWhat Requests is doing here is correct to spec. We will try to read until the server closes the connection. I don't think we ... |
https://api.github.com/repos/psf/requests/issues/6406 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6406/labels{/name} | https://api.github.com/repos/psf/requests/issues/6406/comments | https://api.github.com/repos/psf/requests/issues/6406/events | https://github.com/psf/requests/pull/6406 | 1,671,928,193 | PR_kwDOABTKOs5OhGWa | 6,406 | remove task comment | {
"avatar_url": "https://avatars.githubusercontent.com/u/5639662?v=4",
"events_url": "https://api.github.com/users/jelgun/events{/privacy}",
"followers_url": "https://api.github.com/users/jelgun/followers",
"following_url": "https://api.github.com/users/jelgun/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2023-04-17T20:34:58Z | 2024-04-19T00:03:25Z | 2023-04-19T13:54:58Z | NONE | resolved | This PR removes a task comment (i.e. a comment referring to a work that could/should be done in the future or was already done). | {
"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/6406/reactions"
} | https://api.github.com/repos/psf/requests/issues/6406/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6406.diff",
"html_url": "https://github.com/psf/requests/pull/6406",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6406.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6406"
} | true | [
"Hi @jelgun, we generally won't accept PRs with minor/subjective changes. I'm going to close out the batch you provided today for that reason.\n\nFor future cases, if you have found a legitimate bug please open an issue before providing the PR. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/6405 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6405/labels{/name} | https://api.github.com/repos/psf/requests/issues/6405/comments | https://api.github.com/repos/psf/requests/issues/6405/events | https://github.com/psf/requests/issues/6405 | 1,671,383,220 | I_kwDOABTKOs5jn0i0 | 6,405 | requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) | {
"avatar_url": "https://avatars.githubusercontent.com/u/57814047?v=4",
"events_url": "https://api.github.com/users/maritogaleano/events{/privacy}",
"followers_url": "https://api.github.com/users/maritogaleano/followers",
"following_url": "https://api.github.com/users/maritogaleano/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2023-04-17T14:58:09Z | 2024-04-17T00:03:28Z | 2023-04-17T21:34:39Z | NONE | resolved | When trying to post to an API I get the following error:
` raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
[17/Apr/2023 10:52:46] "POST /Depositos/crear HTTP/1.1" 500 187142`.
The code ... | {
"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/6405/reactions"
} | https://api.github.com/repos/psf/requests/issues/6405/timeline | null | not_planned | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\n\nNote that the remote end is closing the socket in vi... |
https://api.github.com/repos/psf/requests/issues/6404 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6404/labels{/name} | https://api.github.com/repos/psf/requests/issues/6404/comments | https://api.github.com/repos/psf/requests/issues/6404/events | https://github.com/psf/requests/pull/6404 | 1,665,510,534 | PR_kwDOABTKOs5OLzAg | 6,404 | Try charset_normalizer first | {
"avatar_url": "https://avatars.githubusercontent.com/u/67641?v=4",
"events_url": "https://api.github.com/users/martinthomson/events{/privacy}",
"followers_url": "https://api.github.com/users/martinthomson/followers",
"following_url": "https://api.github.com/users/martinthomson/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2023-04-13T01:23:31Z | 2024-04-13T00:03:30Z | 2023-04-13T03:14:49Z | NONE | resolved | The newer `charset_normalizer` is installed as a dependency in a lot of cases, so there isn't much point in going to `chardet` as a first stop. It might even be possible to switch to an unconditional import. | {
"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/6404/reactions"
} | https://api.github.com/repos/psf/requests/issues/6404/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6404.diff",
"html_url": "https://github.com/psf/requests/pull/6404",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6404.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6404"
} | true | [
"Hi @martinthomson, this is a breaking change. We won't be able to accept this PR. Thanks for the suggestion though."
] |
https://api.github.com/repos/psf/requests/issues/6403 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6403/labels{/name} | https://api.github.com/repos/psf/requests/issues/6403/comments | https://api.github.com/repos/psf/requests/issues/6403/events | https://github.com/psf/requests/issues/6403 | 1,665,097,746 | I_kwDOABTKOs5jP2AS | 6,403 | no cookies returned when executing on AIX. | {
"avatar_url": "https://avatars.githubusercontent.com/u/45187098?v=4",
"events_url": "https://api.github.com/users/bonkeydcow/events{/privacy}",
"followers_url": "https://api.github.com/users/bonkeydcow/followers",
"following_url": "https://api.github.com/users/bonkeydcow/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2023-04-12T19:07:40Z | 2024-04-13T00:03:28Z | 2023-04-12T20:47:01Z | NONE | resolved | Summary.
Connecting to an API that returns cookies is not returning cookies if the script is executed from an AIX environment.
## Expected Result
I expected response.cookies to contain data.
If I execute the identical code, on identical python version, identical package versions on window and linux, it work... | {
"avatar_url": "https://avatars.githubusercontent.com/u/45187098?v=4",
"events_url": "https://api.github.com/users/bonkeydcow/events{/privacy}",
"followers_url": "https://api.github.com/users/bonkeydcow/followers",
"following_url": "https://api.github.com/users/bonkeydcow/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/6403/reactions"
} | https://api.github.com/repos/psf/requests/issues/6403/timeline | null | completed | null | null | false | [
"I did a lot of manual debugging with PDB.\r\n\r\nI found that where it is failing is on the check for the session expiration. On AIX it calculates that the session is expired. This appears to be an issue with the conversion of the date/time string to epoch.",
"Nevermind, time was off on the aix server."
] |
https://api.github.com/repos/psf/requests/issues/6402 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6402/labels{/name} | https://api.github.com/repos/psf/requests/issues/6402/comments | https://api.github.com/repos/psf/requests/issues/6402/events | https://github.com/psf/requests/issues/6402 | 1,662,016,374 | I_kwDOABTKOs5jEFt2 | 6,402 | SOCKS5 proxies are not being used when specified - results to using machine IP address | {
"avatar_url": "https://avatars.githubusercontent.com/u/30209138?v=4",
"events_url": "https://api.github.com/users/bloxploits/events{/privacy}",
"followers_url": "https://api.github.com/users/bloxploits/followers",
"following_url": "https://api.github.com/users/bloxploits/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 4 | 2023-04-11T08:35:50Z | 2024-04-13T00:03:29Z | 2023-04-11T13:53:23Z | NONE | resolved | Today I was testing proxies and was able to use them effectively at the start of the day, however after re-running the code a few hours later, the proxies stopped working.
Before anyone asks, I have checked the proxies are still functioning, I know this through my paid proxy provider and checking my proxy IP in a br... | {
"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/6402/reactions"
} | https://api.github.com/repos/psf/requests/issues/6402/timeline | null | completed | null | null | false | [
"We don't have a feature to rewrite our code for socks proxy users after a few hours of use.\n\nThis sounds like a provider rate limiting your access via requests since some get complaints of people using the proxy to bypass access restrictions and scrape content. ",
"To be extra clear, this sounds like an issue ... |
https://api.github.com/repos/psf/requests/issues/6401 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6401/labels{/name} | https://api.github.com/repos/psf/requests/issues/6401/comments | https://api.github.com/repos/psf/requests/issues/6401/events | https://github.com/psf/requests/pull/6401 | 1,660,646,346 | PR_kwDOABTKOs5N7WeA | 6,401 | request/cookies.py -> RequestCookieJar inheritance update from collections | {
"avatar_url": "https://avatars.githubusercontent.com/u/85517013?v=4",
"events_url": "https://api.github.com/users/shadmeoli/events{/privacy}",
"followers_url": "https://api.github.com/users/shadmeoli/followers",
"following_url": "https://api.github.com/users/shadmeoli/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2023-04-10T11:20:55Z | 2024-04-10T00:03:23Z | 2023-04-10T12:46:59Z | NONE | resolved | I have updated the RequestCookieJar class to be compatible with python3.10^ on Linux machines using python3.10^ as the default versions and also compatibility with pymongo.
**The error**
```
module 'collections' has no attribute 'MutableMapping'
```
<details>
<summary>Pymongo full error</summary>
>... | {
"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": 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/6401/reactions"
} | https://api.github.com/repos/psf/requests/issues/6401/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6401.diff",
"html_url": "https://github.com/psf/requests/pull/6401",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6401.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6401"
} | true | [
"The Cookie Jar already inherits from `collections.abc.MutableMapping`. it is imported correctly in the compat module.\n\nI suspect you're using a version of requests that's too old"
] |
https://api.github.com/repos/psf/requests/issues/6400 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6400/labels{/name} | https://api.github.com/repos/psf/requests/issues/6400/comments | https://api.github.com/repos/psf/requests/issues/6400/events | https://github.com/psf/requests/pull/6400 | 1,654,506,335 | PR_kwDOABTKOs5Nnkxj | 6,400 | Codespell: workflow, config + 1 typo fixed | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "... | [] | open | false | null | [] | null | 1 | 2023-04-04T20:06:32Z | 2023-11-22T22:07:49Z | null | NONE | null | My humble contribution to keep requests so typos free as it is proudly is now. | 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/6400/reactions"
} | https://api.github.com/repos/psf/requests/issues/6400/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6400.diff",
"html_url": "https://github.com/psf/requests/pull/6400",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6400.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6400"
} | true | [
"rebased/updated (config now to pyproject.toml). Typo was already fixed independently in d3d504436ef0c2ac7ec8af13738b04dcc8c694be"
] |
https://api.github.com/repos/psf/requests/issues/6398 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6398/labels{/name} | https://api.github.com/repos/psf/requests/issues/6398/comments | https://api.github.com/repos/psf/requests/issues/6398/events | https://github.com/psf/requests/pull/6398 | 1,650,407,460 | PR_kwDOABTKOs5NZ-jF | 6,398 | Title: Add "Setting Up a Local Development Environment" to README | {
"avatar_url": "https://avatars.githubusercontent.com/u/56711352?v=4",
"events_url": "https://api.github.com/users/APolevanov/events{/privacy}",
"followers_url": "https://api.github.com/users/APolevanov/followers",
"following_url": "https://api.github.com/users/APolevanov/following{/other_user}",
"gists_url"... | [] | closed | false | null | [] | null | 0 | 2023-04-01T10:22:59Z | 2024-06-16T07:32:45Z | 2024-06-16T07:32:45Z | NONE | null | This pull request adds a new section titled "Setting Up a Local Development Environment" to the README.md file. This section provides clear instructions for contributors on how to set up a local development environment for the Requests project. The addition of this section will make it easier for new contributors to ge... | {
"avatar_url": "https://avatars.githubusercontent.com/u/56711352?v=4",
"events_url": "https://api.github.com/users/APolevanov/events{/privacy}",
"followers_url": "https://api.github.com/users/APolevanov/followers",
"following_url": "https://api.github.com/users/APolevanov/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/6398/reactions"
} | https://api.github.com/repos/psf/requests/issues/6398/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6398.diff",
"html_url": "https://github.com/psf/requests/pull/6398",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6398.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6398"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6397 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6397/labels{/name} | https://api.github.com/repos/psf/requests/issues/6397/comments | https://api.github.com/repos/psf/requests/issues/6397/events | https://github.com/psf/requests/pull/6397 | 1,647,867,731 | PR_kwDOABTKOs5NRmwT | 6,397 | chore: move coverage config to `pyproject.toml` | {
"avatar_url": "https://avatars.githubusercontent.com/u/61241031?v=4",
"events_url": "https://api.github.com/users/SauravMaheshkar/events{/privacy}",
"followers_url": "https://api.github.com/users/SauravMaheshkar/followers",
"following_url": "https://api.github.com/users/SauravMaheshkar/following{/other_user}"... | [] | closed | true | null | [] | null | 1 | 2023-03-30T15:37:31Z | 2024-03-30T00:03:12Z | 2023-03-30T19:26:49Z | NONE | resolved | This PR aims to minimize the number of configuration files for the project. Instead of a separate `.coveragerc` for configuring coverage, we now would have the required configuration within the `pyproject.toml` file leading to a overall minimal code structure. | {
"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/6397/reactions"
} | https://api.github.com/repos/psf/requests/issues/6397/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6397.diff",
"html_url": "https://github.com/psf/requests/pull/6397",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6397.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6397"
} | true | [
"We don't accept cosmetic changes. Thanks for thinking of us though"
] |
https://api.github.com/repos/psf/requests/issues/6396 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6396/labels{/name} | https://api.github.com/repos/psf/requests/issues/6396/comments | https://api.github.com/repos/psf/requests/issues/6396/events | https://github.com/psf/requests/issues/6396 | 1,643,980,265 | I_kwDOABTKOs5h_SXp | 6,396 | Request() not defined | {
"avatar_url": "https://avatars.githubusercontent.com/u/123341980?v=4",
"events_url": "https://api.github.com/users/ferrariaria/events{/privacy}",
"followers_url": "https://api.github.com/users/ferrariaria/followers",
"following_url": "https://api.github.com/users/ferrariaria/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2023-03-28T13:41:15Z | 2024-03-28T00:03:41Z | 2023-03-28T13:44:56Z | NONE | resolved | <!-- Summary. -->
I have been using the Request() function for months in this form:
req = Request(
url=url_c,
headers={'User-Agent': 'Mozilla/5.0'})
with urlopen(req) as response:
webpage=response.read()
soup = BeautifulSoup(webpage)
Until yesterday, my code above returned a 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/6396/reactions"
} | https://api.github.com/repos/psf/requests/issues/6396/timeline | null | completed | null | null | false | [
"hi @ferrariaria, nothing has changed with Requests. I would suggest double checking your local environment and code again. If Request is not defined, you've failed to import it properly. Unfortunately we aren't able to help with setup debugging on this issue tracker, we recommend posting on [StackOverflow](https:/... |
https://api.github.com/repos/psf/requests/issues/6395 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6395/labels{/name} | https://api.github.com/repos/psf/requests/issues/6395/comments | https://api.github.com/repos/psf/requests/issues/6395/events | https://github.com/psf/requests/pull/6395 | 1,642,629,600 | PR_kwDOABTKOs5M_9n3 | 6,395 | 🛠 fix: Adapter overwrite passed-in retry | {
"avatar_url": "https://avatars.githubusercontent.com/u/23290356?v=4",
"events_url": "https://api.github.com/users/tomy0000000/events{/privacy}",
"followers_url": "https://api.github.com/users/tomy0000000/followers",
"following_url": "https://api.github.com/users/tomy0000000/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2023-03-27T18:47:13Z | 2024-03-28T00:03:43Z | 2023-03-28T05:59:02Z | NONE | resolved | According to the API reference of `max_retries` of `requests.adapters.HTTPAdapter`
> The maximum number of retries each connection should attempt. Note, this applies only to failed DNS lookups, socket connections and connection timeouts, never to requests where data has made it to the server. By default, Requests do... | {
"avatar_url": "https://avatars.githubusercontent.com/u/23290356?v=4",
"events_url": "https://api.github.com/users/tomy0000000/events{/privacy}",
"followers_url": "https://api.github.com/users/tomy0000000/followers",
"following_url": "https://api.github.com/users/tomy0000000/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/6395/reactions"
} | https://api.github.com/repos/psf/requests/issues/6395/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6395.diff",
"html_url": "https://github.com/psf/requests/pull/6395",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6395.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6395"
} | true | [
"You haven't provided evidence that this isn't working. The `from_int` classmethod returns the Retry instance if it's already a Retry ",
"My mistake. Turns out I used the wrong scheme (`http://` should be `https://`) when mounting in my previous test.\r\n\r\nClosing this PR, but do look into #6258 and get it merg... |
https://api.github.com/repos/psf/requests/issues/6394 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6394/labels{/name} | https://api.github.com/repos/psf/requests/issues/6394/comments | https://api.github.com/repos/psf/requests/issues/6394/events | https://github.com/psf/requests/issues/6394 | 1,640,962,427 | I_kwDOABTKOs5hzxl7 | 6,394 | Failure to fetch data / requests.get returns 503 while curl is 200 | {
"avatar_url": "https://avatars.githubusercontent.com/u/46412574?v=4",
"events_url": "https://api.github.com/users/Hu1buerger/events{/privacy}",
"followers_url": "https://api.github.com/users/Hu1buerger/followers",
"following_url": "https://api.github.com/users/Hu1buerger/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 5 | 2023-03-26T15:43:42Z | 2024-03-28T00:03:40Z | 2023-03-26T17:23:42Z | NONE | resolved | requests.get fails to fetch page, while curl on the same machine gets a 200.
Additionaly the same code runs on macos 13.0.1
## Expected Result
```py
import requests # with version 2.28.2
res = requests.get("https://www.reichelt.com/raspberry-pi-zero-2-w-4x-1-ghz-512-mb-ram-wlan-bt-rasp-pi-zero2-w-p313902.h... | {
"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/6394/reactions"
} | https://api.github.com/repos/psf/requests/issues/6394/timeline | null | completed | null | null | false | [
"Hi @Hu1buerger, a 503 is a server side error. There's nothing we can do about this in Requests. You'll need to determine what's failing on the server in this case and whether it's intentional to block web scraping.\n\nI'm going to resolve this as we can't take any action with the current info.",
"@nateprewitt th... |
https://api.github.com/repos/psf/requests/issues/6393 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6393/labels{/name} | https://api.github.com/repos/psf/requests/issues/6393/comments | https://api.github.com/repos/psf/requests/issues/6393/events | https://github.com/psf/requests/issues/6393 | 1,640,538,373 | I_kwDOABTKOs5hyKEF | 6,393 | I need send a message and photo to the telegram in one message | {
"avatar_url": "https://avatars.githubusercontent.com/u/53192689?v=4",
"events_url": "https://api.github.com/users/MYHMYH/events{/privacy}",
"followers_url": "https://api.github.com/users/MYHMYH/followers",
"following_url": "https://api.github.com/users/MYHMYH/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 0 | 2023-03-25T14:29:10Z | 2024-03-26T00:03:17Z | 2023-03-25T15:58:38Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
| {
"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/6393/reactions"
} | https://api.github.com/repos/psf/requests/issues/6393/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6392 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6392/labels{/name} | https://api.github.com/repos/psf/requests/issues/6392/comments | https://api.github.com/repos/psf/requests/issues/6392/events | https://github.com/psf/requests/issues/6392 | 1,639,962,979 | I_kwDOABTKOs5hv9lj | 6,392 | requests prepare_request Valid on MacOS but not on Linux | {
"avatar_url": "https://avatars.githubusercontent.com/u/48439183?v=4",
"events_url": "https://api.github.com/users/ssrsec/events{/privacy}",
"followers_url": "https://api.github.com/users/ssrsec/followers",
"following_url": "https://api.github.com/users/ssrsec/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2023-03-24T19:59:56Z | 2024-03-28T00:03:42Z | 2023-03-28T13:23:01Z | NONE | resolved | I referred to https://github.com/psf/requests/issues/6385 , using PrepareRequest workflow to implement the method of retaining original characters in urls
The following code, which I run on my local MacOS, actually sends a URL of ' http://example.com/?unix:abc | http://127.0.0.1/ ', but when I ran it on Linux, the a... | {
"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/6392/reactions"
} | https://api.github.com/repos/psf/requests/issues/6392/timeline | null | not_planned | null | null | false | [
"I have found the reason. Requests rely on urllib3 to process urls. urllib3=1.22 can meet my requirements, but the new version won't work. Therefore, when using the new version of urllib3, it is still necessary for me to https://github.com/psf/requests/issues/6385 Suggestions",
"If it's necessary for you to use a... |
https://api.github.com/repos/psf/requests/issues/6391 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6391/labels{/name} | https://api.github.com/repos/psf/requests/issues/6391/comments | https://api.github.com/repos/psf/requests/issues/6391/events | https://github.com/psf/requests/issues/6391 | 1,639,735,708 | I_kwDOABTKOs5hvGGc | 6,391 | Requests + Asyncio | {
"avatar_url": "https://avatars.githubusercontent.com/u/13957883?v=4",
"events_url": "https://api.github.com/users/dorg188/events{/privacy}",
"followers_url": "https://api.github.com/users/dorg188/followers",
"following_url": "https://api.github.com/users/dorg188/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2023-03-24T16:55:57Z | 2024-03-26T00:03:19Z | 2023-03-24T17:30:54Z | NONE | resolved | Isn't it about time? Please don't make me use aiohttp, it sucks so much...
| {
"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/6391/reactions"
} | https://api.github.com/repos/psf/requests/issues/6391/timeline | null | not_planned | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates."
] |
https://api.github.com/repos/psf/requests/issues/6390 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6390/labels{/name} | https://api.github.com/repos/psf/requests/issues/6390/comments | https://api.github.com/repos/psf/requests/issues/6390/events | https://github.com/psf/requests/issues/6390 | 1,639,399,837 | I_kwDOABTKOs5ht0Gd | 6,390 | Strange behavior of requests, adding newlines and commas | {
"avatar_url": "https://avatars.githubusercontent.com/u/1096270?v=4",
"events_url": "https://api.github.com/users/ignition42/events{/privacy}",
"followers_url": "https://api.github.com/users/ignition42/followers",
"following_url": "https://api.github.com/users/ignition42/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 5 | 2023-03-24T13:30:30Z | 2024-04-07T00:03:33Z | 2023-04-06T21:04:41Z | NONE | resolved | When making a request using `requests` library and passing params as an argument, it URL encodes the parameters leaving the query part of the URL like so:
`https://rest.uniprot.org/uniprotkb/search?query=%28ec%3A%2A%29&size=500&format=json&cursor=i6v0ks5l9w7z9bvjh2h9riak0edmthh17oyjd2k0`
This shouldn't be a probl... | {
"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/6390/reactions"
} | https://api.github.com/repos/psf/requests/issues/6390/timeline | null | not_planned | null | null | false | [
"Requests doesn't alter response bodies at all. The behaviour you're observing is happening on the server side. If you check other metadata like the content-length header you'll be able to confirm the for yourself",
"Maybe, but there is no Content-Length on the headers, probably because Content-Encoding is gzip. ... |
https://api.github.com/repos/psf/requests/issues/6389 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6389/labels{/name} | https://api.github.com/repos/psf/requests/issues/6389/comments | https://api.github.com/repos/psf/requests/issues/6389/events | https://github.com/psf/requests/pull/6389 | 1,638,424,401 | PR_kwDOABTKOs5MyGG0 | 6,389 | Corrected copyright roman numeral in footer | {
"avatar_url": "https://avatars.githubusercontent.com/u/77130613?v=4",
"events_url": "https://api.github.com/users/trag1c/events{/privacy}",
"followers_url": "https://api.github.com/users/trag1c/followers",
"following_url": "https://api.github.com/users/trag1c/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 0 | 2023-03-23T22:22:33Z | 2024-05-22T00:03:26Z | 2023-05-22T01:09:36Z | NONE | resolved | I'm quite convinced the current one (`MMXVIX`) is invalid, or at the very least, ambiguous (online converters say it's either 2014, 2024, or invalid).
I made this change assuming it was supposed to mean 2014. | {
"avatar_url": "https://avatars.githubusercontent.com/u/77130613?v=4",
"events_url": "https://api.github.com/users/trag1c/events{/privacy}",
"followers_url": "https://api.github.com/users/trag1c/followers",
"following_url": "https://api.github.com/users/trag1c/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/6389/reactions"
} | https://api.github.com/repos/psf/requests/issues/6389/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6389.diff",
"html_url": "https://github.com/psf/requests/pull/6389",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6389.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6389"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6388 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6388/labels{/name} | https://api.github.com/repos/psf/requests/issues/6388/comments | https://api.github.com/repos/psf/requests/issues/6388/events | https://github.com/psf/requests/pull/6388 | 1,636,884,109 | PR_kwDOABTKOs5Ms4tZ | 6,388 | Document that a Response is a context manager | {
"avatar_url": "https://avatars.githubusercontent.com/u/365236?v=4",
"events_url": "https://api.github.com/users/Hawk777/events{/privacy}",
"followers_url": "https://api.github.com/users/Hawk777/followers",
"following_url": "https://api.github.com/users/Hawk777/following{/other_user}",
"gists_url": "https://... | [] | open | false | null | [] | null | 0 | 2023-03-23T05:37:45Z | 2023-03-23T05:37:45Z | null | NONE | null | This is mentioned in the Advanced Usage page, but not in the API reference. It is mentioned in the API reference for `Session`, so it seems reasonable that it should be mentioned for `Response` as well. It looks like this capability was added in GH-4137, which made the change to the former documentation but not the lat... | 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/6388/reactions"
} | https://api.github.com/repos/psf/requests/issues/6388/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6388.diff",
"html_url": "https://github.com/psf/requests/pull/6388",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6388.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6388"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6387 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6387/labels{/name} | https://api.github.com/repos/psf/requests/issues/6387/comments | https://api.github.com/repos/psf/requests/issues/6387/events | https://github.com/psf/requests/pull/6387 | 1,635,703,544 | PR_kwDOABTKOs5Mo9Hh | 6,387 | docs: Remove non needed spacing | {
"avatar_url": "https://avatars.githubusercontent.com/u/72306953?v=4",
"events_url": "https://api.github.com/users/albertocerrone/events{/privacy}",
"followers_url": "https://api.github.com/users/albertocerrone/followers",
"following_url": "https://api.github.com/users/albertocerrone/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2023-03-22T12:47:54Z | 2024-03-22T00:03:15Z | 2023-03-22T17:06:00Z | NONE | resolved | I'm sorry for my OCD 😅
There is some extra spacing. This doesn't match the spacing of the badge `downloads/month`

| {
"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/6387/reactions"
} | https://api.github.com/repos/psf/requests/issues/6387/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6387.diff",
"html_url": "https://github.com/psf/requests/pull/6387",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6387.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6387"
} | true | [
"We don't accept cosmetic changes. Thanks for sending this"
] |
https://api.github.com/repos/psf/requests/issues/6386 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6386/labels{/name} | https://api.github.com/repos/psf/requests/issues/6386/comments | https://api.github.com/repos/psf/requests/issues/6386/events | https://github.com/psf/requests/issues/6386 | 1,634,823,621 | I_kwDOABTKOs5hcW3F | 6,386 | charset_normalizer Warning Filter added by requests.packages.py breaks mysql connector's ability to issue DB warnings using warnings.warn() | {
"avatar_url": "https://avatars.githubusercontent.com/u/32966025?v=4",
"events_url": "https://api.github.com/users/bthom1/events{/privacy}",
"followers_url": "https://api.github.com/users/bthom1/followers",
"following_url": "https://api.github.com/users/bthom1/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 4 | 2023-03-21T23:13:47Z | 2024-03-23T00:03:17Z | 2023-03-22T17:02:36Z | NONE | resolved | The mysql connector encounters the following exception when trying to issue DB warnings via `warnings.warn()` due to the warnings.filter() added by the requests.packages.py module. This occurs when chardet is not installed and importing both mysql-connector-python and requests, where mysql connector is not using the C... | {
"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/6386/reactions"
} | https://api.github.com/repos/psf/requests/issues/6386/timeline | null | not_planned | null | null | false | [
"Please provide the full stack trace ",
"> Please provide the full stack trace\r\n\r\n@sigmavirus24 I've added output with stacktrace to Actual Results above.\r\n\r\nAlso I've found a simpler way to illustrate the issue...\r\n\r\n```\r\n❯ python3\r\nPython 3.8.5 (v3.8.5:580fbb018f, Jul 20 2020, 12:11:27)\r\n[Clan... |
https://api.github.com/repos/psf/requests/issues/6385 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6385/labels{/name} | https://api.github.com/repos/psf/requests/issues/6385/comments | https://api.github.com/repos/psf/requests/issues/6385/events | https://github.com/psf/requests/issues/6385 | 1,634,430,402 | I_kwDOABTKOs5ha23C | 6,385 | Can choose whether to perform automatic url encoding and decoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/48439183?v=4",
"events_url": "https://api.github.com/users/ssrsec/events{/privacy}",
"followers_url": "https://api.github.com/users/ssrsec/followers",
"following_url": "https://api.github.com/users/ssrsec/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2023-03-21T17:45:27Z | 2024-03-26T00:03:18Z | 2023-03-21T21:47:55Z | NONE | resolved | When I request with get, the content in the url will be automatically encoded or decoded or some other processing will be performed
Here are two examples:
[Example 1]
My real need is to send ' http://examole.com/1.jsp ;? Id=1 ', but in this example, the'; 'in the url Will be automatically ignored
```
import 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/6385/reactions"
} | https://api.github.com/repos/psf/requests/issues/6385/timeline | null | completed | null | null | false | [
"Hi @heikanet, this is already possible with the PrepareRequest workflow described in our docs.\n\nhttps://docs.python-requests.org/en/latest/user/advanced/#prepared-requests"
] |
https://api.github.com/repos/psf/requests/issues/6384 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6384/labels{/name} | https://api.github.com/repos/psf/requests/issues/6384/comments | https://api.github.com/repos/psf/requests/issues/6384/events | https://github.com/psf/requests/issues/6384 | 1,634,090,276 | I_kwDOABTKOs5hZj0k | 6,384 | requests chardet and charset dependency causing import issue in huggingface library | {
"avatar_url": "https://avatars.githubusercontent.com/u/9413090?v=4",
"events_url": "https://api.github.com/users/ani0075saha/events{/privacy}",
"followers_url": "https://api.github.com/users/ani0075saha/followers",
"following_url": "https://api.github.com/users/ani0075saha/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2023-03-21T14:48:17Z | 2023-06-29T13:59:00Z | 2023-03-22T01:23:42Z | NONE | null | requests chardet and charset dependency causing import issue in huggingface library
## Expected Result
no import error
## Actual Result
```code
>>> from requests import HTTPError
Traceback (most recent call last):
File "/<redacted>/anaconda3/envs/huggingface-bug-test/lib/python3.9/site-packages/reques... | {
"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/6384/reactions"
} | https://api.github.com/repos/psf/requests/issues/6384/timeline | null | not_planned | null | null | false | [
"charset normalizer is its own project. We don't manage bugs for it. We literally just import the top level and it's not set up properly. Please ask them for support and to fix this. Also I cannot reproduce this. So there's something else in your dependencies likely creating this issue and from the other issue ther... |
https://api.github.com/repos/psf/requests/issues/6383 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6383/labels{/name} | https://api.github.com/repos/psf/requests/issues/6383/comments | https://api.github.com/repos/psf/requests/issues/6383/events | https://github.com/psf/requests/pull/6383 | 1,631,149,287 | PR_kwDOABTKOs5MZoZY | 6,383 | Clarify docs for multipart file uploads | {
"avatar_url": "https://avatars.githubusercontent.com/u/3236864?v=4",
"events_url": "https://api.github.com/users/SyntaxColoring/events{/privacy}",
"followers_url": "https://api.github.com/users/SyntaxColoring/followers",
"following_url": "https://api.github.com/users/SyntaxColoring/following{/other_user}",
... | [] | open | false | null | [] | null | 3 | 2023-03-19T22:54:22Z | 2023-06-02T14:29:09Z | null | NONE | null | This makes some documentation changes that clarify the `files` argument of `requests.post()` et. al.
## Be more precise when we say "multiple files"
The `files` argument can either be a dict:
```python
files = {
"field_1": file_1,
"field_2": file_2,
}
```
Or a list of tuples:
```python
file... | 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/6383/reactions"
} | https://api.github.com/repos/psf/requests/issues/6383/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6383.diff",
"html_url": "https://github.com/psf/requests/pull/6383",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6383.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6383"
} | true | [
"The primary benefit of using list of tuples is that order is preserved which is important for some servers that expect fields in a very specific ordering which is way more than it should be",
"@sigmavirus24 Thanks. To be clear, do you think some of this PR needs to change to reflect that, or were you just commen... |
https://api.github.com/repos/psf/requests/issues/6382 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6382/labels{/name} | https://api.github.com/repos/psf/requests/issues/6382/comments | https://api.github.com/repos/psf/requests/issues/6382/events | https://github.com/psf/requests/issues/6382 | 1,627,272,003 | I_kwDOABTKOs5g_jND | 6,382 | Not possible to specify positional params in URLs | {
"avatar_url": "https://avatars.githubusercontent.com/u/56254406?v=4",
"events_url": "https://api.github.com/users/ghpqans/events{/privacy}",
"followers_url": "https://api.github.com/users/ghpqans/followers",
"following_url": "https://api.github.com/users/ghpqans/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2023-03-16T11:25:35Z | 2024-03-16T00:03:10Z | 2023-03-16T12:13:42Z | NONE | resolved | Currently it's not possible to supply values for positional only parameters in request URLs.
E.g Http requests like this are not supported:
`URL?param1=value,some_other_param`
Currently it is possible to specify a key-value pair for `param1` but not only a value for `some_other_param`.
It's possible to concatenat... | {
"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/6382/reactions"
} | https://api.github.com/repos/psf/requests/issues/6382/timeline | null | not_planned | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates."
] |
https://api.github.com/repos/psf/requests/issues/6380 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6380/labels{/name} | https://api.github.com/repos/psf/requests/issues/6380/comments | https://api.github.com/repos/psf/requests/issues/6380/events | https://github.com/psf/requests/pull/6380 | 1,625,587,828 | PR_kwDOABTKOs5MHBfb | 6,380 | Clarified Section Header for passing data | {
"avatar_url": "https://avatars.githubusercontent.com/u/17177271?v=4",
"events_url": "https://api.github.com/users/jenshb/events{/privacy}",
"followers_url": "https://api.github.com/users/jenshb/followers",
"following_url": "https://api.github.com/users/jenshb/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2023-03-15T13:59:46Z | 2024-07-30T00:03:53Z | 2023-07-30T01:11:38Z | NONE | resolved | This section applies not only to POST request, but all REST methods with data. Furthermore, a POST request with json body ist not complicated, but standard. | {
"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/6380/reactions"
} | https://api.github.com/repos/psf/requests/issues/6380/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6380.diff",
"html_url": "https://github.com/psf/requests/pull/6380",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6380.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6380"
} | true | [
"Thanks for the PR, @jenshb. This may be a bit subjective depending on the reader. We typically won't accept PRs that are making stylistic changes in the docs/code, so I believe we'll pass on this one."
] |
https://api.github.com/repos/psf/requests/issues/6379 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6379/labels{/name} | https://api.github.com/repos/psf/requests/issues/6379/comments | https://api.github.com/repos/psf/requests/issues/6379/events | https://github.com/psf/requests/pull/6379 | 1,624,096,115 | PR_kwDOABTKOs5MB_2D | 6,379 | fix issue #6377 | {
"avatar_url": "https://avatars.githubusercontent.com/u/70511123?v=4",
"events_url": "https://api.github.com/users/Ren-hongchen/events{/privacy}",
"followers_url": "https://api.github.com/users/Ren-hongchen/followers",
"following_url": "https://api.github.com/users/Ren-hongchen/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 2 | 2023-03-14T18:41:18Z | 2024-03-26T00:03:20Z | 2023-03-14T21:30:30Z | NONE | resolved | fix #6377
The reason why the file is not overwritten is that the test file in the TMP directory is not cleared after the test is run for the first time, and the directory and filename of the temporary file are the same after each test run.
This code skips overwriting when it finds that the file already exists:
... | {
"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/6379/reactions"
} | https://api.github.com/repos/psf/requests/issues/6379/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6379.diff",
"html_url": "https://github.com/psf/requests/pull/6379",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6379.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6379"
} | true | [
"This will dramatically kill performance for people using certifi and requests from zip files. We won't be accepting it",
"> This will dramatically kill performance for people using certifi and requests from zip files. We won't be accepting it\r\n\r\nSorry, I'm a noob. @sigmavirus24 \r\nIs it acceptable to use M... |
https://api.github.com/repos/psf/requests/issues/6378 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6378/labels{/name} | https://api.github.com/repos/psf/requests/issues/6378/comments | https://api.github.com/repos/psf/requests/issues/6378/events | https://github.com/psf/requests/issues/6378 | 1,620,082,886 | I_kwDOABTKOs5gkIDG | 6,378 | How to setup local dev environment and run the tests? | {
"avatar_url": "https://avatars.githubusercontent.com/u/48833?v=4",
"events_url": "https://api.github.com/users/szabgab/events{/privacy}",
"followers_url": "https://api.github.com/users/szabgab/followers",
"following_url": "https://api.github.com/users/szabgab/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2023-03-11T17:22:01Z | 2024-06-01T00:04:04Z | 2023-06-01T22:37:11Z | NONE | resolved | As I have not seen any details about it (beyond the cloning of the repo) in the README I put together a short blog posts on [Development environment for the Python requests package](https://dev.to/szabgab/development-environment-for-the-python-requests-package-eae) If you are interested, I'd be glad to send a PR for th... | {
"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/6378/reactions"
} | https://api.github.com/repos/psf/requests/issues/6378/timeline | null | completed | null | null | false | [
"To set up a local development environment for the Python Requests library and run tests, you can follow these steps:\r\nFork the Requests repository (https://github.com/psf/requests) on GitHub.\r\ngit clone https://github.com/<your_username>/requests.git\r\ncd requests\r\npython -m venv venv\r\npython -m venv venv... |
https://api.github.com/repos/psf/requests/issues/6377 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6377/labels{/name} | https://api.github.com/repos/psf/requests/issues/6377/comments | https://api.github.com/repos/psf/requests/issues/6377/events | https://github.com/psf/requests/issues/6377 | 1,618,801,708 | I_kwDOABTKOs5gfPQs | 6,377 | test_zipped_paths_extracted fails if test file has been modified since last run | {
"avatar_url": "https://avatars.githubusercontent.com/u/28623?v=4",
"events_url": "https://api.github.com/users/DRMacIver/events{/privacy}",
"followers_url": "https://api.github.com/users/DRMacIver/followers",
"following_url": "https://api.github.com/users/DRMacIver/following{/other_user}",
"gists_url": "htt... | [] | open | false | null | [] | null | 0 | 2023-03-10T11:07:01Z | 2023-03-10T11:07:01Z | null | NONE | null | If you run `python -m pytest tests/test_utils.py -ktest_zipped_paths_extracted` this test will pass normally. If you run it again, it will pass again.
If, however, you make any modifications to the file, the test will now fail and keep failing:
``` assert filecmp.cmp(extracted_path, __file__)
E Asser... | 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/6377/reactions"
} | https://api.github.com/repos/psf/requests/issues/6377/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6376 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6376/labels{/name} | https://api.github.com/repos/psf/requests/issues/6376/comments | https://api.github.com/repos/psf/requests/issues/6376/events | https://github.com/psf/requests/issues/6376 | 1,617,146,669 | I_kwDOABTKOs5gY7Mt | 6,376 | requests.get with stream=True never returns on 403 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1196252?v=4",
"events_url": "https://api.github.com/users/mattpr/events{/privacy}",
"followers_url": "https://api.github.com/users/mattpr/followers",
"following_url": "https://api.github.com/users/mattpr/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 6 | 2023-03-09T12:34:57Z | 2024-06-01T00:04:03Z | 2023-06-01T22:37:58Z | NONE | resolved |
I have a case where a url I was using requests to fetch (image so using `stream=True` to download to local file) started returning 403 errors with some html...and some very old code stopped working. The 403 isn't the problem. The issue is a requests call that hangs. We didn't notice for a while because it didn't c... | {
"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/6376/reactions"
} | https://api.github.com/repos/psf/requests/issues/6376/timeline | null | completed | null | null | false | [
"> Running it manually it also hangs for at least a few minutes (as long as I waited).\n\nWith it hanging where you claim, I can't think of why it would be hanging there. Is there a stack trace from when you ran it manually that you can share? It might give us a better idea of what might be happening. Without that,... |
https://api.github.com/repos/psf/requests/issues/6375 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6375/labels{/name} | https://api.github.com/repos/psf/requests/issues/6375/comments | https://api.github.com/repos/psf/requests/issues/6375/events | https://github.com/psf/requests/pull/6375 | 1,616,697,687 | PR_kwDOABTKOs5LpYmN | 6,375 | Update adapters.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/42906760?v=4",
"events_url": "https://api.github.com/users/missing64001/events{/privacy}",
"followers_url": "https://api.github.com/users/missing64001/followers",
"following_url": "https://api.github.com/users/missing64001/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 2 | 2023-03-09T08:36:54Z | 2024-07-30T00:03:51Z | 2023-07-30T01:15:22Z | NONE | resolved | requests.put() does not respect timeout when data is chunked | {
"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/6375/reactions"
} | https://api.github.com/repos/psf/requests/issues/6375/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6375.diff",
"html_url": "https://github.com/psf/requests/pull/6375",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6375.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6375"
} | true | [
"fix issue #6292 ",
"Resolving as this should be addressed in Requests 2.30.0 and we've removed this code path from Requests."
] |
https://api.github.com/repos/psf/requests/issues/6374 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6374/labels{/name} | https://api.github.com/repos/psf/requests/issues/6374/comments | https://api.github.com/repos/psf/requests/issues/6374/events | https://github.com/psf/requests/pull/6374 | 1,616,684,633 | PR_kwDOABTKOs5LpVvh | 6,374 | refactor: Replace text symbol with unicode emoji | {
"avatar_url": "https://avatars.githubusercontent.com/u/101031214?v=4",
"events_url": "https://api.github.com/users/H4ppy-04/events{/privacy}",
"followers_url": "https://api.github.com/users/H4ppy-04/followers",
"following_url": "https://api.github.com/users/H4ppy-04/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2023-03-09T08:29:08Z | 2024-03-10T00:03:26Z | 2023-03-09T11:13:21Z | NONE | resolved | My reasoning is thus: emojis are cool | {
"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/6374/reactions"
} | https://api.github.com/repos/psf/requests/issues/6374/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6374.diff",
"html_url": "https://github.com/psf/requests/pull/6374",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6374.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6374"
} | true | [
"This isn't a rescue and we don't accept cosmetic changes like this "
] |
https://api.github.com/repos/psf/requests/issues/6373 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6373/labels{/name} | https://api.github.com/repos/psf/requests/issues/6373/comments | https://api.github.com/repos/psf/requests/issues/6373/events | https://github.com/psf/requests/issues/6373 | 1,614,399,692 | I_kwDOABTKOs5gOcjM | 6,373 | ddg-api.herokuapp.com return 500 | {
"avatar_url": "https://avatars.githubusercontent.com/u/53258301?v=4",
"events_url": "https://api.github.com/users/Darkluna999/events{/privacy}",
"followers_url": "https://api.github.com/users/Darkluna999/followers",
"following_url": "https://api.github.com/users/Darkluna999/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 0 | 2023-03-07T23:57:54Z | 2024-03-08T00:03:27Z | 2023-03-08T01:48:26Z | NONE | resolved | <!-- Summary. -->
## Expected Result
200
<!-- What you expected. -->
## Actual Result
500
<!-- What happened instead. -->
## Reproduction Steps
```python
import requests
```
## System Information
$ python -m requests.help
```json
{
"paste": "here"
}
```
<!-- This command is onl... | {
"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/6373/reactions"
} | https://api.github.com/repos/psf/requests/issues/6373/timeline | null | not_planned | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6372 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6372/labels{/name} | https://api.github.com/repos/psf/requests/issues/6372/comments | https://api.github.com/repos/psf/requests/issues/6372/events | https://github.com/psf/requests/issues/6372 | 1,613,615,949 | I_kwDOABTKOs5gLdNN | 6,372 | InvalidHeader exception when using subclass of str or bytes | {
"avatar_url": "https://avatars.githubusercontent.com/u/58784889?v=4",
"events_url": "https://api.github.com/users/hpierre001/events{/privacy}",
"followers_url": "https://api.github.com/users/hpierre001/followers",
"following_url": "https://api.github.com/users/hpierre001/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2023-03-07T14:49:34Z | 2024-03-07T00:02:47Z | 2023-03-07T16:15:56Z | NONE | resolved | An InvalidHeader is raised while preparing a request using a subclass of `str` instead of `str` or `bytes` in headers.
## Origin
This is due to type checking in check_header_validity in utils.py. This type check uses `type` instead of `isinstance`.
## Context
The need of using subclass of str instead of str com... | {
"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/6372/reactions"
} | https://api.github.com/repos/psf/requests/issues/6372/timeline | null | completed | null | null | false | [
"A correction could be:\r\n```python\r\ndef check_header_validity(header):\r\n \"\"\"Verifies that header parts don't contain leading whitespace\r\n reserved characters, or return characters.\r\n\r\n :param header: tuple, in the format (name, value).\r\n \"\"\"\r\n \r\n name, value = header\r\n ... |
https://api.github.com/repos/psf/requests/issues/6371 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6371/labels{/name} | https://api.github.com/repos/psf/requests/issues/6371/comments | https://api.github.com/repos/psf/requests/issues/6371/events | https://github.com/psf/requests/issues/6371 | 1,608,621,741 | I_kwDOABTKOs5f4Z6t | 6,371 | Chunked upload fails when using HTTP proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/5994867?v=4",
"events_url": "https://api.github.com/users/sveint/events{/privacy}",
"followers_url": "https://api.github.com/users/sveint/followers",
"following_url": "https://api.github.com/users/sveint/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2023-03-03T13:20:03Z | 2024-03-03T00:03:32Z | 2023-03-03T13:26:04Z | NONE | resolved | Not sure whether this is actually a `requests` bug, but trying here first as it's here it manifests.
I'm using a http proxy for https traffic, and it works fine for normal GET, POST and PUT requests using `requests`. However, if enabled chunked uploads, it fails with `requests.exceptions.ConnectionError: [SSL: WRONG... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5994867?v=4",
"events_url": "https://api.github.com/users/sveint/events{/privacy}",
"followers_url": "https://api.github.com/users/sveint/followers",
"following_url": "https://api.github.com/users/sveint/following{/other_user}",
"gists_url": "https://ap... | {
"+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/6371/reactions"
} | https://api.github.com/repos/psf/requests/issues/6371/timeline | null | not_planned | null | null | false | [
"I did look first but missed the other issue. This is a duplicate of https://github.com/psf/requests/issues/6279"
] |
https://api.github.com/repos/psf/requests/issues/6370 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6370/labels{/name} | https://api.github.com/repos/psf/requests/issues/6370/comments | https://api.github.com/repos/psf/requests/issues/6370/events | https://github.com/psf/requests/pull/6370 | 1,607,913,540 | PR_kwDOABTKOs5LMBGj | 6,370 | Upgrade lint.yml action | {
"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... | [] | closed | true | null | [] | null | 0 | 2023-03-03T04:17:06Z | 2024-03-03T00:03:35Z | 2023-03-03T04:45:27Z | MEMBER | resolved | Fix https://github.com/PyCQA/isort/issues/2083 and update linting infrastructure. | {
"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/6370/reactions"
} | https://api.github.com/repos/psf/requests/issues/6370/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6370.diff",
"html_url": "https://github.com/psf/requests/pull/6370",
"merged_at": "2023-03-03T04:45:27Z",
"patch_url": "https://github.com/psf/requests/pull/6370.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6370"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6369 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6369/labels{/name} | https://api.github.com/repos/psf/requests/issues/6369/comments | https://api.github.com/repos/psf/requests/issues/6369/events | https://github.com/psf/requests/issues/6369 | 1,607,707,432 | I_kwDOABTKOs5f06so | 6,369 | Problem with data parameter in request.post() | {
"avatar_url": "https://avatars.githubusercontent.com/u/70597936?v=4",
"events_url": "https://api.github.com/users/zhu-yifang/events{/privacy}",
"followers_url": "https://api.github.com/users/zhu-yifang/followers",
"following_url": "https://api.github.com/users/zhu-yifang/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 3 | 2023-03-02T23:46:21Z | 2024-03-02T00:03:11Z | 2023-03-02T23:50:29Z | CONTRIBUTOR | resolved | <!-- Summary. -->
## Expected Result
When assign `data` as a `dict` type, it should work.
<!-- What you expected. -->
## Actual Result
When I input a dict to `data` parameter, it doesn't work.
<!-- What happened instead. -->
## Reproduction Steps
```python
import requests
import json
url = '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": 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/6369/reactions"
} | https://api.github.com/repos/psf/requests/issues/6369/timeline | null | not_planned | null | null | false | [
"You should pass the `payload` using `json` parameter instead of `data`.\r\n\r\n```\r\nr = requests.post(url, json=payload)\r\n```",
"@zhu-yifang, I'm going to have to ask you please read the docs before posting new issues. This is all answered for you. Pinging 1000+ people isn't a productive use of time.\n\nIf y... |
https://api.github.com/repos/psf/requests/issues/6368 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6368/labels{/name} | https://api.github.com/repos/psf/requests/issues/6368/comments | https://api.github.com/repos/psf/requests/issues/6368/events | https://github.com/psf/requests/pull/6368 | 1,607,697,719 | PR_kwDOABTKOs5LLTQ_ | 6,368 | Changed the comment so it's less confusing | {
"avatar_url": "https://avatars.githubusercontent.com/u/70597936?v=4",
"events_url": "https://api.github.com/users/zhu-yifang/events{/privacy}",
"followers_url": "https://api.github.com/users/zhu-yifang/followers",
"following_url": "https://api.github.com/users/zhu-yifang/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 0 | 2023-03-02T23:36:36Z | 2024-03-03T00:03:34Z | 2023-03-03T05:32:49Z | CONTRIBUTOR | resolved | The comment for `json` parameter was really confusing and I changed it to make it consistent and clear. | {
"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/6368/reactions"
} | https://api.github.com/repos/psf/requests/issues/6368/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6368.diff",
"html_url": "https://github.com/psf/requests/pull/6368",
"merged_at": "2023-03-03T05:32:49Z",
"patch_url": "https://github.com/psf/requests/pull/6368.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6368"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6367 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6367/labels{/name} | https://api.github.com/repos/psf/requests/issues/6367/comments | https://api.github.com/repos/psf/requests/issues/6367/events | https://github.com/psf/requests/issues/6367 | 1,607,662,061 | I_kwDOABTKOs5f0vnt | 6,367 | Problem with data and json parameters in requests.post() | {
"avatar_url": "https://avatars.githubusercontent.com/u/70597936?v=4",
"events_url": "https://api.github.com/users/zhu-yifang/events{/privacy}",
"followers_url": "https://api.github.com/users/zhu-yifang/followers",
"following_url": "https://api.github.com/users/zhu-yifang/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 3 | 2023-03-02T23:04:58Z | 2024-03-02T00:03:12Z | 2023-03-02T23:22:50Z | CONTRIBUTOR | resolved | <!-- Summary. -->
## Expected Result
`data` parameter should be able to take in a `dict` and convert it into a json format string automatically in the request, and `json` parameter should be able to take in a json string. According to the comments on the code,
> :param data: (optional) Dictionary, list of tuple... | {
"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/6367/reactions"
} | https://api.github.com/repos/psf/requests/issues/6367/timeline | null | not_planned | null | null | false | [
"Hi @zhu-yifang, it seems like there's assumptions being made that are not present in the doc strings you referenced.\n\nData is form-encoded as specified in the [getting started](https://docs.python-requests.org/en/latest/user/quickstart/#more-complicated-post-requests) docs. It is not json, hence the json paramet... |
https://api.github.com/repos/psf/requests/issues/6366 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6366/labels{/name} | https://api.github.com/repos/psf/requests/issues/6366/comments | https://api.github.com/repos/psf/requests/issues/6366/events | https://github.com/psf/requests/issues/6366 | 1,607,625,119 | I_kwDOABTKOs5f0mmf | 6,366 | Race Condition in session.adapters: OrderedDict mutated during iteration | {
"avatar_url": "https://avatars.githubusercontent.com/u/20261699?v=4",
"events_url": "https://api.github.com/users/TheTechromancer/events{/privacy}",
"followers_url": "https://api.github.com/users/TheTechromancer/followers",
"following_url": "https://api.github.com/users/TheTechromancer/following{/other_user}"... | [] | closed | true | null | [] | null | 5 | 2023-03-02T22:39:49Z | 2024-08-15T00:03:45Z | 2023-03-03T02:41:55Z | NONE | resolved | ## Expected Result
This race condition happens between `session.mount()` and `session.get_adapter()`. If one thread calls `session.mount()` while `session.get_adapter()` is executing, a `RuntimeError` will be thrown. The proposed fix, in order to make it thread-safe, is to use a `threading.Lock()` when accessing or ... | {
"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": 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/6366/reactions"
} | https://api.github.com/repos/psf/requests/issues/6366/timeline | null | not_planned | null | null | false | [
"Requests does it's level best to be thread safe but this is not a common or even reasonable use of the library in a threaded context. We won't be adding a lock here. If you want this to be thread safe without having to change your usage, I suggest using a thread safe dictionary implementation instead of the ordere... |
https://api.github.com/repos/psf/requests/issues/6365 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6365/labels{/name} | https://api.github.com/repos/psf/requests/issues/6365/comments | https://api.github.com/repos/psf/requests/issues/6365/events | https://github.com/psf/requests/pull/6365 | 1,600,908,885 | PR_kwDOABTKOs5K0UdD | 6,365 | Response.raw.read() returns bytes | {
"avatar_url": "https://avatars.githubusercontent.com/u/5687998?v=4",
"events_url": "https://api.github.com/users/verhovsky/events{/privacy}",
"followers_url": "https://api.github.com/users/verhovsky/followers",
"following_url": "https://api.github.com/users/verhovsky/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 0 | 2023-02-27T10:33:32Z | 2024-02-28T00:03:12Z | 2023-02-27T15:31:17Z | CONTRIBUTOR | resolved | null | {
"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/6365/reactions"
} | https://api.github.com/repos/psf/requests/issues/6365/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6365.diff",
"html_url": "https://github.com/psf/requests/pull/6365",
"merged_at": "2023-02-27T15:31:17Z",
"patch_url": "https://github.com/psf/requests/pull/6365.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6365"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6364 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6364/labels{/name} | https://api.github.com/repos/psf/requests/issues/6364/comments | https://api.github.com/repos/psf/requests/issues/6364/events | https://github.com/psf/requests/issues/6364 | 1,600,528,057 | I_kwDOABTKOs5fZh65 | 6,364 | Python requests and ms sql | {
"avatar_url": "https://avatars.githubusercontent.com/u/98638527?v=4",
"events_url": "https://api.github.com/users/RB11293/events{/privacy}",
"followers_url": "https://api.github.com/users/RB11293/followers",
"following_url": "https://api.github.com/users/RB11293/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2023-02-27T05:56:42Z | 2023-02-27T10:30:58Z | 2023-02-27T05:58:03Z | NONE | null | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
How to automate the process of taking information so that I do not manually register user, pass, KodDoc, dateStart, dateEnd in xml, and this information was taken from ms sql, and exactly as many times as... | {
"avatar_url": "https://avatars.githubusercontent.com/u/98638527?v=4",
"events_url": "https://api.github.com/users/RB11293/events{/privacy}",
"followers_url": "https://api.github.com/users/RB11293/followers",
"following_url": "https://api.github.com/users/RB11293/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/6364/reactions"
} | https://api.github.com/repos/psf/requests/issues/6364/timeline | null | completed | null | null | false | [
"import requests\r\n\r\n\r\nurl = \"http://\"\r\n\r\n\r\npayload = \"\"\"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n <soap:Body>\r\n ... |
https://api.github.com/repos/psf/requests/issues/6363 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6363/labels{/name} | https://api.github.com/repos/psf/requests/issues/6363/comments | https://api.github.com/repos/psf/requests/issues/6363/events | https://github.com/psf/requests/pull/6363 | 1,599,860,380 | PR_kwDOABTKOs5Kw5pl | 6,363 | Parse cookies set by Django app | {
"avatar_url": "https://avatars.githubusercontent.com/u/209551?v=4",
"events_url": "https://api.github.com/users/jazzdev/events{/privacy}",
"followers_url": "https://api.github.com/users/jazzdev/followers",
"following_url": "https://api.github.com/users/jazzdev/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2023-02-25T22:27:42Z | 2024-07-30T00:03:50Z | 2023-07-30T01:46:54Z | NONE | resolved | I'm using requests to automate a custom Django app.
The Django app sets cookies that are not parsed by requests.
This addresses two issues that keep requests from parsing the cookies:
1. A Set-Cookie header with multiple cookies will fail to parse
2. A Set-Cookie with a Max-Age attribute that is a floating poin... | {
"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/6363/reactions"
} | https://api.github.com/repos/psf/requests/issues/6363/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6363.diff",
"html_url": "https://github.com/psf/requests/pull/6363",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6363.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6363"
} | true | [
"I believe this would be an issue with any HTTP client using the standard library for cookie parsing. I'm not sure that makes it appropriate to fix here",
"Hi @jazzdev, looking over the PR, it seems Django may be doing the wrong thing in this case. It's not clear from what's been provided whether this is due to u... |
https://api.github.com/repos/psf/requests/issues/6362 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6362/labels{/name} | https://api.github.com/repos/psf/requests/issues/6362/comments | https://api.github.com/repos/psf/requests/issues/6362/events | https://github.com/psf/requests/issues/6362 | 1,599,844,698 | I_kwDOABTKOs5fW7Fa | 6,362 | Please consider making a public interface for `requests.utils._parse_content_type_header` | {
"avatar_url": "https://avatars.githubusercontent.com/u/7465503?v=4",
"events_url": "https://api.github.com/users/nboullis/events{/privacy}",
"followers_url": "https://api.github.com/users/nboullis/followers",
"following_url": "https://api.github.com/users/nboullis/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2023-02-25T21:16:13Z | 2024-02-27T00:03:22Z | 2023-02-26T15:43:00Z | NONE | resolved | Hi,
I have some code using `requests` where I want to check that the response the response has the expected content-type, but I don’t care about the encoding. Parsing the Content-Type header is not very complicated, but `requests` already does it in its `requests.utils._parse_content_type_header` function, that is u... | {
"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/6362/reactions"
} | https://api.github.com/repos/psf/requests/issues/6362/timeline | null | not_planned | null | null | false | [
"Requests is in feature freeze at the moment and not expanding or changing the public API. As such, we will not guarantee the stability of availability of that function, nor will we be making it public "
] |
https://api.github.com/repos/psf/requests/issues/6361 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6361/labels{/name} | https://api.github.com/repos/psf/requests/issues/6361/comments | https://api.github.com/repos/psf/requests/issues/6361/events | https://github.com/psf/requests/issues/6361 | 1,598,691,062 | I_kwDOABTKOs5fShb2 | 6,361 | Response class does not pickle _next attribute | {
"avatar_url": "https://avatars.githubusercontent.com/u/13723037?v=4",
"events_url": "https://api.github.com/users/peterezzo/events{/privacy}",
"followers_url": "https://api.github.com/users/peterezzo/followers",
"following_url": "https://api.github.com/users/peterezzo/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 5 | 2023-02-24T14:00:33Z | 2024-06-01T00:04:02Z | 2023-06-01T22:38:21Z | NONE | resolved | When using requests without following redirects the Response objects do not retain the _next PreparedRequest when pickled.
## Actual Result
```
>>> res = pickle.loads(pickle.dumps(requests.Response()))
>>> res.next
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/pete/L... | {
"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/6361/reactions"
} | https://api.github.com/repos/psf/requests/issues/6361/timeline | null | completed | null | null | false | [
"What you have here is a bug without a use case to motivate it. Why are you pickling responses and trying to follow redirects in another place after unpickling? The next attribute would be unwise to try to pickle and unpickle.\n\nIn short, we almost certainly don't want to support this. But you haven't told us why ... |
https://api.github.com/repos/psf/requests/issues/6360 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6360/labels{/name} | https://api.github.com/repos/psf/requests/issues/6360/comments | https://api.github.com/repos/psf/requests/issues/6360/events | https://github.com/psf/requests/pull/6360 | 1,595,906,765 | PR_kwDOABTKOs5Kjl4w | 6,360 | cache proxy configuration to get 12.5% speedup | {
"avatar_url": "https://avatars.githubusercontent.com/u/14973?v=4",
"events_url": "https://api.github.com/users/SonOfLilit/events{/privacy}",
"followers_url": "https://api.github.com/users/SonOfLilit/followers",
"following_url": "https://api.github.com/users/SonOfLilit/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 4 | 2023-02-22T22:06:22Z | 2024-02-23T00:03:15Z | 2023-02-22T22:43:40Z | NONE | resolved | I didn't plan to submit a PR, I was just playing around, but the speedup I got (granted, on a very superficial benchmark) was so high that I just had to try.
On my Macbook Air M1, 12.5% of runtime of a simplistic benchmark (see below) was spent on calls to `should_bypass_proxies()` which seems to call some OS-depend... | {
"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/6360/reactions"
} | https://api.github.com/repos/psf/requests/issues/6360/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6360.diff",
"html_url": "https://github.com/psf/requests/pull/6360",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6360.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6360"
} | true | [
"Hi @SonOfLilit,\r\n\r\nThanks for the suggestion! I'm not sure I'm seeing conclusive data for the improvements claim though. Requests has a fairly diverse user population. There are several variables we'd need to weigh including frequency of underlying configuration changes, number of proxies/configurations used a... |
https://api.github.com/repos/psf/requests/issues/6359 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6359/labels{/name} | https://api.github.com/repos/psf/requests/issues/6359/comments | https://api.github.com/repos/psf/requests/issues/6359/events | https://github.com/psf/requests/issues/6359 | 1,593,638,865 | I_kwDOABTKOs5e_P_R | 6,359 | Requests sends NUL characters in headers. | {
"avatar_url": "https://avatars.githubusercontent.com/u/325643?v=4",
"events_url": "https://api.github.com/users/CharString/events{/privacy}",
"followers_url": "https://api.github.com/users/CharString/followers",
"following_url": "https://api.github.com/users/CharString/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 5 | 2023-02-21T15:03:55Z | 2024-02-24T00:03:15Z | 2023-02-23T16:46:15Z | NONE | resolved | https://www.rfc-editor.org/rfc/rfc9110#section-5
## Expected Result
Some ValueError when I pass a NUL in header.
## Actual Result
```
< 00000000 47 45 54 20 2f 20 48 54 54 50 2f 31 2e 31 0d 0a # GET / HTTP/1.1..
< 00000010 48 6f 73 74 3a 20 31 32 37 2e 30 2e 30 2e 31 3a # Host: 127.0.0.1:
< 00000020 39 3... | {
"avatar_url": "https://avatars.githubusercontent.com/u/325643?v=4",
"events_url": "https://api.github.com/users/CharString/events{/privacy}",
"followers_url": "https://api.github.com/users/CharString/followers",
"following_url": "https://api.github.com/users/CharString/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/6359/reactions"
} | https://api.github.com/repos/psf/requests/issues/6359/timeline | null | completed | null | null | false | [
"So there's a difference between generating header names or values with nul characters and users sending them.\n\nIn the past when we've tried to make rules like this more restrictive we've encountered significant push back as people use requests for penetration testing and other security tasks where being able to ... |
https://api.github.com/repos/psf/requests/issues/6358 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6358/labels{/name} | https://api.github.com/repos/psf/requests/issues/6358/comments | https://api.github.com/repos/psf/requests/issues/6358/events | https://github.com/psf/requests/issues/6358 | 1,592,486,445 | I_kwDOABTKOs5e62ot | 6,358 | I get confused using python documentation HELP | {
"avatar_url": "https://avatars.githubusercontent.com/u/62204061?v=4",
"events_url": "https://api.github.com/users/abhijit420kb/events{/privacy}",
"followers_url": "https://api.github.com/users/abhijit420kb/followers",
"following_url": "https://api.github.com/users/abhijit420kb/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2023-02-20T21:54:06Z | 2024-02-21T00:03:15Z | 2023-02-20T22:03:21Z | NONE | resolved | for an example:
https://docs.python-requests.org/en/latest/api/#requests.cookies.RequestsCookieJar.set
`set(name, value, **kwargs)`
`Dict-like set() that also supports optional domain and path args in order to resolve naming collisions from using one cookie jar over multiple domains.`
But where I found `**kwargs`... | {
"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/6358/reactions"
} | https://api.github.com/repos/psf/requests/issues/6358/timeline | null | completed | null | null | false | [
"Hi @abhijit420kb,\r\n\r\nThis is specified at the top of the class:\r\n\r\n```\r\nCompatibility class; is a cookielib.CookieJar, but exposes a dict interface.\r\n```\r\n\r\nYou can find the parameters supported by default in the constructor for Python's [Cookie](https://github.com/python/cpython/blob/3.11/Lib/http... |
https://api.github.com/repos/psf/requests/issues/6357 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6357/labels{/name} | https://api.github.com/repos/psf/requests/issues/6357/comments | https://api.github.com/repos/psf/requests/issues/6357/events | https://github.com/psf/requests/issues/6357 | 1,590,708,982 | I_kwDOABTKOs5e0Er2 | 6,357 | `logging` module cause error due to `format` | {
"avatar_url": "https://avatars.githubusercontent.com/u/390889?v=4",
"events_url": "https://api.github.com/users/mmahmoudian/events{/privacy}",
"followers_url": "https://api.github.com/users/mmahmoudian/followers",
"following_url": "https://api.github.com/users/mmahmoudian/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 3 | 2023-02-19T14:30:49Z | 2024-02-21T00:03:16Z | 2023-02-20T14:34:35Z | NONE | resolved | First and foremost, thanks for this package.
I am trying to use this package for some GET queries but it creates error if I have set the `format` for the logging module. Have these example snippets:
This will work just fine
```python
import requests
import logging
logging.basicConfig(filename = 'log.txt',
... | {
"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/6357/reactions"
} | https://api.github.com/repos/psf/requests/issues/6357/timeline | null | not_planned | null | null | false | [
"I don't see anything that should be populating the function variable for you. Python doesn't have a way to log the function name but can log the module name via `name`. This appears to be an issue in the format string you chose, not this library (which itself contains no log statements) or its dependencies ",
"@... |
https://api.github.com/repos/psf/requests/issues/6356 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6356/labels{/name} | https://api.github.com/repos/psf/requests/issues/6356/comments | https://api.github.com/repos/psf/requests/issues/6356/events | https://github.com/psf/requests/pull/6356 | 1,589,611,175 | PR_kwDOABTKOs5KO2Pd | 6,356 | Allow str/bytes subclasses to be used as header parts | {
"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... | [] | closed | true | null | [] | null | 2 | 2023-02-17T16:19:43Z | 2024-03-03T00:03:33Z | 2023-03-03T20:39:03Z | MEMBER | resolved | Closes https://github.com/psf/requests/issues/6159 Adapted from https://github.com/nateprewitt/requests/commit/66fcc9c88cf5a53e85322305f41006032744cbe3 but also supports mixed type tuples. | {
"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/6356/reactions"
} | https://api.github.com/repos/psf/requests/issues/6356/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6356.diff",
"html_url": "https://github.com/psf/requests/pull/6356",
"merged_at": "2023-03-03T20:39:03Z",
"patch_url": "https://github.com/psf/requests/pull/6356.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6356"
} | true | [
"If you can rebase this onto the linting change, I think this is set.",
"@nateprewitt Done, ready for review!"
] |
https://api.github.com/repos/psf/requests/issues/6355 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6355/labels{/name} | https://api.github.com/repos/psf/requests/issues/6355/comments | https://api.github.com/repos/psf/requests/issues/6355/events | https://github.com/psf/requests/issues/6355 | 1,589,258,303 | I_kwDOABTKOs5euig_ | 6,355 | [BUG]: Requests post is blocking in python code, but server is receiving the data (Not sure if it is bug) | {
"avatar_url": "https://avatars.githubusercontent.com/u/43678329?v=4",
"events_url": "https://api.github.com/users/mai1x9/events{/privacy}",
"followers_url": "https://api.github.com/users/mai1x9/followers",
"following_url": "https://api.github.com/users/mai1x9/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 6 | 2023-02-17T12:06:18Z | 2023-02-18T12:11:06Z | 2023-02-18T12:11:06Z | NONE | null | Code:
Below post request is run from separate thread with `daemon=True` set
```
print("Sending request to: ", LOG_AUTH_SERVER_URL)
r = requests.post(url=LOG_AUTH_SERVER_URL, json={
"clientid": "a12hello",
}, timeout=5, headers={
'Connection': 'close'
})
print("After request ...")
```
After sendin... | {
"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/6355/reactions"
} | https://api.github.com/repos/psf/requests/issues/6355/timeline | null | not_planned | null | null | false | [
"## Bug details\r\n### Code: the name of the file `httpcore.py`\r\n\r\n\r\n\r\n-------------\r\n### Code for pygame is in another file, `main.py` as shown below,\r\n\r\n.
| {
"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/6352/reactions"
} | https://api.github.com/repos/psf/requests/issues/6352/timeline | null | not_planned | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here."
] |
https://api.github.com/repos/psf/requests/issues/6351 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6351/labels{/name} | https://api.github.com/repos/psf/requests/issues/6351/comments | https://api.github.com/repos/psf/requests/issues/6351/events | https://github.com/psf/requests/issues/6351 | 1,581,017,124 | I_kwDOABTKOs5ePGgk | 6,351 | Please reopen #6295. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1838534?v=4",
"events_url": "https://api.github.com/users/CachingFoX/events{/privacy}",
"followers_url": "https://api.github.com/users/CachingFoX/followers",
"following_url": "https://api.github.com/users/CachingFoX/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 0 | 2023-02-11T21:12:07Z | 2024-02-12T00:03:24Z | 2023-02-11T21:13:26Z | NONE | resolved | @sethmlarson please check my issue #6295. You close it with a reference to an issue about problems in the GIT history. https://github.com/psf/requests/issues/2690
But I report a problem with history attribute/method of a request.
Thank you very much
CachingFoX | {
"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/6351/reactions"
} | https://api.github.com/repos/psf/requests/issues/6351/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6350 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6350/labels{/name} | https://api.github.com/repos/psf/requests/issues/6350/comments | https://api.github.com/repos/psf/requests/issues/6350/events | https://github.com/psf/requests/issues/6350 | 1,580,285,017 | I_kwDOABTKOs5eMTxZ | 6,350 | @albayraktaroglu Same story. Upgrading `pyopenssl` does not works for me. 👎 | {
"avatar_url": "https://avatars.githubusercontent.com/u/102162057?v=4",
"events_url": "https://api.github.com/users/gabrielgarciae/events{/privacy}",
"followers_url": "https://api.github.com/users/gabrielgarciae/followers",
"following_url": "https://api.github.com/users/gabrielgarciae/following{/other_user}",
... | [] | closed | true | null | [] | null | 0 | 2023-02-10T20:32:26Z | 2024-02-11T00:03:49Z | 2023-02-10T20:47:41Z | NONE | resolved | @albayraktaroglu Same story. Upgrading `pyopenssl` does not works for me. 👎
_Originally posted by @maldil in https://github.com/psf/requests/issues/4246#issuecomment-695162681_
I fixed it by inserting "verify=False"
response = session.get(url, params=parameters, verify=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/6350/reactions"
} | https://api.github.com/repos/psf/requests/issues/6350/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6349 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6349/labels{/name} | https://api.github.com/repos/psf/requests/issues/6349/comments | https://api.github.com/repos/psf/requests/issues/6349/events | https://github.com/psf/requests/issues/6349 | 1,580,283,690 | I_kwDOABTKOs5eMTcq | 6,349 | @albayraktaroglu Same story. Upgrading `pyopenssl` does not works for me. 👎 | {
"avatar_url": "https://avatars.githubusercontent.com/u/102162057?v=4",
"events_url": "https://api.github.com/users/gabrielgarciae/events{/privacy}",
"followers_url": "https://api.github.com/users/gabrielgarciae/followers",
"following_url": "https://api.github.com/users/gabrielgarciae/following{/other_user}",
... | [] | closed | true | null | [] | null | 0 | 2023-02-10T20:31:34Z | 2024-02-11T00:03:50Z | 2023-02-10T20:47:34Z | NONE | resolved | I fixed it by inserting "verify=False"
response = session.get(url, params=parameters, verify=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/6349/reactions"
} | https://api.github.com/repos/psf/requests/issues/6349/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6348 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6348/labels{/name} | https://api.github.com/repos/psf/requests/issues/6348/comments | https://api.github.com/repos/psf/requests/issues/6348/events | https://github.com/psf/requests/pull/6348 | 1,575,411,691 | PR_kwDOABTKOs5JfQBm | 6,348 | python 3 language updates | {
"avatar_url": "https://avatars.githubusercontent.com/u/14829262?v=4",
"events_url": "https://api.github.com/users/marksmayo/events{/privacy}",
"followers_url": "https://api.github.com/users/marksmayo/followers",
"following_url": "https://api.github.com/users/marksmayo/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2023-02-08T03:44:16Z | 2024-02-09T00:03:32Z | 2023-02-08T12:39:46Z | NONE | resolved | Fix some f-strings
Remove u-prefix from strings | {
"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/6348/reactions"
} | https://api.github.com/repos/psf/requests/issues/6348/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6348.diff",
"html_url": "https://github.com/psf/requests/pull/6348",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6348.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6348"
} | true | [
"Thanks for thinking of us but we don't accept cosmetic changes to the project given it's current maintenance status. "
] |
https://api.github.com/repos/psf/requests/issues/6347 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6347/labels{/name} | https://api.github.com/repos/psf/requests/issues/6347/comments | https://api.github.com/repos/psf/requests/issues/6347/events | https://github.com/psf/requests/pull/6347 | 1,574,264,336 | PR_kwDOABTKOs5Jba48 | 6,347 | Use context manager to open files | {
"avatar_url": "https://avatars.githubusercontent.com/u/1461970?v=4",
"events_url": "https://api.github.com/users/RichieB2B/events{/privacy}",
"followers_url": "https://api.github.com/users/RichieB2B/followers",
"following_url": "https://api.github.com/users/RichieB2B/following{/other_user}",
"gists_url": "h... | [] | open | false | null | [] | null | 1 | 2023-02-07T12:45:21Z | 2023-11-29T14:03:11Z | null | CONTRIBUTOR | null | In the documentation for `POST a Multipart-Encoded File` the example code opens the file inline but never closes it. This leaves the file open until the script ends. It is better to use a context manager even in example code.
Original:
```
>>> url = 'https://httpbin.org/post'
>>> files = {'file': open('report.xls... | null | {
"+1": 1,
"-1": 1,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/6347/reactions"
} | https://api.github.com/repos/psf/requests/issues/6347/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6347.diff",
"html_url": "https://github.com/psf/requests/pull/6347",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6347.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6347"
} | true | [
"I've just got bitten by this example, and was just about to create a PR for this too 😃 \r\n\r\n(Maybe\r\n```python\r\n ... r = requests.post(url, files=multiple_files)\r\n ... r.text\r\n```\r\ncould be\r\n```python\r\n ... r = requests.post(url, files=multiple_files)\r\n ... \r\n >>> r.... |
https://api.github.com/repos/psf/requests/issues/6346 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6346/labels{/name} | https://api.github.com/repos/psf/requests/issues/6346/comments | https://api.github.com/repos/psf/requests/issues/6346/events | https://github.com/psf/requests/issues/6346 | 1,566,595,241 | I_kwDOABTKOs5dYFip | 6,346 | Dwnloading Big Files,It Stops Dowloanding Without Error | {
"avatar_url": "https://avatars.githubusercontent.com/u/66516635?v=4",
"events_url": "https://api.github.com/users/thisiseddy-ab/events{/privacy}",
"followers_url": "https://api.github.com/users/thisiseddy-ab/followers",
"following_url": "https://api.github.com/users/thisiseddy-ab/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2023-02-01T18:24:36Z | 2024-06-01T00:04:01Z | 2023-06-01T22:38:38Z | NONE | resolved | I Need to download monthly Open Library Data Dumps files, they are some big files:
[https://openlibrary.org/data/ol_dump_authors_latest.txt.gz](https://openlibrary.org/data/ol_dump_authors_latest.txt.gz)
[https://openlibrary.org/data/ol_dump_works_latest.txt.gz](https://openlibrary.org/data/ol_dump_works_latest.txt... | {
"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/6346/reactions"
} | https://api.github.com/repos/psf/requests/issues/6346/timeline | null | completed | null | null | false | [
"I got the solutuion, u use timeout and resume download \r\n\r\n##### Main Function\r\n```py\r\nimport requests \r\nfrom requests.exceptions import ConnectionError\r\nimport os\r\n\r\ndef download_ol_dump_editions_latest(dump_url,dump_path):\r\n max_download_resumes_count = 0\r\n with requests.Session() as s:... |
https://api.github.com/repos/psf/requests/issues/6345 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6345/labels{/name} | https://api.github.com/repos/psf/requests/issues/6345/comments | https://api.github.com/repos/psf/requests/issues/6345/events | https://github.com/psf/requests/issues/6345 | 1,562,006,789 | I_kwDOABTKOs5dGlUF | 6,345 | Help defeat requests. Only urllib3 works. | {
"avatar_url": "https://avatars.githubusercontent.com/u/123472948?v=4",
"events_url": "https://api.github.com/users/SkillS63/events{/privacy}",
"followers_url": "https://api.github.com/users/SkillS63/followers",
"following_url": "https://api.github.com/users/SkillS63/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2023-01-30T09:00:03Z | 2024-06-01T00:04:00Z | 2023-06-01T22:39:50Z | NONE | resolved | [pcapng.zip](https://github.com/psf/requests/files/10534054/pcapng.zip)
[Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.](https://stackoverflow.com/questions/75147860/post-request-to-send-file-file-fw-not-working)
Good afternoon! I have been unable to... | {
"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/6345/reactions"
} | https://api.github.com/repos/psf/requests/issues/6345/timeline | null | completed | null | null | false | [
"Did you try to open the file before sending the POST request ? \nlike this:\n```\n\nimport requests\n\nurl = '<your url>'\nyourfiles = {'file': open('<name off file>' ,'rb')}\n#You can also add a timeout parameter \nsend= requests.post(url, files = myfiles,timeout=5)\n\n\n```"
] |
https://api.github.com/repos/psf/requests/issues/6344 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6344/labels{/name} | https://api.github.com/repos/psf/requests/issues/6344/comments | https://api.github.com/repos/psf/requests/issues/6344/events | https://github.com/psf/requests/issues/6344 | 1,560,963,030 | I_kwDOABTKOs5dCmfW | 6,344 | Cookies returned in Set-Cookie header not added to RequestsCookieJar | {
"avatar_url": "https://avatars.githubusercontent.com/u/48943001?v=4",
"events_url": "https://api.github.com/users/helmstedt/events{/privacy}",
"followers_url": "https://api.github.com/users/helmstedt/followers",
"following_url": "https://api.github.com/users/helmstedt/following{/other_user}",
"gists_url": "... | [] | open | false | null | [] | null | 7 | 2023-01-28T18:31:30Z | 2023-08-01T17:38:48Z | null | NONE | null | I am making a post request where the response object has a 'Set-Cookie' with cookie data when inspecting response.headers, but where response.cookies has an empty cookie jar.
My request contains a number of parameters which I am reproducing here, but I doubt the issue has to do with the parameters passed:
```resp... | null | {
"+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/6344/reactions"
} | https://api.github.com/repos/psf/requests/issues/6344/timeline | null | null | null | null | false | [
"Many of those cookies (I didn't check them all while on my phone) were set to expire in the year 1970. Thus they will never end up in the Jar. The server is misconfigured ",
"I can see that some of the cookies are set to expire. The ones I would expect to be added to the cookie jar, and which do not have an expi... |
https://api.github.com/repos/psf/requests/issues/6343 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6343/labels{/name} | https://api.github.com/repos/psf/requests/issues/6343/comments | https://api.github.com/repos/psf/requests/issues/6343/events | https://github.com/psf/requests/issues/6343 | 1,559,954,086 | I_kwDOABTKOs5c-wKm | 6,343 | no_proxy env doesn't handle '*' in domain name | {
"avatar_url": "https://avatars.githubusercontent.com/u/273684?v=4",
"events_url": "https://api.github.com/users/paulfariello/events{/privacy}",
"followers_url": "https://api.github.com/users/paulfariello/followers",
"following_url": "https://api.github.com/users/paulfariello/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2023-01-27T15:29:10Z | 2024-02-04T00:03:43Z | 2023-02-03T17:04:52Z | NONE | resolved | It is common to use `*` in no_proxy env var to avoid using proxy for whole range of subdomain.
Current implementation doesn't handle `*`.
## Expected Result
Avoid proxy when url match no_proxy with a `*` in it.
```
>>> import requests
>>> requests.utils.should_bypass_proxies("https://requests.readthedocs.io... | {
"avatar_url": "https://avatars.githubusercontent.com/u/273684?v=4",
"events_url": "https://api.github.com/users/paulfariello/events{/privacy}",
"followers_url": "https://api.github.com/users/paulfariello/followers",
"following_url": "https://api.github.com/users/paulfariello/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/6343/reactions"
} | https://api.github.com/repos/psf/requests/issues/6343/timeline | null | completed | null | null | false | [
"It must be `.readthedocs.io`"
] |
https://api.github.com/repos/psf/requests/issues/6342 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6342/labels{/name} | https://api.github.com/repos/psf/requests/issues/6342/comments | https://api.github.com/repos/psf/requests/issues/6342/events | https://github.com/psf/requests/issues/6342 | 1,558,567,392 | I_kwDOABTKOs5c5dng | 6,342 | session.verify not working when variable 'REQUESTS_CA_BUNDLE', is set | {
"avatar_url": "https://avatars.githubusercontent.com/u/3055578?v=4",
"events_url": "https://api.github.com/users/ggmoura/events{/privacy}",
"followers_url": "https://api.github.com/users/ggmoura/followers",
"following_url": "https://api.github.com/users/ggmoura/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2023-01-26T18:16:56Z | 2024-01-28T00:03:55Z | 2023-01-27T11:54:21Z | NONE | resolved | I defined the verify parameter to False in the session object, I have the env 'REQEUSTS_CA_BUNDLE' defined as './ca_bondle.cer', in the request, it should respect the value that was assigned in the session object
## Use the verify parameter that was defined in the session object, which should be mandatory
when I ... | {
"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/6342/reactions"
} | https://api.github.com/repos/psf/requests/issues/6342/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates."
] |
https://api.github.com/repos/psf/requests/issues/6341 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6341/labels{/name} | https://api.github.com/repos/psf/requests/issues/6341/comments | https://api.github.com/repos/psf/requests/issues/6341/events | https://github.com/psf/requests/issues/6341 | 1,556,274,752 | I_kwDOABTKOs5cwt5A | 6,341 | Requoting does not unquote `%27` | {
"avatar_url": "https://avatars.githubusercontent.com/u/8515462?v=4",
"events_url": "https://api.github.com/users/albertvillanova/events{/privacy}",
"followers_url": "https://api.github.com/users/albertvillanova/followers",
"following_url": "https://api.github.com/users/albertvillanova/following{/other_user}",... | [] | closed | true | null | [] | null | 2 | 2023-01-25T08:56:35Z | 2024-01-28T00:03:56Z | 2023-01-25T13:32:35Z | NONE | resolved | When requoting a redirection URL, the single quotation mark does not get unquoted: `%27` => `%27`:
```python
In [1]: from requests.utils import requote_uri
In [2]: url = "https://netloc/path?param=param%27%27value"
In [3]: print(url)
Out[3]: 'https://netloc/path?param=param%27%27value'
In [4]: print(requote... | {
"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/6341/reactions"
} | https://api.github.com/repos/psf/requests/issues/6341/timeline | null | not_planned | null | null | false | [
"Arguably the RFCs are in Requests' favor. It's _safer_ to leave those quotes because they should be quoted by RFC 3986 and even the What WG URL spec suggests they should be. Not all servers are going to reject aiohttp's behavior but some will. It's safer to be conservative in what is sent (quote reserved character... |
https://api.github.com/repos/psf/requests/issues/6340 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6340/labels{/name} | https://api.github.com/repos/psf/requests/issues/6340/comments | https://api.github.com/repos/psf/requests/issues/6340/events | https://github.com/psf/requests/issues/6340 | 1,555,668,885 | I_kwDOABTKOs5cuZ-V | 6,340 | Using requests to get a file with the contents 1.1.1 on windows fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/42205980?v=4",
"events_url": "https://api.github.com/users/Jachdich/events{/privacy}",
"followers_url": "https://api.github.com/users/Jachdich/followers",
"following_url": "https://api.github.com/users/Jachdich/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2023-01-24T21:07:35Z | 2024-01-26T00:03:20Z | 2023-01-24T23:29:02Z | NONE | resolved | On windows using urllib, I get the correct result. On linux using requests, I get the correct result. It seems to be a specific requests + windows issue.
## Expected Result
I expect to get the string "1.1.1"
## Actual Result
I get some garbage, non-ascii data that I cannot paste here accurately.
## Repr... | {
"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/6340/reactions"
} | https://api.github.com/repos/psf/requests/issues/6340/timeline | null | not_planned | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.",
"@sigmavirus24 I'm struggling to see how this *isn'... |
https://api.github.com/repos/psf/requests/issues/6338 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6338/labels{/name} | https://api.github.com/repos/psf/requests/issues/6338/comments | https://api.github.com/repos/psf/requests/issues/6338/events | https://github.com/psf/requests/issues/6338 | 1,552,106,355 | I_kwDOABTKOs5cg0Nz | 6,338 | Can't properly DL this particular image although it works with urllib | {
"avatar_url": "https://avatars.githubusercontent.com/u/1932338?v=4",
"events_url": "https://api.github.com/users/stephanebruckert/events{/privacy}",
"followers_url": "https://api.github.com/users/stephanebruckert/followers",
"following_url": "https://api.github.com/users/stephanebruckert/following{/other_user... | [] | closed | true | null | [] | null | 1 | 2023-01-22T12:53:53Z | 2024-01-23T00:03:47Z | 2023-01-22T14:09:59Z | NONE | resolved | This code would normally work for other images but for this [specific image URL](https://i.discogs.com/UzkDSQACNmbykQvWO0B9JGVajps7_MULzdwP9RK-o94/rs:fit/g:sm/q:90/h:591/w:589/czM6Ly9kaXNjb2dz/LWRhdGFiYXNlLWlt/YWdlcy9MLTk3NzE1/LTE2MjA2NjkwNzQt/MjMxMS5qcGVn.jpeg) it doesn't. The image is downloaded but the file is corru... | {
"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/6338/reactions"
} | https://api.github.com/repos/psf/requests/issues/6338/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here."
] |
https://api.github.com/repos/psf/requests/issues/6337 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6337/labels{/name} | https://api.github.com/repos/psf/requests/issues/6337/comments | https://api.github.com/repos/psf/requests/issues/6337/events | https://github.com/psf/requests/issues/6337 | 1,551,722,687 | I_kwDOABTKOs5cfWi_ | 6,337 | urllib3 breaking changes | {
"avatar_url": "https://avatars.githubusercontent.com/u/1411530?v=4",
"events_url": "https://api.github.com/users/mkozakov/events{/privacy}",
"followers_url": "https://api.github.com/users/mkozakov/followers",
"following_url": "https://api.github.com/users/mkozakov/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2023-01-21T07:18:21Z | 2024-01-25T00:03:39Z | 2023-01-21T19:29:19Z | NONE | resolved | <!-- Summary. -->
The Requests library does not pin urllib3 to a version, but it exposes its classes. this means that if you use the exposed classes you might get different behavior, depending on which urllib3 version you have installed. Specifically, google Colab has an old version of urllib3 installed, so when usi... | {
"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/6337/reactions"
} | https://api.github.com/repos/psf/requests/issues/6337/timeline | null | completed | null | null | false | [
"> The Requests library does not pin urllib3 to a version, _but it exposes its classes_.\r\n\r\nHi @mkozakov, I'm not sure this statement makes sense. Requests does [pin urllib3](https://github.com/psf/requests/blob/main/setup.py#L64) to a supported range. Requests imports a class into the adapters module for inter... |
https://api.github.com/repos/psf/requests/issues/6336 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6336/labels{/name} | https://api.github.com/repos/psf/requests/issues/6336/comments | https://api.github.com/repos/psf/requests/issues/6336/events | https://github.com/psf/requests/pull/6336 | 1,551,279,318 | PR_kwDOABTKOs5IPGUv | 6,336 | Support missing SNIMissingWarning in tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/42327?v=4",
"events_url": "https://api.github.com/users/pquentin/events{/privacy}",
"followers_url": "https://api.github.com/users/pquentin/followers",
"following_url": "https://api.github.com/users/pquentin/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2023-01-20T18:26:35Z | 2024-01-22T00:03:48Z | 2023-01-21T08:44:33Z | CONTRIBUTOR | resolved | urllib3 2.0 only supports OpenSSL 1.1.1+ which means SNI is mandatory, and removed the warning altogether. | {
"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/6336/reactions"
} | https://api.github.com/repos/psf/requests/issues/6336/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6336.diff",
"html_url": "https://github.com/psf/requests/pull/6336",
"merged_at": "2023-01-21T08:44:33Z",
"patch_url": "https://github.com/psf/requests/pull/6336.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6336"
} | true | [
"Looks like there's a small linting issue. Could you update the PR using our pre-commit hooks?\n\nAlthough where it's moving the test import doesn't look right to me 👀. I'll investigate that separately.",
"Oops, sorry about that. Fixed the lint.\r\n\r\n> Although where it's moving the test import doesn't look ri... |
https://api.github.com/repos/psf/requests/issues/6335 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6335/labels{/name} | https://api.github.com/repos/psf/requests/issues/6335/comments | https://api.github.com/repos/psf/requests/issues/6335/events | https://github.com/psf/requests/pull/6335 | 1,549,958,229 | PR_kwDOABTKOs5IKtNy | 6,335 | Add `mime_type` property to response object | {
"avatar_url": "https://avatars.githubusercontent.com/u/107761433?v=4",
"events_url": "https://api.github.com/users/MarkusHammer/events{/privacy}",
"followers_url": "https://api.github.com/users/MarkusHammer/followers",
"following_url": "https://api.github.com/users/MarkusHammer/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 1 | 2023-01-19T21:19:47Z | 2024-01-20T00:03:15Z | 2023-01-19T21:22:46Z | NONE | resolved | Added a `mime_type` property to the response object to allow for quick figuring out of the type of content of a response. This is a tiny QOL improvement, as it makes it easier to extract the mime type from the header without having to clutter up code just to extract 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/6335/reactions"
} | https://api.github.com/repos/psf/requests/issues/6335/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6335.diff",
"html_url": "https://github.com/psf/requests/pull/6335",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6335.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6335"
} | true | [
"Hi @MarkusHammer, this is pretty specific behavior that I don't believe has a broadly applicable use case.\n\nThe end goal can be accomplished with a few lines of user written code when needed, so I think we'll stick with that as our advisement for now. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/6334 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6334/labels{/name} | https://api.github.com/repos/psf/requests/issues/6334/comments | https://api.github.com/repos/psf/requests/issues/6334/events | https://github.com/psf/requests/pull/6334 | 1,548,508,870 | PR_kwDOABTKOs5IFxRk | 6,334 | Remove <4 from python_requires | {
"avatar_url": "https://avatars.githubusercontent.com/u/57299612?v=4",
"events_url": "https://api.github.com/users/edsonibarra/events{/privacy}",
"followers_url": "https://api.github.com/users/edsonibarra/followers",
"following_url": "https://api.github.com/users/edsonibarra/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2023-01-19T04:47:31Z | 2024-01-20T00:03:17Z | 2023-01-19T05:23:42Z | NONE | resolved | Fix for #6332 | {
"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/6334/reactions"
} | https://api.github.com/repos/psf/requests/issues/6334/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6334.diff",
"html_url": "https://github.com/psf/requests/pull/6334",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6334.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6334"
} | true | [
"I believe there's already a PR for this in #6333. Please be sure to check open PRs before creating new ones, thanks!"
] |
https://api.github.com/repos/psf/requests/issues/6333 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6333/labels{/name} | https://api.github.com/repos/psf/requests/issues/6333/comments | https://api.github.com/repos/psf/requests/issues/6333/events | https://github.com/psf/requests/pull/6333 | 1,548,143,957 | PR_kwDOABTKOs5IEiqD | 6,333 | fix: Remove '<4' from python_requires | {
"avatar_url": "https://avatars.githubusercontent.com/u/5142394?v=4",
"events_url": "https://api.github.com/users/matthewfeickert/events{/privacy}",
"followers_url": "https://api.github.com/users/matthewfeickert/followers",
"following_url": "https://api.github.com/users/matthewfeickert/following{/other_user}",... | [] | closed | true | null | [] | null | 2 | 2023-01-18T21:37:47Z | 2024-01-20T00:03:16Z | 2023-01-19T05:37:25Z | CONTRIBUTOR | resolved | Resolves #6332
The
https://github.com/psf/requests/blob/61c324da43dd8b775d3930d76265538b3ca27bc1/setup.py#L97
cap was added in PR #6091.
As discussed in https://discuss.python.org/t/use-of-less-than-next-major-version-e-g-4-in-python-requires-setup-py/1066 and [other places](https://iscinumpy.dev/post/boun... | {
"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/6333/reactions"
} | https://api.github.com/repos/psf/requests/issues/6333/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6333.diff",
"html_url": "https://github.com/psf/requests/pull/6333",
"merged_at": "2023-01-19T05:37:25Z",
"patch_url": "https://github.com/psf/requests/pull/6333.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6333"
} | true | [
"This is ready for review.",
"It looks like this is a pretty consistent standard you've helped drive across projects. Given the comments in the discussion from the other PyPA maintainers, I think this is reasonable. Thanks @matthewfeickert!"
] |
https://api.github.com/repos/psf/requests/issues/6332 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6332/labels{/name} | https://api.github.com/repos/psf/requests/issues/6332/comments | https://api.github.com/repos/psf/requests/issues/6332/events | https://github.com/psf/requests/issues/6332 | 1,548,134,137 | I_kwDOABTKOs5cRqb5 | 6,332 | Remove '<4' from python_requires | {
"avatar_url": "https://avatars.githubusercontent.com/u/5142394?v=4",
"events_url": "https://api.github.com/users/matthewfeickert/events{/privacy}",
"followers_url": "https://api.github.com/users/matthewfeickert/followers",
"following_url": "https://api.github.com/users/matthewfeickert/following{/other_user}",... | [] | closed | true | null | [] | null | 0 | 2023-01-18T21:29:35Z | 2024-01-20T00:03:14Z | 2023-01-19T05:37:26Z | CONTRIBUTOR | resolved | ## Summary
As discussed in the discuss.python topic ["Use of “less-than next-major-version” (e.g., `<4`) in `python_requires` (setup.py)"](https://discuss.python.org/t/use-of-less-than-next-major-version-e-g-4-in-python-requires-setup-py/1066) and [other places](https://iscinumpy.dev/post/bound-version-constraints/)... | {
"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/6332/reactions"
} | https://api.github.com/repos/psf/requests/issues/6332/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/6331 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6331/labels{/name} | https://api.github.com/repos/psf/requests/issues/6331/comments | https://api.github.com/repos/psf/requests/issues/6331/events | https://github.com/psf/requests/issues/6331 | 1,532,309,427 | I_kwDOABTKOs5bVS-z | 6,331 | Recent version 2.28.2 cannot be used in PyInstaller because of missing charset_normalizer files | {
"avatar_url": "https://avatars.githubusercontent.com/u/921251?v=4",
"events_url": "https://api.github.com/users/ikus060/events{/privacy}",
"followers_url": "https://api.github.com/users/ikus060/followers",
"following_url": "https://api.github.com/users/ikus060/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 5 | 2023-01-13T13:29:49Z | 2024-04-28T00:04:14Z | 2023-01-13T14:08:53Z | NONE | resolved | Requests is not working in PyInstaller packages because of missing file from `charset_normalizer` module.
## Expected Result
I'm expecting `requests` to be working within PyInstaller package.
## Actual Result
Once the package is compile within an executable, the executable fail to start as follow:
```
T... | {
"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/6331/reactions"
} | https://api.github.com/repos/psf/requests/issues/6331/timeline | null | not_planned | null | null | false | [
"Charset normalizer is a dependency of requests, not a project maintained by us. This presents another good reason to ditch it though and stop trying to auto detect character sets.\n\nWe can't fix this for you since it's not our code. Closing as a result ",
"I'm disagree that this can't be fixed in requests code.... |
https://api.github.com/repos/psf/requests/issues/6330 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6330/labels{/name} | https://api.github.com/repos/psf/requests/issues/6330/comments | https://api.github.com/repos/psf/requests/issues/6330/events | https://github.com/psf/requests/pull/6330 | 1,531,625,586 | PR_kwDOABTKOs5HS2Q9 | 6,330 | Add example and improve docs for RequestException | {
"avatar_url": "https://avatars.githubusercontent.com/u/76045667?v=4",
"events_url": "https://api.github.com/users/edward70/events{/privacy}",
"followers_url": "https://api.github.com/users/edward70/followers",
"following_url": "https://api.github.com/users/edward70/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2023-01-13T02:41:11Z | 2024-08-12T00:06:14Z | 2023-08-12T18:34:42Z | NONE | resolved | I added a brief example of exception handling for `RequestException` and documented the `request` and `response` attributes. PR does not overlap with #6237 | {
"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/6330/reactions"
} | https://api.github.com/repos/psf/requests/issues/6330/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6330.diff",
"html_url": "https://github.com/psf/requests/pull/6330",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6330.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6330"
} | true | [
"Hi @edward70,\r\n\r\nThanks for the contribution! While this is all correct, it's also information that can be understood reading the code. We try to reserve usage comments for areas that are particularly complex or unintuitive, otherwise it can make code harder to follow due to comment clutter. For that reason, I... |
https://api.github.com/repos/psf/requests/issues/6329 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6329/labels{/name} | https://api.github.com/repos/psf/requests/issues/6329/comments | https://api.github.com/repos/psf/requests/issues/6329/events | https://github.com/psf/requests/pull/6329 | 1,529,816,381 | PR_kwDOABTKOs5HMtdQ | 6,329 | v2.28.2 | {
"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... | [] | closed | true | null | [] | null | 0 | 2023-01-11T22:39:35Z | 2023-01-12T16:45:01Z | 2023-01-12T16:16:12Z | MEMBER | resolved | 2.28.2 (2023-01-12)
-------------------
**Dependencies**
- Requests now supports charset\_normalizer 3.x. (#6261)
**Bugfixes**
- Updated MissingSchema exception to suggest https scheme rather than http. (#6188) | {
"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/6329/reactions"
} | https://api.github.com/repos/psf/requests/issues/6329/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6329.diff",
"html_url": "https://github.com/psf/requests/pull/6329",
"merged_at": "2023-01-12T16:16:12Z",
"patch_url": "https://github.com/psf/requests/pull/6329.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6329"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6328 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6328/labels{/name} | https://api.github.com/repos/psf/requests/issues/6328/comments | https://api.github.com/repos/psf/requests/issues/6328/events | https://github.com/psf/requests/issues/6328 | 1,528,845,431 | I_kwDOABTKOs5bIFR3 | 6,328 | Please do not put upper bounds on your requirements constraints | {
"avatar_url": "https://avatars.githubusercontent.com/u/675997?v=4",
"events_url": "https://api.github.com/users/pombredanne/events{/privacy}",
"followers_url": "https://api.github.com/users/pombredanne/followers",
"following_url": "https://api.github.com/users/pombredanne/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 4 | 2023-01-11T11:08:00Z | 2024-01-12T00:03:25Z | 2023-01-11T11:59:15Z | CONTRIBUTOR | resolved | See https://iscinumpy.dev/post/bound-version-constraints/ as for why this is a problem.
This is a source of byzantine issues such as https://github.com/nexB/scancode-toolkit/issues/3195 | {
"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/6328/reactions"
} | https://api.github.com/repos/psf/requests/issues/6328/timeline | null | completed | null | null | false | [
"For reference these are looking like this for now https://github.com/psf/requests/blob/2745db131a667a3d5457957cb3ed6adeb9b9949a/setup.py#L61:L65\r\n```\r\nrequires = [\r\n \"charset_normalizer>=2,<4\",\r\n \"idna>=2.5,<4\",\r\n \"urllib3>=1.21.1,<1.27\",\r\n \"certifi>=2017.4.17\",\r\n```",
"In the f... |
https://api.github.com/repos/psf/requests/issues/6327 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6327/labels{/name} | https://api.github.com/repos/psf/requests/issues/6327/comments | https://api.github.com/repos/psf/requests/issues/6327/events | https://github.com/psf/requests/issues/6327 | 1,527,242,047 | I_kwDOABTKOs5bB90_ | 6,327 | Update dependencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/41735311?v=4",
"events_url": "https://api.github.com/users/celestinoxp/events{/privacy}",
"followers_url": "https://api.github.com/users/celestinoxp/followers",
"following_url": "https://api.github.com/users/celestinoxp/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2023-01-10T11:39:10Z | 2024-01-11T00:03:19Z | 2023-01-10T12:55:58Z | NONE | resolved | requests 2.28.1 requires charset-normalizer<3,>=2, but you have charset-normalizer 3.0.1 which is incompatible.
this problem persists for a long time and requests should release a new update. | {
"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/6327/reactions"
} | https://api.github.com/repos/psf/requests/issues/6327/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates."
] |
https://api.github.com/repos/psf/requests/issues/6326 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6326/labels{/name} | https://api.github.com/repos/psf/requests/issues/6326/comments | https://api.github.com/repos/psf/requests/issues/6326/events | https://github.com/psf/requests/pull/6326 | 1,524,679,434 | PR_kwDOABTKOs5G7XxO | 6,326 | Fix exception causes in utils.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/56778?v=4",
"events_url": "https://api.github.com/users/cool-RR/events{/privacy}",
"followers_url": "https://api.github.com/users/cool-RR/followers",
"following_url": "https://api.github.com/users/cool-RR/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2023-01-08T21:06:36Z | 2024-01-09T00:03:52Z | 2023-01-08T21:43:43Z | NONE | resolved | More context for this change here: https://blog.ram.rachum.com/post/621791438475296768/improving-python-exception-chaining-with | {
"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/6326/reactions"
} | https://api.github.com/repos/psf/requests/issues/6326/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6326.diff",
"html_url": "https://github.com/psf/requests/pull/6326",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6326.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6326"
} | true | [
"I don't believe we have dropped 2.7 support yet. Even still we don't accept minor refactorings "
] |
https://api.github.com/repos/psf/requests/issues/6325 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6325/labels{/name} | https://api.github.com/repos/psf/requests/issues/6325/comments | https://api.github.com/repos/psf/requests/issues/6325/events | https://github.com/psf/requests/pull/6325 | 1,522,865,806 | PR_kwDOABTKOs5G1b9X | 6,325 | Switch to Python 3.11 final on CI and add to tox file | {
"avatar_url": "https://avatars.githubusercontent.com/u/861044?v=4",
"events_url": "https://api.github.com/users/browniebroke/events{/privacy}",
"followers_url": "https://api.github.com/users/browniebroke/followers",
"following_url": "https://api.github.com/users/browniebroke/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2023-01-06T16:53:02Z | 2024-01-07T00:03:54Z | 2023-01-06T18:32:31Z | CONTRIBUTOR | resolved | null | {
"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/6325/reactions"
} | https://api.github.com/repos/psf/requests/issues/6325/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6325.diff",
"html_url": "https://github.com/psf/requests/pull/6325",
"merged_at": "2023-01-06T18:32:31Z",
"patch_url": "https://github.com/psf/requests/pull/6325.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6325"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6324 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6324/labels{/name} | https://api.github.com/repos/psf/requests/issues/6324/comments | https://api.github.com/repos/psf/requests/issues/6324/events | https://github.com/psf/requests/pull/6324 | 1,521,163,093 | PR_kwDOABTKOs5GvmA3 | 6,324 | Correct docstring in requests._internal_utils module | {
"avatar_url": "https://avatars.githubusercontent.com/u/97637908?v=4",
"events_url": "https://api.github.com/users/masterr314/events{/privacy}",
"followers_url": "https://api.github.com/users/masterr314/followers",
"following_url": "https://api.github.com/users/masterr314/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 0 | 2023-01-05T18:09:26Z | 2024-01-06T00:03:14Z | 2023-01-05T19:08:57Z | NONE | resolved | null | {
"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/6324/reactions"
} | https://api.github.com/repos/psf/requests/issues/6324/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6324.diff",
"html_url": "https://github.com/psf/requests/pull/6324",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/6324.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6324"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/6323 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6323/labels{/name} | https://api.github.com/repos/psf/requests/issues/6323/comments | https://api.github.com/repos/psf/requests/issues/6323/events | https://github.com/psf/requests/issues/6323 | 1,520,870,668 | I_kwDOABTKOs5apqUM | 6,323 | From Expecting value: line 1 column 1 (char 0) to Response content not in json format | {
"avatar_url": "https://avatars.githubusercontent.com/u/108686425?v=4",
"events_url": "https://api.github.com/users/hasnainhakim/events{/privacy}",
"followers_url": "https://api.github.com/users/hasnainhakim/followers",
"following_url": "https://api.github.com/users/hasnainhakim/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 1 | 2023-01-05T14:49:33Z | 2024-01-06T00:03:12Z | 2023-01-05T15:22:25Z | NONE | resolved | Hi Please run:
res = self.session.post(url=self.url, data=json.dumps(data), headers=self.h, verify=False)
try:
js = res.json()
token = js['token']
self.cookie['reese84'] = token
print(fg + ' (success)')
return token
except Val... | {
"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/6323/reactions"
} | https://api.github.com/repos/psf/requests/issues/6323/timeline | null | completed | null | null | false | [
"We can't help you debug general Python code, this issue tracker is only for defects in the Requests library. I recommend trying stackoverflow.com/ or the [Python Discord](https://www.pythondiscord.com/)."
] |
https://api.github.com/repos/psf/requests/issues/6322 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6322/labels{/name} | https://api.github.com/repos/psf/requests/issues/6322/comments | https://api.github.com/repos/psf/requests/issues/6322/events | https://github.com/psf/requests/issues/6322 | 1,514,163,029 | I_kwDOABTKOs5aQEtV | 6,322 | Allow charset-normalizer 3.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/1259628?v=4",
"events_url": "https://api.github.com/users/JayBazuzi/events{/privacy}",
"followers_url": "https://api.github.com/users/JayBazuzi/followers",
"following_url": "https://api.github.com/users/JayBazuzi/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2022-12-30T01:03:30Z | 2023-12-31T00:03:51Z | 2022-12-30T01:15:36Z | NONE | resolved | requests does not work with charset-normalizer 3.0.0 or 3.0.1, blocking users of requests from updating to the latest charset-normalizer.
## Expected Result
<!-- What you expected. -->
## Actual Result
<!-- What happened instead. -->
## Reproduction Steps
```python
import requests
```
## System... | {
"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/6322/reactions"
} | https://api.github.com/repos/psf/requests/issues/6322/timeline | null | completed | null | null | false | [
"Duplicate #6261. Please check existing issues before opening new ones, thanks."
] |
https://api.github.com/repos/psf/requests/issues/6321 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6321/labels{/name} | https://api.github.com/repos/psf/requests/issues/6321/comments | https://api.github.com/repos/psf/requests/issues/6321/events | https://github.com/psf/requests/issues/6321 | 1,514,045,225 | I_kwDOABTKOs5aPn8p | 6,321 | Validation of header type makes it imposible to use a str subclass | {
"avatar_url": "https://avatars.githubusercontent.com/u/2127598?v=4",
"events_url": "https://api.github.com/users/startmat/events{/privacy}",
"followers_url": "https://api.github.com/users/startmat/followers",
"following_url": "https://api.github.com/users/startmat/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2022-12-29T20:52:56Z | 2023-12-30T00:03:02Z | 2022-12-29T22:52:25Z | NONE | resolved | Hi,
the validation of header type makes it impossible to use a str subclass.
code of validation:
https://github.com/psf/requests/blob/ec553c275fe915ab8c179a530907b564892d2922/requests/utils.py#L1036
I am rendering a the header by using the Django Template engine which returns a django.utils.safestring.SafeStrin... | {
"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/6321/reactions"
} | https://api.github.com/repos/psf/requests/issues/6321/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates."
] |
https://api.github.com/repos/psf/requests/issues/6320 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6320/labels{/name} | https://api.github.com/repos/psf/requests/issues/6320/comments | https://api.github.com/repos/psf/requests/issues/6320/events | https://github.com/psf/requests/issues/6320 | 1,513,929,932 | I_kwDOABTKOs5aPLzM | 6,320 | Bump certifi dependencie to v2022.12.7 or higher due to Security Vulnerability | {
"avatar_url": "https://avatars.githubusercontent.com/u/527738?v=4",
"events_url": "https://api.github.com/users/MefhigosetH/events{/privacy}",
"followers_url": "https://api.github.com/users/MefhigosetH/followers",
"following_url": "https://api.github.com/users/MefhigosetH/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 4 | 2022-12-29T17:40:19Z | 2024-01-06T00:03:13Z | 2022-12-29T17:43:17Z | NONE | resolved | Affected versions of certifi<=2022.12.7 package are vulnerable to Insufficient Verification of Data Authenticity resulting in Certifi root certificate removal from TrustCor. The root certificates are being removed pursuant to an investigation prompted by media reporting that TrustCor's ownership also operated a busines... | {
"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": 1,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/6320/reactions"
} | https://api.github.com/repos/psf/requests/issues/6320/timeline | null | completed | null | null | false | [
"Hi @MefhigosetH, Requests already supports the patched version of Certifi. Raising the floor will unnecessarily break users as they may be unaffected by the TrustCor issue.",
"Hey there, I contacted privately not having seen this and didn't want raise an issue as it was linked to a vuln (_albeit, moderate_) so a... |
https://api.github.com/repos/psf/requests/issues/6319 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6319/labels{/name} | https://api.github.com/repos/psf/requests/issues/6319/comments | https://api.github.com/repos/psf/requests/issues/6319/events | https://github.com/psf/requests/issues/6319 | 1,513,482,451 | I_kwDOABTKOs5aNejT | 6,319 | Print better "reason" for raise_for_status error message. | {
"avatar_url": "https://avatars.githubusercontent.com/u/42677721?v=4",
"events_url": "https://api.github.com/users/gk-patel/events{/privacy}",
"followers_url": "https://api.github.com/users/gk-patel/followers",
"following_url": "https://api.github.com/users/gk-patel/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2022-12-29T07:58:32Z | 2024-01-20T00:03:13Z | 2023-01-19T05:41:39Z | NONE | resolved | <!-- Summary. -->
Sometimes proper reason is missing in the Error thrown by the raise_for_status method.
`Exception has occurred: HTTPError
405 Client Error: for url: https://bla.com`
This is becasue the `reason` is an empty string on [#Line1010](https://github.com/psf/requests/blob/bda7f0171f8bba17989d3a2c... | {
"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/6319/reactions"
} | https://api.github.com/repos/psf/requests/issues/6319/timeline | null | not_planned | null | null | false | [
"Hey @gk-patel, I can see the reason in response for the method not allowed for jira rest api as well. Check the screenshot attached. Else can you give more brief on steps to reproduce \r\n\r\n",
"Hi @ra... |
https://api.github.com/repos/psf/requests/issues/6318 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6318/labels{/name} | https://api.github.com/repos/psf/requests/issues/6318/comments | https://api.github.com/repos/psf/requests/issues/6318/events | https://github.com/psf/requests/issues/6318 | 1,511,132,821 | I_kwDOABTKOs5aEg6V | 6,318 | Result from browser JS blocked site does not replicate iin Requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/6791269?v=4",
"events_url": "https://api.github.com/users/Beeblebrox-BSD/events{/privacy}",
"followers_url": "https://api.github.com/users/Beeblebrox-BSD/followers",
"following_url": "https://api.github.com/users/Beeblebrox-BSD/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2022-12-26T18:09:58Z | 2023-12-27T00:03:25Z | 2022-12-26T18:42:12Z | NONE | resolved | I'm having trouble understanding a java issue.
My browser has javascript blocker extension, and the site comes up normal with JS fully blocked.
When using requests, however I get 403.
I know Selenium should be used for Java driven sites, but my understanding is that Requests should work if the site comes up with a... | {
"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/6318/reactions"
} | https://api.github.com/repos/psf/requests/issues/6318/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here."
] |
https://api.github.com/repos/psf/requests/issues/6317 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/6317/labels{/name} | https://api.github.com/repos/psf/requests/issues/6317/comments | https://api.github.com/repos/psf/requests/issues/6317/events | https://github.com/psf/requests/pull/6317 | 1,510,442,243 | PR_kwDOABTKOs5GLOIX | 6,317 | Update flake8 repo and version | {
"avatar_url": "https://avatars.githubusercontent.com/u/108201575?v=4",
"events_url": "https://api.github.com/users/ch-iv/events{/privacy}",
"followers_url": "https://api.github.com/users/ch-iv/followers",
"following_url": "https://api.github.com/users/ch-iv/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 0 | 2022-12-25T23:39:31Z | 2023-12-27T00:03:27Z | 2022-12-26T04:24:16Z | CONTRIBUTOR | resolved | Closes #6316 | {
"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/6317/reactions"
} | https://api.github.com/repos/psf/requests/issues/6317/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/6317.diff",
"html_url": "https://github.com/psf/requests/pull/6317",
"merged_at": "2022-12-26T04:24:16Z",
"patch_url": "https://github.com/psf/requests/pull/6317.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/6317"
} | true | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.