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/5698 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5698/labels{/name} | https://api.github.com/repos/psf/requests/issues/5698/comments | https://api.github.com/repos/psf/requests/issues/5698/events | https://github.com/psf/requests/pull/5698 | 771,520,124 | MDExOlB1bGxSZXF1ZXN0NTQzMDIxOTQ3 | 5,698 | Pin GHA to Ubuntu 20.10 | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2020-12-20T05:46:52Z | 2021-08-27T00:08:53Z | 2020-12-20T11:34:28Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | {
"+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/5698/reactions"
} | https://api.github.com/repos/psf/requests/issues/5698/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5698.diff",
"html_url": "https://github.com/psf/requests/pull/5698",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5698.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5698"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/5697 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5697/labels{/name} | https://api.github.com/repos/psf/requests/issues/5697/comments | https://api.github.com/repos/psf/requests/issues/5697/events | https://github.com/psf/requests/pull/5697 | 771,511,818 | MDExOlB1bGxSZXF1ZXN0NTQzMDE2MTQy | 5,697 | Create check-pep8.yml | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2020-12-20T04:41:32Z | 2021-08-27T00:08:55Z | 2020-12-20T11:35:18Z | NONE | resolved | Create check-pep8.yml | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | {
"+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/5697/reactions"
} | https://api.github.com/repos/psf/requests/issues/5697/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5697.diff",
"html_url": "https://github.com/psf/requests/pull/5697",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5697.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5697"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5696 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5696/labels{/name} | https://api.github.com/repos/psf/requests/issues/5696/comments | https://api.github.com/repos/psf/requests/issues/5696/events | https://github.com/psf/requests/pull/5696 | 771,267,812 | MDExOlB1bGxSZXF1ZXN0NTQyODUyMzk4 | 5,696 | Document that the timeout can be an int | {
"avatar_url": "https://avatars.githubusercontent.com/u/29556373?v=4",
"events_url": "https://api.github.com/users/JustAnotherArchivist/events{/privacy}",
"followers_url": "https://api.github.com/users/JustAnotherArchivist/followers",
"following_url": "https://api.github.com/users/JustAnotherArchivist/followin... | [] | closed | true | null | [] | null | 4 | 2020-12-19T01:12:57Z | 2021-11-29T12:36:10Z | 2021-11-28T14:21:10Z | NONE | resolved | Requests simply delegates to `urllib3.util.Timeout`, and urllib3 has of course supported ints for a very long time – at least Sept 2013 per the docstring changes, but likely much longer than that. The [timeout section in the advanced docs](https://github.com/psf/requests/blob/c2b307dbefe21177af03f9feb37181a89a799fcc/do... | {
"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/5696/reactions"
} | https://api.github.com/repos/psf/requests/issues/5696/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5696.diff",
"html_url": "https://github.com/psf/requests/pull/5696",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5696.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5696"
} | true | [
"`int`s are just converted to `float`s under the covers and really floats are the better thing to be using. It'd probably be better to convert the timeout section in our docs to using floats.",
"I disagree. Despite the internal conversion, from the perspective of the user code, the best data type to represent an ... |
https://api.github.com/repos/psf/requests/issues/5695 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5695/labels{/name} | https://api.github.com/repos/psf/requests/issues/5695/comments | https://api.github.com/repos/psf/requests/issues/5695/events | https://github.com/psf/requests/pull/5695 | 769,149,000 | MDExOlB1bGxSZXF1ZXN0NTQxMzQxNDI3 | 5,695 | v2.25.1 | {
"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 | 2020-12-16T17:56:20Z | 2021-08-27T00:08:55Z | 2020-12-16T19:34:27Z | MEMBER | resolved | 2.25.1 (2020-12-16)
-------------------
**Bugfixes**
- Requests now treats `application/json` as `utf8` by default. Resolving
inconsistencies between `r.text` and `r.json` output. (#5673)
**Dependencies**
- Requests now supports chardet v4.x. | {
"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/5695/reactions"
} | https://api.github.com/repos/psf/requests/issues/5695/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5695.diff",
"html_url": "https://github.com/psf/requests/pull/5695",
"merged_at": "2020-12-16T19:34:27Z",
"patch_url": "https://github.com/psf/requests/pull/5695.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5695"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5694 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5694/labels{/name} | https://api.github.com/repos/psf/requests/issues/5694/comments | https://api.github.com/repos/psf/requests/issues/5694/events | https://github.com/psf/requests/pull/5694 | 767,022,479 | MDExOlB1bGxSZXF1ZXN0NTM5ODcxMTkw | 5,694 | fixed a typo in module doc string. | {
"avatar_url": "https://avatars.githubusercontent.com/u/91414?v=4",
"events_url": "https://api.github.com/users/shouro/events{/privacy}",
"followers_url": "https://api.github.com/users/shouro/followers",
"following_url": "https://api.github.com/users/shouro/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 0 | 2020-12-14T23:44:12Z | 2021-08-27T00:08:56Z | 2020-12-14T23:49:50Z | CONTRIBUTOR | resolved | I changed requests.session -> requests.sessions in doc string of sessions module. | {
"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/5694/reactions"
} | https://api.github.com/repos/psf/requests/issues/5694/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5694.diff",
"html_url": "https://github.com/psf/requests/pull/5694",
"merged_at": "2020-12-14T23:49:50Z",
"patch_url": "https://github.com/psf/requests/pull/5694.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5694"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5693 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5693/labels{/name} | https://api.github.com/repos/psf/requests/issues/5693/comments | https://api.github.com/repos/psf/requests/issues/5693/events | https://github.com/psf/requests/pull/5693 | 764,088,748 | MDExOlB1bGxSZXF1ZXN0NTM4MzI5NDM4 | 5,693 | Pass urllib3.SKIP_HEADER when headers should be unset | {
"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_... | [] | open | false | null | [] | null | 0 | 2020-12-12T17:32:16Z | 2022-02-17T15:48:57Z | null | CONTRIBUTOR | null | urllib3 introduced some default headers and a way to skip them if
desired. Let's use that sentinel value to pass along information about
Requests' users desire to skip those headers as well.
Closes gh-5671
---
I'm pretty sure the tests will fail to start with, but wanted to get a sketch of something up for ear... | null | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5693/reactions"
} | https://api.github.com/repos/psf/requests/issues/5693/timeline | null | null | true | {
"diff_url": "https://github.com/psf/requests/pull/5693.diff",
"html_url": "https://github.com/psf/requests/pull/5693",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5693.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5693"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5692 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5692/labels{/name} | https://api.github.com/repos/psf/requests/issues/5692/comments | https://api.github.com/repos/psf/requests/issues/5692/events | https://github.com/psf/requests/issues/5692 | 762,917,561 | MDU6SXNzdWU3NjI5MTc1NjE= | 5,692 | requests.auth.HTTPDigestAuth does not support qop=auth-int | {
"avatar_url": "https://avatars.githubusercontent.com/u/13699256?v=4",
"events_url": "https://api.github.com/users/ATXadam/events{/privacy}",
"followers_url": "https://api.github.com/users/ATXadam/followers",
"following_url": "https://api.github.com/users/ATXadam/following{/other_user}",
"gists_url": "https:... | [] | open | false | null | [] | null | 0 | 2020-12-11T21:18:45Z | 2020-12-11T21:18:45Z | null | NONE | null | ## Summary:
When using requests.auth.HTTPDigestAuth, if the www-authenticate digest back has a qop value of 'auth-int', build_digest_header returns None, which makes http.client.HTTPConnection.putheader throw an exception because *values expects to be a set of Strings or Bytes.
## Expected Result:
I expect a vali... | 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/5692/reactions"
} | https://api.github.com/repos/psf/requests/issues/5692/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5691 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5691/labels{/name} | https://api.github.com/repos/psf/requests/issues/5691/comments | https://api.github.com/repos/psf/requests/issues/5691/events | https://github.com/psf/requests/issues/5691 | 762,195,474 | MDU6SXNzdWU3NjIxOTU0NzQ= | 5,691 | Boundary and content disposition appears in content during PUT request python | {
"avatar_url": "https://avatars.githubusercontent.com/u/53515128?v=4",
"events_url": "https://api.github.com/users/swamat/events{/privacy}",
"followers_url": "https://api.github.com/users/swamat/followers",
"following_url": "https://api.github.com/users/swamat/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2020-12-11T10:15:12Z | 2021-08-28T00:06:02Z | 2020-12-11T12:19:45Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
Hi ,
I am new to requests lib.
I am generating a presigned url for s3 and use that to upload csv file using below command
files = {'file':open(<my file name'>,'rb')}
response = requests.put(<signe... | {
"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/5691/reactions"
} | https://api.github.com/repos/psf/requests/issues/5691/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/5690 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5690/labels{/name} | https://api.github.com/repos/psf/requests/issues/5690/comments | https://api.github.com/repos/psf/requests/issues/5690/events | https://github.com/psf/requests/issues/5690 | 761,939,618 | MDU6SXNzdWU3NjE5Mzk2MTg= | 5,690 | Support Chardet version 4 | {
"avatar_url": "https://avatars.githubusercontent.com/u/57199?v=4",
"events_url": "https://api.github.com/users/dwt/events{/privacy}",
"followers_url": "https://api.github.com/users/dwt/followers",
"following_url": "https://api.github.com/users/dwt/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 3 | 2020-12-11T06:05:43Z | 2021-08-28T00:06:01Z | 2020-12-14T17:30:07Z | NONE | resolved | It was released yesterday: https://github.com/chardet/chardet/releases and I would like to use it together with 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": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5690/reactions"
} | https://api.github.com/repos/psf/requests/issues/5690/timeline | null | completed | null | null | false | [
"Someone will need to investigate how to test compatibility of Requests with the new `chardet` version.",
"PR for this is already in progress \r\nhttps://github.com/psf/requests/pull/5688",
"#5688 is merged. It should be available in the next release."
] |
https://api.github.com/repos/psf/requests/issues/5689 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5689/labels{/name} | https://api.github.com/repos/psf/requests/issues/5689/comments | https://api.github.com/repos/psf/requests/issues/5689/events | https://github.com/psf/requests/pull/5689 | 761,928,942 | MDExOlB1bGxSZXF1ZXN0NTM2NTI5NDM4 | 5,689 | Bump chardet to 4.0.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/27302114?v=4",
"events_url": "https://api.github.com/users/mishankov/events{/privacy}",
"followers_url": "https://api.github.com/users/mishankov/followers",
"following_url": "https://api.github.com/users/mishankov/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2020-12-11T05:45:18Z | 2021-08-27T00:08:56Z | 2020-12-11T05:50:46Z | NONE | resolved | Bump chardet version to >=4.0.0,<5
Chardets 4.0.0 release notes: https://github.com/chardet/chardet/releases/tag/4.0.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/27302114?v=4",
"events_url": "https://api.github.com/users/mishankov/events{/privacy}",
"followers_url": "https://api.github.com/users/mishankov/followers",
"following_url": "https://api.github.com/users/mishankov/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/5689/reactions"
} | https://api.github.com/repos/psf/requests/issues/5689/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5689.diff",
"html_url": "https://github.com/psf/requests/pull/5689",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5689.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5689"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5688 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5688/labels{/name} | https://api.github.com/repos/psf/requests/issues/5688/comments | https://api.github.com/repos/psf/requests/issues/5688/events | https://github.com/psf/requests/pull/5688 | 761,771,131 | MDExOlB1bGxSZXF1ZXN0NTM2Mzg4OTcy | 5,688 | Upgrade to chardet 4.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/976345?v=4",
"events_url": "https://api.github.com/users/dan-blanchard/events{/privacy}",
"followers_url": "https://api.github.com/users/dan-blanchard/followers",
"following_url": "https://api.github.com/users/dan-blanchard/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 4 | 2020-12-11T01:26:30Z | 2021-08-27T00:08:56Z | 2020-12-14T17:29:11Z | CONTRIBUTOR | resolved | I just released [chardet 4.0.0](https://github.com/chardet/chardet/releases/tag/4.0.0) today, and it's faster and fully backward compatible with chardet 3.x (as long as you aren't mucking around in the models it uses under-the-hood directly). The next major release will be Python 3.6+, but seeing as it took me three ye... | {
"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": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 3,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/psf/requests/issues/5688/reactions"
} | https://api.github.com/repos/psf/requests/issues/5688/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5688.diff",
"html_url": "https://github.com/psf/requests/pull/5688",
"merged_at": "2020-12-14T17:29:11Z",
"patch_url": "https://github.com/psf/requests/pull/5688.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5688"
} | true | [
"`requests/__init__.py` lines 69 to 71 need to be updated otherwise one gets a warning:\r\n\r\n```\r\n/usr/lib/python3.8/site-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (4.0.0) doesn't match a supported version!\r\n warnings.warn(\"urllib3 ({}) or chardet ({}) doesn't ... |
https://api.github.com/repos/psf/requests/issues/5687 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5687/labels{/name} | https://api.github.com/repos/psf/requests/issues/5687/comments | https://api.github.com/repos/psf/requests/issues/5687/events | https://github.com/psf/requests/issues/5687 | 761,410,980 | MDU6SXNzdWU3NjE0MTA5ODA= | 5,687 | Uri and request from other language | {
"avatar_url": "https://avatars.githubusercontent.com/u/73819922?v=4",
"events_url": "https://api.github.com/users/GeorgeTheodorak/events{/privacy}",
"followers_url": "https://api.github.com/users/GeorgeTheodorak/followers",
"following_url": "https://api.github.com/users/GeorgeTheodorak/following{/other_user}"... | [] | closed | true | null | [] | null | 1 | 2020-12-10T16:56:33Z | 2021-08-28T00:06:02Z | 2020-12-10T17:34:02Z | NONE | resolved | Hello.
I am currently tring to request a page using .get
my problem is that when i use specific chars become %something but i what be completed like this
"https://test:search?keyphrase=ΤεστΕδωΕχειΕλληνικα"
but the requests changes those greek chars before sending it .
Is there any way to fix this.
Thanks in adva... | {
"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/5687/reactions"
} | https://api.github.com/repos/psf/requests/issues/5687/timeline | null | completed | null | null | false | [
"Requests is doing the right thing by percent-encoding that phrase.\r\n\r\nBrowsers have this exact behavior because it's complying with standards (see RFC 3986). This is what the request looks like from Firefox:\r\n\r\n```\r\nhttps://test:search?keyphrase=%CE%A4%CE%B5%CF%83%CF%84%CE%95%CE%B4%CF%89%CE%95%CF%87%CE%B... |
https://api.github.com/repos/psf/requests/issues/5686 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5686/labels{/name} | https://api.github.com/repos/psf/requests/issues/5686/comments | https://api.github.com/repos/psf/requests/issues/5686/events | https://github.com/psf/requests/issues/5686 | 760,640,390 | MDU6SXNzdWU3NjA2NDAzOTA= | 5,686 | 301 on PUT drops body | {
"avatar_url": "https://avatars.githubusercontent.com/u/401438?v=4",
"events_url": "https://api.github.com/users/AstraLuma/events{/privacy}",
"followers_url": "https://api.github.com/users/AstraLuma/followers",
"following_url": "https://api.github.com/users/AstraLuma/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 4 | 2020-12-09T20:18:17Z | 2021-08-28T00:06:03Z | 2020-12-09T20:33:32Z | NONE | resolved | When receiving a 301 redirect to an HTTP PUT, the second request is also a PUT but the body has been dropped.
## Expected Result
Either the request is converted to a GET (form reply redirect), or the body is retained (full retry redirect).
## Actual Result
```
DEBUG:urllib3.connectionpool:Starting new HTTP... | {
"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/5686/reactions"
} | https://api.github.com/repos/psf/requests/issues/5686/timeline | null | completed | null | null | false | [
"This is expected for compatibility reasons, see: https://tools.ietf.org/html/rfc7231#section-6.4.4\r\nThe HTTP status should be 308 for permanent redirects that don't change the request method.",
"Ok, then you should either:\r\n\r\n* Convert to a GET completely\r\n* Keep it a PUT and retain the body\r\n\r\nThis ... |
https://api.github.com/repos/psf/requests/issues/5685 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5685/labels{/name} | https://api.github.com/repos/psf/requests/issues/5685/comments | https://api.github.com/repos/psf/requests/issues/5685/events | https://github.com/psf/requests/issues/5685 | 760,550,067 | MDU6SXNzdWU3NjA1NTAwNjc= | 5,685 | Cannot pass in client certs while using a session | {
"avatar_url": "https://avatars.githubusercontent.com/u/19295663?v=4",
"events_url": "https://api.github.com/users/jsmaupin/events{/privacy}",
"followers_url": "https://api.github.com/users/jsmaupin/followers",
"following_url": "https://api.github.com/users/jsmaupin/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-12-09T18:04:30Z | 2021-08-28T00:06:03Z | 2020-12-09T18:14:51Z | NONE | resolved | I get contradicting exceptions when I try to pass in a client certificate and private key into a session object that is used for the request.
## Expected Result
Using a client cert and private key will work with sessions just as it does with a request that is not in a session.
## Actual Result
If I use:
``... | {
"avatar_url": "https://avatars.githubusercontent.com/u/19295663?v=4",
"events_url": "https://api.github.com/users/jsmaupin/events{/privacy}",
"followers_url": "https://api.github.com/users/jsmaupin/followers",
"following_url": "https://api.github.com/users/jsmaupin/following{/other_user}",
"gists_url": "htt... | {
"+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/5685/reactions"
} | https://api.github.com/repos/psf/requests/issues/5685/timeline | null | completed | null | null | false | [
"I resolved this. I had a stray comma in my code."
] |
https://api.github.com/repos/psf/requests/issues/5684 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5684/labels{/name} | https://api.github.com/repos/psf/requests/issues/5684/comments | https://api.github.com/repos/psf/requests/issues/5684/events | https://github.com/psf/requests/pull/5684 | 760,348,792 | MDExOlB1bGxSZXF1ZXN0NTM1MTk1NjA1 | 5,684 | update sponsorship link, resolves #5683 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1200832?v=4",
"events_url": "https://api.github.com/users/ewdurbin/events{/privacy}",
"followers_url": "https://api.github.com/users/ewdurbin/followers",
"following_url": "https://api.github.com/users/ewdurbin/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 0 | 2020-12-09T13:52:50Z | 2021-08-27T00:08:57Z | 2020-12-09T14:03:58Z | MEMBER | resolved | PSF relaunched new sponsorship program and the URL has changed. | {
"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/5684/reactions"
} | https://api.github.com/repos/psf/requests/issues/5684/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5684.diff",
"html_url": "https://github.com/psf/requests/pull/5684",
"merged_at": "2020-12-09T14:03:58Z",
"patch_url": "https://github.com/psf/requests/pull/5684.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5684"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5683 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5683/labels{/name} | https://api.github.com/repos/psf/requests/issues/5683/comments | https://api.github.com/repos/psf/requests/issues/5683/events | https://github.com/psf/requests/issues/5683 | 760,140,647 | MDU6SXNzdWU3NjAxNDA2NDc= | 5,683 | Broken sponsor link | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-12-09T09:00:27Z | 2021-08-28T00:06:03Z | 2020-12-09T12:59:26Z | NONE | resolved | Summary.
## Expected Result
I and others can sponsor your team for this awesome project
## Actual Result
I can't because the sponsor link has been broken
## Reproduction Steps
N/A
## System Information
$ python -m requests.help
```
{
"chardet": {
"version": "3.0.4"
},
"cryp... | {
"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/5683/reactions"
} | https://api.github.com/repos/psf/requests/issues/5683/timeline | null | completed | null | null | false | [
"Hi there,\r\n\r\nThanks for bringing this to our attention. Unfortunately, the folks who maintain this project don't control that form. Supporting the PSF (especially during the Q4 drive right now: https://www.python.org/psf/donations/2020-q42020-drive/ ) will undoubtedly benefit this project.\r\n\r\nCheers,\r\nIa... |
https://api.github.com/repos/psf/requests/issues/5682 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5682/labels{/name} | https://api.github.com/repos/psf/requests/issues/5682/comments | https://api.github.com/repos/psf/requests/issues/5682/events | https://github.com/psf/requests/issues/5682 | 760,019,713 | MDU6SXNzdWU3NjAwMTk3MTM= | 5,682 | When I upload empty file with streaming, `Transfer-Encoding` added to request header. | {
"avatar_url": "https://avatars.githubusercontent.com/u/6350027?v=4",
"events_url": "https://api.github.com/users/yuji38kwmt/events{/privacy}",
"followers_url": "https://api.github.com/users/yuji38kwmt/followers",
"following_url": "https://api.github.com/users/yuji38kwmt/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-12-09T05:45:16Z | 2021-08-28T00:06:04Z | 2020-12-09T13:01:46Z | NONE | resolved | When I upload empty file with streaming, `Transfer-Encoding` added to request header.
## Expected Result
What you expected.
```
def upload_streaming(file):
with open(file, mode="rb") as f:
r = requests.put("https://httpbin.org/put", data=f)
print(r.request.headers)
upload_streaming("... | {
"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/5682/reactions"
} | https://api.github.com/repos/psf/requests/issues/5682/timeline | null | completed | null | null | false | [
"Hi there,\r\n\r\nWhen we cannot determine a length for a file, we default to chunked transfer-encoding which is entirely valid approach. It's what many HTTP clients do in this case where the file size is unavailable to them. Your expectation is also entirely flawed. If you're uploading a file anywhere (regardless ... |
https://api.github.com/repos/psf/requests/issues/5681 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5681/labels{/name} | https://api.github.com/repos/psf/requests/issues/5681/comments | https://api.github.com/repos/psf/requests/issues/5681/events | https://github.com/psf/requests/pull/5681 | 759,644,479 | MDExOlB1bGxSZXF1ZXN0NTM0NjEzOTQ2 | 5,681 | 5677: Rebuild proxies on Session#send | {
"avatar_url": "https://avatars.githubusercontent.com/u/1688249?v=4",
"events_url": "https://api.github.com/users/mateusduboli/events{/privacy}",
"followers_url": "https://api.github.com/users/mateusduboli/followers",
"following_url": "https://api.github.com/users/mateusduboli/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 0 | 2020-12-08T17:39:44Z | 2021-08-27T00:08:49Z | 2021-01-24T22:59:47Z | CONTRIBUTOR | resolved | - Adds some test cases to highlight the issue, some of those seem excessive, I would like suggestions on how to combine them.
- Rebuilds the proxy configuration on `send`, making it behave like `requests.Session#request` that already did that.
| {
"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/5681/reactions"
} | https://api.github.com/repos/psf/requests/issues/5681/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5681.diff",
"html_url": "https://github.com/psf/requests/pull/5681",
"merged_at": "2021-01-24T22:59:47Z",
"patch_url": "https://github.com/psf/requests/pull/5681.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5681"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5680 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5680/labels{/name} | https://api.github.com/repos/psf/requests/issues/5680/comments | https://api.github.com/repos/psf/requests/issues/5680/events | https://github.com/psf/requests/issues/5680 | 759,122,504 | MDU6SXNzdWU3NTkxMjI1MDQ= | 5,680 | Response object does not handle encoding properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/44990492?v=4",
"events_url": "https://api.github.com/users/harplife/events{/privacy}",
"followers_url": "https://api.github.com/users/harplife/followers",
"following_url": "https://api.github.com/users/harplife/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-12-08T06:47:58Z | 2021-08-28T00:06:00Z | 2020-12-08T13:06:32Z | NONE | resolved | GET request to an API returned a response with broken encoding.
More specifically, the response body was encoded in ASCII even though the data sent via API is encoded in UTF-8.
The result is escaped non-ASCII characters in the response body.
This behaviour can be observed on r.content, r.text, and r.json().
Follo... | {
"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/5680/reactions"
} | https://api.github.com/repos/psf/requests/issues/5680/timeline | null | completed | null | null | false | [
"You're right, this is a duplicate of old bug reports. The fact that you found those and opened a new one is confusing. We don't need 1 bug report for everyone who has found the same bug"
] |
https://api.github.com/repos/psf/requests/issues/5679 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5679/labels{/name} | https://api.github.com/repos/psf/requests/issues/5679/comments | https://api.github.com/repos/psf/requests/issues/5679/events | https://github.com/psf/requests/issues/5679 | 758,235,022 | MDU6SXNzdWU3NTgyMzUwMjI= | 5,679 | [DOC] Misleading Statement in Chinese Translation of Documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/16185679?v=4",
"events_url": "https://api.github.com/users/zhan-zhang/events{/privacy}",
"followers_url": "https://api.github.com/users/zhan-zhang/followers",
"following_url": "https://api.github.com/users/zhan-zhang/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2020-12-07T07:13:27Z | 2021-08-28T00:06:04Z | 2020-12-09T07:43:45Z | NONE | resolved | In the first line of the [Chinese translation](https://requests.readthedocs.io/zh_CN/latest/#id3), the translator used a statement as:
> "Requests 唯一的一个非转基因的 Python HTTP 库,人类可以安全享用。"
which means:
> "Requests is the only non-genetically-modified HTTP library in Python, safe for human beings to use"
This ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/16185679?v=4",
"events_url": "https://api.github.com/users/zhan-zhang/events{/privacy}",
"followers_url": "https://api.github.com/users/zhan-zhang/followers",
"following_url": "https://api.github.com/users/zhan-zhang/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/5679/reactions"
} | https://api.github.com/repos/psf/requests/issues/5679/timeline | null | completed | null | null | false | [
"I'd be happy to open a PR to make it match the English version but failed to find the file that contains the translation - can anyone give me a pointer?",
"https://github.com/requests/requests-docs-cn is the repository with that translation. It's from an older version of the english docs"
] |
https://api.github.com/repos/psf/requests/issues/5678 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5678/labels{/name} | https://api.github.com/repos/psf/requests/issues/5678/comments | https://api.github.com/repos/psf/requests/issues/5678/events | https://github.com/psf/requests/issues/5678 | 755,738,198 | MDU6SXNzdWU3NTU3MzgxOTg= | 5,678 | request defaulting to GET if url missing ending '/' on rasberry pi | {
"avatar_url": "https://avatars.githubusercontent.com/u/42101276?v=4",
"events_url": "https://api.github.com/users/newnativeabq/events{/privacy}",
"followers_url": "https://api.github.com/users/newnativeabq/followers",
"following_url": "https://api.github.com/users/newnativeabq/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 2 | 2020-12-03T01:31:08Z | 2021-08-28T00:06:05Z | 2020-12-03T03:53:45Z | NONE | resolved | Summary.
If I send a POST request with http://...., the request is sent as GET and the body is stripped. If I add the ending '/' http://.../, the request sends as expected.
## Expected Result
requests.request("POST", **kwargs) sends a POST request regardless of URL. Same for requests.POST(url, **kwargs)
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/42101276?v=4",
"events_url": "https://api.github.com/users/newnativeabq/events{/privacy}",
"followers_url": "https://api.github.com/users/newnativeabq/followers",
"following_url": "https://api.github.com/users/newnativeabq/following{/other_user}",
"gist... | {
"+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/5678/reactions"
} | https://api.github.com/repos/psf/requests/issues/5678/timeline | null | completed | null | null | false | [
"Sounds like the API you're hitting is returning a redirect that for compatibility reasons transforms POST to GET. Try the request with redirects=False and inspect the status code to verify this.\n\nIf you control the API I recommend using 307/308 redirect status codes.",
"You nailed it. If I use allow_redirects... |
https://api.github.com/repos/psf/requests/issues/5677 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5677/labels{/name} | https://api.github.com/repos/psf/requests/issues/5677/comments | https://api.github.com/repos/psf/requests/issues/5677/events | https://github.com/psf/requests/issues/5677 | 755,724,610 | MDU6SXNzdWU3NTU3MjQ2MTA= | 5,677 | Session does not consistently respects proxy environment variables. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1688249?v=4",
"events_url": "https://api.github.com/users/mateusduboli/events{/privacy}",
"followers_url": "https://api.github.com/users/mateusduboli/followers",
"following_url": "https://api.github.com/users/mateusduboli/following{/other_user}",
"gists... | [] | open | false | null | [] | null | 9 | 2020-12-03T00:55:49Z | 2023-06-26T12:06:39Z | null | CONTRIBUTOR | null | There are inconsistencies when working with proxy environment variables using `Session` objects.
When using `Session#request` or verb methods (`get`, `post`, `put`), those work correctly and use the proxy when they are present.
However `Session#send(PreparedRequest)` does not respect the variables by default, but... | null | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5677/reactions"
} | https://api.github.com/repos/psf/requests/issues/5677/timeline | null | null | null | null | false | [
"I believe things will work if you use `Session.prepare_request(request)` instead of `request.prepare()`. ",
"Doesn't seem to be the case.\r\n\r\n```python\r\n def test_respect_proxy_env_on_send_session_prepared_request(self):\r\n session = requests.Session()\r\n\r\n # Does not respect the proxy ... |
https://api.github.com/repos/psf/requests/issues/5676 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5676/labels{/name} | https://api.github.com/repos/psf/requests/issues/5676/comments | https://api.github.com/repos/psf/requests/issues/5676/events | https://github.com/psf/requests/issues/5676 | 755,662,945 | MDU6SXNzdWU3NTU2NjI5NDU= | 5,676 | Waiting on 503 | {
"avatar_url": "https://avatars.githubusercontent.com/u/71735710?v=4",
"events_url": "https://api.github.com/users/elanjcoop/events{/privacy}",
"followers_url": "https://api.github.com/users/elanjcoop/followers",
"following_url": "https://api.github.com/users/elanjcoop/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-12-02T22:38:58Z | 2021-08-28T00:06:05Z | 2020-12-02T22:52:00Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
Hello!
I'm encountering a 503 error of DDOS protection by cloudfare when using the library.
My code is as follows:
s = requests.Session()
h = s.get('https://www.pcpartpicker.com')
print(h.status)co... | {
"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/5676/reactions"
} | https://api.github.com/repos/psf/requests/issues/5676/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/5675 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5675/labels{/name} | https://api.github.com/repos/psf/requests/issues/5675/comments | https://api.github.com/repos/psf/requests/issues/5675/events | https://github.com/psf/requests/issues/5675 | 753,718,286 | MDU6SXNzdWU3NTM3MTgyODY= | 5,675 | [Bug/Feature?] HTTP 206 Multipart Byterange (Multiple HTTP Range response) | {
"avatar_url": "https://avatars.githubusercontent.com/u/23286051?v=4",
"events_url": "https://api.github.com/users/danieldjewell/events{/privacy}",
"followers_url": "https://api.github.com/users/danieldjewell/followers",
"following_url": "https://api.github.com/users/danieldjewell/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-11-30T18:51:37Z | 2021-08-28T00:06:06Z | 2020-12-01T16:12:10Z | NONE | resolved | Not sure if this is a bug or a feature?
Requests happily will build and parse an HTTP GET with the ```Range:``` header to request specific bytes from a server. (Assuming the server supports it, of course.)
Specifically, setting the header to say:
```python
headers = {'Range': 'bytes 0-100, 1000-2000'}
``... | {
"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/5675/reactions"
} | https://api.github.com/repos/psf/requests/issues/5675/timeline | null | completed | null | null | false | [
"This would be a feature request and the project is presently under a feature freeze. To handle Multipart responses you can use the toolbelt's multipart decoder to accomplish much of this yourself."
] |
https://api.github.com/repos/psf/requests/issues/5674 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5674/labels{/name} | https://api.github.com/repos/psf/requests/issues/5674/comments | https://api.github.com/repos/psf/requests/issues/5674/events | https://github.com/psf/requests/issues/5674 | 753,290,265 | MDU6SXNzdWU3NTMyOTAyNjU= | 5,674 | Offline installation in python2.7 | {
"avatar_url": "https://avatars.githubusercontent.com/u/61306204?v=4",
"events_url": "https://api.github.com/users/heart-scalpel/events{/privacy}",
"followers_url": "https://api.github.com/users/heart-scalpel/followers",
"following_url": "https://api.github.com/users/heart-scalpel/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 2 | 2020-11-30T09:01:09Z | 2021-08-28T00:06:06Z | 2020-11-30T13:34:23Z | NONE | resolved | Thank you for taking the time to review this request,I want install this package , but I use python2.7, I can't install urllib3,So what can I do to finish this installation
requires = [
'chardet>=3.0.2,<4',
'idna>=2.5,<3',
'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
'certifi>=2017.4.17'
]
| {
"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/5674/reactions"
} | https://api.github.com/repos/psf/requests/issues/5674/timeline | null | completed | null | null | false | [
"I need work in python2.7, I can't change the version.(cry)",
"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 defec... |
https://api.github.com/repos/psf/requests/issues/5673 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5673/labels{/name} | https://api.github.com/repos/psf/requests/issues/5673/comments | https://api.github.com/repos/psf/requests/issues/5673/events | https://github.com/psf/requests/pull/5673 | 752,971,279 | MDExOlB1bGxSZXF1ZXN0NTI5MTQ3MjUz | 5,673 | updated `get_encoding_from_headers` to return utf-8 if the content type is set to application/json | {
"avatar_url": "https://avatars.githubusercontent.com/u/2326898?v=4",
"events_url": "https://api.github.com/users/jjmaldonis/events{/privacy}",
"followers_url": "https://api.github.com/users/jjmaldonis/followers",
"following_url": "https://api.github.com/users/jjmaldonis/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-11-29T18:00:53Z | 2021-08-27T00:08:57Z | 2020-11-29T18:19:16Z | CONTRIBUTOR | resolved | This PR fixes #5667 by adding a small bit of code to `get_encoding_from_headers` that returns `utf-8` if the content type is set to `application/json` and `charset` is not set. This follows [RFC 4627](https://www.ietf.org/rfc/rfc4627.txt) (ctrl+f for `shall be`) which reads: "JSON text SHALL be encoded in Unicode. The... | {
"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/5673/reactions"
} | https://api.github.com/repos/psf/requests/issues/5673/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5673.diff",
"html_url": "https://github.com/psf/requests/pull/5673",
"merged_at": "2020-11-29T18:19:16Z",
"patch_url": "https://github.com/psf/requests/pull/5673.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5673"
} | true | [
"Awesome, thanks for the fast responses here and for merging!"
] |
https://api.github.com/repos/psf/requests/issues/5672 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5672/labels{/name} | https://api.github.com/repos/psf/requests/issues/5672/comments | https://api.github.com/repos/psf/requests/issues/5672/events | https://github.com/psf/requests/pull/5672 | 752,736,439 | MDExOlB1bGxSZXF1ZXN0NTI4OTg5NTA3 | 5,672 | Fix broken link to Kenneth Rietz page | {
"avatar_url": "https://avatars.githubusercontent.com/u/12448084?v=4",
"events_url": "https://api.github.com/users/sivaraam/events{/privacy}",
"followers_url": "https://api.github.com/users/sivaraam/followers",
"following_url": "https://api.github.com/users/sivaraam/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2020-11-28T18:09:19Z | 2021-08-28T00:06:13Z | 2020-11-28T18:21:03Z | CONTRIBUTOR | resolved | The link to Kenneth Reitz page seems to be broken now.
Fix it by using a currently active link. | {
"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/5672/reactions"
} | https://api.github.com/repos/psf/requests/issues/5672/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5672.diff",
"html_url": "https://github.com/psf/requests/pull/5672",
"merged_at": "2020-11-28T18:21:03Z",
"patch_url": "https://github.com/psf/requests/pull/5672.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5672"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5671 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5671/labels{/name} | https://api.github.com/repos/psf/requests/issues/5671/comments | https://api.github.com/repos/psf/requests/issues/5671/events | https://github.com/psf/requests/issues/5671 | 752,649,243 | MDU6SXNzdWU3NTI2NDkyNDM= | 5,671 | Urllib3 >1.26.x | Introduces default User-Agent header | {
"avatar_url": "https://avatars.githubusercontent.com/u/66376450?v=4",
"events_url": "https://api.github.com/users/prilly-dev/events{/privacy}",
"followers_url": "https://api.github.com/users/prilly-dev/followers",
"following_url": "https://api.github.com/users/prilly-dev/following{/other_user}",
"gists_url"... | [] | open | false | {
"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_... | [
{
"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}... | null | 2 | 2020-11-28T10:32:24Z | 2022-01-06T16:40:21Z | null | NONE | null | With pyrequest pullrequest https://github.com/psf/requests/commit/03957eb1c2b9a1e5e6d61f5e930d7c5ed7cfe853 v2.25.0 urllib3 is updated to v1.26.0. with this version bump urllib3 has changed default behavior in regards to header "User-Agent" : https://pypi.org/project/urllib3/
urllib3 1.26.0
```
Added default User-... | 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/5671/reactions"
} | https://api.github.com/repos/psf/requests/issues/5671/timeline | null | null | null | null | false | [
"Hi @prilly-dev, thanks for bringing this to our attention. I was actually surprised to see Requests wasn't emitting a header here, but it appears this is specific to the Session workflow.\r\n\r\nWe'll probably need something that is tolerant to urllib3 < 1.26 not being installed. I'm not immediately sure if that ... |
https://api.github.com/repos/psf/requests/issues/5670 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5670/labels{/name} | https://api.github.com/repos/psf/requests/issues/5670/comments | https://api.github.com/repos/psf/requests/issues/5670/events | https://github.com/psf/requests/pull/5670 | 752,171,980 | MDExOlB1bGxSZXF1ZXN0NTI4NTQ3NzA5 | 5,670 | Proxy related doc updates | {
"avatar_url": "https://avatars.githubusercontent.com/u/3236794?v=4",
"events_url": "https://api.github.com/users/smarie/events{/privacy}",
"followers_url": "https://api.github.com/users/smarie/followers",
"following_url": "https://api.github.com/users/smarie/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 8 | 2020-11-27T11:06:11Z | 2021-08-27T00:08:49Z | 2020-12-04T19:38:17Z | NONE | resolved | Hi, I have spent the past 15 years working in professional environments where the http/https proxy was the most annoying issue to myself and all my developer colleagues (in java, matlab, python...). A few years ago I even ended up writing a internal tutorial for our corporate proxy, a public one (https://smarie.github.... | {
"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/5670/reactions"
} | https://api.github.com/repos/psf/requests/issues/5670/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5670.diff",
"html_url": "https://github.com/psf/requests/pull/5670",
"merged_at": "2020-12-04T19:38:17Z",
"patch_url": "https://github.com/psf/requests/pull/5670.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5670"
} | true | [
"Hi @smarie ,\r\n\r\nThanks for sending this along. Unfortunately, Requests is under a feature freeze so we're not accepting any changes that introduce new API surface area. Documentation updates to make things clearer/more explicit are always welcome though.",
"Thanks @sigmavirus24 ! I had hoped that such helper... |
https://api.github.com/repos/psf/requests/issues/5669 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5669/labels{/name} | https://api.github.com/repos/psf/requests/issues/5669/comments | https://api.github.com/repos/psf/requests/issues/5669/events | https://github.com/psf/requests/issues/5669 | 751,664,464 | MDU6SXNzdWU3NTE2NjQ0NjQ= | 5,669 | a post request body has one key corresponds to multiple values。 | {
"avatar_url": "https://avatars.githubusercontent.com/u/48149977?v=4",
"events_url": "https://api.github.com/users/mabeijing/events{/privacy}",
"followers_url": "https://api.github.com/users/mabeijing/followers",
"following_url": "https://api.github.com/users/mabeijing/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-11-26T15:11:37Z | 2021-08-28T00:06:07Z | 2020-11-26T16:04:06Z | NONE | resolved | requests version = 2.22.0
I had some trouble sending a post request。
headers = {'Content-Type': 'application/x-www-form-urlencoded'},
the body_data has a key corresponds to multiple values,
 for general usage questions instead and only report defects here."
] |
https://api.github.com/repos/psf/requests/issues/5668 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5668/labels{/name} | https://api.github.com/repos/psf/requests/issues/5668/comments | https://api.github.com/repos/psf/requests/issues/5668/events | https://github.com/psf/requests/issues/5668 | 750,244,584 | MDU6SXNzdWU3NTAyNDQ1ODQ= | 5,668 | Request with chunked encoding doesn't respect timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/31767?v=4",
"events_url": "https://api.github.com/users/kchen/events{/privacy}",
"followers_url": "https://api.github.com/users/kchen/followers",
"following_url": "https://api.github.com/users/kchen/following{/other_user}",
"gists_url": "https://api.git... | [] | open | false | null | [] | null | 5 | 2020-11-25T01:30:18Z | 2024-07-02T11:46:46Z | null | NONE | null | If I use requests to send a POST request and pass in a generator (and therefore the request uses chunked encoding), the timeout parameter is not respected. If I use a fixed bytes object instead of a generator, the timeout is respected.
## Expected Result
The request should time out (in the reproduction steps belo... | 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/5668/reactions"
} | https://api.github.com/repos/psf/requests/issues/5668/timeline | null | null | null | null | false | [
"We also ran into this issue the other day. The default timeout seems to be infinite, so if you're unlucky the HTTP POST request will end up blocking forever.",
"it depends on the http response header",
"We are observing that behaviour too. Did you manage to fix that?",
"Nope, I worked around it. (My project... |
https://api.github.com/repos/psf/requests/issues/5667 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5667/labels{/name} | https://api.github.com/repos/psf/requests/issues/5667/comments | https://api.github.com/repos/psf/requests/issues/5667/events | https://github.com/psf/requests/issues/5667 | 749,293,805 | MDU6SXNzdWU3NDkyOTM4MDU= | 5,667 | r.text and r.json() return different results *in some cases* | {
"avatar_url": "https://avatars.githubusercontent.com/u/2326898?v=4",
"events_url": "https://api.github.com/users/jjmaldonis/events{/privacy}",
"followers_url": "https://api.github.com/users/jjmaldonis/followers",
"following_url": "https://api.github.com/users/jjmaldonis/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 3 | 2020-11-24T02:47:03Z | 2021-08-28T00:06:06Z | 2020-11-29T18:19:16Z | CONTRIBUTOR | resolved | This might be an interesting one... I found that `r.text` and `r.json()` _can_ return different results in some specific cases. I don't understand why the difference between the two cases is changing the result of `r.text`.
Maybe `r.text` should always default to using `utf-8` as the decoding if `application/json` 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/5667/reactions"
} | https://api.github.com/repos/psf/requests/issues/5667/timeline | null | completed | null | null | false | [
"I looked into this some more and the reason for the difference is that `chardet` is guessing different text encodings for the two different strings.\r\n\r\nI propose that, based on RFC 4627, if the response's content type is set to `application/json` that `utf` be used as the encoding by default rather than using ... |
https://api.github.com/repos/psf/requests/issues/5666 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5666/labels{/name} | https://api.github.com/repos/psf/requests/issues/5666/comments | https://api.github.com/repos/psf/requests/issues/5666/events | https://github.com/psf/requests/issues/5666 | 747,361,408 | MDU6SXNzdWU3NDczNjE0MDg= | 5,666 | Getting stuck even with timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/33482468?v=4",
"events_url": "https://api.github.com/users/JakkuSakura/events{/privacy}",
"followers_url": "https://api.github.com/users/JakkuSakura/followers",
"following_url": "https://api.github.com/users/JakkuSakura/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2020-11-20T10:11:54Z | 2021-08-28T00:06:08Z | 2020-11-20T15:19:37Z | NONE | resolved | I'm trying to request google search results and access the top few links. However, it always gets stuck on some sites. Ctrl-C is not in effect but Ctrl-Z does bring me to the terminal.
I have set a timeout for each request.
I have read messages that DNS is one of the sources of blocking and I patched this with an ... | {
"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/5666/reactions"
} | https://api.github.com/repos/psf/requests/issues/5666/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/5665 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5665/labels{/name} | https://api.github.com/repos/psf/requests/issues/5665/comments | https://api.github.com/repos/psf/requests/issues/5665/events | https://github.com/psf/requests/pull/5665 | 746,843,383 | MDExOlB1bGxSZXF1ZXN0NTI0MTY1Nzg4 | 5,665 | Add support for HTTPS proxies. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1276443?v=4",
"events_url": "https://api.github.com/users/jalopezsilva/events{/privacy}",
"followers_url": "https://api.github.com/users/jalopezsilva/followers",
"following_url": "https://api.github.com/users/jalopezsilva/following{/other_user}",
"gists... | [] | open | false | null | [] | null | 5 | 2020-11-19T19:00:06Z | 2022-01-03T15:23:25Z | null | NONE | null | Starting with 1.26 urllib3 now supports HTTPS proxies. To enable the support two changes are needed:
* An additional proxy_kwargs argument that can be passed from the session. This dictionary will be used to pass any arguments needed to the underlying adapter. The parameter is optional.
* The use_forwarding_for_htt... | 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/5665/reactions"
} | https://api.github.com/repos/psf/requests/issues/5665/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5665.diff",
"html_url": "https://github.com/psf/requests/pull/5665",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5665.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5665"
} | true | [
"Requests is under feature freeze which means we will not add any additional keyword arguments to the public API like this.",
"@sigmavirus24 thanks for the feedback! Is adding an additional keyword argument to the public API the only concern? I've been reviewing the options available and there's no easy way aroun... |
https://api.github.com/repos/psf/requests/issues/5664 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5664/labels{/name} | https://api.github.com/repos/psf/requests/issues/5664/comments | https://api.github.com/repos/psf/requests/issues/5664/events | https://github.com/psf/requests/pull/5664 | 745,479,854 | MDExOlB1bGxSZXF1ZXN0NTIzMDM3NjI1 | 5,664 | Use urllib for chunked requests (Resubmit) | {
"avatar_url": "https://avatars.githubusercontent.com/u/15229879?v=4",
"events_url": "https://api.github.com/users/lmvlmv/events{/privacy}",
"followers_url": "https://api.github.com/users/lmvlmv/followers",
"following_url": "https://api.github.com/users/lmvlmv/following{/other_user}",
"gists_url": "https://a... | [
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
"name": "Breaking API Change",
"node_id": "MDU6TGFiZWw0NDUwMTI1Ng==",
"url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change"
}
] | closed | true | null | [] | null | 7 | 2020-11-18T09:16:53Z | 2024-04-23T00:03:50Z | 2023-04-23T18:05:04Z | CONTRIBUTOR | resolved | This is a resubmit of Use urllib for chunked requests #5128 which was merged and then pulled without warning.
"Resubmit of #4958 with up to date merge. Also addresses #4179.
Specifically, in my use case, chunked requests when a proxy is in use results in failure to evaluate the proxy configuration and the request... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 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/5664/reactions"
} | https://api.github.com/repos/psf/requests/issues/5664/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5664.diff",
"html_url": "https://github.com/psf/requests/pull/5664",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5664.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5664"
} | true | [
"Hi @lmvlmv,\r\n\r\nThanks for reraising the issue. We're aware there's still demand for simplifying this. The reason the first PR was reverted was a lack of review, and failing to meet the original criteria we'd set to make this change.\r\n\r\nWhen we first discussed this in #4392, we'd wanted a pretty rigorous te... |
https://api.github.com/repos/psf/requests/issues/5663 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5663/labels{/name} | https://api.github.com/repos/psf/requests/issues/5663/comments | https://api.github.com/repos/psf/requests/issues/5663/events | https://github.com/psf/requests/pull/5663 | 745,395,503 | MDExOlB1bGxSZXF1ZXN0NTIyOTY4MDkx | 5,663 | Pin GHA to Ubuntu 18.04 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2020-11-18T07:05:01Z | 2021-08-28T00:06:14Z | 2020-11-18T16:32:03Z | CONTRIBUTOR | resolved | Fixes https://github.com/psf/requests/issues/5662.
`ubuntu-latest` points to 18.04 and will soon flip to 20.04.
However tests currently fail on 20.04, so let's explicitly pin to 18.04 for now. | {
"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/5663/reactions"
} | https://api.github.com/repos/psf/requests/issues/5663/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5663.diff",
"html_url": "https://github.com/psf/requests/pull/5663",
"merged_at": "2020-11-18T16:32:03Z",
"patch_url": "https://github.com/psf/requests/pull/5663.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5663"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5662 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5662/labels{/name} | https://api.github.com/repos/psf/requests/issues/5662/comments | https://api.github.com/repos/psf/requests/issues/5662/events | https://github.com/psf/requests/issues/5662 | 745,131,727 | MDU6SXNzdWU3NDUxMzE3Mjc= | 5,662 | GHA: Tests fail with ubuntu-20.04 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2020-11-17T22:22:47Z | 2021-08-28T00:06:08Z | 2020-11-18T16:32:03Z | CONTRIBUTOR | resolved | GitHub Actions fails when using the Ubuntu 20.04 image, and pass with 18.04.
## Expected Result
Tests pass on GitHub Actions with `ubuntu-20.04`
## Actual Result
Tests fail on GitHub Actions with `ubuntu-20.04` for CPython, pass on PyPy.
## Reproduction Steps
I noticed this annotation on [this recent ... | {
"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/5662/reactions"
} | https://api.github.com/repos/psf/requests/issues/5662/timeline | null | completed | null | null | false | [
"Good catch, @hugovk! It looks like our local httpbin server for tests is having trouble either with the newer version of openssl or configuration being vended in 20.04. I think the best bet is to pin us to ubuntu-18.04 for now. We'll gladly accept a PR for that or I'll work on getting it resolved by the end of the... |
https://api.github.com/repos/psf/requests/issues/5661 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5661/labels{/name} | https://api.github.com/repos/psf/requests/issues/5661/comments | https://api.github.com/repos/psf/requests/issues/5661/events | https://github.com/psf/requests/pull/5661 | 745,114,551 | MDExOlB1bGxSZXF1ZXN0NTIyNzI5MDIw | 5,661 | Remove the deprecated security extra | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2020-11-17T21:52:24Z | 2021-08-28T00:06:14Z | 2020-11-17T21:57:15Z | CONTRIBUTOR | resolved | > The requests[security] extra is officially deprecated and will be removed in Requests v2.26.0.
https://requests.readthedocs.io/en/latest/community/updates/ | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | {
"+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/5661/reactions"
} | https://api.github.com/repos/psf/requests/issues/5661/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5661.diff",
"html_url": "https://github.com/psf/requests/pull/5661",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5661.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5661"
} | true | [
"Closing, will be dealt with as part of the standard deprecation process at next release time:\r\n\r\n* https://github.com/psf/requests/pull/5660#issuecomment-729236559"
] |
https://api.github.com/repos/psf/requests/issues/5660 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5660/labels{/name} | https://api.github.com/repos/psf/requests/issues/5660/comments | https://api.github.com/repos/psf/requests/issues/5660/events | https://github.com/psf/requests/pull/5660 | 745,109,427 | MDExOlB1bGxSZXF1ZXN0NTIyNzI0Nzgx | 5,660 | Drop support for EOL Python 3.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2020-11-17T21:43:17Z | 2021-10-10T21:00:31Z | 2021-07-12T18:13:58Z | CONTRIBUTOR | resolved | > Requests v2.25.x will be the last release series with support for Python 3.5.
https://requests.readthedocs.io/en/latest/community/updates/ | {
"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/5660/reactions"
} | https://api.github.com/repos/psf/requests/issues/5660/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5660.diff",
"html_url": "https://github.com/psf/requests/pull/5660",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5660.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5660"
} | true | [
"Hey @hugovk,\r\n\r\nThanks for the PR! I think we're unlikely to release Requests 2.26.0 prior to urllib3 2.0's release. That may mean this PR sits unmerged for quite a while.\r\n\r\nWe also have a standard deprecation process for this that will be done at release time to clean up any remaining deprecation items. ... |
https://api.github.com/repos/psf/requests/issues/5659 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5659/labels{/name} | https://api.github.com/repos/psf/requests/issues/5659/comments | https://api.github.com/repos/psf/requests/issues/5659/events | https://github.com/psf/requests/pull/5659 | 744,082,206 | MDExOlB1bGxSZXF1ZXN0NTIxODY0NDgw | 5,659 | Remove reference to development philosophy | {
"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 | 2020-11-16T18:59:45Z | 2021-08-28T00:06:15Z | 2020-11-16T19:19:06Z | MEMBER | resolved | Removing missed reference from the #5562 cleanup. This should resolve #5657. | {
"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/5659/reactions"
} | https://api.github.com/repos/psf/requests/issues/5659/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5659.diff",
"html_url": "https://github.com/psf/requests/pull/5659",
"merged_at": "2020-11-16T19:19:06Z",
"patch_url": "https://github.com/psf/requests/pull/5659.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5659"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5658 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5658/labels{/name} | https://api.github.com/repos/psf/requests/issues/5658/comments | https://api.github.com/repos/psf/requests/issues/5658/events | https://github.com/psf/requests/pull/5658 | 743,362,552 | MDExOlB1bGxSZXF1ZXN0NTIxMjcxODMx | 5,658 | Improve the Session.request() documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/29452238?v=4",
"events_url": "https://api.github.com/users/pzahemszky/events{/privacy}",
"followers_url": "https://api.github.com/users/pzahemszky/followers",
"following_url": "https://api.github.com/users/pzahemszky/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 3 | 2020-11-15T22:38:41Z | 2021-10-10T19:00:51Z | 2021-07-12T18:19:46Z | NONE | resolved | This PR improves the documentation of the `Session.request()` method. Its `stream` parameter's description used to have remnants of the old `prefetch` parameter (from PR #1283), which are now rephrased slightly.
The new sentence is the same as that in the [Body Content Worklflow](https://requests.readthedocs.io/en/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/5658/reactions"
} | https://api.github.com/repos/psf/requests/issues/5658/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5658.diff",
"html_url": "https://github.com/psf/requests/pull/5658",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5658.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5658"
} | true | [
"This is my first PR in this repo, so please let me know if I missed something.",
"Repeating documentation doesn't clarify it enough. I would say \"open a stream to iterate over content manually\"",
"Thanks for the PR, @pzahemszky. I believe we'll pass on this as it unfortunately doesn't improve clarity and lac... |
https://api.github.com/repos/psf/requests/issues/5657 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5657/labels{/name} | https://api.github.com/repos/psf/requests/issues/5657/comments | https://api.github.com/repos/psf/requests/issues/5657/events | https://github.com/psf/requests/issues/5657 | 743,362,335 | MDU6SXNzdWU3NDMzNjIzMzU= | 5,657 | Dead link to "development philosophy" in the contribution guidelines | {
"avatar_url": "https://avatars.githubusercontent.com/u/29452238?v=4",
"events_url": "https://api.github.com/users/pzahemszky/events{/privacy}",
"followers_url": "https://api.github.com/users/pzahemszky/followers",
"following_url": "https://api.github.com/users/pzahemszky/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 0 | 2020-11-15T22:37:33Z | 2021-08-28T00:06:09Z | 2020-11-16T19:19:06Z | NONE | resolved | The [Contribution Guidelines](https://github.com/psf/requests/blob/master/.github/CONTRIBUTING.md) is referencing the "development philosophy" using a seemingly incorrect URL: https://requests.readthedocs.io/en/latest/dev/philosophy/.
Upon accessing that website, I get the following error message.
```
... | {
"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/5657/reactions"
} | https://api.github.com/repos/psf/requests/issues/5657/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5656 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5656/labels{/name} | https://api.github.com/repos/psf/requests/issues/5656/comments | https://api.github.com/repos/psf/requests/issues/5656/events | https://github.com/psf/requests/issues/5656 | 743,273,504 | MDU6SXNzdWU3NDMyNzM1MDQ= | 5,656 | How to requests without removing the ./ or ../ in Python 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2020-11-15T14:56:06Z | 2021-08-28T00:06:09Z | 2020-11-15T15:22:55Z | NONE | resolved | Hi, if you do this:
```python
requests.get('http://127.0.0.1/hello/../blah')
```
Your server will receive:
```
GET /blah HTTP/1.1
```
But what I want here is to send the request with the dot-slash:
```
GET hello/../blah HTTP/1.1
```
In python2, I can use this (it worked in my test):
```python... | {
"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/5656/reactions"
} | https://api.github.com/repos/psf/requests/issues/5656/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.",
"Hey, I didn't see any answer that can solve this q... |
https://api.github.com/repos/psf/requests/issues/5655 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5655/labels{/name} | https://api.github.com/repos/psf/requests/issues/5655/comments | https://api.github.com/repos/psf/requests/issues/5655/events | https://github.com/psf/requests/issues/5655 | 741,049,961 | MDU6SXNzdWU3NDEwNDk5NjE= | 5,655 | Requests 2.25.0 issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/539788?v=4",
"events_url": "https://api.github.com/users/mchristopher/events{/privacy}",
"followers_url": "https://api.github.com/users/mchristopher/followers",
"following_url": "https://api.github.com/users/mchristopher/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2020-11-11T20:30:27Z | 2021-08-28T00:06:10Z | 2020-11-11T21:23:29Z | NONE | resolved | ## Summary.
Our CI suite just ran and failed with the latest release of requests 2.25.0. Nothing in our code has changed aside from the version of requests installed.
## What you expected.
Our CI tests to pass as normal.
## What happened instead.
You can see the full test run on https://github.com/panora... | {
"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/5655/reactions"
} | https://api.github.com/repos/psf/requests/issues/5655/timeline | null | completed | null | null | false | [
"Hi @mchristopher, this was a change in urllib3 that was reverted in 1.26.1. If you update urllib3 as well, you should stop seeing this exception.",
"That fixed it, but I'm not sure why pip didn't automatically pick up the correct dependencies. It may have been an issue with caches on the pypi side... 🤷 \r\n\r\n... |
https://api.github.com/repos/psf/requests/issues/5654 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5654/labels{/name} | https://api.github.com/repos/psf/requests/issues/5654/comments | https://api.github.com/repos/psf/requests/issues/5654/events | https://github.com/psf/requests/issues/5654 | 740,501,918 | MDU6SXNzdWU3NDA1MDE5MTg= | 5,654 | Upgrade Urllib3 Version | {
"avatar_url": "https://avatars.githubusercontent.com/u/1209742?v=4",
"events_url": "https://api.github.com/users/MarianG/events{/privacy}",
"followers_url": "https://api.github.com/users/MarianG/followers",
"following_url": "https://api.github.com/users/MarianG/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2020-11-11T06:26:03Z | 2021-08-28T00:06:10Z | 2020-11-11T20:09:20Z | NONE | resolved | I just encountered a problem, when I tried to run a regular script, because the dependencies for requests are a bit outdated. In your setup.py you still require urllib3 with a version limitation: 'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1'.
My Problem was that the current available version 1.26 is obviously not valid a... | {
"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": 7,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/psf/requests/issues/5654/reactions"
} | https://api.github.com/repos/psf/requests/issues/5654/timeline | null | completed | null | null | false | [
"This will be resolved tomorrow in #5651.",
"Requests 2.25.0 should now be released."
] |
https://api.github.com/repos/psf/requests/issues/5653 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5653/labels{/name} | https://api.github.com/repos/psf/requests/issues/5653/comments | https://api.github.com/repos/psf/requests/issues/5653/events | https://github.com/psf/requests/issues/5653 | 740,455,477 | MDU6SXNzdWU3NDA0NTU0Nzc= | 5,653 | Help Needed: Uploading tarfile using python requests library's post | {
"avatar_url": "https://avatars.githubusercontent.com/u/4566851?v=4",
"events_url": "https://api.github.com/users/moijes12/events{/privacy}",
"followers_url": "https://api.github.com/users/moijes12/followers",
"following_url": "https://api.github.com/users/moijes12/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2020-11-11T04:42:53Z | 2020-11-11T15:19:46Z | 2020-11-11T06:17:53Z | NONE | off-topic | I am trying to upload tgz files to a server using the python requests library. I am not sure how to pass the files to be uploaded. The curl command that I have to convert into a python request is as below:
```shell
curl -X POST 'Content-Type: multipart/form-data' -H "x-auth-token: $token" -H 'Accept: application/js... | {
"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/5653/reactions"
} | https://api.github.com/repos/psf/requests/issues/5653/timeline | null | completed | null | null | false | [
"Hi @moijes12,\r\n\r\nThis is all covered in the [documentation](https://requests.readthedocs.io/en/master/user/quickstart/#post-a-multipart-encoded-file). If you have further questions, please consult [StackOverflow](https://stackoverflow.com) since we do not triage usage tickets on this tracker. Thanks!",
"@nat... |
https://api.github.com/repos/psf/requests/issues/5652 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5652/labels{/name} | https://api.github.com/repos/psf/requests/issues/5652/comments | https://api.github.com/repos/psf/requests/issues/5652/events | https://github.com/psf/requests/pull/5652 | 740,288,437 | MDExOlB1bGxSZXF1ZXN0NTE4ODAxNjk4 | 5,652 | Move CI to Github Actions | {
"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 | {
"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... | [
{
"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}",... | null | 3 | 2020-11-10T22:27:27Z | 2021-08-28T00:06:16Z | 2020-11-11T18:29:14Z | MEMBER | resolved | Moving us to GH Actions since our Travis configs are in relative disarray and we haven't been running Mac/Windows builds for years at this point.
### Other changes in this PR:
**Pipenv**
Pipenv has caused a lot of friction with users trying to submit PR updates that need dependency changes, so this removes it. I... | {
"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/5652/reactions"
} | https://api.github.com/repos/psf/requests/issues/5652/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5652.diff",
"html_url": "https://github.com/psf/requests/pull/5652",
"merged_at": "2020-11-11T18:29:14Z",
"patch_url": "https://github.com/psf/requests/pull/5652.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5652"
} | true | [
"TODO: We'll need to remove the Travis integration in Settings after this is merged.",
"> TODO: We'll need to remove the Travis integration in Settings after this is merged.\r\n\r\nI used to be able to help with that but no longer ",
"> I used to be able to help with that but no longer\r\n\r\nIt looks like it's... |
https://api.github.com/repos/psf/requests/issues/5651 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5651/labels{/name} | https://api.github.com/repos/psf/requests/issues/5651/comments | https://api.github.com/repos/psf/requests/issues/5651/events | https://github.com/psf/requests/pull/5651 | 740,226,659 | MDExOlB1bGxSZXF1ZXN0NTE4NzUxMDQy | 5,651 | v2.25.0 | {
"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 | 4 | 2020-11-10T20:38:36Z | 2021-08-28T00:06:16Z | 2020-11-11T19:55:51Z | MEMBER | resolved | This is getting staged for a release this week to stay in sync with urllib3. This release should also resolve the outstanding doc issues with Requests on pypi (#5501).
2.25.0 (2020-11-11)
------------------
**Improvements**
- Added support for NETRC environment variable. (#5643)
**Dependencies**
- Reque... | {
"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": 6,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 6,
"url": "https://api.github.com/repos/psf/requests/issues/5651/reactions"
} | https://api.github.com/repos/psf/requests/issues/5651/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5651.diff",
"html_url": "https://github.com/psf/requests/pull/5651",
"merged_at": "2020-11-11T19:55:51Z",
"patch_url": "https://github.com/psf/requests/pull/5651.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5651"
} | true | [
"Just an FYI since we're removing the !=1.25 and !=1.25.1: both of those releases have been yanked from PyPI so shouldn't be an issue.",
"https://github.com/psf/requests/blob/master/requests/__init__.py#L63 ? ;)",
"@asavah Great catch!",
":tada: Very exciting!"
] |
https://api.github.com/repos/psf/requests/issues/5650 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5650/labels{/name} | https://api.github.com/repos/psf/requests/issues/5650/comments | https://api.github.com/repos/psf/requests/issues/5650/events | https://github.com/psf/requests/issues/5650 | 739,381,713 | MDU6SXNzdWU3MzkzODE3MTM= | 5,650 | requests.post() does not work until reset modem | {
"avatar_url": "https://avatars.githubusercontent.com/u/42833660?v=4",
"events_url": "https://api.github.com/users/kaloomte/events{/privacy}",
"followers_url": "https://api.github.com/users/kaloomte/followers",
"following_url": "https://api.github.com/users/kaloomte/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-11-09T21:38:37Z | 2021-08-29T00:06:37Z | 2020-11-10T00:04:43Z | NONE | resolved | Hi everyone
I have an interesting problem. When i run my basic script with raspberry pi i get response but after a couple post, my codes do not work anymore until i reset the modem or reset my phone if i connect with my phone network.
```
import requests
import json
import time
url = '...'
myobj = {"statu... | {
"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/5650/reactions"
} | https://api.github.com/repos/psf/requests/issues/5650/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. This is likely related to your network or timeout settings. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects h... |
https://api.github.com/repos/psf/requests/issues/5649 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5649/labels{/name} | https://api.github.com/repos/psf/requests/issues/5649/comments | https://api.github.com/repos/psf/requests/issues/5649/events | https://github.com/psf/requests/pull/5649 | 737,044,088 | MDExOlB1bGxSZXF1ZXN0NTE2MTU1MTg4 | 5,649 | Document how to turn off Keep-Alive in 2.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/8781107?v=4",
"events_url": "https://api.github.com/users/abitrolly/events{/privacy}",
"followers_url": "https://api.github.com/users/abitrolly/followers",
"following_url": "https://api.github.com/users/abitrolly/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 9 | 2020-11-05T15:42:49Z | 2022-03-30T22:00:47Z | 2021-12-29T17:47:32Z | NONE | resolved | Ref. #5646 | {
"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/5649/reactions"
} | https://api.github.com/repos/psf/requests/issues/5649/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5649.diff",
"html_url": "https://github.com/psf/requests/pull/5649",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5649.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5649"
} | true | [
"This documentation isn't entirely correct and that issue is already clsoed",
"@sigmavirus24 I don't know how to improve it. What is not correct here?",
"I edited the description to mention issue without closing it (for me).",
"> What is not correct here?\r\n\r\nIt's not the only way to disable keep-alive. Se... |
https://api.github.com/repos/psf/requests/issues/5648 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5648/labels{/name} | https://api.github.com/repos/psf/requests/issues/5648/comments | https://api.github.com/repos/psf/requests/issues/5648/events | https://github.com/psf/requests/issues/5648 | 736,914,810 | MDU6SXNzdWU3MzY5MTQ4MTA= | 5,648 | HEAD Request never returns | {
"avatar_url": "https://avatars.githubusercontent.com/u/29598866?v=4",
"events_url": "https://api.github.com/users/cstayyab/events{/privacy}",
"followers_url": "https://api.github.com/users/cstayyab/followers",
"following_url": "https://api.github.com/users/cstayyab/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2020-11-05T13:03:00Z | 2021-08-29T00:06:38Z | 2020-11-05T14:12:49Z | NONE | resolved | Summary.
When used `requests.head` with `url='https://mega.nz'` is stuck forever.
## Expected Result
Either a response or a Timeout error or any exception.
## Actual Result
The function never returns.
## Reproduction Steps
```python
import requests
r = requests.head("https://mega.nz")
```
## Syst... | {
"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/5648/reactions"
} | https://api.github.com/repos/psf/requests/issues/5648/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.",
"@sigmavirus24 The purpose of filing the issue was... |
https://api.github.com/repos/psf/requests/issues/5647 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5647/labels{/name} | https://api.github.com/repos/psf/requests/issues/5647/comments | https://api.github.com/repos/psf/requests/issues/5647/events | https://github.com/psf/requests/issues/5647 | 736,666,696 | MDU6SXNzdWU3MzY2NjY2OTY= | 5,647 | Can't get NASDAQ related APIs while others can. | {
"avatar_url": "https://avatars.githubusercontent.com/u/38759782?v=4",
"events_url": "https://api.github.com/users/xiongnemo/events{/privacy}",
"followers_url": "https://api.github.com/users/xiongnemo/followers",
"following_url": "https://api.github.com/users/xiongnemo/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-11-05T06:53:53Z | 2021-08-29T00:06:39Z | 2020-11-05T14:11:34Z | NONE | resolved | `requests` stucks when trying to `GET` a NASDAQ API.
## Expected Result
`requests` operates normally and fetches a `json`.

## Actual Result
`requests` stucks, though the network conditions are... | {
"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/5647/reactions"
} | https://api.github.com/repos/psf/requests/issues/5647/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/5646 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5646/labels{/name} | https://api.github.com/repos/psf/requests/issues/5646/comments | https://api.github.com/repos/psf/requests/issues/5646/events | https://github.com/psf/requests/issues/5646 | 736,241,063 | MDU6SXNzdWU3MzYyNDEwNjM= | 5,646 | Unable to turn off Keep-Alive | {
"avatar_url": "https://avatars.githubusercontent.com/u/8781107?v=4",
"events_url": "https://api.github.com/users/abitrolly/events{/privacy}",
"followers_url": "https://api.github.com/users/abitrolly/followers",
"following_url": "https://api.github.com/users/abitrolly/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 5 | 2020-11-04T16:14:31Z | 2020-11-05T14:11:23Z | 2020-11-04T17:36:35Z | NONE | resolved | Documentation doesn't specify how to turn off Keep-Alive
https://requests.readthedocs.io/en/latest/user/advanced/#keep-alive | {
"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/5646/reactions"
} | https://api.github.com/repos/psf/requests/issues/5646/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.",
"I thought I searched. My bad. The duplicate is #4913. However, no answer was given and no docs updated.",
"Turning off keep-alive means closing the connection. So set a session default for the `Connection` ... |
https://api.github.com/repos/psf/requests/issues/5645 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5645/labels{/name} | https://api.github.com/repos/psf/requests/issues/5645/comments | https://api.github.com/repos/psf/requests/issues/5645/events | https://github.com/psf/requests/issues/5645 | 734,815,980 | MDU6SXNzdWU3MzQ4MTU5ODA= | 5,645 | Address CVE-2020-26137 | {
"avatar_url": "https://avatars.githubusercontent.com/u/23018378?v=4",
"events_url": "https://api.github.com/users/karthikkalasani/events{/privacy}",
"followers_url": "https://api.github.com/users/karthikkalasani/followers",
"following_url": "https://api.github.com/users/karthikkalasani/following{/other_user}"... | [] | closed | true | null | [] | null | 1 | 2020-11-02T21:01:15Z | 2021-08-29T00:06:40Z | 2020-11-02T21:23:31Z | NONE | resolved | urllib3 before 1.25.9 allows CRLF injection if the attacker controls the HTTP request method
https://nvd.nist.gov/vuln/detail/CVE-2020-26137 | {
"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/5645/reactions"
} | https://api.github.com/repos/psf/requests/issues/5645/timeline | null | completed | null | null | false | [
"This vulnerability isn't in Requests, ensure that your `urllib3` version is >1.25.9 and you are secure against this CVE."
] |
https://api.github.com/repos/psf/requests/issues/5644 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5644/labels{/name} | https://api.github.com/repos/psf/requests/issues/5644/comments | https://api.github.com/repos/psf/requests/issues/5644/events | https://github.com/psf/requests/issues/5644 | 734,379,792 | MDU6SXNzdWU3MzQzNzk3OTI= | 5,644 | PyPI page formatting | {
"avatar_url": "https://avatars.githubusercontent.com/u/22172519?v=4",
"events_url": "https://api.github.com/users/pedro-w/events{/privacy}",
"followers_url": "https://api.github.com/users/pedro-w/followers",
"following_url": "https://api.github.com/users/pedro-w/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 3 | 2020-11-02T10:21:10Z | 2021-08-29T00:06:40Z | 2020-11-02T13:30:00Z | NONE | resolved | Sorry if this is the wrong place to report but the 'Project Description' for your entry on the PyPI site looks all mixed up with formatting and raw HTML tags.
https://pypi.org/project/requests/
| {
"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/5644/reactions"
} | https://api.github.com/repos/psf/requests/issues/5644/timeline | null | completed | null | null | false | [
"We're aware of the issue. Please read [closed issues](https://github.com/psf/requests/issues/5601) before opening new ones.",
"Thanks. Not easy if you close issues without fixing them.",
"@pedro-w There's nothing left for us to fix, it's fixed in master and on the next release to PyPI there will be no issue."
... |
https://api.github.com/repos/psf/requests/issues/5643 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5643/labels{/name} | https://api.github.com/repos/psf/requests/issues/5643/comments | https://api.github.com/repos/psf/requests/issues/5643/events | https://github.com/psf/requests/pull/5643 | 733,365,003 | MDExOlB1bGxSZXF1ZXN0NTEzMTU2MzY4 | 5,643 | Respect the NETRC environment variable | {
"avatar_url": "https://avatars.githubusercontent.com/u/107975?v=4",
"events_url": "https://api.github.com/users/tarmath/events{/privacy}",
"followers_url": "https://api.github.com/users/tarmath/followers",
"following_url": "https://api.github.com/users/tarmath/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2020-10-30T17:20:32Z | 2021-08-27T00:08:57Z | 2020-11-01T16:52:02Z | NONE | resolved | Resurecting https://github.com/psf/requests/pull/4339 with incorporated review/feedback
Fixes https://github.com/psf/requests/issues/4318
| {
"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/5643/reactions"
} | https://api.github.com/repos/psf/requests/issues/5643/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5643.diff",
"html_url": "https://github.com/psf/requests/pull/5643",
"merged_at": "2020-11-01T16:52:02Z",
"patch_url": "https://github.com/psf/requests/pull/5643.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5643"
} | true | [
"@tarmath thanks for this!"
] |
https://api.github.com/repos/psf/requests/issues/5642 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5642/labels{/name} | https://api.github.com/repos/psf/requests/issues/5642/comments | https://api.github.com/repos/psf/requests/issues/5642/events | https://github.com/psf/requests/issues/5642 | 730,390,633 | MDU6SXNzdWU3MzAzOTA2MzM= | 5,642 | Session.send() does not check for environment variables like proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/36988897?v=4",
"events_url": "https://api.github.com/users/spreiter/events{/privacy}",
"followers_url": "https://api.github.com/users/spreiter/followers",
"following_url": "https://api.github.com/users/spreiter/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-10-27T12:06:15Z | 2021-08-29T00:06:41Z | 2020-10-27T14:00:59Z | NONE | resolved | I was following the mechanism of the usage of the PreparedRequest class.
But the `send()` does not call the `merge_environment_settings()` of the session automatically.
## Expected Result
So it would be helpful to enable this via an option or at least update the documentation, that it is necessary to call the `m... | {
"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/5642/reactions"
} | https://api.github.com/repos/psf/requests/issues/5642/timeline | null | completed | null | null | false | [
"This is what `r = s.prepare(req)` is for and it's documented as such"
] |
https://api.github.com/repos/psf/requests/issues/5641 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5641/labels{/name} | https://api.github.com/repos/psf/requests/issues/5641/comments | https://api.github.com/repos/psf/requests/issues/5641/events | https://github.com/psf/requests/issues/5641 | 729,507,670 | MDU6SXNzdWU3Mjk1MDc2NzA= | 5,641 | Bad escaping of double quote in uploaded file | {
"avatar_url": "https://avatars.githubusercontent.com/u/199429?v=4",
"events_url": "https://api.github.com/users/dvarrazzo/events{/privacy}",
"followers_url": "https://api.github.com/users/dvarrazzo/followers",
"following_url": "https://api.github.com/users/dvarrazzo/following{/other_user}",
"gists_url": "ht... | [] | open | false | null | [] | null | 6 | 2020-10-26T12:08:14Z | 2023-10-10T17:51:55Z | null | NONE | null | Uploading a file whose name contains double quotes (") in the file, requests replaces the character with %22. This is not reversible because the % char is not escaped (it's not possible to tell apart a literal %22 from a quote), and it's different from what a browser does. Browsers seem to use backslash escape instead... | 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/5641/reactions"
} | https://api.github.com/repos/psf/requests/issues/5641/timeline | null | null | null | null | false | [
"> This is not reversible because the % char is not escaped (it's not possible to tell apart a literal %22 from a quote)\r\n\r\nI don't think this is categorically true and there's information missing from here that isn't present. In general, the RFCs don't have specific guidance around this and so this behaviour d... |
https://api.github.com/repos/psf/requests/issues/5640 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5640/labels{/name} | https://api.github.com/repos/psf/requests/issues/5640/comments | https://api.github.com/repos/psf/requests/issues/5640/events | https://github.com/psf/requests/issues/5640 | 728,932,048 | MDU6SXNzdWU3Mjg5MzIwNDg= | 5,640 | Sending body via requests.post gives empty body in Node server,Why? | {
"avatar_url": "https://avatars.githubusercontent.com/u/30069626?v=4",
"events_url": "https://api.github.com/users/Ammyy9908/events{/privacy}",
"followers_url": "https://api.github.com/users/Ammyy9908/followers",
"following_url": "https://api.github.com/users/Ammyy9908/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 3 | 2020-10-25T03:41:30Z | 2021-06-17T14:14:18Z | 2020-10-25T12:20:22Z | NONE | null |
Python program Which sends Post Request

Logs on NodeJS Express server
 for general usage questions instead and only report defects here.",
"Thanks! now it is solved.",
"@Ammyy9908 how did ... |
https://api.github.com/repos/psf/requests/issues/5639 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5639/labels{/name} | https://api.github.com/repos/psf/requests/issues/5639/comments | https://api.github.com/repos/psf/requests/issues/5639/events | https://github.com/psf/requests/issues/5639 | 728,180,230 | MDU6SXNzdWU3MjgxODAyMzA= | 5,639 | Exceptionally awkward MaxRetryError exception handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/124301?v=4",
"events_url": "https://api.github.com/users/pielgrzym/events{/privacy}",
"followers_url": "https://api.github.com/users/pielgrzym/followers",
"following_url": "https://api.github.com/users/pielgrzym/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2020-10-23T12:31:21Z | 2021-08-29T00:06:42Z | 2020-10-23T13:15:05Z | NONE | resolved | If one uses custom HTTPAdapter with urllib3 Retry() class the `requests.packages.urllib3.exceptions.MaxRetryError` is ~~wrapped in~~chained with several exceptions making it hard to catch the exception we are looking for - that is MaxRetryError.
Tested on python 3.8 with requests==2.24.0
## Expected Result
If ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/124301?v=4",
"events_url": "https://api.github.com/users/pielgrzym/events{/privacy}",
"followers_url": "https://api.github.com/users/pielgrzym/followers",
"following_url": "https://api.github.com/users/pielgrzym/following{/other_user}",
"gists_url": "ht... | {
"+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/5639/reactions"
} | https://api.github.com/repos/psf/requests/issues/5639/timeline | null | completed | null | null | false | [
"Welp, this is actually python3 doing it's glorified exception chaining. No dumpster fire here :D "
] |
https://api.github.com/repos/psf/requests/issues/5638 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5638/labels{/name} | https://api.github.com/repos/psf/requests/issues/5638/comments | https://api.github.com/repos/psf/requests/issues/5638/events | https://github.com/psf/requests/pull/5638 | 728,166,550 | MDExOlB1bGxSZXF1ZXN0NTA4OTIzMTQ2 | 5,638 | corrected a phrase on api.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/64856262?v=4",
"events_url": "https://api.github.com/users/karimk123/events{/privacy}",
"followers_url": "https://api.github.com/users/karimk123/followers",
"following_url": "https://api.github.com/users/karimk123/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 2 | 2020-10-23T12:10:29Z | 2021-08-28T00:06:18Z | 2020-10-23T12:37:33Z | NONE | resolved | Made phrase pleasant to read. | {
"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/5638/reactions"
} | https://api.github.com/repos/psf/requests/issues/5638/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5638.diff",
"html_url": "https://github.com/psf/requests/pull/5638",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5638.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5638"
} | true | [
"We're not accepting small aesthetic doc changes.",
"This is my first pull request so I was just seeing how it works anyways no problem."
] |
https://api.github.com/repos/psf/requests/issues/5637 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5637/labels{/name} | https://api.github.com/repos/psf/requests/issues/5637/comments | https://api.github.com/repos/psf/requests/issues/5637/events | https://github.com/psf/requests/issues/5637 | 727,784,553 | MDU6SXNzdWU3Mjc3ODQ1NTM= | 5,637 | Ability to specify default timeout value in session object | {
"avatar_url": "https://avatars.githubusercontent.com/u/7035647?v=4",
"events_url": "https://api.github.com/users/mdavis-xyz/events{/privacy}",
"followers_url": "https://api.github.com/users/mdavis-xyz/followers",
"following_url": "https://api.github.com/users/mdavis-xyz/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-10-22T23:30:32Z | 2021-08-29T00:06:42Z | 2020-10-23T10:49:59Z | NONE | resolved | > Requests is not accepting feature requests at this time.
I've just read [this section](https://requests.readthedocs.io/en/latest/dev/contributing/#feature-requests), and I believe my feature request is still worthwhile and simple, and I'm happy to write it myself. I'm just [getting early feedback](https://requests... | {
"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/5637/reactions"
} | https://api.github.com/repos/psf/requests/issues/5637/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/5636 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5636/labels{/name} | https://api.github.com/repos/psf/requests/issues/5636/comments | https://api.github.com/repos/psf/requests/issues/5636/events | https://github.com/psf/requests/issues/5636 | 726,766,478 | MDU6SXNzdWU3MjY3NjY0Nzg= | 5,636 | Prepared Post Requests Timeout after changing body | {
"avatar_url": "https://avatars.githubusercontent.com/u/51248447?v=4",
"events_url": "https://api.github.com/users/VainlyStrain/events{/privacy}",
"followers_url": "https://api.github.com/users/VainlyStrain/followers",
"following_url": "https://api.github.com/users/VainlyStrain/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 2 | 2020-10-21T18:34:55Z | 2020-10-22T00:19:33Z | 2020-10-22T00:19:22Z | NONE | resolved | I am trying to do a POST request using the requests library. However, for this specific request, it is important that the POST data stay unaltered (e.g. do not get URL-encoded).
I have seen in the documentation under "advanced usage" that you can do PreparedRequests. So, I did as shown in the docs, however it does 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/5636/reactions"
} | https://api.github.com/repos/psf/requests/issues/5636/timeline | null | completed | null | null | false | [
"Upgraded some packages, but issue still persists:\r\n\r\n```\r\n{\r\n \"chardet\": {\r\n \"version\": \"3.0.4\"\r\n },\r\n \"cryptography\": {\r\n \"version\": \"2.9\"\r\n },\r\n \"idna\": {\r\n \"version\": \"2.10\"\r\n },\r\n \"implementation\": {\r\n \"name\": \"CPython\",\r\n \"version\":... |
https://api.github.com/repos/psf/requests/issues/5635 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5635/labels{/name} | https://api.github.com/repos/psf/requests/issues/5635/comments | https://api.github.com/repos/psf/requests/issues/5635/events | https://github.com/psf/requests/issues/5635 | 725,469,501 | MDU6SXNzdWU3MjU0Njk1MDE= | 5,635 | Ocassionally getting temporary failure in name resolution | {
"avatar_url": "https://avatars.githubusercontent.com/u/9302265?v=4",
"events_url": "https://api.github.com/users/priyanshujain/events{/privacy}",
"followers_url": "https://api.github.com/users/priyanshujain/followers",
"following_url": "https://api.github.com/users/priyanshujain/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 3 | 2020-10-20T11:04:50Z | 2020-10-21T13:50:03Z | 2020-10-20T12:17:48Z | NONE | resolved | I am getting name resolution error with requests occasionally, it's happening approx once in 10 requests.
My stackoverflow question https://stackoverflow.com/questions/64357458/failed-to-establish-a-new-connection-errno-3-temporary-failure-in-name-resol
| {
"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/5635/reactions"
} | https://api.github.com/repos/psf/requests/issues/5635/timeline | null | completed | null | null | false | [
"@sigmavirus24 Can you help me this issue?",
"You asked on StackOverflow which is the correct place. For what it's worth, I maintain systems making thousands of requests per minute with requests that don't have this issue. And a DNS issue is firmly outside of our control given that we use the standard library to ... |
https://api.github.com/repos/psf/requests/issues/5634 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5634/labels{/name} | https://api.github.com/repos/psf/requests/issues/5634/comments | https://api.github.com/repos/psf/requests/issues/5634/events | https://github.com/psf/requests/issues/5634 | 724,593,946 | MDU6SXNzdWU3MjQ1OTM5NDY= | 5,634 | Segmentation Fault - Core Dumped | {
"avatar_url": "https://avatars.githubusercontent.com/u/68481259?v=4",
"events_url": "https://api.github.com/users/codinghedgehog-python/events{/privacy}",
"followers_url": "https://api.github.com/users/codinghedgehog-python/followers",
"following_url": "https://api.github.com/users/codinghedgehog-python/follo... | [] | closed | true | null | [] | null | 1 | 2020-10-19T13:08:24Z | 2021-08-29T00:06:42Z | 2020-10-19T13:52:44Z | NONE | resolved | Hi, since I'm not 100% sure whether it's a bug or not I'm putting it under "Request for Help".
I looked up what the error actually means and apparently my program attempted to access restricted part of RAM.
You go figure.
I had to use Python debugger to find out that the module throws seg fault on the method call.... | {
"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/5634/reactions"
} | https://api.github.com/repos/psf/requests/issues/5634/timeline | null | completed | null | null | false | [
"It's likely this is coming from a lower-level library that's using C but at first blush, you can't (and this is documented) combine `json=` and `files=`. So I'm sure the JSON library you're using is doing something to cause this with the open file you're using.\r\n\r\nPlease use [StackOverflow](https://stackoverfl... |
https://api.github.com/repos/psf/requests/issues/5633 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5633/labels{/name} | https://api.github.com/repos/psf/requests/issues/5633/comments | https://api.github.com/repos/psf/requests/issues/5633/events | https://github.com/psf/requests/issues/5633 | 724,254,792 | MDU6SXNzdWU3MjQyNTQ3OTI= | 5,633 | Session.close() does not close underlying sockets | {
"avatar_url": "https://avatars.githubusercontent.com/u/118304?v=4",
"events_url": "https://api.github.com/users/grantjenks/events{/privacy}",
"followers_url": "https://api.github.com/users/grantjenks/followers",
"following_url": "https://api.github.com/users/grantjenks/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2020-10-19T04:46:43Z | 2021-08-29T00:06:43Z | 2020-10-19T11:10:37Z | NONE | resolved | It seems that Session.close() does not close the underlying TCP socket. That was unexpected and it wasn't clear to me in the docs. Is there any way to explicitly/forcefully close all underlying sockets in a threadsafe way?
## Expected Result
Using sockets:
```python
"""Demo for Canceling IO by Closing the Soc... | {
"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/5633/reactions"
} | https://api.github.com/repos/psf/requests/issues/5633/timeline | null | completed | null | null | false | [
"You have to first return the socket to the connection pool by closing the response if you haven't already consumed all the content. Then you can close the Session. Responses hold onto their socket until either:\r\n\r\n- All the content has been read into memory (default)\r\n- The user has read all the content (str... |
https://api.github.com/repos/psf/requests/issues/5632 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5632/labels{/name} | https://api.github.com/repos/psf/requests/issues/5632/comments | https://api.github.com/repos/psf/requests/issues/5632/events | https://github.com/psf/requests/issues/5632 | 723,739,495 | MDU6SXNzdWU3MjM3Mzk0OTU= | 5,632 | Requests and Answers Encoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/30806958?v=4",
"events_url": "https://api.github.com/users/oktorok/events{/privacy}",
"followers_url": "https://api.github.com/users/oktorok/followers",
"following_url": "https://api.github.com/users/oktorok/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 7 | 2020-10-17T11:46:14Z | 2021-08-29T00:06:43Z | 2020-10-17T13:08:46Z | NONE | resolved | When requests answer is from (atleast) ISO-8859-1, the module take so long for process the response.
## Expected Result
Similar time than curl or browser time around 1 sec
## Actual Result
The answer takes more than 2 minutes
 when I was analyzing requests and responses of a website and tried to imitate them with [requests library](https://github.com/psf/requests) and found that the cookies ordering in the request Cookie header are not as the same as the browser(Chromium ... | {
"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/5630/reactions"
} | https://api.github.com/repos/psf/requests/issues/5630/timeline | null | completed | null | null | false | [
"`HttpOnly` doesn't make a difference in how the cookie should be interpreted in the semantic way that `Path` _can_ (although you're quoting a _very_ old RFC). (Note that by your own quote, nothing else should affect the ordering but `Path`.) If you look at your responses, the browser gets `cookie=` first, then `SE... |
https://api.github.com/repos/psf/requests/issues/5629 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5629/labels{/name} | https://api.github.com/repos/psf/requests/issues/5629/comments | https://api.github.com/repos/psf/requests/issues/5629/events | https://github.com/psf/requests/issues/5629 | 721,590,238 | MDU6SXNzdWU3MjE1OTAyMzg= | 5,629 | content-type: media subtypes of "text" using ISO-8859-1 as default charset may be inappropriate | {
"avatar_url": "https://avatars.githubusercontent.com/u/18023477?v=4",
"events_url": "https://api.github.com/users/stanpao/events{/privacy}",
"followers_url": "https://api.github.com/users/stanpao/followers",
"following_url": "https://api.github.com/users/stanpao/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-10-14T16:06:25Z | 2021-08-29T00:06:44Z | 2020-10-14T18:20:08Z | NONE | resolved | https://github.com/psf/requests/blob/143150233162d609330941ec2aacde5ed4caa510/requests/utils.py#L497
From [RFC 2616](https://tools.ietf.org/html/rfc2616#section-3.7.1):
When no explicit charset parameter is provided by the sender, media subtypes of the "text"
type are defined to have a default charset value ... | {
"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/5629/reactions"
} | https://api.github.com/repos/psf/requests/issues/5629/timeline | null | completed | null | null | false | [
"It's a backwards incompatible change.\r\n\r\nIn the future, please search **closed and** open issues before creating new ones that are duplicates."
] |
https://api.github.com/repos/psf/requests/issues/5628 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5628/labels{/name} | https://api.github.com/repos/psf/requests/issues/5628/comments | https://api.github.com/repos/psf/requests/issues/5628/events | https://github.com/psf/requests/pull/5628 | 721,345,257 | MDExOlB1bGxSZXF1ZXN0NTAzMjc4MTE5 | 5,628 | Added python 3.9 to CI, tox and setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/56871115?v=4",
"events_url": "https://api.github.com/users/hughesp8/events{/privacy}",
"followers_url": "https://api.github.com/users/hughesp8/followers",
"following_url": "https://api.github.com/users/hughesp8/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 6 | 2020-10-14T10:39:37Z | 2021-08-28T00:06:17Z | 2020-11-11T19:00:37Z | NONE | resolved | # Added Python 3.9 into CI, tox and setup.py
This PR is directly related to this issue #5620
closes #5620
**This PR is currently a draft**
I am creating the PR to run test suite/see how CI performs using python3.9 via Actions. I was unable to get a Python3.9 virtual environment working locally so this is ... | {
"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/5628/reactions"
} | https://api.github.com/repos/psf/requests/issues/5628/timeline | null | null | true | {
"diff_url": "https://github.com/psf/requests/pull/5628.diff",
"html_url": "https://github.com/psf/requests/pull/5628",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5628.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5628"
} | true | [
"Looks like travis doesn't have 3.9 yet",
"> Looks like travis doesn't have 3.9 yet\r\n\r\nI looked through the on-demand python versions for travis and they do have python-3.9-dev.tar.bz2. So the dev version. However I don't know how to target. Any ideas?\r\n\r\nHere are the available versions https://docs.travi... |
https://api.github.com/repos/psf/requests/issues/5627 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5627/labels{/name} | https://api.github.com/repos/psf/requests/issues/5627/comments | https://api.github.com/repos/psf/requests/issues/5627/events | https://github.com/psf/requests/issues/5627 | 721,236,019 | MDU6SXNzdWU3MjEyMzYwMTk= | 5,627 | Is it possible to support ftp transfer ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/31752768?v=4",
"events_url": "https://api.github.com/users/eaglegai/events{/privacy}",
"followers_url": "https://api.github.com/users/eaglegai/followers",
"following_url": "https://api.github.com/users/eaglegai/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-10-14T08:01:42Z | 2021-08-29T00:06:45Z | 2020-10-14T10:32:11Z | NONE | resolved | I see 'class HTTPAdapter' in adapters.py,if it's possible to deal with ftp requests?
Looking forward to your reply ,thanks! | {
"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/5627/reactions"
} | https://api.github.com/repos/psf/requests/issues/5627/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/5626 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5626/labels{/name} | https://api.github.com/repos/psf/requests/issues/5626/comments | https://api.github.com/repos/psf/requests/issues/5626/events | https://github.com/psf/requests/issues/5626 | 720,283,795 | MDU6SXNzdWU3MjAyODM3OTU= | 5,626 | Inconsistent host behaviour when request is redirected | {
"avatar_url": "https://avatars.githubusercontent.com/u/12761574?v=4",
"events_url": "https://api.github.com/users/javixeneize/events{/privacy}",
"followers_url": "https://api.github.com/users/javixeneize/followers",
"following_url": "https://api.github.com/users/javixeneize/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2020-10-13T13:50:53Z | 2021-08-29T00:06:45Z | 2020-10-13T19:19:56Z | NONE | resolved | Summary.
Hi
Im trying to implement a script to test a host header injection. It is quite simple, it sends a valid request to an endpoint, but modifies the Host header injecting a fake domain (evil.com)
When the request is not a redirection, this header is ignored, and the request reaches the original url, howe... | {
"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/5626/reactions"
} | https://api.github.com/repos/psf/requests/issues/5626/timeline | null | completed | null | null | false | [
"This isn't behaviour in Requests. We don't look at the `Host` header at all while [handling redirects](https://github.com/psf/requests/blob/143150233162d609330941ec2aacde5ed4caa510/requests/sessions.py#L96). "
] |
https://api.github.com/repos/psf/requests/issues/5625 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5625/labels{/name} | https://api.github.com/repos/psf/requests/issues/5625/comments | https://api.github.com/repos/psf/requests/issues/5625/events | https://github.com/psf/requests/issues/5625 | 720,047,150 | MDU6SXNzdWU3MjAwNDcxNTA= | 5,625 | Preparing request with Session obj | {
"avatar_url": "https://avatars.githubusercontent.com/u/14844484?v=4",
"events_url": "https://api.github.com/users/ShurayukiHime/events{/privacy}",
"followers_url": "https://api.github.com/users/ShurayukiHime/followers",
"following_url": "https://api.github.com/users/ShurayukiHime/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-10-13T09:25:52Z | 2021-08-29T00:06:46Z | 2020-10-13T12:24:18Z | NONE | resolved | Hi,
this is actually a question more than an issue.
```
req = requests.Request(method=None, url=url, cookies=self.cookies)
prepped = self.session.prepare_request(req)
```
raises error because method is None, and this is actually because of `method.upper()`. [Code here](https://github.com/psf/requests/blob/143... | {
"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/5625/reactions"
} | https://api.github.com/repos/psf/requests/issues/5625/timeline | null | completed | null | null | false | [
"I'd say it's a bug that `req.prepare()` doesn't raise an exception for a `None` method. It shouldn't raise an `AttributeError` but we can't swap that out for something more reasonable at this point or break `req.prepare()`."
] |
https://api.github.com/repos/psf/requests/issues/5624 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5624/labels{/name} | https://api.github.com/repos/psf/requests/issues/5624/comments | https://api.github.com/repos/psf/requests/issues/5624/events | https://github.com/psf/requests/issues/5624 | 719,715,335 | MDU6SXNzdWU3MTk3MTUzMzU= | 5,624 | Issue with using http proxies with requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/57771737?v=4",
"events_url": "https://api.github.com/users/FunnyMan69420/events{/privacy}",
"followers_url": "https://api.github.com/users/FunnyMan69420/followers",
"following_url": "https://api.github.com/users/FunnyMan69420/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-10-12T22:42:44Z | 2021-08-29T00:06:46Z | 2020-10-12T22:46:30Z | NONE | resolved | Hello I have recently been attempting to use http proxies for something im making however when I use http proxies it instead uses my ip but when I use https proxies it actually uses the proxies ip. Slightly confused about this I do not know if there is something stopping this from working, thanks a lot for reading.
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/5624/reactions"
} | https://api.github.com/repos/psf/requests/issues/5624/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.\r\n\r\nIf you open this again as an issue, you will be ... |
https://api.github.com/repos/psf/requests/issues/5623 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5623/labels{/name} | https://api.github.com/repos/psf/requests/issues/5623/comments | https://api.github.com/repos/psf/requests/issues/5623/events | https://github.com/psf/requests/issues/5623 | 719,703,176 | MDU6SXNzdWU3MTk3MDMxNzY= | 5,623 | Requests library (python) with http proxies | {
"avatar_url": "https://avatars.githubusercontent.com/u/57771737?v=4",
"events_url": "https://api.github.com/users/FunnyMan69420/events{/privacy}",
"followers_url": "https://api.github.com/users/FunnyMan69420/followers",
"following_url": "https://api.github.com/users/FunnyMan69420/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-10-12T22:14:50Z | 2021-08-29T00:06:46Z | 2020-10-12T22:28:07Z | NONE | resolved | Hello I have recently been attempting to use http proxies for something im making however when I use http proxies it instead uses my ip but when I use https proxies it actually uses the proxies ip. Slightly confused about this I do not know if there is something stopping this from working, thanks a lot for reading. | {
"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/5623/reactions"
} | https://api.github.com/repos/psf/requests/issues/5623/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/5622 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5622/labels{/name} | https://api.github.com/repos/psf/requests/issues/5622/comments | https://api.github.com/repos/psf/requests/issues/5622/events | https://github.com/psf/requests/issues/5622 | 719,407,242 | MDU6SXNzdWU3MTk0MDcyNDI= | 5,622 | Response Cookies are not Accessible (but they end up in the session) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2635438?v=4",
"events_url": "https://api.github.com/users/cedricvanrompay/events{/privacy}",
"followers_url": "https://api.github.com/users/cedricvanrompay/followers",
"following_url": "https://api.github.com/users/cedricvanrompay/following{/other_user}",... | [] | closed | true | null | [] | null | 2 | 2020-10-12T14:03:58Z | 2021-08-29T00:06:44Z | 2020-10-12T14:24:47Z | NONE | resolved | `response.cookies` is empty when it shouldn't; [the example in documentation for reading cookies from a response](https://requests.readthedocs.io/en/master/user/quickstart/#cookies) does not seem to work.
*(**EDIT:** solved, it works, see answer below)*
## Expected Result
```
>>> requests.get('https://httpbin... | {
"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/5622/reactions"
} | https://api.github.com/repos/psf/requests/issues/5622/timeline | null | completed | null | null | false | [
"Check `response.history` the cookies are set on the response that actually received the cookies, not every subsequent one.",
"Indeed:\r\n\r\n```\r\n>>> resp.history\r\n[<Response [302]>]\r\n>>> resp.history[0].headers\r\n{'Date': 'Thu, 15 Oct 2020 15:33:54 GMT', 'Content-Type': 'text/html; charset=utf-8', 'Conte... |
https://api.github.com/repos/psf/requests/issues/5621 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5621/labels{/name} | https://api.github.com/repos/psf/requests/issues/5621/comments | https://api.github.com/repos/psf/requests/issues/5621/events | https://github.com/psf/requests/pull/5621 | 719,162,571 | MDExOlB1bGxSZXF1ZXN0NTAxMzk5NDEy | 5,621 | Fix formatting in setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/10052309?v=4",
"events_url": "https://api.github.com/users/vladdoster/events{/privacy}",
"followers_url": "https://api.github.com/users/vladdoster/followers",
"following_url": "https://api.github.com/users/vladdoster/following{/other_user}",
"gists_url"... | [
{
"color": "d16014",
"default": false,
"description": "",
"id": 2392364523,
"name": "spam",
"node_id": "MDU6TGFiZWwyMzkyMzY0NTIz",
"url": "https://api.github.com/repos/psf/requests/labels/spam"
}
] | closed | true | null | [] | null | 1 | 2020-10-12T08:03:59Z | 2021-08-28T00:06:17Z | 2020-10-29T20:12:23Z | NONE | resolved | - Remove extraneous whitespace in `requires` list
- Add spacing between `requires` and `test_requirements` | {
"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/5621/reactions"
} | https://api.github.com/repos/psf/requests/issues/5621/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5621.diff",
"html_url": "https://github.com/psf/requests/pull/5621",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5621.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5621"
} | true | [
"Thanks but the project is not accepting purely cosmetic changes"
] |
https://api.github.com/repos/psf/requests/issues/5620 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5620/labels{/name} | https://api.github.com/repos/psf/requests/issues/5620/comments | https://api.github.com/repos/psf/requests/issues/5620/events | https://github.com/psf/requests/issues/5620 | 718,772,948 | MDU6SXNzdWU3MTg3NzI5NDg= | 5,620 | Add Python 3.9 to CI | {
"avatar_url": "https://avatars.githubusercontent.com/u/3972343?v=4",
"events_url": "https://api.github.com/users/tirkarthi/events{/privacy}",
"followers_url": "https://api.github.com/users/tirkarthi/followers",
"following_url": "https://api.github.com/users/tirkarthi/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 4 | 2020-10-11T06:49:38Z | 2021-08-28T00:06:10Z | 2020-11-11T19:01:00Z | NONE | resolved | Python 3.9 was released on October 5, 2020. Add Python 3.9 to CI, tox configuration and update classifiers in setup.py
## Expected Result
What you expected.
## Actual Result
What happened instead.
## Reproduction Steps
Tests pass on Python 3.9.0
```
tox -e py39
GLOB sdist-make: /root/checked_repo... | {
"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/5620/reactions"
} | https://api.github.com/repos/psf/requests/issues/5620/timeline | null | completed | null | null | false | [
"Hi,\r\n\r\nCould you please add some clarification. Are you saying that the above tox output is as we want it? Do we want py39 to fail?\r\n\r\nYou said \"Tests pass on Python 3.9.0\" but I don't think they do, it says py39 commands failed.\r\n\r\nPerhaps it is ok for the majority of tests to pass and these errors/... |
https://api.github.com/repos/psf/requests/issues/5619 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5619/labels{/name} | https://api.github.com/repos/psf/requests/issues/5619/comments | https://api.github.com/repos/psf/requests/issues/5619/events | https://github.com/psf/requests/issues/5619 | 718,709,799 | MDU6SXNzdWU3MTg3MDk3OTk= | 5,619 | README mentions Python 2.7 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/28923979?v=4",
"events_url": "https://api.github.com/users/Helveg/events{/privacy}",
"followers_url": "https://api.github.com/users/Helveg/followers",
"following_url": "https://api.github.com/users/Helveg/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2020-10-10T21:51:57Z | 2021-08-29T00:06:47Z | 2020-10-10T21:55:31Z | NONE | resolved | _(Bug template was not applicable)_
The README states that requests officially supports Python 2.7. Shouldn't that support be dropped now that Python 2 has been sunset? | {
"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/5619/reactions"
} | https://api.github.com/repos/psf/requests/issues/5619/timeline | null | completed | null | null | false | [
"Hi @Helveg, the documentation is correct. There are still a number of tools that use Requests and require Python 2.7 support, including pip. Our support may change as we get into 2021 but we'll provide advanced notification on that."
] |
https://api.github.com/repos/psf/requests/issues/5618 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5618/labels{/name} | https://api.github.com/repos/psf/requests/issues/5618/comments | https://api.github.com/repos/psf/requests/issues/5618/events | https://github.com/psf/requests/issues/5618 | 717,563,116 | MDU6SXNzdWU3MTc1NjMxMTY= | 5,618 | Keep-alive after pickling a session | {
"avatar_url": "https://avatars.githubusercontent.com/u/8843150?v=4",
"events_url": "https://api.github.com/users/jsmedmar/events{/privacy}",
"followers_url": "https://api.github.com/users/jsmedmar/followers",
"following_url": "https://api.github.com/users/jsmedmar/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2020-10-08T18:20:28Z | 2021-08-29T00:06:47Z | 2020-10-08T18:26:43Z | NONE | resolved | I'm trying to implement TLS session resumption for my command line application.
This issue https://github.com/psf/requests/issues/2522 explains how to pickle a `requests.session`.
However, the TLS handshake is repeated when I rerun my application, loading a pickled session.
I was wondering what I'm I missing?... | {
"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/5618/reactions"
} | https://api.github.com/repos/psf/requests/issues/5618/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/5617 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5617/labels{/name} | https://api.github.com/repos/psf/requests/issues/5617/comments | https://api.github.com/repos/psf/requests/issues/5617/events | https://github.com/psf/requests/pull/5617 | 717,020,378 | MDExOlB1bGxSZXF1ZXN0NDk5NjU2MTQ0 | 5,617 | Exemplo De Commit | {
"avatar_url": "https://avatars.githubusercontent.com/u/71050601?v=4",
"events_url": "https://api.github.com/users/DiksonSantos/events{/privacy}",
"followers_url": "https://api.github.com/users/DiksonSantos/followers",
"following_url": "https://api.github.com/users/DiksonSantos/following{/other_user}",
"gist... | [
{
"color": "d16014",
"default": false,
"description": "",
"id": 2392364523,
"name": "spam",
"node_id": "MDU6TGFiZWwyMzkyMzY0NTIz",
"url": "https://api.github.com/repos/psf/requests/labels/spam"
}
] | closed | true | null | [] | null | 0 | 2020-10-08T04:56:47Z | 2021-08-28T00:06:18Z | 2020-10-08T13:36:13Z | NONE | resolved | PullRequest | {
"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/5617/reactions"
} | https://api.github.com/repos/psf/requests/issues/5617/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5617.diff",
"html_url": "https://github.com/psf/requests/pull/5617",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5617.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5617"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5616 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5616/labels{/name} | https://api.github.com/repos/psf/requests/issues/5616/comments | https://api.github.com/repos/psf/requests/issues/5616/events | https://github.com/psf/requests/issues/5616 | 715,660,682 | MDU6SXNzdWU3MTU2NjA2ODI= | 5,616 | RESPONSE 500 on Heroku | {
"avatar_url": "https://avatars.githubusercontent.com/u/65137814?v=4",
"events_url": "https://api.github.com/users/krutoypan3/events{/privacy}",
"followers_url": "https://api.github.com/users/krutoypan3/followers",
"following_url": "https://api.github.com/users/krutoypan3/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2020-10-06T13:05:35Z | 2021-08-29T00:06:47Z | 2020-10-06T13:57:37Z | NONE | resolved | On Heroku and localhost


Response 200 (on localhost) its good
Response 500 (on Heroku) its B... | {
"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/5616/reactions"
} | https://api.github.com/repos/psf/requests/issues/5616/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/5615 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5615/labels{/name} | https://api.github.com/repos/psf/requests/issues/5615/comments | https://api.github.com/repos/psf/requests/issues/5615/events | https://github.com/psf/requests/issues/5615 | 715,597,602 | MDU6SXNzdWU3MTU1OTc2MDI= | 5,615 | Docs and Readme: [GitHub] Deprecation Notice | {
"avatar_url": "https://avatars.githubusercontent.com/u/3272563?v=4",
"events_url": "https://api.github.com/users/giuliohome/events{/privacy}",
"followers_url": "https://api.github.com/users/giuliohome/followers",
"following_url": "https://api.github.com/users/giuliohome/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-10-06T11:49:25Z | 2021-08-29T00:06:47Z | 2020-10-06T13:56:17Z | NONE | resolved | I've followed the main example you present at the start of your Docs
```python
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200
>>> r.headers['content-type']
'application/json; charset=utf8'
>>> r.encoding
'utf-8'
>>> r.text
'{"type":"User"...'
>>> r.json()
... | {
"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/5615/reactions"
} | https://api.github.com/repos/psf/requests/issues/5615/timeline | null | completed | null | null | false | [
"The example code is not broken. GitHub is just changing their policies around using basic authentication. This could be changed to something else easily. GitHub's deprecation is not a bug in our project though."
] |
https://api.github.com/repos/psf/requests/issues/5614 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5614/labels{/name} | https://api.github.com/repos/psf/requests/issues/5614/comments | https://api.github.com/repos/psf/requests/issues/5614/events | https://github.com/psf/requests/pull/5614 | 714,439,661 | MDExOlB1bGxSZXF1ZXN0NDk3NTI2NzE4 | 5,614 | small typo corrected. | {
"avatar_url": "https://avatars.githubusercontent.com/u/10545530?v=4",
"events_url": "https://api.github.com/users/smstong/events{/privacy}",
"followers_url": "https://api.github.com/users/smstong/followers",
"following_url": "https://api.github.com/users/smstong/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2020-10-05T00:45:59Z | 2021-08-28T00:06:18Z | 2020-10-05T18:15:44Z | CONTRIBUTOR | resolved | a small typo was corrected. | {
"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/5614/reactions"
} | https://api.github.com/repos/psf/requests/issues/5614/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5614.diff",
"html_url": "https://github.com/psf/requests/pull/5614",
"merged_at": "2020-10-05T18:15:44Z",
"patch_url": "https://github.com/psf/requests/pull/5614.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5614"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5613 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5613/labels{/name} | https://api.github.com/repos/psf/requests/issues/5613/comments | https://api.github.com/repos/psf/requests/issues/5613/events | https://github.com/psf/requests/issues/5613 | 714,114,435 | MDU6SXNzdWU3MTQxMTQ0MzU= | 5,613 | Support for SameSite cookie flag. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3686626?v=4",
"events_url": "https://api.github.com/users/anio/events{/privacy}",
"followers_url": "https://api.github.com/users/anio/followers",
"following_url": "https://api.github.com/users/anio/following{/other_user}",
"gists_url": "https://api.gith... | [] | open | false | null | [] | null | 3 | 2020-10-03T15:33:09Z | 2020-10-03T22:33:48Z | null | NONE | null | Hi,
Have you any plan to expose `samesite` cookie flag?
| 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/5613/reactions"
} | https://api.github.com/repos/psf/requests/issues/5613/timeline | null | null | null | null | false | [
"We use the standard library which doesn't expose it but I'm working on [moreos](/sigmavirus24/moreos) which will have a cookie jar that's saner, more secure, and would expose this for Requests as a drop-in replacement",
"You are right, but I think it's possible to add to newer python versions. I added it to my f... |
https://api.github.com/repos/psf/requests/issues/5612 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5612/labels{/name} | https://api.github.com/repos/psf/requests/issues/5612/comments | https://api.github.com/repos/psf/requests/issues/5612/events | https://github.com/psf/requests/issues/5612 | 713,215,695 | MDU6SXNzdWU3MTMyMTU2OTU= | 5,612 | (optionally) Prevent exceptions from iter_content() | {
"avatar_url": "https://avatars.githubusercontent.com/u/11820748?v=4",
"events_url": "https://api.github.com/users/girst/events{/privacy}",
"followers_url": "https://api.github.com/users/girst/followers",
"following_url": "https://api.github.com/users/girst/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2020-10-01T22:07:23Z | 2021-08-29T00:06:48Z | 2020-10-01T23:29:12Z | NONE | resolved | It should be possible to suppress exceptions, like when the server closes the connection on us, from `iter_content()`. Catching exceptions from iterators is notoriously difficult, and they are often passed on to other libraries which are outside the control of the programmer.
A typical example (and the case I ran in... | {
"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/5612/reactions"
} | https://api.github.com/repos/psf/requests/issues/5612/timeline | null | completed | null | null | false | [
"You're on python 3, and given this is a library in feature freeze. You're going to get to a better solution with:\r\n\r\n```py\r\nimport requests\r\nfrom flask import Flask, Response\r\n\r\ndef silence_errors(generator):\r\n try:\r\n yield from generator\r\n except requests.exceptions.RequestsExcepti... |
https://api.github.com/repos/psf/requests/issues/5611 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5611/labels{/name} | https://api.github.com/repos/psf/requests/issues/5611/comments | https://api.github.com/repos/psf/requests/issues/5611/events | https://github.com/psf/requests/pull/5611 | 712,890,175 | MDExOlB1bGxSZXF1ZXN0NDk2Mjk4Nzgz | 5,611 | Create codeql-analysis.yml | {
"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_... | [] | closed | true | {
"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... | [
{
"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}"... | null | 1 | 2020-10-01T14:19:41Z | 2021-08-28T00:06:19Z | 2020-10-02T22:10:53Z | CONTRIBUTOR | resolved | {
"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/5611/reactions"
} | https://api.github.com/repos/psf/requests/issues/5611/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5611.diff",
"html_url": "https://github.com/psf/requests/pull/5611",
"merged_at": "2020-10-02T22:10:53Z",
"patch_url": "https://github.com/psf/requests/pull/5611.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5611"
} | true | [
"To all of your questions: I don't know. I saw the announcement and thought it wouldn't hurt here. I'll look more closely later"
] | |
https://api.github.com/repos/psf/requests/issues/5610 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5610/labels{/name} | https://api.github.com/repos/psf/requests/issues/5610/comments | https://api.github.com/repos/psf/requests/issues/5610/events | https://github.com/psf/requests/pull/5610 | 712,678,111 | MDExOlB1bGxSZXF1ZXN0NDk2MTE5NTIx | 5,610 | Fixed the comments | {
"avatar_url": "https://avatars.githubusercontent.com/u/67335037?v=4",
"events_url": "https://api.github.com/users/shreeya0505/events{/privacy}",
"followers_url": "https://api.github.com/users/shreeya0505/followers",
"following_url": "https://api.github.com/users/shreeya0505/following{/other_user}",
"gists_u... | [
{
"color": "d16014",
"default": false,
"description": "",
"id": 2392364523,
"name": "spam",
"node_id": "MDU6TGFiZWwyMzkyMzY0NTIz",
"url": "https://api.github.com/repos/psf/requests/labels/spam"
}
] | closed | true | null | [] | null | 0 | 2020-10-01T09:42:42Z | 2021-08-28T00:06:19Z | 2020-10-01T16:30:52Z | NONE | resolved | {
"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/5610/reactions"
} | https://api.github.com/repos/psf/requests/issues/5610/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5610.diff",
"html_url": "https://github.com/psf/requests/pull/5610",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5610.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5610"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/5609 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5609/labels{/name} | https://api.github.com/repos/psf/requests/issues/5609/comments | https://api.github.com/repos/psf/requests/issues/5609/events | https://github.com/psf/requests/issues/5609 | 712,305,305 | MDU6SXNzdWU3MTIzMDUzMDU= | 5,609 | requests.get(url, proxies=proxy_list), Failed to parse if username is Email | {
"avatar_url": "https://avatars.githubusercontent.com/u/10436946?v=4",
"events_url": "https://api.github.com/users/sandman6578/events{/privacy}",
"followers_url": "https://api.github.com/users/sandman6578/followers",
"following_url": "https://api.github.com/users/sandman6578/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2020-09-30T21:52:18Z | 2021-08-29T00:06:49Z | 2020-09-30T23:46:31Z | NONE | resolved | Hey at all.
I have an Issue with request.get to use proxies function if the username for the proxy server contains an @ or some "unsafe characters".
## Expected Result
To get successfully logged in to my proxy and get the IP from proxy server
## Actual Result
Failed to parse: https://username@email.com:p... | {
"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/5609/reactions"
} | https://api.github.com/repos/psf/requests/issues/5609/timeline | null | completed | null | null | false | [
"In RFC 3986 `@` is exclusively reserved for separating the user info from the hostname in the authority section (`authority = userinfo @ host : port`) so you should replace `@` with `%40`. This has been covered in open and closed issues and is likely well documented on stackoverflow."
] |
https://api.github.com/repos/psf/requests/issues/5608 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5608/labels{/name} | https://api.github.com/repos/psf/requests/issues/5608/comments | https://api.github.com/repos/psf/requests/issues/5608/events | https://github.com/psf/requests/pull/5608 | 712,237,532 | MDExOlB1bGxSZXF1ZXN0NDk1NzUyMDg1 | 5,608 | Add official Python 3.8 support on Appveyor | {
"avatar_url": "https://avatars.githubusercontent.com/u/5083377?v=4",
"events_url": "https://api.github.com/users/abdullahselek/events{/privacy}",
"followers_url": "https://api.github.com/users/abdullahselek/followers",
"following_url": "https://api.github.com/users/abdullahselek/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 0 | 2020-09-30T19:56:20Z | 2021-08-28T00:06:19Z | 2020-09-30T20:35:12Z | CONTRIBUTOR | resolved | {
"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/5608/reactions"
} | https://api.github.com/repos/psf/requests/issues/5608/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5608.diff",
"html_url": "https://github.com/psf/requests/pull/5608",
"merged_at": "2020-09-30T20:35:12Z",
"patch_url": "https://github.com/psf/requests/pull/5608.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5608"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/5607 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5607/labels{/name} | https://api.github.com/repos/psf/requests/issues/5607/comments | https://api.github.com/repos/psf/requests/issues/5607/events | https://github.com/psf/requests/pull/5607 | 712,218,015 | MDExOlB1bGxSZXF1ZXN0NDk1NzM1NDgw | 5,607 | Run tests on Python 3.9 dev | {
"avatar_url": "https://avatars.githubusercontent.com/u/5083377?v=4",
"events_url": "https://api.github.com/users/abdullahselek/events{/privacy}",
"followers_url": "https://api.github.com/users/abdullahselek/followers",
"following_url": "https://api.github.com/users/abdullahselek/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 0 | 2020-09-30T19:26:45Z | 2021-08-28T00:06:20Z | 2020-09-30T19:49:38Z | CONTRIBUTOR | resolved | Add a new Python version on Travis-CI that run the tests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5083377?v=4",
"events_url": "https://api.github.com/users/abdullahselek/events{/privacy}",
"followers_url": "https://api.github.com/users/abdullahselek/followers",
"following_url": "https://api.github.com/users/abdullahselek/following{/other_user}",
"gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5607/reactions"
} | https://api.github.com/repos/psf/requests/issues/5607/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5607.diff",
"html_url": "https://github.com/psf/requests/pull/5607",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5607.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5607"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5606 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5606/labels{/name} | https://api.github.com/repos/psf/requests/issues/5606/comments | https://api.github.com/repos/psf/requests/issues/5606/events | https://github.com/psf/requests/issues/5606 | 712,064,564 | MDU6SXNzdWU3MTIwNjQ1NjQ= | 5,606 | BUG "except requests.HTTPError as e:" at error 500 doesnt work | {
"avatar_url": "https://avatars.githubusercontent.com/u/38250422?v=4",
"events_url": "https://api.github.com/users/marcraft2/events{/privacy}",
"followers_url": "https://api.github.com/users/marcraft2/followers",
"following_url": "https://api.github.com/users/marcraft2/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-09-30T15:47:31Z | 2021-08-29T00:06:49Z | 2020-09-30T16:37:38Z | NONE | resolved | Hi!
This expect doesnt work with error 500
`except requests.HTTPError as e:`
Why did you do that? Do you like the difficulty?
It should be noted that the success of the call to r.json() does not indicate the success of the response. Some servers may return a JSON object in a failed response (e.g. error deta... | {
"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/5606/reactions"
} | https://api.github.com/repos/psf/requests/issues/5606/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/5605 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5605/labels{/name} | https://api.github.com/repos/psf/requests/issues/5605/comments | https://api.github.com/repos/psf/requests/issues/5605/events | https://github.com/psf/requests/pull/5605 | 711,196,132 | MDExOlB1bGxSZXF1ZXN0NDk0ODk3Nzc5 | 5,605 | Remove leftover HISTORY.md file read from setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/43097289?v=4",
"events_url": "https://api.github.com/users/Ae-Mc/events{/privacy}",
"followers_url": "https://api.github.com/users/Ae-Mc/followers",
"following_url": "https://api.github.com/users/Ae-Mc/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 0 | 2020-09-29T14:54:58Z | 2021-08-28T00:06:20Z | 2020-09-29T15:36:31Z | CONTRIBUTOR | resolved | {
"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/5605/reactions"
} | https://api.github.com/repos/psf/requests/issues/5605/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5605.diff",
"html_url": "https://github.com/psf/requests/pull/5605",
"merged_at": "2020-09-29T15:36:31Z",
"patch_url": "https://github.com/psf/requests/pull/5605.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5605"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/5604 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5604/labels{/name} | https://api.github.com/repos/psf/requests/issues/5604/comments | https://api.github.com/repos/psf/requests/issues/5604/events | https://github.com/psf/requests/issues/5604 | 710,735,853 | MDU6SXNzdWU3MTA3MzU4NTM= | 5,604 | Multi post request in Session doesn't use single connection | {
"avatar_url": "https://avatars.githubusercontent.com/u/7325798?v=4",
"events_url": "https://api.github.com/users/chenhd/events{/privacy}",
"followers_url": "https://api.github.com/users/chenhd/followers",
"following_url": "https://api.github.com/users/chenhd/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2020-09-29T03:47:14Z | 2020-09-30T13:29:30Z | 2020-09-29T13:23:57Z | NONE | resolved | I use session object to make the request, but I see the connection will be close after the request, because I see the client sent the tcp-FIN flag to the server by wireshark.
-------------
python 3.7.7
requests 2.24.0
win10 | {
"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/5604/reactions"
} | https://api.github.com/repos/psf/requests/issues/5604/timeline | null | completed | null | null | false | [
"We send `Connection: keep-alive` but we can't control the server. This isn't a requests bug and you've provided none of the required informatoin",
"I found a information, open the logging, it print something:\r\n\r\nDEBUG:urllib3.connectionpool:Resetting dropped connection: (this is a ip)\r\n\r\nin two same post... |
https://api.github.com/repos/psf/requests/issues/5603 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5603/labels{/name} | https://api.github.com/repos/psf/requests/issues/5603/comments | https://api.github.com/repos/psf/requests/issues/5603/events | https://github.com/psf/requests/issues/5603 | 710,230,707 | MDU6SXNzdWU3MTAyMzA3MDc= | 5,603 | How can I create requests without actually executing them ( to get instance ) | {
"avatar_url": "https://avatars.githubusercontent.com/u/29454176?v=4",
"events_url": "https://api.github.com/users/realsirjoe/events{/privacy}",
"followers_url": "https://api.github.com/users/realsirjoe/followers",
"following_url": "https://api.github.com/users/realsirjoe/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2020-09-28T12:41:16Z | 2021-08-29T00:06:49Z | 2020-09-28T13:58:26Z | NONE | resolved | I want to do this in order to log the requests myself, in order to reproduce them when an error is thrown, for better debugging.
If there is no way to do so how can I log the requests ( all http requests: GET, POST, PUT,..) preferably as cURL string | {
"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/5603/reactions"
} | https://api.github.com/repos/psf/requests/issues/5603/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/5602 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5602/labels{/name} | https://api.github.com/repos/psf/requests/issues/5602/comments | https://api.github.com/repos/psf/requests/issues/5602/events | https://github.com/psf/requests/issues/5602 | 709,793,105 | MDU6SXNzdWU3MDk3OTMxMDU= | 5,602 | Exception instead of following 302 redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/4247916?v=4",
"events_url": "https://api.github.com/users/jozo/events{/privacy}",
"followers_url": "https://api.github.com/users/jozo/followers",
"following_url": "https://api.github.com/users/jozo/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 1 | 2020-09-27T18:43:59Z | 2021-08-29T00:06:50Z | 2020-09-27T23:31:01Z | NONE | resolved | Requests throw an exception instead of following 302 redirect. Curl returns a response and browsers follow redirect.
## Expected Result
Requests follow redirect
## Actual Result
Exceptions is thrown:
```
ConnectionError: HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: / (Ca... | {
"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/5602/reactions"
} | https://api.github.com/repos/psf/requests/issues/5602/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.\r\n\r\n> [Errno 111] Connection refused\r\n\r\nImplies ... |
https://api.github.com/repos/psf/requests/issues/5601 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5601/labels{/name} | https://api.github.com/repos/psf/requests/issues/5601/comments | https://api.github.com/repos/psf/requests/issues/5601/events | https://github.com/psf/requests/issues/5601 | 709,453,169 | MDU6SXNzdWU3MDk0NTMxNjk= | 5,601 | Fix the pypi documentation page | {
"avatar_url": "https://avatars.githubusercontent.com/u/8208868?v=4",
"events_url": "https://api.github.com/users/abhijitgujar86/events{/privacy}",
"followers_url": "https://api.github.com/users/abhijitgujar86/followers",
"following_url": "https://api.github.com/users/abhijitgujar86/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2020-09-26T07:57:35Z | 2021-08-29T00:06:48Z | 2020-10-05T15:44:15Z | NONE | resolved | the pypi page for request is showing html tags
https://pypi.org/project/requests/
its not readable | {
"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/5601/reactions"
} | https://api.github.com/repos/psf/requests/issues/5601/timeline | null | completed | null | null | false | [
"This seems like a recent issue",
"This issue will be automatically resolved during the next Requests release."
] |
https://api.github.com/repos/psf/requests/issues/5600 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5600/labels{/name} | https://api.github.com/repos/psf/requests/issues/5600/comments | https://api.github.com/repos/psf/requests/issues/5600/events | https://github.com/psf/requests/issues/5600 | 709,418,877 | MDU6SXNzdWU3MDk0MTg4Nzc= | 5,600 | Performance downgrade for simple get request in kubernetes environment | {
"avatar_url": "https://avatars.githubusercontent.com/u/25401850?v=4",
"events_url": "https://api.github.com/users/hmliu6/events{/privacy}",
"followers_url": "https://api.github.com/users/hmliu6/followers",
"following_url": "https://api.github.com/users/hmliu6/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2020-09-26T04:04:14Z | 2021-04-20T21:43:37Z | 2020-10-08T10:54:21Z | NONE | resolved | In a simple get request, by default trust_env is set to true, so the get request will check for the environment variables for proxy setting, but if it is in a large kubernetes cluster, the environment variables will be sufficiently large and each scan has a very heavy workload but not used on networking.
## Expected... | {
"avatar_url": "https://avatars.githubusercontent.com/u/25401850?v=4",
"events_url": "https://api.github.com/users/hmliu6/events{/privacy}",
"followers_url": "https://api.github.com/users/hmliu6/followers",
"following_url": "https://api.github.com/users/hmliu6/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/5600/reactions"
} | https://api.github.com/repos/psf/requests/issues/5600/timeline | null | completed | null | null | false | [
"> In a simple get request, by default trust_env is set to true, so the get request will check for the environment variables for proxy setting, but if it is in a large kubernetes cluster, the environment variables will be sufficiently large and each scan has a very heavy workload but not used on networking.\r\n\r\n... |
https://api.github.com/repos/psf/requests/issues/5599 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5599/labels{/name} | https://api.github.com/repos/psf/requests/issues/5599/comments | https://api.github.com/repos/psf/requests/issues/5599/events | https://github.com/psf/requests/issues/5599 | 708,826,946 | MDU6SXNzdWU3MDg4MjY5NDY= | 5,599 | Setting SSLContext for Session or operation | {
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 5 | 2020-09-25T10:25:59Z | 2021-08-29T00:06:50Z | 2020-09-25T14:14:34Z | NONE | resolved | The `certifi` library often runs into issues with domain certificates, but in the standard `urllib.request` library has no issue.
If I set the context to use the certifi's file, I get the SSL error,
```python
import ssl
import certifi
import requests.urllib as urlrq
resp = urlrq.urlopen(url="https://<web ... | {
"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/5599/reactions"
} | https://api.github.com/repos/psf/requests/issues/5599/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.",
"It's actually a usage question for the API, stacko... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.