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/5397 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5397/labels{/name} | https://api.github.com/repos/psf/requests/issues/5397/comments | https://api.github.com/repos/psf/requests/issues/5397/events | https://github.com/psf/requests/pull/5397 | 588,453,120 | MDExOlB1bGxSZXF1ZXN0Mzk0MTk2NDIz | 5,397 | sessions module always tries to use a monotonic clock on any platform | {
"avatar_url": "https://avatars.githubusercontent.com/u/2626029?v=4",
"events_url": "https://api.github.com/users/polyvertex/events{/privacy}",
"followers_url": "https://api.github.com/users/polyvertex/followers",
"following_url": "https://api.github.com/users/polyvertex/following{/other_user}",
"gists_url":... | [] | closed | false | null | [] | null | 0 | 2020-03-26T14:14:02Z | 2024-05-19T18:51:37Z | 2024-05-19T18:51:37Z | NONE | null | Any reason for not using monotonic clock on recent Python on Unix platforms? | {
"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/5397/reactions"
} | https://api.github.com/repos/psf/requests/issues/5397/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5397.diff",
"html_url": "https://github.com/psf/requests/pull/5397",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5397.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5397"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5396 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5396/labels{/name} | https://api.github.com/repos/psf/requests/issues/5396/comments | https://api.github.com/repos/psf/requests/issues/5396/events | https://github.com/psf/requests/pull/5396 | 587,032,430 | MDExOlB1bGxSZXF1ZXN0MzkzMDUwMTg4 | 5,396 | Bump bleach from 3.1.1 to 3.1.2 | {
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/ot... | [
{
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file",
"id": 1868210094,
"name": "dependencies",
"node_id": "MDU6TGFiZWwxODY4MjEwMDk0",
"url": "https://api.github.com/repos/psf/requests/labels/dependencies"
}
] | closed | true | null | [] | null | 1 | 2020-03-24T15:11:07Z | 2021-08-29T00:06:58Z | 2020-03-30T19:50:01Z | CONTRIBUTOR | resolved | Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.1 to 3.1.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/mozilla/bleach/blob/master/CHANGES">bleach's changelog</a>.</em></p>
<blockquote>
<h2>Version 3.1.2 (March 11th, 2020)</h2>
<p><strong>Security fixes</strong></p>... | {
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/ot... | {
"+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/5396/reactions"
} | https://api.github.com/repos/psf/requests/issues/5396/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5396.diff",
"html_url": "https://github.com/psf/requests/pull/5396",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5396.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5396"
} | true | [
"Superseded by #5407."
] |
https://api.github.com/repos/psf/requests/issues/5395 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5395/labels{/name} | https://api.github.com/repos/psf/requests/issues/5395/comments | https://api.github.com/repos/psf/requests/issues/5395/events | https://github.com/psf/requests/issues/5395 | 585,800,346 | MDU6SXNzdWU1ODU4MDAzNDY= | 5,395 | ssl.SSLError: [SSL: KRB5_S_TKT_NYV] | {
"avatar_url": "https://avatars.githubusercontent.com/u/27058472?v=4",
"events_url": "https://api.github.com/users/faizanwahla/events{/privacy}",
"followers_url": "https://api.github.com/users/faizanwahla/followers",
"following_url": "https://api.github.com/users/faizanwahla/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 3 | 2020-03-22T20:03:50Z | 2021-09-01T00:11:32Z | 2020-04-03T18:04:16Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
I was logging in with facebook on this python script the day before
it was working good but now it throw the following error
> Traceback (most recent call last):
File "fbwv2b.py", line 553, in... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 1,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5395/reactions"
} | https://api.github.com/repos/psf/requests/issues/5395/timeline | null | completed | null | null | false | [
"What is your openssl version? Try to update the openssl to the most recently version.",
"@eliasfank i was problem only in the termux new verision in old version it worked fine ",
"Hi @faizanwahla,\r\n\r\nThis is an SSL issue with how you're accessing Facebook. This isn't in the scope of what we support on thi... |
https://api.github.com/repos/psf/requests/issues/5394 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5394/labels{/name} | https://api.github.com/repos/psf/requests/issues/5394/comments | https://api.github.com/repos/psf/requests/issues/5394/events | https://github.com/psf/requests/issues/5394 | 585,697,084 | MDU6SXNzdWU1ODU2OTcwODQ= | 5,394 | time limit / lifetime of request | {
"avatar_url": "https://avatars.githubusercontent.com/u/12517945?v=4",
"events_url": "https://api.github.com/users/flipchan/events{/privacy}",
"followers_url": "https://api.github.com/users/flipchan/followers",
"following_url": "https://api.github.com/users/flipchan/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-03-22T11:27:15Z | 2021-09-01T00:11:28Z | 2020-04-03T18:13:31Z | NONE | resolved | I have a program and in order verify that the user doesnt download such big files using input i need a time limit on how long each request is allowed to take.
Does anyone know a good way to put a time limit(/lifetime) on each python requests get requests so if it takes 10 seconds an exception will be thrown.
Than... | {
"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/5394/reactions"
} | https://api.github.com/repos/psf/requests/issues/5394/timeline | null | completed | null | null | false | [
"Hi @flipchan,\r\n\r\nRequests doesn't currently support duration timeouts, only read and connect. We've had various discussions about this over the past and have mostly arrived at using [timeout-decorator](https://github.com/pnpnpn/timeout-decorator) or something similar to wrap your requests. This should be prett... |
https://api.github.com/repos/psf/requests/issues/5393 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5393/labels{/name} | https://api.github.com/repos/psf/requests/issues/5393/comments | https://api.github.com/repos/psf/requests/issues/5393/events | https://github.com/psf/requests/issues/5393 | 584,360,231 | MDU6SXNzdWU1ODQzNjAyMzE= | 5,393 | requests.get failed with AuthenticationRequired error but urllib.request.urlopen works | {
"avatar_url": "https://avatars.githubusercontent.com/u/33146359?v=4",
"events_url": "https://api.github.com/users/jiongjiongli/events{/privacy}",
"followers_url": "https://api.github.com/users/jiongjiongli/followers",
"following_url": "https://api.github.com/users/jiongjiongli/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 2 | 2020-03-19T11:57:14Z | 2021-09-01T00:11:31Z | 2020-04-03T18:22:55Z | NONE | resolved | Summary.
requests.get failed with AuthenticationRequired error but urllib.request.urlopen works.
The computer access google url with shadowsocks client.
```
>>> requests.__version__
'2.23.0'
>>>
>>> url = 'http://storage.googleapis.com/tfds-data'
>>>
>>> response = requests.get(url)
>>> response
<Response ... | {
"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/5393/reactions"
} | https://api.github.com/repos/psf/requests/issues/5393/timeline | null | completed | null | null | false | [
"Hi @jiongjiongli,\r\n\r\nI'm unable to reproduce this issue with the code provided, I get identical responses across both Requests. Something you're sending in the first request is triggering an authentication challenge. I'd verify you're not providing credentials from a .netrc file or another mechanism. The easie... |
https://api.github.com/repos/psf/requests/issues/5392 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5392/labels{/name} | https://api.github.com/repos/psf/requests/issues/5392/comments | https://api.github.com/repos/psf/requests/issues/5392/events | https://github.com/psf/requests/issues/5392 | 584,171,674 | MDU6SXNzdWU1ODQxNzE2NzQ= | 5,392 | Requests+Gevnet trigger SSLERROR when use goproxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/24947060?v=4",
"events_url": "https://api.github.com/users/djerryz/events{/privacy}",
"followers_url": "https://api.github.com/users/djerryz/followers",
"following_url": "https://api.github.com/users/djerryz/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-03-19T05:26:44Z | 2021-09-02T00:07:13Z | 2020-03-19T05:44:15Z | NONE | resolved | Summary.
## Expected Result
<Response [200]>
## Actual Result
HTTPSConnectionPool(host='www.baidu.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'sslv3 alert unexpected message')],)",),))
## Reproduction Steps
```bash... | {
"avatar_url": "https://avatars.githubusercontent.com/u/24947060?v=4",
"events_url": "https://api.github.com/users/djerryz/events{/privacy}",
"followers_url": "https://api.github.com/users/djerryz/followers",
"following_url": "https://api.github.com/users/djerryz/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5392/reactions"
} | https://api.github.com/repos/psf/requests/issues/5392/timeline | null | completed | null | null | false | [
"~~the reason is that proxy have almost 500 Concurrent request at that time.\r\nso maybe proxy cannot solve too much requests at same time, i stop other program's request ,and all is fine~~\r\n\r\nthe problem not in proxy , even though 1 Concurrent request still have SSLError ssl3_get_record happend.\r\n\r\nI solve... |
https://api.github.com/repos/psf/requests/issues/5391 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5391/labels{/name} | https://api.github.com/repos/psf/requests/issues/5391/comments | https://api.github.com/repos/psf/requests/issues/5391/events | https://github.com/psf/requests/pull/5391 | 583,325,279 | MDExOlB1bGxSZXF1ZXN0MzkwMTAwMDY0 | 5,391 | Send only one Host header in chunked request | {
"avatar_url": "https://avatars.githubusercontent.com/u/2493157?v=4",
"events_url": "https://api.github.com/users/hodbn/events{/privacy}",
"followers_url": "https://api.github.com/users/hodbn/followers",
"following_url": "https://api.github.com/users/hodbn/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | {
"closed_at": "2021-12-30T21:48:07Z",
"closed_issues": 11,
"created_at": "2021-09-02T07:23:33Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/user... | 4 | 2020-03-17T22:01:53Z | 2022-02-27T16:00:27Z | 2021-11-29T15:58:32Z | CONTRIBUTOR | resolved | Send only one Host header when specifying a custom Host header in a chunked request.
Before this fix, the default Host header was sent along with the custom Host header.
Closes #5274 | {
"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/5391/reactions"
} | https://api.github.com/repos/psf/requests/issues/5391/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5391.diff",
"html_url": "https://github.com/psf/requests/pull/5391",
"merged_at": "2021-11-29T15:58:32Z",
"patch_url": "https://github.com/psf/requests/pull/5391.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5391"
} | true | [
"Hi @AaronRobson :)\r\nCan you take another look at this?",
"@nateprewitt What's the state of this PR?",
"It's ready, it just needs to be rebased to rerun tests and we can merge. It's on my list for Monday now that 2.27.0 is unblocked.",
"Thanks again @hodbn!"
] |
https://api.github.com/repos/psf/requests/issues/5390 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5390/labels{/name} | https://api.github.com/repos/psf/requests/issues/5390/comments | https://api.github.com/repos/psf/requests/issues/5390/events | https://github.com/psf/requests/issues/5390 | 583,126,226 | MDU6SXNzdWU1ODMxMjYyMjY= | 5,390 | [Question/Suggest] Session requests return | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 2 | 2020-03-17T16:08:44Z | 2021-09-01T00:11:32Z | 2020-04-03T18:24:35Z | NONE | resolved | As most of the people who will make requests to web sites will need to have the source, why don't you implement an optional parameter so when creating the session object we can set it to true so we have an attribute of the object that store the return of the last requests, with that we wouldn't need to create a new var... | {
"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/5390/reactions"
} | https://api.github.com/repos/psf/requests/issues/5390/timeline | null | completed | null | null | false | [
"It sounds like you're suggesting that a session store the last response on the session itself. In a single-threaded context, that's all well and good. In a multi-threaded/coroutine context this just flat out doesn't work.",
"Yep, sigmavirus24 is correct. This brings a lot of issues in with shared state in a para... |
https://api.github.com/repos/psf/requests/issues/5389 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5389/labels{/name} | https://api.github.com/repos/psf/requests/issues/5389/comments | https://api.github.com/repos/psf/requests/issues/5389/events | https://github.com/psf/requests/issues/5389 | 582,376,408 | MDU6SXNzdWU1ODIzNzY0MDg= | 5,389 | Close connection immediately after proxies fail. | {
"avatar_url": "https://avatars.githubusercontent.com/u/48416425?v=4",
"events_url": "https://api.github.com/users/ZeRoss0000/events{/privacy}",
"followers_url": "https://api.github.com/users/ZeRoss0000/followers",
"following_url": "https://api.github.com/users/ZeRoss0000/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 0 | 2020-03-16T15:13:38Z | 2021-09-02T00:07:13Z | 2020-03-16T22:52:43Z | NONE | resolved | I'm using proxy list that include proxies that sometimes stop working and that slow down the process a lot even if i'm using timeout is there anyway to bypass that? | {
"avatar_url": "https://avatars.githubusercontent.com/u/48416425?v=4",
"events_url": "https://api.github.com/users/ZeRoss0000/events{/privacy}",
"followers_url": "https://api.github.com/users/ZeRoss0000/followers",
"following_url": "https://api.github.com/users/ZeRoss0000/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/5389/reactions"
} | https://api.github.com/repos/psf/requests/issues/5389/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5388 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5388/labels{/name} | https://api.github.com/repos/psf/requests/issues/5388/comments | https://api.github.com/repos/psf/requests/issues/5388/events | https://github.com/psf/requests/issues/5388 | 580,653,057 | MDU6SXNzdWU1ODA2NTMwNTc= | 5,388 | RequestsCookieJar appends ".local" to cookie from localhost | {
"avatar_url": "https://avatars.githubusercontent.com/u/49956725?v=4",
"events_url": "https://api.github.com/users/dominickj-tdi/events{/privacy}",
"followers_url": "https://api.github.com/users/dominickj-tdi/followers",
"following_url": "https://api.github.com/users/dominickj-tdi/following{/other_user}",
"g... | [] | open | false | null | [] | null | 3 | 2020-03-13T14:54:34Z | 2020-04-09T20:45:32Z | null | NONE | null | When I make a request to localhost (on my development machine), Requests changes the domain from "localhost" to "localhost.local" when saving the cookie. Thus, I am unable to access the cookie if I specify the domain parameter in the get method.
My app requires me to get and set cookies on the session object as a pe... | null | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/5388/reactions"
} | https://api.github.com/repos/psf/requests/issues/5388/timeline | null | null | null | null | false | [
"Hi,\r\n\r\nRequests uses `cookielib.make_cookies` to fill its `RequestsCookieJar`.\r\nIn turn, `cookielib.make_cookies` uses `cookielib.eff_request_host` to extract the `erhn`.\r\n`cookielib` conforms to [rfc2965](https://www.ietf.org/rfc/rfc2965.txt) which states:\r\n> The term effective host name is related to h... |
https://api.github.com/repos/psf/requests/issues/5387 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5387/labels{/name} | https://api.github.com/repos/psf/requests/issues/5387/comments | https://api.github.com/repos/psf/requests/issues/5387/events | https://github.com/psf/requests/issues/5387 | 579,812,944 | MDU6SXNzdWU1Nzk4MTI5NDQ= | 5,387 | kali linux mimtf installation error | {
"avatar_url": "https://avatars.githubusercontent.com/u/62097137?v=4",
"events_url": "https://api.github.com/users/dr55555/events{/privacy}",
"followers_url": "https://api.github.com/users/dr55555/followers",
"following_url": "https://api.github.com/users/dr55555/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-03-12T09:44:58Z | 2021-09-02T00:07:14Z | 2020-03-12T14:56:54Z | NONE | resolved | Received response with content-encoding: gzip, but failed to decode it error -3 while installing mimtf
| {
"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/5387/reactions"
} | https://api.github.com/repos/psf/requests/issues/5387/timeline | null | completed | null | null | false | [
"Hi @dr55555, there isn't enough information here for us to work with. It's not clear what Requests has to do with the installation of mimtf. If you can provide a full stack trace or a small reproduction sample that shows a defect in Requests that would be helpful.\r\n\r\nFor the time being I'm going to resolve the... |
https://api.github.com/repos/psf/requests/issues/5386 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5386/labels{/name} | https://api.github.com/repos/psf/requests/issues/5386/comments | https://api.github.com/repos/psf/requests/issues/5386/events | https://github.com/psf/requests/pull/5386 | 579,735,823 | MDExOlB1bGxSZXF1ZXN0Mzg3MDc1ODU1 | 5,386 | Fixed a decode problem when missing `charset` | {
"avatar_url": "https://avatars.githubusercontent.com/u/17252049?v=4",
"events_url": "https://api.github.com/users/shimmeris/events{/privacy}",
"followers_url": "https://api.github.com/users/shimmeris/followers",
"following_url": "https://api.github.com/users/shimmeris/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2020-03-12T07:05:56Z | 2021-08-29T00:06:56Z | 2020-05-06T09:58:52Z | NONE | resolved | When the `charset` is not declared in `Content-type`, the `get_encoding_from_headers` function returns `ISO-8859-1` as the response encoding by default, but the encoding is a single-byte encoding system, so if the response contains other multi-byte encoding languages like Chinese, `Response.text` will return garbage ch... | {
"avatar_url": "https://avatars.githubusercontent.com/u/17252049?v=4",
"events_url": "https://api.github.com/users/shimmeris/events{/privacy}",
"followers_url": "https://api.github.com/users/shimmeris/followers",
"following_url": "https://api.github.com/users/shimmeris/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/5386/reactions"
} | https://api.github.com/repos/psf/requests/issues/5386/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5386.diff",
"html_url": "https://github.com/psf/requests/pull/5386",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5386.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5386"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5385 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5385/labels{/name} | https://api.github.com/repos/psf/requests/issues/5385/comments | https://api.github.com/repos/psf/requests/issues/5385/events | https://github.com/psf/requests/issues/5385 | 579,680,368 | MDU6SXNzdWU1Nzk2ODAzNjg= | 5,385 | Segmentation fault on response.json() | {
"avatar_url": "https://avatars.githubusercontent.com/u/8114665?v=4",
"events_url": "https://api.github.com/users/akshayamaldhure/events{/privacy}",
"followers_url": "https://api.github.com/users/akshayamaldhure/followers",
"following_url": "https://api.github.com/users/akshayamaldhure/following{/other_user}",... | [] | closed | true | null | [] | null | 6 | 2020-03-12T04:12:59Z | 2021-09-01T00:11:37Z | 2020-03-12T04:31:37Z | NONE | resolved | Here's the nearly full trace of the issue.
Thread 0x00007f6c37fff700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/queue.py", line 164 in get
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 67 in _worker
File "/usr/lib/python3.6/t... | {
"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/5385/reactions"
} | https://api.github.com/repos/psf/requests/issues/5385/timeline | null | completed | null | null | false | [
"Hi @akshayamaldhure, do you actually mean a seg fault, or are your referring to the traceback? Requests doesn't run any C code, so it would be very difficult if not impossible to be the cause of that.\r\n\r\nLooking at the stack trace you provided, there's no information on what the actual exception is. Would you ... |
https://api.github.com/repos/psf/requests/issues/5384 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5384/labels{/name} | https://api.github.com/repos/psf/requests/issues/5384/comments | https://api.github.com/repos/psf/requests/issues/5384/events | https://github.com/psf/requests/issues/5384 | 579,552,189 | MDU6SXNzdWU1Nzk1NTIxODk= | 5,384 | request.get(url, proxies=proxies) is possibly sending CONNECT as two TCP transmission, breaking custom readers and TLS handshakes. | {
"avatar_url": "https://avatars.githubusercontent.com/u/20964930?v=4",
"events_url": "https://api.github.com/users/zveinn/events{/privacy}",
"followers_url": "https://api.github.com/users/zveinn/followers",
"following_url": "https://api.github.com/users/zveinn/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 7 | 2020-03-11T21:20:33Z | 2021-08-30T00:06:07Z | 2020-08-04T15:41:30Z | NONE | resolved | Hey there, I have been experiencing something strange when using python to send requests to proxies. The python library is either slow(unlikely) or is sending the last two \r\n of the CONNECT request as a seperate transmission somehow.
# Expected Result
❯ python test.py
{
"ip": "82.76.235.76",
"hostname": "... | {
"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/5384/reactions"
} | https://api.github.com/repos/psf/requests/issues/5384/timeline | null | completed | null | null | false | [
"# Some follow up\r\nIt seems that your request is being sent as a single networking frame. The plot thickens..\r\n\r\nHere is a CONNECT request made in golang using the http library:\r\n\r\n\r\n\r\nhere is... |
https://api.github.com/repos/psf/requests/issues/5383 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5383/labels{/name} | https://api.github.com/repos/psf/requests/issues/5383/comments | https://api.github.com/repos/psf/requests/issues/5383/events | https://github.com/psf/requests/issues/5383 | 579,289,675 | MDU6SXNzdWU1NzkyODk2NzU= | 5,383 | How can call my C# rest api using requests lib? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10062672?v=4",
"events_url": "https://api.github.com/users/SaddamBInSyed/events{/privacy}",
"followers_url": "https://api.github.com/users/SaddamBInSyed/followers",
"following_url": "https://api.github.com/users/SaddamBInSyed/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-03-11T14:05:44Z | 2021-09-02T00:07:14Z | 2020-03-11T16:54:34Z | NONE | resolved | I want to consume my existing webapi (.NET) from python?
How can I do the same?
please advise | {
"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/5383/reactions"
} | https://api.github.com/repos/psf/requests/issues/5383/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/5382 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5382/labels{/name} | https://api.github.com/repos/psf/requests/issues/5382/comments | https://api.github.com/repos/psf/requests/issues/5382/events | https://github.com/psf/requests/pull/5382 | 578,140,081 | MDExOlB1bGxSZXF1ZXN0Mzg1Nzc2Mzc0 | 5,382 | Make the `data` vs `json` parameters more clear | {
"avatar_url": "https://avatars.githubusercontent.com/u/566632?v=4",
"events_url": "https://api.github.com/users/gdubicki/events{/privacy}",
"followers_url": "https://api.github.com/users/gdubicki/followers",
"following_url": "https://api.github.com/users/gdubicki/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2020-03-09T19:29:32Z | 2022-03-29T21:00:35Z | 2021-12-29T17:46:21Z | CONTRIBUTOR | resolved | As https://stackoverflow.com/q/26685248/2693875 question
and answer popularity shows that there is a lot of people who
do not understand the distinction. | {
"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": 6,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 6,
"url": "https://api.github.com/repos/psf/requests/issues/5382/reactions"
} | https://api.github.com/repos/psf/requests/issues/5382/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5382.diff",
"html_url": "https://github.com/psf/requests/pull/5382",
"merged_at": "2021-12-29T17:46:21Z",
"patch_url": "https://github.com/psf/requests/pull/5382.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5382"
} | true | [
"Ping! Can I get a review, pretty please? :) ",
"Can we get this merged? I just lost half an hour on this",
"The current wording is counter intuitive, I recommend @gdubicki's PR."
] |
https://api.github.com/repos/psf/requests/issues/5381 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5381/labels{/name} | https://api.github.com/repos/psf/requests/issues/5381/comments | https://api.github.com/repos/psf/requests/issues/5381/events | https://github.com/psf/requests/issues/5381 | 578,126,536 | MDU6SXNzdWU1NzgxMjY1MzY= | 5,381 | timeout exception: session.get() vs requests.get() behavior discrepancy | {
"avatar_url": "https://avatars.githubusercontent.com/u/31391912?v=4",
"events_url": "https://api.github.com/users/simrigh/events{/privacy}",
"followers_url": "https://api.github.com/users/simrigh/followers",
"following_url": "https://api.github.com/users/simrigh/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 4 | 2020-03-09T19:03:01Z | 2021-09-01T00:11:30Z | 2020-04-10T18:55:19Z | NONE | resolved | When testing my code for its behavior in case of time-outs, I have run into the following observation. When I issue my request through:
***A.*** `requests.get('http://xxx.yy.com:8080/', timeout=(10.0001,0.000001))`, the stack-trace and the Exception triggered look as such:
/.../anaconda3/lib/python3.4/site-pa... | {
"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/5381/reactions"
} | https://api.github.com/repos/psf/requests/issues/5381/timeline | null | completed | null | null | false | [
"Hi @lakokaz, would you mind seeing if this is reproducible with 2.23.0? The version you’re using is 5 years old and no longer supported.",
"I could not reproduce this for the newer version.\r\n\r\nBut I'm experiencing something related for 2.22.0. Namely:\r\n\r\n```\r\nfrom requests.sessions import Session\r\nfr... |
https://api.github.com/repos/psf/requests/issues/5380 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5380/labels{/name} | https://api.github.com/repos/psf/requests/issues/5380/comments | https://api.github.com/repos/psf/requests/issues/5380/events | https://github.com/psf/requests/pull/5380 | 577,869,739 | MDExOlB1bGxSZXF1ZXN0Mzg1NTU0NTUy | 5,380 | Added a better way to assign default values to variables | {
"avatar_url": "https://avatars.githubusercontent.com/u/13462247?v=4",
"events_url": "https://api.github.com/users/sukurcf/events{/privacy}",
"followers_url": "https://api.github.com/users/sukurcf/followers",
"following_url": "https://api.github.com/users/sukurcf/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-03-09T12:30:06Z | 2021-08-29T00:07:00Z | 2020-03-09T14:02:56Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5380/reactions"
} | https://api.github.com/repos/psf/requests/issues/5380/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5380.diff",
"html_url": "https://github.com/psf/requests/pull/5380",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5380.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5380"
} | true | [
"Hey @sukurcf,\r\n\r\nThanks for contributing! Unfortunately, the suggestion isn’t directly equivalent to the logic that’s currently in place. You’re now defaulting for any “false-y” value instead of explicitly None. This would be considered a breaking change, so we can’t accept it at this time."
] | |
https://api.github.com/repos/psf/requests/issues/5379 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5379/labels{/name} | https://api.github.com/repos/psf/requests/issues/5379/comments | https://api.github.com/repos/psf/requests/issues/5379/events | https://github.com/psf/requests/pull/5379 | 577,863,198 | MDExOlB1bGxSZXF1ZXN0Mzg1NTQ5MTkx | 5,379 | Added type hints in api.py file for better understanding. | {
"avatar_url": "https://avatars.githubusercontent.com/u/13462247?v=4",
"events_url": "https://api.github.com/users/sukurcf/events{/privacy}",
"followers_url": "https://api.github.com/users/sukurcf/followers",
"following_url": "https://api.github.com/users/sukurcf/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2020-03-09T12:17:26Z | 2021-08-29T00:07:00Z | 2020-03-09T12:22:59Z | NONE | resolved | I have gone through the code for request module and I think it makes it easy to understand in future if we add type hints to the code. And I just started it by adding hints in **api.py**. I'll be adding more if this is approved. | {
"avatar_url": "https://avatars.githubusercontent.com/u/13462247?v=4",
"events_url": "https://api.github.com/users/sukurcf/events{/privacy}",
"followers_url": "https://api.github.com/users/sukurcf/followers",
"following_url": "https://api.github.com/users/sukurcf/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5379/reactions"
} | https://api.github.com/repos/psf/requests/issues/5379/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5379.diff",
"html_url": "https://github.com/psf/requests/pull/5379",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5379.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5379"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5378 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5378/labels{/name} | https://api.github.com/repos/psf/requests/issues/5378/comments | https://api.github.com/repos/psf/requests/issues/5378/events | https://github.com/psf/requests/issues/5378 | 577,105,122 | MDU6SXNzdWU1NzcxMDUxMjI= | 5,378 | Hostname resolution slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/22171518?v=4",
"events_url": "https://api.github.com/users/LsHallo/events{/privacy}",
"followers_url": "https://api.github.com/users/LsHallo/followers",
"following_url": "https://api.github.com/users/LsHallo/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-03-06T18:35:53Z | 2021-09-02T00:07:15Z | 2020-03-11T00:18:02Z | NONE | resolved | When making a request to a hostname it is very slow. In my case I have multiple docker containers with different services that communicate using requests. Every container has it's own cherrypy server and is adressed like so: `requests.get('http://main:8083')` or `requests.get('http://controller:8082')`. The docker vers... | {
"avatar_url": "https://avatars.githubusercontent.com/u/22171518?v=4",
"events_url": "https://api.github.com/users/LsHallo/events{/privacy}",
"followers_url": "https://api.github.com/users/LsHallo/followers",
"following_url": "https://api.github.com/users/LsHallo/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5378/reactions"
} | https://api.github.com/repos/psf/requests/issues/5378/timeline | null | completed | null | null | false | [
"Closing this as it seems to be windows related and only appears at random times.\r\nTo any one having the same issues i would recommend resolving the hostname with socket.gethostbyname() (ipv4 only!) or socket.gethostbyaddr() (ipv4 and ipv6) this will resolve the ip in <0.01s and the request will be equally as fas... |
https://api.github.com/repos/psf/requests/issues/5376 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5376/labels{/name} | https://api.github.com/repos/psf/requests/issues/5376/comments | https://api.github.com/repos/psf/requests/issues/5376/events | https://github.com/psf/requests/issues/5376 | 574,903,945 | MDU6SXNzdWU1NzQ5MDM5NDU= | 5,376 | Response object's text and json provides different output for specific input pattern "~{~}" | {
"avatar_url": "https://avatars.githubusercontent.com/u/29891327?v=4",
"events_url": "https://api.github.com/users/contactparthshah/events{/privacy}",
"followers_url": "https://api.github.com/users/contactparthshah/followers",
"following_url": "https://api.github.com/users/contactparthshah/following{/other_use... | [] | closed | true | null | [] | null | 4 | 2020-03-03T19:54:56Z | 2021-09-02T00:07:14Z | 2020-03-12T04:39:39Z | NONE | resolved | ## Reproduction Steps
STEP-1) Create Dummy HTTP Server:
```
#-----------------------------
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer
class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.end_headers()
self.wfile... | {
"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/5376/reactions"
} | https://api.github.com/repos/psf/requests/issues/5376/timeline | null | completed | null | null | false | [
"You have not included the `Content-Type` header in the response. \r\n\r\nRequests attempts to guess the character encoding using [chardet](https://github.com/chardet/chardet). Chardet detects `HZ-GB-2312` encoding when given your data. Which I guess is a [bug](https://github.com/chardet/chardet/issues/82) in `cha... |
https://api.github.com/repos/psf/requests/issues/5375 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5375/labels{/name} | https://api.github.com/repos/psf/requests/issues/5375/comments | https://api.github.com/repos/psf/requests/issues/5375/events | https://github.com/psf/requests/pull/5375 | 574,269,484 | MDExOlB1bGxSZXF1ZXN0MzgyNjI0ODUx | 5,375 | Added a warning when stripping authentication from requests on a redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/7690337?v=4",
"events_url": "https://api.github.com/users/kmaork/events{/privacy}",
"followers_url": "https://api.github.com/users/kmaork/followers",
"following_url": "https://api.github.com/users/kmaork/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 8 | 2020-03-02T21:46:23Z | 2022-03-17T02:21:46Z | 2021-12-17T02:16:58Z | NONE | resolved | Hello!
After seeing this [question](https://stackoverflow.com/questions/60358216/python-requests-post-request-dropping-authorization-header), I thought a warning should be added when authentication is stripped from redirected requests, in order to save users a significant amount of debugging time.
Apparently the matt... | {
"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/5375/reactions"
} | https://api.github.com/repos/psf/requests/issues/5375/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5375.diff",
"html_url": "https://github.com/psf/requests/pull/5375",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5375.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5375"
} | true | [
"Does the PR need another review?",
"Can we make progress with this? 🙂 @yanz-androidify ",
"Great PR, lost an hour today trying to understand why my service was broken after moved to OpenShift (it internally redirected requests). This warning could have helped me a lot.",
"This PR would come really handy @ya... |
https://api.github.com/repos/psf/requests/issues/5374 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5374/labels{/name} | https://api.github.com/repos/psf/requests/issues/5374/comments | https://api.github.com/repos/psf/requests/issues/5374/events | https://github.com/psf/requests/issues/5374 | 573,996,813 | MDU6SXNzdWU1NzM5OTY4MTM= | 5,374 | tfds.load() gives ConnectionResetError | {
"avatar_url": "https://avatars.githubusercontent.com/u/45806135?v=4",
"events_url": "https://api.github.com/users/anas0001/events{/privacy}",
"followers_url": "https://api.github.com/users/anas0001/followers",
"following_url": "https://api.github.com/users/anas0001/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-03-02T14:04:38Z | 2021-09-02T00:07:15Z | 2020-03-03T01:03:44Z | NONE | resolved | I am running tensorflow 2.0.0 (python 3.7.4) on a conda virtual environment on Mac. I am trying to get the IMDb dataset through the following code:
```
import tensorflow_datasets as tfds
tfds.load('imdb_reviews/subwords8k', split=(tfds.Split.TRAIN, tfds.Split.TEST), with_info = True, as_supervised = 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... | {
"+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/5374/reactions"
} | https://api.github.com/repos/psf/requests/issues/5374/timeline | null | completed | null | null | false | [
"Hi @anas0001,\r\n\r\nThe exception you’re receiving is due to the remote server you’re connecting to resetting the connection. Requests has no control over that and there isn’t enough info here to determine what’s happening.\r\n\r\nThat said, this isn’t a defect in Requests which is the purpose for this issue trac... |
https://api.github.com/repos/psf/requests/issues/5373 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5373/labels{/name} | https://api.github.com/repos/psf/requests/issues/5373/comments | https://api.github.com/repos/psf/requests/issues/5373/events | https://github.com/psf/requests/pull/5373 | 573,634,887 | MDExOlB1bGxSZXF1ZXN0MzgyMTA5OTU5 | 5,373 | Update structures.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/28630627?v=4",
"events_url": "https://api.github.com/users/AkDavies/events{/privacy}",
"followers_url": "https://api.github.com/users/AkDavies/followers",
"following_url": "https://api.github.com/users/AkDavies/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-03-01T23:02:36Z | 2021-08-29T00:07:01Z | 2020-03-03T00:58:12Z | NONE | resolved | Changed lower_items() to use iterable unpacking to clarify the intent of the function. Changed copy() and __eq__() to retrieve the class via inspection using type() -- this way behavior will be preserved in classes that inherit from CaseInsensitiveDict. | {
"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/5373/reactions"
} | https://api.github.com/repos/psf/requests/issues/5373/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5373.diff",
"html_url": "https://github.com/psf/requests/pull/5373",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5373.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5373"
} | true | [
"> this way behavior will be preserved in classes that inherit from CaseInsensitiveDict.\r\n\r\nI don't believe this is meant to be reused in consumers of the library and using `type(self)` makes this less understandable than it was previously",
"I agree with Sigmavirus24, this makes the code a bit harder to rea... |
https://api.github.com/repos/psf/requests/issues/5372 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5372/labels{/name} | https://api.github.com/repos/psf/requests/issues/5372/comments | https://api.github.com/repos/psf/requests/issues/5372/events | https://github.com/psf/requests/issues/5372 | 572,873,384 | MDU6SXNzdWU1NzI4NzMzODQ= | 5,372 | close() does not work instantly on streaming requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/46822538?v=4",
"events_url": "https://api.github.com/users/NovaNekmit/events{/privacy}",
"followers_url": "https://api.github.com/users/NovaNekmit/followers",
"following_url": "https://api.github.com/users/NovaNekmit/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 4 | 2020-02-28T16:53:23Z | 2021-09-01T00:11:31Z | 2020-04-03T19:06:29Z | NONE | resolved | I am writing a multi-threaded application, where one thread is using `iter_lines` to get data line-by-line from a streaming API with low latency but no consistent frequency.
I needed a way to gracefully stop that thread, so I tried calling `close()` on the request object from the main thread. I then found out close ... | {
"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/5372/reactions"
} | https://api.github.com/repos/psf/requests/issues/5372/timeline | null | completed | null | null | false | [
"It's not documented to behave the way you thought it _might_. It's not a bug because it's documented that the socket has to be exhausted (all data has to have been read from the socket) before calling `close()` last time I checked",
"Ok didn't see that in the docs and misinterpreted the `unless you consume all t... |
https://api.github.com/repos/psf/requests/issues/5371 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5371/labels{/name} | https://api.github.com/repos/psf/requests/issues/5371/comments | https://api.github.com/repos/psf/requests/issues/5371/events | https://github.com/psf/requests/issues/5371 | 572,641,263 | MDU6SXNzdWU1NzI2NDEyNjM= | 5,371 | Trying to access the latest en documentation from doc.python-requests.org domain causes a faulty redirect and a HTTP404 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5284980?v=4",
"events_url": "https://api.github.com/users/1a8e/events{/privacy}",
"followers_url": "https://api.github.com/users/1a8e/followers",
"following_url": "https://api.github.com/users/1a8e/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 9 | 2020-02-28T09:46:04Z | 2021-11-05T03:00:27Z | 2021-08-07T02:45:00Z | NONE | resolved | When using the url `http://docs.python-requests.org/en/latest/`, it redirects to `https://2.python-requests.org//en/latest/` (notice the extra / before `en`). This causes a HTTP 404.
## Expected Result
The redirect should be to `https://2.python-requests.org/en/latest/`
## Actual Result
HTTP 404
## Repro... | {
"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/5371/reactions"
} | https://api.github.com/repos/psf/requests/issues/5371/timeline | null | completed | null | null | false | [
"I wanted to contribute a fix for it, and was trying to find in the source code where this is defined but I couldn't find it.\r\nBut after looking at https://docs.readthedocs.io/en/stable/user-defined-redirects.html, seems like the redirects are defined somewhere else outside the source code. (It starts with `Log i... |
https://api.github.com/repos/psf/requests/issues/5370 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5370/labels{/name} | https://api.github.com/repos/psf/requests/issues/5370/comments | https://api.github.com/repos/psf/requests/issues/5370/events | https://github.com/psf/requests/pull/5370 | 572,492,896 | MDExOlB1bGxSZXF1ZXN0MzgxMTgwMDg4 | 5,370 | Also update GitHub's Security Disclosure document | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2020-02-28T03:15:32Z | 2021-08-29T00:07:02Z | 2020-02-28T03:33:10Z | MEMBER | resolved | Forgot to update this document with new disclosure info. | {
"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/5370/reactions"
} | https://api.github.com/repos/psf/requests/issues/5370/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5370.diff",
"html_url": "https://github.com/psf/requests/pull/5370",
"merged_at": "2020-02-28T03:33:10Z",
"patch_url": "https://github.com/psf/requests/pull/5370.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5370"
} | true | [
"Don't think there is a nice way except maybe pointing to one from the other? Maybe the documentation link can point to the GitHub disclosure workflow?"
] |
https://api.github.com/repos/psf/requests/issues/5369 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5369/labels{/name} | https://api.github.com/repos/psf/requests/issues/5369/comments | https://api.github.com/repos/psf/requests/issues/5369/events | https://github.com/psf/requests/pull/5369 | 571,820,017 | MDExOlB1bGxSZXF1ZXN0MzgwNjM2MjI2 | 5,369 | Updating disclosure contact info | {
"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-02-27T04:51:32Z | 2021-08-29T00:07:02Z | 2020-02-27T18:05:07Z | MEMBER | resolved | Updating disclosure info so things reach the correct parties.
@sethmlarson: PRing for you to proof I have all of your contact info correct. | {
"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/5369/reactions"
} | https://api.github.com/repos/psf/requests/issues/5369/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5369.diff",
"html_url": "https://github.com/psf/requests/pull/5369",
"merged_at": "2020-02-27T18:05:07Z",
"patch_url": "https://github.com/psf/requests/pull/5369.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5369"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5368 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5368/labels{/name} | https://api.github.com/repos/psf/requests/issues/5368/comments | https://api.github.com/repos/psf/requests/issues/5368/events | https://github.com/psf/requests/issues/5368 | 570,875,067 | MDU6SXNzdWU1NzA4NzUwNjc= | 5,368 | Passing in public/private key as ASCII encoded strings. | {
"avatar_url": "https://avatars.githubusercontent.com/u/15831661?v=4",
"events_url": "https://api.github.com/users/tshrmthw/events{/privacy}",
"followers_url": "https://api.github.com/users/tshrmthw/followers",
"following_url": "https://api.github.com/users/tshrmthw/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-02-25T22:22:59Z | 2021-09-02T00:07:16Z | 2020-03-01T21:05:39Z | NONE | resolved | I have the ASCII encoded public and private key that I want to pass along with the request. However I believe the library only takes in the cert argument as a file path or tuple of file paths. Is there a way around this? | {
"avatar_url": "https://avatars.githubusercontent.com/u/15831661?v=4",
"events_url": "https://api.github.com/users/tshrmthw/events{/privacy}",
"followers_url": "https://api.github.com/users/tshrmthw/followers",
"following_url": "https://api.github.com/users/tshrmthw/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/5368/reactions"
} | https://api.github.com/repos/psf/requests/issues/5368/timeline | null | completed | null | null | false | [
"You may want to read this, especially a part about the private keys - https://howhttps.works/",
"@c2d628ba98 Thanks for responding with the link above! It was a good read but I don't think it was what I was looking for. I think what you were trying to convey is why and how certification works and the reason you ... |
https://api.github.com/repos/psf/requests/issues/5367 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5367/labels{/name} | https://api.github.com/repos/psf/requests/issues/5367/comments | https://api.github.com/repos/psf/requests/issues/5367/events | https://github.com/psf/requests/issues/5367 | 570,448,899 | MDU6SXNzdWU1NzA0NDg4OTk= | 5,367 | Getting http://.example.com raises UnicodeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/61315678?v=4",
"events_url": "https://api.github.com/users/o-felixz/events{/privacy}",
"followers_url": "https://api.github.com/users/o-felixz/followers",
"following_url": "https://api.github.com/users/o-felixz/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2020-02-25T10:00:19Z | 2022-03-29T02:29:06Z | 2021-12-29T01:39:36Z | NONE | resolved | Attempting to get e.g. `http://.example.com` results in a `UnicodeError`. It seems like the intention so far has been to raise `InvalidUrl` instead (see e.g. [this line](https://github.com/psf/requests/blob/ca6f9af5dba09591007b15a7368bc0f006b7cc50/requests/models.py#L401)).
I see there was some hesitation in fixing ... | {
"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/5367/reactions"
} | https://api.github.com/repos/psf/requests/issues/5367/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5366 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5366/labels{/name} | https://api.github.com/repos/psf/requests/issues/5366/comments | https://api.github.com/repos/psf/requests/issues/5366/events | https://github.com/psf/requests/issues/5366 | 570,445,785 | MDU6SXNzdWU1NzA0NDU3ODU= | 5,366 | License hiccup? | {
"avatar_url": "https://avatars.githubusercontent.com/u/743912?v=4",
"events_url": "https://api.github.com/users/HWiese1980/events{/privacy}",
"followers_url": "https://api.github.com/users/HWiese1980/followers",
"following_url": "https://api.github.com/users/HWiese1980/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 4 | 2020-02-25T09:55:27Z | 2021-04-26T00:55:22Z | 2020-02-25T11:22:02Z | NONE | null | You have a dependency `chardet` in your tree that is licensed under LGPLv2.1. Does this not mean that you have to adopt that license as well? Correct me if I'm wrong. **I'm not a lawyer**
## Expected Result
License should be LGPLv2.1 because `chardet-3.0.4` is under LGPLv2.1.
## Actual Result
License is A... | {
"avatar_url": "https://avatars.githubusercontent.com/u/743912?v=4",
"events_url": "https://api.github.com/users/HWiese1980/events{/privacy}",
"followers_url": "https://api.github.com/users/HWiese1980/followers",
"following_url": "https://api.github.com/users/HWiese1980/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/5366/reactions"
} | https://api.github.com/repos/psf/requests/issues/5366/timeline | null | completed | null | null | false | [
"A solution (and my personally preferred one too) would be to ditch `chardet` and use another lib for encoding detection that does not enforce LGPL... just sayin...",
"My bad. It's LGPL without Copyleft, not GPL. Consider this issue solved. ",
"LGPLv2.1 is also not compatible with the Apache license see [1] \r\... |
https://api.github.com/repos/psf/requests/issues/5365 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5365/labels{/name} | https://api.github.com/repos/psf/requests/issues/5365/comments | https://api.github.com/repos/psf/requests/issues/5365/events | https://github.com/psf/requests/issues/5365 | 570,012,387 | MDU6SXNzdWU1NzAwMTIzODc= | 5,365 | Request: Limit SSL monkey patching for SNI support | {
"avatar_url": "https://avatars.githubusercontent.com/u/8205967?v=4",
"events_url": "https://api.github.com/users/JustinMaxwell/events{/privacy}",
"followers_url": "https://api.github.com/users/JustinMaxwell/followers",
"following_url": "https://api.github.com/users/JustinMaxwell/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 2 | 2020-02-24T17:39:10Z | 2021-08-31T00:06:55Z | 2020-04-30T16:14:22Z | NONE | resolved | I'm requesting we reconsider the unconditional use of "urllib3.contrib.pyopenssl.inject_into_urllib3()".
Added 7 years ago, the goal was to "add SNI support for Python 2" #749
"urllib3.contrib.pyopenssl.inject_into_urllib3()" is described to "Monkey-patch urllib3 with PyOpenSSL-backed SSL-support.": (https://git... | {
"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/5365/reactions"
} | https://api.github.com/repos/psf/requests/issues/5365/timeline | null | completed | null | null | false | [
"Resolving as duplicate of #5267. We have a PR up now with the goal of only loading this as necessary going forward.",
" \r\nDon't use pyOpenSSL unless no SNI is detected #5443"
] |
https://api.github.com/repos/psf/requests/issues/5364 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5364/labels{/name} | https://api.github.com/repos/psf/requests/issues/5364/comments | https://api.github.com/repos/psf/requests/issues/5364/events | https://github.com/psf/requests/pull/5364 | 570,011,885 | MDExOlB1bGxSZXF1ZXN0Mzc5MTE3Mzc2 | 5,364 | Bump bleach from 3.1.0 to 3.1.1 | {
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/ot... | [
{
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file",
"id": 1868210094,
"name": "dependencies",
"node_id": "MDU6TGFiZWwxODY4MjEwMDk0",
"url": "https://api.github.com/repos/psf/requests/labels/dependencies"
}
] | closed | true | null | [] | null | 1 | 2020-02-24T17:38:10Z | 2021-08-29T00:07:02Z | 2020-02-27T04:24:39Z | CONTRIBUTOR | resolved | Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.0 to 3.1.1.
<details>
<summary>Changelog</summary>
*Sourced from [bleach's changelog](https://github.com/mozilla/bleach/blob/master/CHANGES).*
> Version 3.1.1 (February 13th, 2020)
> -----------------------------------
>
> **Security fixes**
>
> * ``bleach.... | {
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"events_url": "https://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}",
"followers_url": "https://api.github.com/users/dependabot%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/dependabot%5Bbot%5D/following{/ot... | {
"+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/5364/reactions"
} | https://api.github.com/repos/psf/requests/issues/5364/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5364.diff",
"html_url": "https://github.com/psf/requests/pull/5364",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5364.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5364"
} | true | [
"Looks like bleach is up-to-date now, so this is no longer needed."
] |
https://api.github.com/repos/psf/requests/issues/5363 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5363/labels{/name} | https://api.github.com/repos/psf/requests/issues/5363/comments | https://api.github.com/repos/psf/requests/issues/5363/events | https://github.com/psf/requests/issues/5363 | 569,080,068 | MDU6SXNzdWU1NjkwODAwNjg= | 5,363 | The connection using socks5 failed, it was weird. | {
"avatar_url": "https://avatars.githubusercontent.com/u/48444178?v=4",
"events_url": "https://api.github.com/users/re1oaded/events{/privacy}",
"followers_url": "https://api.github.com/users/re1oaded/followers",
"following_url": "https://api.github.com/users/re1oaded/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-02-21T17:14:38Z | 2021-08-31T00:06:40Z | 2020-07-12T16:22:30Z | NONE | resolved | ```python
import requests
r = requests.get('https://www.google.com/', proxies={
'http': 'SOCKS5://127.0.0.1:1234',
'https': 'SOCKS5://127.0.0.1:1234'
}, timeout=5)
print(r.text)
```
A month ago, it worked!
Just these days, I re-run it and it went wrong, I don't understand where the error happened... | {
"avatar_url": "https://avatars.githubusercontent.com/u/48444178?v=4",
"events_url": "https://api.github.com/users/re1oaded/events{/privacy}",
"followers_url": "https://api.github.com/users/re1oaded/followers",
"following_url": "https://api.github.com/users/re1oaded/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/5363/reactions"
} | https://api.github.com/repos/psf/requests/issues/5363/timeline | null | completed | null | null | false | [
"Did you change your pc? have you ran\r\n`pip install -u requests[SOCKS]`",
"> Did you change your pc? have you ran\r\n> `pip install -u requests[SOCKS]`\r\n\r\nI haven't changed the PC.\r\n`pip install -u requests[SOCKS]` requests are the latest version."
] |
https://api.github.com/repos/psf/requests/issues/5356 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5356/labels{/name} | https://api.github.com/repos/psf/requests/issues/5356/comments | https://api.github.com/repos/psf/requests/issues/5356/events | https://github.com/psf/requests/pull/5356 | 567,756,609 | MDExOlB1bGxSZXF1ZXN0Mzc3MzIyMzkw | 5,356 | v2.23.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 | 0 | 2020-02-19T18:29:54Z | 2021-08-29T00:07:03Z | 2020-02-19T18:44:28Z | MEMBER | resolved | 2.23.0 (2020-02-19)
-------------------
**Improvements**
- Remove defunct reference to `prefetch` in Session `__attrs__` (#5110)
**Bugfixes**
- Requests no longer outputs password in basic auth usage warning. (#5099)
**Dependencies**
- Pinning for `chardet` and `idna` now uses major version instead o... | {
"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/5356/reactions"
} | https://api.github.com/repos/psf/requests/issues/5356/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5356.diff",
"html_url": "https://github.com/psf/requests/pull/5356",
"merged_at": "2020-02-19T18:44:28Z",
"patch_url": "https://github.com/psf/requests/pull/5356.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5356"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5353 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5353/labels{/name} | https://api.github.com/repos/psf/requests/issues/5353/comments | https://api.github.com/repos/psf/requests/issues/5353/events | https://github.com/psf/requests/pull/5353 | 567,216,907 | MDExOlB1bGxSZXF1ZXN0Mzc2ODg0MzQ1 | 5,353 | Revert incomplete PRs | {
"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-02-18T23:16:02Z | 2021-08-28T00:06:13Z | 2020-02-19T00:56:40Z | MEMBER | resolved | A number of PRs were merged back in September without any proper review. There are some outstanding issues with the ones included in this PR that will need to be redone before we can put them in an official release.
I'm going to revert for now to get 2.23.0 out the door, and we can revisit them afterwards as needed.... | {
"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/5353/reactions"
} | https://api.github.com/repos/psf/requests/issues/5353/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5353.diff",
"html_url": "https://github.com/psf/requests/pull/5353",
"merged_at": "2020-02-19T00:56:40Z",
"patch_url": "https://github.com/psf/requests/pull/5353.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5353"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5352 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5352/labels{/name} | https://api.github.com/repos/psf/requests/issues/5352/comments | https://api.github.com/repos/psf/requests/issues/5352/events | https://github.com/psf/requests/pull/5352 | 566,886,178 | MDExOlB1bGxSZXF1ZXN0Mzc2NjExOTc1 | 5,352 | Fix document about getting cookies in Document | {
"avatar_url": "https://avatars.githubusercontent.com/u/16687062?v=4",
"events_url": "https://api.github.com/users/skokado/events{/privacy}",
"followers_url": "https://api.github.com/users/skokado/followers",
"following_url": "https://api.github.com/users/skokado/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-02-18T13:16:39Z | 2021-08-29T00:07:04Z | 2020-02-18T23:49:44Z | NONE | resolved | relevant to #5351 | {
"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/5352/reactions"
} | https://api.github.com/repos/psf/requests/issues/5352/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5352.diff",
"html_url": "https://github.com/psf/requests/pull/5352",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5352.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5352"
} | true | [
"Resolving with clarification in #5351."
] |
https://api.github.com/repos/psf/requests/issues/5351 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5351/labels{/name} | https://api.github.com/repos/psf/requests/issues/5351/comments | https://api.github.com/repos/psf/requests/issues/5351/events | https://github.com/psf/requests/issues/5351 | 566,875,495 | MDU6SXNzdWU1NjY4NzU0OTU= | 5,351 | Document description about getting cookies. | {
"avatar_url": "https://avatars.githubusercontent.com/u/16687062?v=4",
"events_url": "https://api.github.com/users/skokado/events{/privacy}",
"followers_url": "https://api.github.com/users/skokado/followers",
"following_url": "https://api.github.com/users/skokado/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 3 | 2020-02-18T12:57:29Z | 2021-09-02T00:07:17Z | 2020-02-18T23:49:17Z | NONE | resolved | I am very grateful for this project
The documentation seems to be incorrect about getting cookies of request.
You must disable redirects to get a cookie for a request to an endpoint.
I have confirmed this behavior locally like below.
```python
>>> url = 'http://httpbin.org/cookies/set/hoge/fuga' # It is exp... | {
"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/5351/reactions"
} | https://api.github.com/repos/psf/requests/issues/5351/timeline | null | completed | null | null | false | [
"Hi @skokado,\r\n\r\nI think what you may want here is the `history` attribute on your response. It will keep the trail of the requests, along with the state of each request hop. That way you can go back to the first response (e.g. `res.history[0].cookies`).\r\n\r\nYou should be able to find [more documentation](ht... |
https://api.github.com/repos/psf/requests/issues/5348 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5348/labels{/name} | https://api.github.com/repos/psf/requests/issues/5348/comments | https://api.github.com/repos/psf/requests/issues/5348/events | https://github.com/psf/requests/issues/5348 | 566,817,921 | MDU6SXNzdWU1NjY4MTc5MjE= | 5,348 | Cookie with empty value crashes when wrapping jar into dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/2026469?v=4",
"events_url": "https://api.github.com/users/undera/events{/privacy}",
"followers_url": "https://api.github.com/users/undera/followers",
"following_url": "https://api.github.com/users/undera/following{/other_user}",
"gists_url": "https://ap... | [] | open | false | null | [] | null | 0 | 2020-02-18T11:08:08Z | 2020-02-18T11:08:08Z | null | NONE | null | KeyError is raised instead of returning the single cookie, if the cookie value is empty.
From the source code it is obvious that it will fail like that. Specifically, line https://github.com/psf/requests/blob/master/requests/cookies.py#L397 says:
```python
if toReturn:
return toReturn
```
... | 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/5348/reactions"
} | https://api.github.com/repos/psf/requests/issues/5348/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5347 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5347/labels{/name} | https://api.github.com/repos/psf/requests/issues/5347/comments | https://api.github.com/repos/psf/requests/issues/5347/events | https://github.com/psf/requests/pull/5347 | 566,812,900 | MDExOlB1bGxSZXF1ZXN0Mzc2NTUwNzkw | 5,347 | Bump maximum version of idna | {
"avatar_url": "https://avatars.githubusercontent.com/u/1610850?v=4",
"events_url": "https://api.github.com/users/jacobtomlinson/events{/privacy}",
"followers_url": "https://api.github.com/users/jacobtomlinson/followers",
"following_url": "https://api.github.com/users/jacobtomlinson/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2020-02-18T10:59:12Z | 2021-08-29T00:07:05Z | 2020-02-18T15:16:39Z | NONE | resolved | Looks like `idna` 2.9 was released yesterday. Bumping maximum version. | {
"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/5347/reactions"
} | https://api.github.com/repos/psf/requests/issues/5347/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5347.diff",
"html_url": "https://github.com/psf/requests/pull/5347",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5347.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5347"
} | true | [
"I've just seen #5342 which would be a more preferable solution.",
"Closed in favor of #5342."
] |
https://api.github.com/repos/psf/requests/issues/5346 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5346/labels{/name} | https://api.github.com/repos/psf/requests/issues/5346/comments | https://api.github.com/repos/psf/requests/issues/5346/events | https://github.com/psf/requests/pull/5346 | 566,532,800 | MDExOlB1bGxSZXF1ZXN0Mzc2MzI3MDYy | 5,346 | Update pipenv links in README and installation guide. | {
"avatar_url": "https://avatars.githubusercontent.com/u/14124978?v=4",
"events_url": "https://api.github.com/users/stock1218/events{/privacy}",
"followers_url": "https://api.github.com/users/stock1218/followers",
"following_url": "https://api.github.com/users/stock1218/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2020-02-17T21:53:32Z | 2021-08-29T00:07:08Z | 2020-02-18T05:44:34Z | CONTRIBUTOR | resolved | http://pipenv.org is unavailable, so I changed all of the links to https://pipenv.kennethreitz.org. | {
"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/5346/reactions"
} | https://api.github.com/repos/psf/requests/issues/5346/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5346.diff",
"html_url": "https://github.com/psf/requests/pull/5346",
"merged_at": "2020-02-18T05:44:34Z",
"patch_url": "https://github.com/psf/requests/pull/5346.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5346"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5344 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5344/labels{/name} | https://api.github.com/repos/psf/requests/issues/5344/comments | https://api.github.com/repos/psf/requests/issues/5344/events | https://github.com/psf/requests/pull/5344 | 566,431,310 | MDExOlB1bGxSZXF1ZXN0Mzc2MjQ1MTQx | 5,344 | Added .editorconfig according to PEP 8 | {
"avatar_url": "https://avatars.githubusercontent.com/u/240344?v=4",
"events_url": "https://api.github.com/users/KOLANICH/events{/privacy}",
"followers_url": "https://api.github.com/users/KOLANICH/followers",
"following_url": "https://api.github.com/users/KOLANICH/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2020-02-17T17:17:58Z | 2021-08-29T00:07:08Z | 2020-02-18T05:43:22Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5344/reactions"
} | https://api.github.com/repos/psf/requests/issues/5344/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5344.diff",
"html_url": "https://github.com/psf/requests/pull/5344",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5344.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5344"
} | true | [
"Thanks @KOLANICH, we typically won't include non-packaging dot files in Requests. I think we'll pass on this one."
] | |
https://api.github.com/repos/psf/requests/issues/5343 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5343/labels{/name} | https://api.github.com/repos/psf/requests/issues/5343/comments | https://api.github.com/repos/psf/requests/issues/5343/events | https://github.com/psf/requests/pull/5343 | 566,431,211 | MDExOlB1bGxSZXF1ZXN0Mzc2MjQ1MDYy | 5,343 | Moved some metadata from setup.py into setup.cfg. | {
"avatar_url": "https://avatars.githubusercontent.com/u/240344?v=4",
"events_url": "https://api.github.com/users/KOLANICH/events{/privacy}",
"followers_url": "https://api.github.com/users/KOLANICH/followers",
"following_url": "https://api.github.com/users/KOLANICH/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2020-02-17T17:17:44Z | 2021-08-29T00:07:04Z | 2020-02-18T05:54:28Z | NONE | resolved | And fixed metadata extraction from files. | {
"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/5343/reactions"
} | https://api.github.com/repos/psf/requests/issues/5343/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5343.diff",
"html_url": "https://github.com/psf/requests/pull/5343",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5343.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5343"
} | true | [
"Thanks for getting the ball rolling on this @KOLANICH. We know the PyPA packages have started to move to this layout for their setup.{py,cfg} files. We're watching adoption right now before moving the Requests layout over. We can probably revisit this in another few months. I'm going to close this for now though."... |
https://api.github.com/repos/psf/requests/issues/5342 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5342/labels{/name} | https://api.github.com/repos/psf/requests/issues/5342/comments | https://api.github.com/repos/psf/requests/issues/5342/events | https://github.com/psf/requests/pull/5342 | 566,427,260 | MDExOlB1bGxSZXF1ZXN0Mzc2MjQxODI0 | 5,342 | Limit to major releases rather than second point. | {
"avatar_url": "https://avatars.githubusercontent.com/u/632049?v=4",
"events_url": "https://api.github.com/users/cjw296/events{/privacy}",
"followers_url": "https://api.github.com/users/cjw296/followers",
"following_url": "https://api.github.com/users/cjw296/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 7 | 2020-02-17T17:09:06Z | 2021-08-29T00:07:05Z | 2020-02-18T14:58:28Z | CONTRIBUTOR | resolved | requests should trust dependent packages to do semver rather than artificially limiting version compatibility, which causes problems for pip.
Fixes https://github.com/psf/requests/issues/5341, https://github.com/psf/requests/issues/5337 and supercedes https://github.com/psf/requests/pull/5226. | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 2,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/5342/reactions"
} | https://api.github.com/repos/psf/requests/issues/5342/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5342.diff",
"html_url": "https://github.com/psf/requests/pull/5342",
"merged_at": "2020-02-18T14:58:27Z",
"patch_url": "https://github.com/psf/requests/pull/5342.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5342"
} | true | [
"Thanks for the patch, @cjw296! I'm a bit torn on this one. I agree that logistically this is a painful process for all parties involved. A minor version bump *should* be backwards compatible, but inevitably, that rule will be broken. The question comes down to how should a library used in a number of pieces of cri... |
https://api.github.com/repos/psf/requests/issues/5341 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5341/labels{/name} | https://api.github.com/repos/psf/requests/issues/5341/comments | https://api.github.com/repos/psf/requests/issues/5341/events | https://github.com/psf/requests/issues/5341 | 566,423,932 | MDU6SXNzdWU1NjY0MjM5MzI= | 5,341 | idna requirement causing problems now idna 2.9 has been released. | {
"avatar_url": "https://avatars.githubusercontent.com/u/632049?v=4",
"events_url": "https://api.github.com/users/cjw296/events{/privacy}",
"followers_url": "https://api.github.com/users/cjw296/followers",
"following_url": "https://api.github.com/users/cjw296/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 7 | 2020-02-17T17:01:50Z | 2021-01-11T16:54:17Z | 2020-02-18T14:58:28Z | CONTRIBUTOR | resolved | requrests pins idna to <2.9, which causes problems for pip now that 2.9 has been released.
## Expected Result
projects that require requests to install cleanly when new second-point idna releases are made.
## Actual Result
```
pip install .[dev]
...
Collecting idna>=2.0.0; extra == "secure"
...
ERROR... | {
"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": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/psf/requests/issues/5341/reactions"
} | https://api.github.com/repos/psf/requests/issues/5341/timeline | null | completed | null | null | false | [
"See also https://github.com/psf/requests/issues/5337 and https://github.com/psf/requests/pull/5226",
"I am also experiencing this.",
"@sethmlarson - any chance we could keep this issue open until the release goes out? Saves people reporting dupes...",
"Yes please. A timeline on the new release would also be... |
https://api.github.com/repos/psf/requests/issues/5338 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5338/labels{/name} | https://api.github.com/repos/psf/requests/issues/5338/comments | https://api.github.com/repos/psf/requests/issues/5338/events | https://github.com/psf/requests/pull/5338 | 566,109,092 | MDExOlB1bGxSZXF1ZXN0Mzc1OTgzMDI2 | 5,338 | Removed pass from the warnings and fixed the docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/30027932?v=4",
"events_url": "https://api.github.com/users/rednafi/events{/privacy}",
"followers_url": "https://api.github.com/users/rednafi/followers",
"following_url": "https://api.github.com/users/rednafi/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-02-17T07:36:47Z | 2021-08-29T00:07:03Z | 2020-02-23T17:56:47Z | CONTRIBUTOR | resolved | * Removed multiple redundant `pass` from the `Warnings` in `requests/requests/exceptions.py`. This maintains consistency with the previously defined exceptions.
* Added missing `.` to the docstring for keeping consistency | {
"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/5338/reactions"
} | https://api.github.com/repos/psf/requests/issues/5338/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5338.diff",
"html_url": "https://github.com/psf/requests/pull/5338",
"merged_at": "2020-02-23T17:56:46Z",
"patch_url": "https://github.com/psf/requests/pull/5338.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5338"
} | true | [
"Thanks. Noted."
] |
https://api.github.com/repos/psf/requests/issues/5337 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5337/labels{/name} | https://api.github.com/repos/psf/requests/issues/5337/comments | https://api.github.com/repos/psf/requests/issues/5337/events | https://github.com/psf/requests/issues/5337 | 565,869,947 | MDU6SXNzdWU1NjU4Njk5NDc= | 5,337 | Stop downgrading dependencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/240344?v=4",
"events_url": "https://api.github.com/users/KOLANICH/events{/privacy}",
"followers_url": "https://api.github.com/users/KOLANICH/followers",
"following_url": "https://api.github.com/users/KOLANICH/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2020-02-16T08:26:52Z | 2021-09-02T00:07:21Z | 2020-02-17T21:15:17Z | NONE | resolved | `requests` has restricted dependencies versions with `<` conditions. This causes dependencies downgrades.
## Expected Result
It must never have been done.
## Actual Result
It has been done.
## Reproduction Steps
```bash
git clone --depth 1 https://github.com/chardet/chardet
cd chardet
python3 ./set... | {
"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/5337/reactions"
} | https://api.github.com/repos/psf/requests/issues/5337/timeline | null | completed | null | null | false | [
"Resolving in favor of #5341."
] |
https://api.github.com/repos/psf/requests/issues/5336 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5336/labels{/name} | https://api.github.com/repos/psf/requests/issues/5336/comments | https://api.github.com/repos/psf/requests/issues/5336/events | https://github.com/psf/requests/pull/5336 | 564,968,036 | MDExOlB1bGxSZXF1ZXN0Mzc1MTAyODU3 | 5,336 | Remove explicit unicode literal in README.md and doc | {
"avatar_url": "https://avatars.githubusercontent.com/u/19170381?v=4",
"events_url": "https://api.github.com/users/aless10/events{/privacy}",
"followers_url": "https://api.github.com/users/aless10/followers",
"following_url": "https://api.github.com/users/aless10/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2020-02-13T21:44:12Z | 2021-08-29T00:06:59Z | 2020-03-25T19:44:52Z | CONTRIBUTOR | resolved | As the end of python 2 has come, I open this PR in order to get rid of the explicit unicode literal in the README file and the documentation.
I know that this could be against the PEP 414 https://www.python.org/dev/peps/pep-0414/ but it should be harmless for the project. | {
"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/5336/reactions"
} | https://api.github.com/repos/psf/requests/issues/5336/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5336.diff",
"html_url": "https://github.com/psf/requests/pull/5336",
"merged_at": "2020-03-25T19:44:52Z",
"patch_url": "https://github.com/psf/requests/pull/5336.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5336"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5335 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5335/labels{/name} | https://api.github.com/repos/psf/requests/issues/5335/comments | https://api.github.com/repos/psf/requests/issues/5335/events | https://github.com/psf/requests/issues/5335 | 562,977,101 | MDU6SXNzdWU1NjI5NzcxMDE= | 5,335 | Cannot got parent Session object from Response object | {
"avatar_url": "https://avatars.githubusercontent.com/u/108767?v=4",
"events_url": "https://api.github.com/users/rgov/events{/privacy}",
"followers_url": "https://api.github.com/users/rgov/followers",
"following_url": "https://api.github.com/users/rgov/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2020-02-11T04:52:04Z | 2021-09-02T00:07:21Z | 2020-02-18T06:41:50Z | NONE | resolved | Since this project has not accepted feature requests for nearly two years, I'll pose this as a bug:
It's very useful to set response hooks on a `Session`. For example:
```python
def check_for_http_error(response, *args, **kwargs):
response.raise_for_status()
s = requests.Session()
s.hooks['response'] = ... | {
"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/5335/reactions"
} | https://api.github.com/repos/psf/requests/issues/5335/timeline | null | completed | null | null | false | [
"Hi @rgov, thanks for the suggestion. Cyclical or complex references like this are something we'd typically try to avoid. They often lead to unexpected references left behind and can be hard to reason about when multiple Requests reference the same mutable Session.\r\n\r\n I don't think a hook is necessarily the be... |
https://api.github.com/repos/psf/requests/issues/5334 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5334/labels{/name} | https://api.github.com/repos/psf/requests/issues/5334/comments | https://api.github.com/repos/psf/requests/issues/5334/events | https://github.com/psf/requests/pull/5334 | 560,262,620 | MDExOlB1bGxSZXF1ZXN0MzcxMjgyNDgy | 5,334 | Refactored check_compatibility function | {
"avatar_url": "https://avatars.githubusercontent.com/u/34836226?v=4",
"events_url": "https://api.github.com/users/Hayashi-Yudai/events{/privacy}",
"followers_url": "https://api.github.com/users/Hayashi-Yudai/followers",
"following_url": "https://api.github.com/users/Hayashi-Yudai/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-02-05T10:02:42Z | 2021-11-26T05:00:35Z | 2021-08-28T04:29:07Z | NONE | resolved | In `check_compatibility` function in `requests/__init__.py` some codes are redundant. This function distribute three elements of `urllib3_version` and `chardet_version` and after that transform them to integer values. It can be written with `map` function. | {
"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/5334/reactions"
} | https://api.github.com/repos/psf/requests/issues/5334/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5334.diff",
"html_url": "https://github.com/psf/requests/pull/5334",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5334.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5334"
} | true | [
"Hi @Hayashi-Yudai, thanks for the PR. We typically don't accept minor cosmetic changes as it sets a precedent increasing general maintenance churn for the library. We appreciate it though."
] |
https://api.github.com/repos/psf/requests/issues/5333 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5333/labels{/name} | https://api.github.com/repos/psf/requests/issues/5333/comments | https://api.github.com/repos/psf/requests/issues/5333/events | https://github.com/psf/requests/issues/5333 | 559,484,948 | MDU6SXNzdWU1NTk0ODQ5NDg= | 5,333 | Error pls help | {
"avatar_url": "https://avatars.githubusercontent.com/u/60638449?v=4",
"events_url": "https://api.github.com/users/hariharan2004/events{/privacy}",
"followers_url": "https://api.github.com/users/hariharan2004/followers",
"following_url": "https://api.github.com/users/hariharan2004/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 2 | 2020-02-04T04:45:25Z | 2021-09-02T00:07:29Z | 2020-02-04T16:05:22Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
Traceback (most recent call last):
File "crackinsta.py", line 134, in <module>
instabrute = Instabrute(Input('Please enter a username: '))
File "crackinsta.py", line 28, in __init__
self.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/5333/reactions"
} | https://api.github.com/repos/psf/requests/issues/5333/timeline | null | completed | null | null | false | [
"> File \"crackinsta.py\", line 134, in\r\n> instabrute = Instabrute(Input('Please enter a username: '))\r\n\r\n:popcorn: ",
"Hi @hariharan2004,\r\n\r\nThis isn’t a defect with Requests, please open a question on StackOverflow if you need further assistance. Thanks."
] |
https://api.github.com/repos/psf/requests/issues/5332 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5332/labels{/name} | https://api.github.com/repos/psf/requests/issues/5332/comments | https://api.github.com/repos/psf/requests/issues/5332/events | https://github.com/psf/requests/issues/5332 | 558,961,402 | MDU6SXNzdWU1NTg5NjE0MDI= | 5,332 | requests.exceptions.ProxyError: Cannot connect to proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/45927310?v=4",
"events_url": "https://api.github.com/users/fulganta/events{/privacy}",
"followers_url": "https://api.github.com/users/fulganta/followers",
"following_url": "https://api.github.com/users/fulganta/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-02-03T09:42:27Z | 2021-09-02T00:07:30Z | 2020-02-03T21:05:20Z | NONE | resolved | I was trying to use the following tutorial to run a Graph/Python/Django server tutorial:
https://docs.microsoft.com/en-us/graph/tutorials/python
I get the following error message:
`requests.exceptions.ProxyError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /gro... | {
"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/5332/reactions"
} | https://api.github.com/repos/psf/requests/issues/5332/timeline | null | completed | null | null | false | [
"From the error message it looks like you need to authenticate with your proxy. Please use Stack Overflow if you're looking for help, this issue tracker is only for defects in Requests. "
] |
https://api.github.com/repos/psf/requests/issues/5331 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5331/labels{/name} | https://api.github.com/repos/psf/requests/issues/5331/comments | https://api.github.com/repos/psf/requests/issues/5331/events | https://github.com/psf/requests/issues/5331 | 558,246,302 | MDU6SXNzdWU1NTgyNDYzMDI= | 5,331 | datadome blocked me, | {
"avatar_url": "https://avatars.githubusercontent.com/u/24720309?v=4",
"events_url": "https://api.github.com/users/adlaneKadri/events{/privacy}",
"followers_url": "https://api.github.com/users/adlaneKadri/followers",
"following_url": "https://api.github.com/users/adlaneKadri/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2020-01-31T16:51:56Z | 2021-09-03T00:10:39Z | 2020-01-31T17:00:29Z | NONE | resolved | > I've been dealing with that issue for 2 days and haven't come up with any sort of solution. am trying to send requests.get to get the html of a webpage but am blocked this is the error i got:
` returns an error.
## Expected Result
`requests.Session()` return a Session.
## Actual Result
```
$ python
Python 3.8.1 (default, Jan 22 2020, 06:38:00)
[GCC 9.2.0] on ... | {
"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/5329/reactions"
} | https://api.github.com/repos/psf/requests/issues/5329/timeline | null | completed | null | null | false | [
"Not able to reproduce via running in Docker:\r\n\r\n```\r\n$ docker run --rm -it archlinux\r\n$ pacman -Sy python3 python-requests\r\n$ python -c \"import requests; http = requests.Session()\"\r\n```\r\n\r\nThis seems like an error with your environment or Python setup. Try using a virtual environment."
] |
https://api.github.com/repos/psf/requests/issues/5328 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5328/labels{/name} | https://api.github.com/repos/psf/requests/issues/5328/comments | https://api.github.com/repos/psf/requests/issues/5328/events | https://github.com/psf/requests/issues/5328 | 556,530,192 | MDU6SXNzdWU1NTY1MzAxOTI= | 5,328 | requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(0, 'Error')) | {
"avatar_url": "https://avatars.githubusercontent.com/u/7831981?v=4",
"events_url": "https://api.github.com/users/Battant/events{/privacy}",
"followers_url": "https://api.github.com/users/Battant/followers",
"following_url": "https://api.github.com/users/Battant/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2020-01-28T22:52:11Z | 2021-09-03T00:10:42Z | 2020-01-29T17:56:31Z | NONE | resolved | Summary.
Hello,
I try to connect from a python3.7 script to the marrytts text to spetch server to read a text
to reproduce this issue, please install a marrytts server abd run it with
./bin/marrytts-server &
befor test a script
## Expected Result
What you expected.
what request api don't work in my case ?... | {
"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/5328/reactions"
} | https://api.github.com/repos/psf/requests/issues/5328/timeline | null | completed | null | null | false | [
"Hi @Battant, this appears to be a connection issue with the server you have set up, likely with the TLS configuration.\r\n\r\nThis doesn’t appear to be a defect specifically with Requests from the information provided. I’d recommend testing some other tools like curl and/or postman and seeing if it’s reproducible ... |
https://api.github.com/repos/psf/requests/issues/5327 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5327/labels{/name} | https://api.github.com/repos/psf/requests/issues/5327/comments | https://api.github.com/repos/psf/requests/issues/5327/events | https://github.com/psf/requests/issues/5327 | 556,324,337 | MDU6SXNzdWU1NTYzMjQzMzc= | 5,327 | Using requests.packages.urllib3.disable_warnings() | {
"avatar_url": "https://avatars.githubusercontent.com/u/12223407?v=4",
"events_url": "https://api.github.com/users/bostonareahuman/events{/privacy}",
"followers_url": "https://api.github.com/users/bostonareahuman/followers",
"following_url": "https://api.github.com/users/bostonareahuman/following{/other_user}"... | [] | closed | true | null | [] | null | 3 | 2020-01-28T16:28:32Z | 2021-09-03T00:10:39Z | 2020-01-29T18:32:45Z | NONE | resolved | requests.packages.urllib3.disable_warnings()
throws
requests.packages.urllib3.disable_warnings()
AttributeError: 'module' object has no attribute 'packages'
Traceback (most recent call last):
File "/usr/local/tdproxy/USERIMP/userupload_prod.py", line 12, in <module>
requests.packages.urllib3.disable_warnin... | {
"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/5327/reactions"
} | https://api.github.com/repos/psf/requests/issues/5327/timeline | null | completed | null | null | false | [
"Hi @bostonmacosx, have you validated other parts of requests work in this run environment? It looks like you may have another file named `requests.py` that’s on the Python path.",
"> Hi @bostonmacosx, have you validated other parts of requests work in this run environment? It looks like you may have another file... |
https://api.github.com/repos/psf/requests/issues/5326 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5326/labels{/name} | https://api.github.com/repos/psf/requests/issues/5326/comments | https://api.github.com/repos/psf/requests/issues/5326/events | https://github.com/psf/requests/pull/5326 | 555,153,585 | MDExOlB1bGxSZXF1ZXN0MzY3MTY1NTA1 | 5,326 | Fix intersphinx_mapping config for Python standard library | {
"avatar_url": "https://avatars.githubusercontent.com/u/1156625?v=4",
"events_url": "https://api.github.com/users/nawatts/events{/privacy}",
"followers_url": "https://api.github.com/users/nawatts/followers",
"following_url": "https://api.github.com/users/nawatts/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 0 | 2020-01-25T23:32:59Z | 2021-08-29T00:07:09Z | 2020-02-01T00:24:53Z | CONTRIBUTOR | resolved | Currently, the [intersphinx_mapping](https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping) for `python` is set to the Requests documentation. This prevents some references from being linked to the Python standard library documentation.
This PR reverts the configuration c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5326/reactions"
} | https://api.github.com/repos/psf/requests/issues/5326/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5326.diff",
"html_url": "https://github.com/psf/requests/pull/5326",
"merged_at": "2020-02-01T00:24:53Z",
"patch_url": "https://github.com/psf/requests/pull/5326.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5326"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5325 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5325/labels{/name} | https://api.github.com/repos/psf/requests/issues/5325/comments | https://api.github.com/repos/psf/requests/issues/5325/events | https://github.com/psf/requests/pull/5325 | 555,110,323 | MDExOlB1bGxSZXF1ZXN0MzY3MTM0ODEw | 5,325 | Change link for pip installation instructions | {
"avatar_url": "https://avatars.githubusercontent.com/u/1156625?v=4",
"events_url": "https://api.github.com/users/nawatts/events{/privacy}",
"followers_url": "https://api.github.com/users/nawatts/followers",
"following_url": "https://api.github.com/users/nawatts/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 0 | 2020-01-25T17:15:41Z | 2021-08-29T00:07:10Z | 2020-01-25T18:19:35Z | CONTRIBUTOR | resolved | After #5236, the [Installation of Requests](https://requests.readthedocs.io/en/master/user/install/) documentation page links to itself for instructions on how to install pip.
This restores the previous link to https://docs.python-guide.org/starting/installation/. | {
"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/5325/reactions"
} | https://api.github.com/repos/psf/requests/issues/5325/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5325.diff",
"html_url": "https://github.com/psf/requests/pull/5325",
"merged_at": "2020-01-25T18:19:35Z",
"patch_url": "https://github.com/psf/requests/pull/5325.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5325"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5324 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5324/labels{/name} | https://api.github.com/repos/psf/requests/issues/5324/comments | https://api.github.com/repos/psf/requests/issues/5324/events | https://github.com/psf/requests/issues/5324 | 554,829,912 | MDU6SXNzdWU1NTQ4Mjk5MTI= | 5,324 | Issue with Parsing URIs in urllib3 - Breaks Security Tools when testing for Path Traversal | {
"avatar_url": "https://avatars.githubusercontent.com/u/8996052?v=4",
"events_url": "https://api.github.com/users/mazen160/events{/privacy}",
"followers_url": "https://api.github.com/users/mazen160/followers",
"following_url": "https://api.github.com/users/mazen160/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2020-01-24T16:22:20Z | 2021-09-03T00:10:41Z | 2020-01-29T18:01:16Z | NONE | resolved | Hi all,
This is a ticket related to a bug I found when using requests. It appears that the root cause is in urlib3 that requests module use.
## Ticket: https://github.com/urllib3/urllib3/issues/1790
| {
"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/5324/reactions"
} | https://api.github.com/repos/psf/requests/issues/5324/timeline | null | completed | null | null | false | [
"Hi @mazen160,\r\n\r\nFrom Requests perspective we’ve aimed to give users a simple interface to do http requests but may not support every use case, especially if it has potential security risks.\r\n\r\nThis is ultimately a decision urllib3 owns though. I’m going to resolve this ticket in favor of the one you linke... |
https://api.github.com/repos/psf/requests/issues/5323 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5323/labels{/name} | https://api.github.com/repos/psf/requests/issues/5323/comments | https://api.github.com/repos/psf/requests/issues/5323/events | https://github.com/psf/requests/pull/5323 | 554,415,859 | MDExOlB1bGxSZXF1ZXN0MzY2NTc0ODg2 | 5,323 | Add response context to errors raised by iter_content | {
"avatar_url": "https://avatars.githubusercontent.com/u/464726?v=4",
"events_url": "https://api.github.com/users/millerdev/events{/privacy}",
"followers_url": "https://api.github.com/users/millerdev/followers",
"following_url": "https://api.github.com/users/millerdev/following{/other_user}",
"gists_url": "ht... | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 1 | 2020-01-23T21:25:48Z | 2024-05-20T14:36:43Z | 2024-05-20T14:36:43Z | NONE | null | Errors raised by `Response.iter_content` did not have request/response context.
I couldn't figure out how to simulate `StreamConsumedError` or `ConnectionError` as raised from that context, and I could not find any other tests that simulate those errors either. However, the additions are so trivial and other tests _... | {
"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/5323/reactions"
} | https://api.github.com/repos/psf/requests/issues/5323/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5323.diff",
"html_url": "https://github.com/psf/requests/pull/5323",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5323.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5323"
} | true | [
"In an effort to clean up the issue tracker to only have issues that are still relevant to the project we've done a quick pass and decided this issue may no longer be relevant for a variety of potential reasons, including:\r\n\r\n* Applies to a much older version, unclear whether the issue still applies.\r\n* Chang... |
https://api.github.com/repos/psf/requests/issues/5322 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5322/labels{/name} | https://api.github.com/repos/psf/requests/issues/5322/comments | https://api.github.com/repos/psf/requests/issues/5322/events | https://github.com/psf/requests/issues/5322 | 554,010,706 | MDU6SXNzdWU1NTQwMTA3MDY= | 5,322 | In [33]: print(requests.get("http://google.com").status_code) 429 | {
"avatar_url": "https://avatars.githubusercontent.com/u/25875643?v=4",
"events_url": "https://api.github.com/users/guanchengliu17/events{/privacy}",
"followers_url": "https://api.github.com/users/guanchengliu17/followers",
"following_url": "https://api.github.com/users/guanchengliu17/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2020-01-23T08:30:27Z | 2021-09-03T00:10:41Z | 2020-01-29T18:02:59Z | NONE | resolved | Summary.
run the command: print(requests.get("http://google.com").status_code)
it return : 429 not 200

## Expected Result
What you expected.
## Actual Result
What happened instead.
## Repro... | {
"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/5322/reactions"
} | https://api.github.com/repos/psf/requests/issues/5322/timeline | null | completed | null | null | false | [
"Hi @guanchengliu17,\r\n\r\nYou’re being rate limited by the server you’re calling. It’a best practice to be using sensible request limits and back off strategies in whatever scripts you’re writing."
] |
https://api.github.com/repos/psf/requests/issues/5321 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5321/labels{/name} | https://api.github.com/repos/psf/requests/issues/5321/comments | https://api.github.com/repos/psf/requests/issues/5321/events | https://github.com/psf/requests/issues/5321 | 552,474,251 | MDU6SXNzdWU1NTI0NzQyNTE= | 5,321 | How can I send a POST request without default headers attributes? | {
"avatar_url": "https://avatars.githubusercontent.com/u/8525533?v=4",
"events_url": "https://api.github.com/users/brunocamarggo/events{/privacy}",
"followers_url": "https://api.github.com/users/brunocamarggo/followers",
"following_url": "https://api.github.com/users/brunocamarggo/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 1 | 2020-01-20T19:30:57Z | 2021-09-03T00:10:41Z | 2020-01-29T18:04:47Z | NONE | resolved | Please,
Just a simple question.
Someone knows how can I send a POST request without default headeres attributes?
Thanks a lot.
Example:
```
@app.route('/foobar')
def get():
headers = {
'Authorization': 'Bearer Fooobaaaarrrrrr',
'foo': 'bar',
'bar': 'foo'
}
resp... | {
"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/5321/reactions"
} | https://api.github.com/repos/psf/requests/issues/5321/timeline | null | completed | null | null | false | [
"Hi @brunocamarggo,\r\n\r\nThese kinds of questions are best asked on Stackoverflow, as we’ve specified when you open a ticket.\r\n\r\nI’d suggest looking at the PreparedRequests workflow, and opening a question on Stackoverflow if you’re still having issues. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/5320 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5320/labels{/name} | https://api.github.com/repos/psf/requests/issues/5320/comments | https://api.github.com/repos/psf/requests/issues/5320/events | https://github.com/psf/requests/issues/5320 | 552,242,921 | MDU6SXNzdWU1NTIyNDI5MjE= | 5,320 | Not able to connect with proxy under corporate network.Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))) | {
"avatar_url": "https://avatars.githubusercontent.com/u/28999794?v=4",
"events_url": "https://api.github.com/users/awaisumar1/events{/privacy}",
"followers_url": "https://api.github.com/users/awaisumar1/followers",
"following_url": "https://api.github.com/users/awaisumar1/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2020-01-20T11:31:13Z | 2021-09-03T00:10:43Z | 2020-01-20T13:48:40Z | NONE | resolved | I am using Request module and trying to access a host on local domain, but i am getting above error.
as i am working under corporate network so i have set up the proxy as well.
i am running this code
`proxyDict = { "http" : http_proxy, "https" : https_proxy, }`
`headers={'Content-type':'application/... | {
"avatar_url": "https://avatars.githubusercontent.com/u/28999794?v=4",
"events_url": "https://api.github.com/users/awaisumar1/events{/privacy}",
"followers_url": "https://api.github.com/users/awaisumar1/followers",
"following_url": "https://api.github.com/users/awaisumar1/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/5320/reactions"
} | https://api.github.com/repos/psf/requests/issues/5320/timeline | null | completed | null | null | false | [
"i have solved the issue ,because i was working on a local development server so i didn't need proxy, so simply removing proxies works for me.\r\n"
] |
https://api.github.com/repos/psf/requests/issues/5319 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5319/labels{/name} | https://api.github.com/repos/psf/requests/issues/5319/comments | https://api.github.com/repos/psf/requests/issues/5319/events | https://github.com/psf/requests/issues/5319 | 551,792,409 | MDU6SXNzdWU1NTE3OTI0MDk= | 5,319 | Incorrect Content-Length header in response | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 2 | 2020-01-18T16:38:30Z | 2021-09-03T00:10:43Z | 2020-01-19T06:55:18Z | NONE | resolved | I've been debugging my script that is fetched file size (using `requests.head` and then processing `Content-Length` header) wrong; with HEAD request file size was ~17MB, with GET requests downloaded file has taken expected ~75MB. HEAD and GET requests were sent to `raw.github.com`, which responds with `Content-Length` ... | 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/5319/reactions"
} | https://api.github.com/repos/psf/requests/issues/5319/timeline | null | completed | null | null | false | [
"https://stackoverflow.com/questions/36194656/http-content-length-and-content-encoding\r\n\r\nRequests sends an `Accept-Encoding: gzip, deflate` request header by default, causing the response body to be compressed; curl doesn't.\r\n\r\nSend `Accept-Encoding: identity` to get the \"correct\" size.",
"@s104346 tha... |
https://api.github.com/repos/psf/requests/issues/5318 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5318/labels{/name} | https://api.github.com/repos/psf/requests/issues/5318/comments | https://api.github.com/repos/psf/requests/issues/5318/events | https://github.com/psf/requests/issues/5318 | 551,363,496 | MDU6SXNzdWU1NTEzNjM0OTY= | 5,318 | Get post request works by using postman but dose not work in requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/24357416?v=4",
"events_url": "https://api.github.com/users/nnit-kzhg/events{/privacy}",
"followers_url": "https://api.github.com/users/nnit-kzhg/followers",
"following_url": "https://api.github.com/users/nnit-kzhg/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-01-17T11:31:13Z | 2021-09-03T00:10:40Z | 2020-01-29T18:10:32Z | NONE | resolved | Hello Mates,
i got a problem to post a HTTP request to a internal web server and it works when i using postman and dosent work in python request. the request is pretty simple just like below,
response=requests.post("https\\myserver",auth=('admin','****'),verify=False), i got following error log,
requests.excep... | {
"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/5318/reactions"
} | https://api.github.com/repos/psf/requests/issues/5318/timeline | null | completed | null | null | false | [
"Hi @nnit-kzhg,\r\n\r\nThis is an issue with your proxy configuration that we won’t be able to debug on this issue board. I’d encourage opening an question on Stackoverflow to debug further. "
] |
https://api.github.com/repos/psf/requests/issues/5317 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5317/labels{/name} | https://api.github.com/repos/psf/requests/issues/5317/comments | https://api.github.com/repos/psf/requests/issues/5317/events | https://github.com/psf/requests/issues/5317 | 551,347,501 | MDU6SXNzdWU1NTEzNDc1MDE= | 5,317 | Certifi Dependency Missing in setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/23361557?v=4",
"events_url": "https://api.github.com/users/nmakarun/events{/privacy}",
"followers_url": "https://api.github.com/users/nmakarun/followers",
"following_url": "https://api.github.com/users/nmakarun/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2020-01-17T10:57:43Z | 2021-09-03T00:10:43Z | 2020-01-17T11:02:16Z | NONE | resolved | Summary.
I was trying to install the library manually using the source file and found that certifi>=2017.4.17 was not mentioned in the setup.py
What you expected.
install_requires=[certifi>=2017.4.17]
What happened instead.
Processing dependencies for requests==2.22.0
Searching for certifi>=2017.4.17
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/23361557?v=4",
"events_url": "https://api.github.com/users/nmakarun/events{/privacy}",
"followers_url": "https://api.github.com/users/nmakarun/followers",
"following_url": "https://api.github.com/users/nmakarun/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/5317/reactions"
} | https://api.github.com/repos/psf/requests/issues/5317/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5316 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5316/labels{/name} | https://api.github.com/repos/psf/requests/issues/5316/comments | https://api.github.com/repos/psf/requests/issues/5316/events | https://github.com/psf/requests/issues/5316 | 550,522,326 | MDU6SXNzdWU1NTA1MjIzMjY= | 5,316 | HTTPAdapter with SSLContext specified does not use SSLContext's ca_certs on Windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/8798850?v=4",
"events_url": "https://api.github.com/users/matthchr/events{/privacy}",
"followers_url": "https://api.github.com/users/matthchr/followers",
"following_url": "https://api.github.com/users/matthchr/following{/other_user}",
"gists_url": "http... | [] | open | false | null | [] | null | 6 | 2020-01-16T01:34:19Z | 2024-10-28T23:08:28Z | null | NONE | null | My objective was to get `requests` to use the Windows certificate store rather than the `certifi` bundle. **Maybe this just isn't supported.**
I know there is some complexity and has been some debate about how supplying an `SSLContext` was supposed to work in `requests` (see #2118). But according to that issue, Tran... | 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/5316/reactions"
} | https://api.github.com/repos/psf/requests/issues/5316/timeline | null | null | null | null | false | [
"I agree that this should be much more straightforward than it is. There should be a simple way to tell it to use Windows cert store on Windows, or to hook this behaviour in via an adapter.\r\n\r\nI spent quite a while figuring out how to do this, and eventually came up with a solution/workaround.\r\n\r\n```\r\ncla... |
https://api.github.com/repos/psf/requests/issues/5315 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5315/labels{/name} | https://api.github.com/repos/psf/requests/issues/5315/comments | https://api.github.com/repos/psf/requests/issues/5315/events | https://github.com/psf/requests/issues/5315 | 550,463,014 | MDU6SXNzdWU1NTA0NjMwMTQ= | 5,315 | Improve documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/24916060?v=4",
"events_url": "https://api.github.com/users/kaliomar/events{/privacy}",
"followers_url": "https://api.github.com/users/kaliomar/followers",
"following_url": "https://api.github.com/users/kaliomar/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 4 | 2020-01-15T22:21:54Z | 2021-09-03T00:10:38Z | 2020-02-01T01:10:09Z | NONE | resolved | When i import requests and run help(requests), Output is this:
> ESCRIPTION
Requests HTTP Library
~~~~~~~~~~~~~~~~~~~~~
Requests is an HTTP library, written in Python, for human beings. Basic GET
usage:
>>> import requests
>>> r = requests.get('https://www.python.org')... | {
"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/5315/reactions"
} | https://api.github.com/repos/psf/requests/issues/5315/timeline | null | completed | null | null | false | [
"This should be already fixed in master https://github.com/psf/requests/blob/d2590ee46c0641958b6d4792a206bd5171cb247d/requests/__init__.py#L19\r\n",
"`'Python is a programming language' in r.text` is also an alternative (which maybe works in both 2.7 and 3.x?).",
"The version in master also works both in 2.7 an... |
https://api.github.com/repos/psf/requests/issues/5314 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5314/labels{/name} | https://api.github.com/repos/psf/requests/issues/5314/comments | https://api.github.com/repos/psf/requests/issues/5314/events | https://github.com/psf/requests/issues/5314 | 549,492,998 | MDU6SXNzdWU1NDk0OTI5OTg= | 5,314 | Failed to connect the web server with using a surviving socks5h proxy server. | {
"avatar_url": "https://avatars.githubusercontent.com/u/18731965?v=4",
"events_url": "https://api.github.com/users/Panjks/events{/privacy}",
"followers_url": "https://api.github.com/users/Panjks/followers",
"following_url": "https://api.github.com/users/Panjks/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2020-01-14T11:05:07Z | 2022-02-26T06:00:22Z | 2021-11-28T05:54:07Z | NONE | resolved | I used a socks5 proxy server to connect twitter and another web server.
It is ok when using curl to send the requests and receive the responses. But when I used requests, there is some wrong happened.
My curl command is :
`curl -x socks5h://127.0.0.1:1234 www.twitter.com -v -L`
There is no problem with return th... | {
"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/5314/reactions"
} | https://api.github.com/repos/psf/requests/issues/5314/timeline | null | completed | null | null | false | [
"Looks similar to #4892 and https://github.com/psf/requests/issues/2543#issuecomment-119032613\r\n\r\nYou may want to ensure that you're running the latest versions of requests and urllib3: `pip install -U requests urllib3`. ",
"Going to close this issue as it doesn't look like anything we can do without addition... |
https://api.github.com/repos/psf/requests/issues/5313 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5313/labels{/name} | https://api.github.com/repos/psf/requests/issues/5313/comments | https://api.github.com/repos/psf/requests/issues/5313/events | https://github.com/psf/requests/issues/5313 | 548,704,957 | MDU6SXNzdWU1NDg3MDQ5NTc= | 5,313 | Unable to install settings module | {
"avatar_url": "https://avatars.githubusercontent.com/u/54717468?v=4",
"events_url": "https://api.github.com/users/JoshuaDKT/events{/privacy}",
"followers_url": "https://api.github.com/users/JoshuaDKT/followers",
"following_url": "https://api.github.com/users/JoshuaDKT/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-01-13T04:59:18Z | 2021-09-03T00:10:40Z | 2020-01-29T18:24:16Z | NONE | resolved | For my code, there is an import at the top:
```
from settings import Settings
```
I need to install the settings module but whenever I try to install it, I get this error message:
```
ERROR: Could not find a version that satisfies the requirement settings (from versions: none)
ERROR: No matching distribution fou... | {
"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/5313/reactions"
} | https://api.github.com/repos/psf/requests/issues/5313/timeline | null | completed | null | null | false | [
"@DuckTooth,\r\n\r\nThis isn’t a module supplied by Requests and isn’t the right forum to debug issues like this. I’d suggest reviewing the docs or reaching out to pypa through their recommended process."
] |
https://api.github.com/repos/psf/requests/issues/5312 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5312/labels{/name} | https://api.github.com/repos/psf/requests/issues/5312/comments | https://api.github.com/repos/psf/requests/issues/5312/events | https://github.com/psf/requests/issues/5312 | 548,564,026 | MDU6SXNzdWU1NDg1NjQwMjY= | 5,312 | HEAD request never gets timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/59794833?v=4",
"events_url": "https://api.github.com/users/lingsan43/events{/privacy}",
"followers_url": "https://api.github.com/users/lingsan43/followers",
"following_url": "https://api.github.com/users/lingsan43/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 2 | 2020-01-12T12:31:09Z | 2021-09-02T00:07:28Z | 2020-02-10T05:35:00Z | NONE | resolved | I am doing a HEAD request with a timeout=4.
Tried to ask on stackoverflow, incase this is something known, but it seems not to be the case. (https://stackoverflow.com/questions/59703532/requests-does-not-timeout)
## Expected Result
Timeout after 4 seconds.
## Actual Result
Timeout never happens.
## Re... | {
"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/5312/reactions"
} | https://api.github.com/repos/psf/requests/issues/5312/timeline | null | completed | null | null | false | [
"This is an issue with the underlying urllib3 library. See their documentation on timeouts: https://github.com/urllib3/urllib3/blob/d369183f60749d735f0676efb22ecd64fc694768/src/urllib3/util/timeout.py#L78-L89\r\n\r\n> if a server streams one byte every fifteen seconds, a timeout\r\n of 20 seconds will not tr... |
https://api.github.com/repos/psf/requests/issues/5311 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5311/labels{/name} | https://api.github.com/repos/psf/requests/issues/5311/comments | https://api.github.com/repos/psf/requests/issues/5311/events | https://github.com/psf/requests/issues/5311 | 548,450,393 | MDU6SXNzdWU1NDg0NTAzOTM= | 5,311 | Response 412 from this website | {
"avatar_url": "https://avatars.githubusercontent.com/u/7510469?v=4",
"events_url": "https://api.github.com/users/terenceltl/events{/privacy}",
"followers_url": "https://api.github.com/users/terenceltl/followers",
"following_url": "https://api.github.com/users/terenceltl/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-01-11T16:30:46Z | 2021-09-03T00:10:39Z | 2020-01-31T19:21:08Z | NONE | resolved | I keep getting response 412 and a blank webpage with only 4 blank lines from this webpage:
http://wjw.hubei.gov.cn/
## Expected Result
Both Chrome and Firefox can open the page fine. But I notice when the browser loads the page, it is a blank page at first and the browser reloads / loads more and the complete ... | {
"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/5311/reactions"
} | https://api.github.com/repos/psf/requests/issues/5311/timeline | null | completed | null | null | false | [
"This does not sound like an issue with Requests, but the server's configuration interacting with the request you send. If you could provide (e.g.) a cURL request like the below that *does* work or give unexpectedly different results than Requests could provide, that may be an issue.\r\n\r\n```\r\ncurl --verbose ht... |
https://api.github.com/repos/psf/requests/issues/5310 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5310/labels{/name} | https://api.github.com/repos/psf/requests/issues/5310/comments | https://api.github.com/repos/psf/requests/issues/5310/events | https://github.com/psf/requests/issues/5310 | 547,636,862 | MDU6SXNzdWU1NDc2MzY4NjI= | 5,310 | Getting ConnectionResetError(10054) while using Requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/28849779?v=4",
"events_url": "https://api.github.com/users/jnkumar58/events{/privacy}",
"followers_url": "https://api.github.com/users/jnkumar58/followers",
"following_url": "https://api.github.com/users/jnkumar58/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-01-09T18:08:25Z | 2020-12-08T17:24:33Z | 2020-01-09T19:03:59Z | NONE | resolved | Summary.
I am getting ConnectionResetError(10054) while running a POST against a webservice. I am getting successful output every time when I am using POSTMAN to do it.
## Expected Result
Should get HTTP Code:200 and successful output
## Actual Result
What happened instead.
urllib3.exceptions.ProtocolError: (... | {
"avatar_url": "https://avatars.githubusercontent.com/u/28849779?v=4",
"events_url": "https://api.github.com/users/jnkumar58/events{/privacy}",
"followers_url": "https://api.github.com/users/jnkumar58/followers",
"following_url": "https://api.github.com/users/jnkumar58/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/5310/reactions"
} | https://api.github.com/repos/psf/requests/issues/5310/timeline | null | completed | null | null | false | [
"Did you get out of this problem? i get this issue too and don't know what happened, can you share how to resolve this problem?"
] |
https://api.github.com/repos/psf/requests/issues/5309 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5309/labels{/name} | https://api.github.com/repos/psf/requests/issues/5309/comments | https://api.github.com/repos/psf/requests/issues/5309/events | https://github.com/psf/requests/pull/5309 | 547,132,798 | MDExOlB1bGxSZXF1ZXN0MzYwNjc4ODgz | 5,309 | Update models.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/1873994?v=4",
"events_url": "https://api.github.com/users/alanyee/events{/privacy}",
"followers_url": "https://api.github.com/users/alanyee/followers",
"following_url": "https://api.github.com/users/alanyee/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2020-01-08T22:12:57Z | 2021-11-26T05:00:35Z | 2021-08-28T04:27:45Z | CONTRIBUTOR | resolved | Remove needless list() | {
"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/5309/reactions"
} | https://api.github.com/repos/psf/requests/issues/5309/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5309.diff",
"html_url": "https://github.com/psf/requests/pull/5309",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5309.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5309"
} | true | [
"Thanks for the PR, @alanyee! We typically don't take stylistic update PRs as it sets a precedent producing a lot of additional maintenance churn. We do appreciate it though."
] |
https://api.github.com/repos/psf/requests/issues/5308 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5308/labels{/name} | https://api.github.com/repos/psf/requests/issues/5308/comments | https://api.github.com/repos/psf/requests/issues/5308/events | https://github.com/psf/requests/issues/5308 | 546,572,378 | MDU6SXNzdWU1NDY1NzIzNzg= | 5,308 | ModuleNotFoundError: No module named 'requests' | {
"avatar_url": "https://avatars.githubusercontent.com/u/18223385?v=4",
"events_url": "https://api.github.com/users/hktalent/events{/privacy}",
"followers_url": "https://api.github.com/users/hktalent/followers",
"following_url": "https://api.github.com/users/hktalent/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-01-08T00:05:33Z | 2021-09-03T00:10:44Z | 2020-01-08T00:24:42Z | NONE | resolved | Mac os,Python 3.7.3
```
$ pip3 install requests
Requirement already satisfied: requests in /usr/local/lib/python3.7/site-packages (2.22.0)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.7/site-packages (from requests) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /us... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18223385?v=4",
"events_url": "https://api.github.com/users/hktalent/events{/privacy}",
"followers_url": "https://api.github.com/users/hktalent/followers",
"following_url": "https://api.github.com/users/hktalent/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/5308/reactions"
} | https://api.github.com/repos/psf/requests/issues/5308/timeline | null | completed | null | null | false | [
"fix:\r\nsys.path add /usr/local/lib/python3.7/site-packages"
] |
https://api.github.com/repos/psf/requests/issues/5307 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5307/labels{/name} | https://api.github.com/repos/psf/requests/issues/5307/comments | https://api.github.com/repos/psf/requests/issues/5307/events | https://github.com/psf/requests/pull/5307 | 546,309,658 | MDExOlB1bGxSZXF1ZXN0MzYwMDExMTYz | 5,307 | Enable copr builds and add packit config | {
"avatar_url": "https://avatars.githubusercontent.com/u/31201372?v=4",
"events_url": "https://api.github.com/users/dhodovsk/events{/privacy}",
"followers_url": "https://api.github.com/users/dhodovsk/followers",
"following_url": "https://api.github.com/users/dhodovsk/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-01-07T14:19:44Z | 2021-08-29T00:07:07Z | 2020-02-18T06:13:41Z | NONE | resolved | Let us introduce [packit service](https://packit.dev) to you - the automation to integrate upstream open source projects into Fedora operating system.
After merging this PR, you are just a few steps away from RPM builds being automatically triggered on your PR's.
It means, that you'll be able to try and play with y... | {
"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/5307/reactions"
} | https://api.github.com/repos/psf/requests/issues/5307/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5307.diff",
"html_url": "https://github.com/psf/requests/pull/5307",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5307.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5307"
} | true | [
"Thanks for the PR, @dhodovsk! I don't think we're going to do any distro specific build integration at this time. Looks like a pretty cool idea though!"
] |
https://api.github.com/repos/psf/requests/issues/5306 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5306/labels{/name} | https://api.github.com/repos/psf/requests/issues/5306/comments | https://api.github.com/repos/psf/requests/issues/5306/events | https://github.com/psf/requests/pull/5306 | 545,628,028 | MDExOlB1bGxSZXF1ZXN0MzU5NDYyMjg0 | 5,306 | Update supported Python versions | {
"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-01-06T09:29:48Z | 2021-08-30T00:06:30Z | 2020-01-09T17:06:48Z | CONTRIBUTOR | resolved | Supported versions are 2.7 and 3.5+ (currently to 3.8):
https://github.com/psf/requests/blob/eedd67462819f8dbf8c1c32e77f9070606605231/setup.py#L82-L100
3.4 was dropped in https://github.com/psf/requests/pull/5092.
Writing "3.5+" means the docs don't need updating when 3.9 is released, only when 3.5 is dropped. | {
"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/5306/reactions"
} | https://api.github.com/repos/psf/requests/issues/5306/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5306.diff",
"html_url": "https://github.com/psf/requests/pull/5306",
"merged_at": "2020-01-09T17:06:48Z",
"patch_url": "https://github.com/psf/requests/pull/5306.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5306"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5305 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5305/labels{/name} | https://api.github.com/repos/psf/requests/issues/5305/comments | https://api.github.com/repos/psf/requests/issues/5305/events | https://github.com/psf/requests/pull/5305 | 544,635,468 | MDExOlB1bGxSZXF1ZXN0MzU4NzA0ODE0 | 5,305 | Fix test_conflicting_post_params to work on pytest 5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2401856?v=4",
"events_url": "https://api.github.com/users/hroncok/events{/privacy}",
"followers_url": "https://api.github.com/users/hroncok/followers",
"following_url": "https://api.github.com/users/hroncok/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2020-01-02T15:55:08Z | 2021-08-29T00:06:53Z | 2020-05-09T04:58:05Z | CONTRIBUTOR | resolved | The non-contextmanager form of pytest.raises was removed in pytest 5.
http://doc.pytest.org/en/latest/deprecations.html#raises-warns-with-a-string-as-the-second-argument
It was used here to support Python < 2.7, but that is no longer needed.
https://github.com/psf/requests/pull/1503#issuecomment-22333666
Fixes ... | {
"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/5305/reactions"
} | https://api.github.com/repos/psf/requests/issues/5305/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5305.diff",
"html_url": "https://github.com/psf/requests/pull/5305",
"merged_at": "2020-05-09T04:58:04Z",
"patch_url": "https://github.com/psf/requests/pull/5305.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5305"
} | true | [
"What can I do to help getting this merged? I consider the change fairly trivial, self contained and easy to grasp. But the more this remains open, the chances of diverging are getting higher.\r\n\r\nIf there is anything else required from my side, please do let me know.\r\n",
"Thanks @hroncok!",
"Thanks for me... |
https://api.github.com/repos/psf/requests/issues/5304 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5304/labels{/name} | https://api.github.com/repos/psf/requests/issues/5304/comments | https://api.github.com/repos/psf/requests/issues/5304/events | https://github.com/psf/requests/issues/5304 | 544,631,924 | MDU6SXNzdWU1NDQ2MzE5MjQ= | 5,304 | pytest.raises with a string as the second argument removed in pytest 5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2401856?v=4",
"events_url": "https://api.github.com/users/hroncok/events{/privacy}",
"followers_url": "https://api.github.com/users/hroncok/followers",
"following_url": "https://api.github.com/users/hroncok/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2020-01-02T15:46:56Z | 2021-09-01T00:11:20Z | 2020-05-09T04:58:04Z | CONTRIBUTOR | resolved | See http://doc.pytest.org/en/latest/deprecations.html#raises-warns-with-a-string-as-the-second-argument
The non-comntextmanager form of `pytest.raises` was removed in pytest 5. It is used in:
https://github.com/psf/requests/blob/eedd67462819f8dbf8c1c32e77f9070606605231/tests/test_requests.py#L774-L778
The erro... | {
"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/5304/reactions"
} | https://api.github.com/repos/psf/requests/issues/5304/timeline | null | completed | null | null | false | [
"https://github.com/psf/requests/pull/5305"
] |
https://api.github.com/repos/psf/requests/issues/5303 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5303/labels{/name} | https://api.github.com/repos/psf/requests/issues/5303/comments | https://api.github.com/repos/psf/requests/issues/5303/events | https://github.com/psf/requests/pull/5303 | 544,401,035 | MDExOlB1bGxSZXF1ZXN0MzU4NTE5NDUw | 5,303 | Add Python 2 support entry in FAQ | {
"avatar_url": "https://avatars.githubusercontent.com/u/842790?v=4",
"events_url": "https://api.github.com/users/brainwane/events{/privacy}",
"followers_url": "https://api.github.com/users/brainwane/followers",
"following_url": "https://api.github.com/users/brainwane/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 3 | 2020-01-01T21:33:08Z | 2021-08-30T00:06:29Z | 2020-01-09T17:55:21Z | CONTRIBUTOR | resolved | Fixes: #5211
Signed-off-by: Sumana Harihareswara <sh@changeset.nyc> | {
"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/5303/reactions"
} | https://api.github.com/repos/psf/requests/issues/5303/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5303.diff",
"html_url": "https://github.com/psf/requests/pull/5303",
"merged_at": "2020-01-09T17:55:20Z",
"patch_url": "https://github.com/psf/requests/pull/5303.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5303"
} | true | [
"@nateprewitt and @hugovk could you take a look? I'm happy to have my PR edited or superseded in the interests of phrasing the FAQ item accurately, and you're the experts, not me!",
"(And Happy New Year of course!)",
"I'm not a member of the Requests project, but looks about right to me. Happy new year! "
] |
https://api.github.com/repos/psf/requests/issues/5302 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5302/labels{/name} | https://api.github.com/repos/psf/requests/issues/5302/comments | https://api.github.com/repos/psf/requests/issues/5302/events | https://github.com/psf/requests/pull/5302 | 544,225,111 | MDExOlB1bGxSZXF1ZXN0MzU4Mzg2NzQz | 5,302 | Change <Response [XXX]> to self.text | {
"avatar_url": "https://avatars.githubusercontent.com/u/45501389?v=4",
"events_url": "https://api.github.com/users/JonPizza/events{/privacy}",
"followers_url": "https://api.github.com/users/JonPizza/followers",
"following_url": "https://api.github.com/users/JonPizza/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2019-12-31T16:29:48Z | 2021-08-30T00:06:31Z | 2019-12-31T21:04:36Z | NONE | resolved | From talking to people and personal experiences, I always feel this is more intuitive. Only downside is inside a REPL, but I think there is a way to detect that? | {
"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/5302/reactions"
} | https://api.github.com/repos/psf/requests/issues/5302/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5302.diff",
"html_url": "https://github.com/psf/requests/pull/5302",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5302.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5302"
} | true | [
"This would spam up a console if it were a long response body and also be a breaking change. It's unlikely that this will be merged.",
"Hi @JonPizza,\r\n\r\nSeth is right here. This would add a minor short cut to `text` but risks printing very long bodies into the console unexpectedly.\r\n\r\nI think we’ll pass o... |
https://api.github.com/repos/psf/requests/issues/5301 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5301/labels{/name} | https://api.github.com/repos/psf/requests/issues/5301/comments | https://api.github.com/repos/psf/requests/issues/5301/events | https://github.com/psf/requests/issues/5301 | 544,040,366 | MDU6SXNzdWU1NDQwNDAzNjY= | 5,301 | Can't install dependencies from master. | {
"avatar_url": "https://avatars.githubusercontent.com/u/8901363?v=4",
"events_url": "https://api.github.com/users/TZubiri/events{/privacy}",
"followers_url": "https://api.github.com/users/TZubiri/followers",
"following_url": "https://api.github.com/users/TZubiri/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2019-12-30T23:22:39Z | 2021-09-03T00:10:45Z | 2019-12-31T00:52:07Z | NONE | resolved | Summary.
## Expected Result
Running 'Pipenv install', pipenv install Pipfile or pipenv install Pipfile.lock should not return an error.
## Actual Result
The following error is returned:
Step 6/7 : RUN pipenv install
---> Running in a8d473741a35
Pipfile.lock (5c8d24) out of date, updating to (726701)…
Lo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/8901363?v=4",
"events_url": "https://api.github.com/users/TZubiri/events{/privacy}",
"followers_url": "https://api.github.com/users/TZubiri/followers",
"following_url": "https://api.github.com/users/TZubiri/following{/other_user}",
"gists_url": "https:/... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5301/reactions"
} | https://api.github.com/repos/psf/requests/issues/5301/timeline | null | completed | null | null | false | [
"I had run pipenv install Pipfile and Pipfile.lock previously which had modified the Pipfile."
] |
https://api.github.com/repos/psf/requests/issues/5300 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5300/labels{/name} | https://api.github.com/repos/psf/requests/issues/5300/comments | https://api.github.com/repos/psf/requests/issues/5300/events | https://github.com/psf/requests/issues/5300 | 543,360,217 | MDU6SXNzdWU1NDMzNjAyMTc= | 5,300 | reading multipart/x-mixed-replace binary stream | {
"avatar_url": "https://avatars.githubusercontent.com/u/34147363?v=4",
"events_url": "https://api.github.com/users/fangyong125/events{/privacy}",
"followers_url": "https://api.github.com/users/fangyong125/followers",
"following_url": "https://api.github.com/users/fangyong125/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2019-12-29T11:14:52Z | 2021-09-03T00:10:37Z | 2020-02-01T01:18:28Z | NONE | resolved | I need to read a http stream (with head multipart/x-mixed-replace), the content-type is image/jpeg,how could i do?
r = requests.get('http://192.168.1.100:4747/mjpegfeed?1920x1080', stream=True)
c0 = r.content
code [c0 = r.content] will wait until response finish, but this response is not going to finish.
so what ... | {
"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/5300/reactions"
} | https://api.github.com/repos/psf/requests/issues/5300/timeline | null | completed | null | null | false | [
"Hi @fangyong125,\r\n\r\nAs per the message in the issue you opened, we don't support these kinds of requests for help on this issue tracker. Please open a question on Stackoverflow. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/5299 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5299/labels{/name} | https://api.github.com/repos/psf/requests/issues/5299/comments | https://api.github.com/repos/psf/requests/issues/5299/events | https://github.com/psf/requests/issues/5299 | 543,288,263 | MDU6SXNzdWU1NDMyODgyNjM= | 5,299 | Document `requests.utils` | {
"avatar_url": "https://avatars.githubusercontent.com/u/5687998?v=4",
"events_url": "https://api.github.com/users/verhovsky/events{/privacy}",
"followers_url": "https://api.github.com/users/verhovsky/followers",
"following_url": "https://api.github.com/users/verhovsky/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2019-12-28T22:33:41Z | 2021-09-03T00:10:45Z | 2020-01-02T03:49:52Z | CONTRIBUTOR | resolved | Are the methods imported by `requests.utils` supposed to be public?
https://github.com/psf/requests/blob/eedd67462819f8dbf8c1c32e77f9070606605231/requests/utils.py
https://github.com/psf/requests/blob/eedd67462819f8dbf8c1c32e77f9070606605231/requests/compat.py
Is it okay to do
```python
import requests.ut... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5687998?v=4",
"events_url": "https://api.github.com/users/verhovsky/events{/privacy}",
"followers_url": "https://api.github.com/users/verhovsky/followers",
"following_url": "https://api.github.com/users/verhovsky/following{/other_user}",
"gists_url": "h... | {
"+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/5299/reactions"
} | https://api.github.com/repos/psf/requests/issues/5299/timeline | null | completed | null | null | false | [
"I've been asked to comment on this. The answer in short is \"No.\" those were never intended to be public parts of the API but people still do use them at their own risk. We've broken them unintentionally before and I'm sure whoever ends up maintaining this will do so again as they well should."
] |
https://api.github.com/repos/psf/requests/issues/5298 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5298/labels{/name} | https://api.github.com/repos/psf/requests/issues/5298/comments | https://api.github.com/repos/psf/requests/issues/5298/events | https://github.com/psf/requests/issues/5298 | 542,816,001 | MDU6SXNzdWU1NDI4MTYwMDE= | 5,298 | session lose cookies | {
"avatar_url": "https://avatars.githubusercontent.com/u/38283965?v=4",
"events_url": "https://api.github.com/users/monody1/events{/privacy}",
"followers_url": "https://api.github.com/users/monody1/followers",
"following_url": "https://api.github.com/users/monody1/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2019-12-27T09:45:37Z | 2021-09-03T00:10:46Z | 2019-12-27T13:29:43Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/38283965?v=4",
"events_url": "https://api.github.com/users/monody1/events{/privacy}",
"followers_url": "https://api.github.com/users/monody1/followers",
"following_url": "https://api.github.com/users/monody1/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5298/reactions"
} | https://api.github.com/repos/psf/requests/issues/5298/timeline | null | completed | null | null | false | [] | |
https://api.github.com/repos/psf/requests/issues/5297 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5297/labels{/name} | https://api.github.com/repos/psf/requests/issues/5297/comments | https://api.github.com/repos/psf/requests/issues/5297/events | https://github.com/psf/requests/issues/5297 | 541,767,228 | MDU6SXNzdWU1NDE3NjcyMjg= | 5,297 | Python 3.7.6: urllib3.exceptions.ProxySchemeUnknown | {
"avatar_url": "https://avatars.githubusercontent.com/u/867469?v=4",
"events_url": "https://api.github.com/users/rafaduran/events{/privacy}",
"followers_url": "https://api.github.com/users/rafaduran/followers",
"following_url": "https://api.github.com/users/rafaduran/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 18 | 2019-12-23T14:00:01Z | 2022-01-03T10:00:41Z | 2020-02-01T01:19:31Z | NONE | resolved | Proxy setup without scheme is not working on Python 3.7.6
While it works on Python 3.7.5:
```python
Python 3.7.5 (default, Nov 23 2019, 05:59:34)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> requests.get("http://httpbin.org/get", proxies... | {
"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/5297/reactions"
} | https://api.github.com/repos/psf/requests/issues/5297/timeline | null | completed | null | null | false | [
"Thanks for reporting this issue and doing investigation!\r\n\r\nYou can fix this by using `http://<ip>:<port>` instead of just an IP.",
"you can solve the problem??\r\ni have the same issue with python 3.8\r\n\r\n> Proxy setup without scheme is not working on Python 3.7.6\r\n> \r\n> While it works on Python 3.7.... |
https://api.github.com/repos/psf/requests/issues/5296 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5296/labels{/name} | https://api.github.com/repos/psf/requests/issues/5296/comments | https://api.github.com/repos/psf/requests/issues/5296/events | https://github.com/psf/requests/issues/5296 | 541,636,773 | MDU6SXNzdWU1NDE2MzY3NzM= | 5,296 | requests raise broken pipe, but postman return 500 status | {
"avatar_url": "https://avatars.githubusercontent.com/u/32815055?v=4",
"events_url": "https://api.github.com/users/EmptyRabbit/events{/privacy}",
"followers_url": "https://api.github.com/users/EmptyRabbit/followers",
"following_url": "https://api.github.com/users/EmptyRabbit/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2019-12-23T08:13:15Z | 2021-09-03T00:10:44Z | 2020-01-09T17:03:14Z | NONE | resolved | when upload big file(bigger than server limit). I expect return response with 500 status
1、I tried postman to post api, it return 500 error,that what I need
2、I tried requests to post api
here is requests code:
```
with open('invalid_big_license', 'rb') as f:
test = s.post(
url,
header... | {
"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/5296/reactions"
} | https://api.github.com/repos/psf/requests/issues/5296/timeline | null | completed | null | null | false | [
"Hi @EmptyRabbit, this is bad data being returned by the server. The first thing I'd check is if this is specific to the Requests User-Agent. You may need to use something like Wireshark to see what exactly is coming across the wire. From the information provided so far, it doesn't look like this is a defect in Req... |
https://api.github.com/repos/psf/requests/issues/5295 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5295/labels{/name} | https://api.github.com/repos/psf/requests/issues/5295/comments | https://api.github.com/repos/psf/requests/issues/5295/events | https://github.com/psf/requests/issues/5295 | 540,779,666 | MDU6SXNzdWU1NDA3Nzk2NjY= | 5,295 | `Session().get` not usuable with `with` | {
"avatar_url": "https://avatars.githubusercontent.com/u/392047?v=4",
"events_url": "https://api.github.com/users/ouroborus/events{/privacy}",
"followers_url": "https://api.github.com/users/ouroborus/followers",
"following_url": "https://api.github.com/users/ouroborus/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 5 | 2019-12-20T05:51:50Z | 2021-09-03T00:10:44Z | 2020-01-09T17:50:30Z | NONE | resolved | Summary.
## Expected Result
Able to use `with session.get() as response`, same as `with requests.get() as response`.
## Actual Result
Throws exception:
```
AttributeError: __exit__
```
## Reproduction Steps
```python
import requests
session = requests.Session()
with session.get('http://some.doma... | {
"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/5295/reactions"
} | https://api.github.com/repos/psf/requests/issues/5295/timeline | null | completed | null | null | false | [
"upgrade requests version to >=2.18",
"@songguoxiong 2.9.1 is the latest available via `apt-get`",
"try to install via `pip`?\r\n```bash\r\npython3 -m pip install \"requests>=2.18\"\r\n```",
"Okay, that works.\r\n\r\nAny chance of submitting something recent to get the `apt` repositories updated? I see now th... |
https://api.github.com/repos/psf/requests/issues/5294 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5294/labels{/name} | https://api.github.com/repos/psf/requests/issues/5294/comments | https://api.github.com/repos/psf/requests/issues/5294/events | https://github.com/psf/requests/issues/5294 | 540,695,138 | MDU6SXNzdWU1NDA2OTUxMzg= | 5,294 | requests.get of this URL causes timeout and network failure (router reboots) | {
"avatar_url": "https://avatars.githubusercontent.com/u/3823334?v=4",
"events_url": "https://api.github.com/users/filipmu/events{/privacy}",
"followers_url": "https://api.github.com/users/filipmu/followers",
"following_url": "https://api.github.com/users/filipmu/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2019-12-20T01:57:15Z | 2021-09-02T00:07:29Z | 2020-02-10T05:33:13Z | NONE | resolved | Summary.
when I use requests.get for a particular url it causes a network crash (lose connection and my router reboots). The only return message is a timeout error. Here are two example URLs that cause the issue:
https://images.harrods.com/product/gucci/large-gg-tweed-rajah-tote-bag_000000006389623001.jpg
https://... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5294/reactions"
} | https://api.github.com/repos/psf/requests/issues/5294/timeline | null | completed | null | null | false | [
"Hi @filipmu,\r\n\r\nThe issue with your network card and router aren't related to Requests. Attempting a repro from what you provided correctly returns a read timeout error. It appears Harrods may be modifying server behaviour in some cases to stop web scraping. All non-trivial requests from Requests should be pro... |
https://api.github.com/repos/psf/requests/issues/5293 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5293/labels{/name} | https://api.github.com/repos/psf/requests/issues/5293/comments | https://api.github.com/repos/psf/requests/issues/5293/events | https://github.com/psf/requests/pull/5293 | 539,550,769 | MDExOlB1bGxSZXF1ZXN0MzU0NTA1OTky | 5,293 | fix raise_for_status docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2019-12-18T09:13:37Z | 2023-04-21T15:10:46Z | 2020-05-09T05:08:51Z | CONTRIBUTOR | resolved | the exception isn't stored it's created new each call | {
"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/5293/reactions"
} | https://api.github.com/repos/psf/requests/issues/5293/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5293.diff",
"html_url": "https://github.com/psf/requests/pull/5293",
"merged_at": "2020-05-09T05:08:51Z",
"patch_url": "https://github.com/psf/requests/pull/5293.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5293"
} | true | [
"Hey @graingert, would you mind rebasing onto master. Then I think we should be set."
] |
https://api.github.com/repos/psf/requests/issues/5292 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5292/labels{/name} | https://api.github.com/repos/psf/requests/issues/5292/comments | https://api.github.com/repos/psf/requests/issues/5292/events | https://github.com/psf/requests/pull/5292 | 539,359,284 | MDExOlB1bGxSZXF1ZXN0MzU0MzUwOTA4 | 5,292 | Update example code in README.md | {
"avatar_url": "https://avatars.githubusercontent.com/u/67745?v=4",
"events_url": "https://api.github.com/users/jkooker/events{/privacy}",
"followers_url": "https://api.github.com/users/jkooker/followers",
"following_url": "https://api.github.com/users/jkooker/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 0 | 2019-12-17T23:07:39Z | 2021-08-30T00:06:30Z | 2020-01-09T17:26:43Z | CONTRIBUTOR | resolved | Show the current project description. | {
"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/5292/reactions"
} | https://api.github.com/repos/psf/requests/issues/5292/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5292.diff",
"html_url": "https://github.com/psf/requests/pull/5292",
"merged_at": "2020-01-09T17:26:43Z",
"patch_url": "https://github.com/psf/requests/pull/5292.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5292"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5291 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5291/labels{/name} | https://api.github.com/repos/psf/requests/issues/5291/comments | https://api.github.com/repos/psf/requests/issues/5291/events | https://github.com/psf/requests/issues/5291 | 538,286,965 | MDU6SXNzdWU1MzgyODY5NjU= | 5,291 | Bad error handling in requests in python 3 [During handling of the above exception, another exception occurred] | {
"avatar_url": "https://avatars.githubusercontent.com/u/10574113?v=4",
"events_url": "https://api.github.com/users/Gonzalliz/events{/privacy}",
"followers_url": "https://api.github.com/users/Gonzalliz/followers",
"following_url": "https://api.github.com/users/Gonzalliz/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 6 | 2019-12-16T09:26:09Z | 2022-02-26T06:00:23Z | 2021-11-28T05:34:41Z | NONE | resolved | request library with Python3 handles exceptions in a pretty bad way. In python2 this works fine. I tried to request GitHub using `requests.get('https://api.github.com')` using both python2 installed requests library and python3 installed requests library. They perform differently when the requests are made during netwo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5291/reactions"
} | https://api.github.com/repos/psf/requests/issues/5291/timeline | null | completed | null | null | false | [
"I ran into this problem too, but I found a work-around for prettier output. Notice the \"from None\" in the script here:\r\n\r\n```py\r\nimport requests\r\nurl = 'http://10.0.0.12/example/'\r\ntry:\r\n requests.get(url, timeout=2)\r\nexcept requests.exceptions.RequestException:\r\n raise Exception('Failed to... |
https://api.github.com/repos/psf/requests/issues/5290 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5290/labels{/name} | https://api.github.com/repos/psf/requests/issues/5290/comments | https://api.github.com/repos/psf/requests/issues/5290/events | https://github.com/psf/requests/issues/5290 | 538,282,805 | MDU6SXNzdWU1MzgyODI4MDU= | 5,290 | response data not equal to curl | {
"avatar_url": "https://avatars.githubusercontent.com/u/29194147?v=4",
"events_url": "https://api.github.com/users/k870611/events{/privacy}",
"followers_url": "https://api.github.com/users/k870611/followers",
"following_url": "https://api.github.com/users/k870611/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 4 | 2019-12-16T09:18:09Z | 2021-09-03T00:10:46Z | 2019-12-25T01:12:57Z | NONE | resolved | Summary.
I was to get info from same url, curl return
{ "state_1": "Active", "state_2": "stand-by", "current_active_image": "Image-1", "id": 1}
but requests return
'0121\r\n{ "state_1": "Active", "state_2": "stand-by", "current_active_image": "Image-1", "id": 1}\r\n0\r\n\r\n'
How's the 0121\r\n & \r\n0\r\n\r\... | {
"avatar_url": "https://avatars.githubusercontent.com/u/29194147?v=4",
"events_url": "https://api.github.com/users/k870611/events{/privacy}",
"followers_url": "https://api.github.com/users/k870611/followers",
"following_url": "https://api.github.com/users/k870611/following{/other_user}",
"gists_url": "https:... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5290/reactions"
} | https://api.github.com/repos/psf/requests/issues/5290/timeline | null | completed | null | null | false | [
"The `\\r` and `\\n` are special characters representing a carriage return and a new line respectively. \r\n\r\nA few things with your attached python code:\r\n* In your get request change `url=\"\"` to `url` so it looks like this `requests.get(url, data=None, headers=DEFAULT_HEADER , verify=False)`\r\n* There is n... |
https://api.github.com/repos/psf/requests/issues/5289 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5289/labels{/name} | https://api.github.com/repos/psf/requests/issues/5289/comments | https://api.github.com/repos/psf/requests/issues/5289/events | https://github.com/psf/requests/issues/5289 | 535,863,015 | MDU6SXNzdWU1MzU4NjMwMTU= | 5,289 | Ignore normalization URL | {
"avatar_url": "https://avatars.githubusercontent.com/u/5586195?v=4",
"events_url": "https://api.github.com/users/everping/events{/privacy}",
"followers_url": "https://api.github.com/users/everping/followers",
"following_url": "https://api.github.com/users/everping/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 4 | 2019-12-10T17:01:23Z | 2021-09-02T00:07:22Z | 2020-02-10T05:37:29Z | NONE | resolved | In cases I would like to test Path Traversal vulnerabilities in web applications, the target URL is usually `https://example.com/../../path`. Using the GET method in requests, that URL will be normalized as below. Consequently, this will lead to unintended results in the test.
```
r = requests.get('https://example.... | {
"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": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/psf/requests/issues/5289/reactions"
} | https://api.github.com/repos/psf/requests/issues/5289/timeline | null | completed | null | null | false | [
"@EDjur Thank you for your information. Do you know a workaround to resolve this?",
"Try using prepared request\r\n\r\n```\r\nurl = \"http://example.com/../something.txt\"\r\ns = requests.Session()\r\nreq = requests.Request(method='POST' ,url=url, headers=headers, data=data)\r\nprep = req.prepare()\r\nprep.url = ... |
https://api.github.com/repos/psf/requests/issues/5288 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5288/labels{/name} | https://api.github.com/repos/psf/requests/issues/5288/comments | https://api.github.com/repos/psf/requests/issues/5288/events | https://github.com/psf/requests/issues/5288 | 534,165,316 | MDU6SXNzdWU1MzQxNjUzMTY= | 5,288 | 2.python-requests.org can't be reached | {
"avatar_url": "https://avatars.githubusercontent.com/u/29210237?v=4",
"events_url": "https://api.github.com/users/goodspark/events{/privacy}",
"followers_url": "https://api.github.com/users/goodspark/followers",
"following_url": "https://api.github.com/users/goodspark/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2019-12-06T17:30:57Z | 2021-09-03T00:10:48Z | 2019-12-06T17:39:41Z | NONE | resolved | https://2.python-requests.org/ isn't loading on my browser, via curl, or Down Detector (https://www.isitdownrightnow.com/2.python-requests.org.html).
## Expected Result
Site to load
## Actual Result
```
This site can’t be reached2.python-requests.org’s server IP address could not be found.
```
What happened ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/29210237?v=4",
"events_url": "https://api.github.com/users/goodspark/events{/privacy}",
"followers_url": "https://api.github.com/users/goodspark/followers",
"following_url": "https://api.github.com/users/goodspark/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/5288/reactions"
} | https://api.github.com/repos/psf/requests/issues/5288/timeline | null | completed | null | null | false | [
"It's back now for me."
] |
https://api.github.com/repos/psf/requests/issues/5287 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5287/labels{/name} | https://api.github.com/repos/psf/requests/issues/5287/comments | https://api.github.com/repos/psf/requests/issues/5287/events | https://github.com/psf/requests/pull/5287 | 533,920,687 | MDExOlB1bGxSZXF1ZXN0MzQ5OTA4NDk3 | 5,287 | respect no_proxy settings | {
"avatar_url": "https://avatars.githubusercontent.com/u/12958815?v=4",
"events_url": "https://api.github.com/users/milahu/events{/privacy}",
"followers_url": "https://api.github.com/users/milahu/followers",
"following_url": "https://api.github.com/users/milahu/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2019-12-06T11:54:56Z | 2021-08-30T00:06:32Z | 2019-12-06T12:05:16Z | NONE | resolved | fix issue #4871 | {
"avatar_url": "https://avatars.githubusercontent.com/u/12958815?v=4",
"events_url": "https://api.github.com/users/milahu/events{/privacy}",
"followers_url": "https://api.github.com/users/milahu/followers",
"following_url": "https://api.github.com/users/milahu/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/5287/reactions"
} | https://api.github.com/repos/psf/requests/issues/5287/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5287.diff",
"html_url": "https://github.com/psf/requests/pull/5287",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5287.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5287"
} | true | [
"test fails\r\n```\r\n def test_bypass(self, url):\r\n> assert get_environ_proxies(url, no_proxy=None) == {}\r\nE AssertionError: assert {'__bypass_proxies': True} == {}\r\nE Left contains more items:\r\nE {'__bypass_proxies': True}\r\nE Use -v to get the full diff\r\ntests/te... |
https://api.github.com/repos/psf/requests/issues/5286 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5286/labels{/name} | https://api.github.com/repos/psf/requests/issues/5286/comments | https://api.github.com/repos/psf/requests/issues/5286/events | https://github.com/psf/requests/pull/5286 | 533,813,185 | MDExOlB1bGxSZXF1ZXN0MzQ5ODE5Nzg2 | 5,286 | If they do't have same length, there is no need to create two dict to compare. | {
"avatar_url": "https://avatars.githubusercontent.com/u/39522695?v=4",
"events_url": "https://api.github.com/users/sunsongpy/events{/privacy}",
"followers_url": "https://api.github.com/users/sunsongpy/followers",
"following_url": "https://api.github.com/users/sunsongpy/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 4 | 2019-12-06T08:16:31Z | 2021-08-30T00:06:31Z | 2019-12-09T07:23:50Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5286/reactions"
} | https://api.github.com/repos/psf/requests/issues/5286/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5286.diff",
"html_url": "https://github.com/psf/requests/pull/5286",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5286.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5286"
} | true | [
"Hi @sunsongpy, checks like [this](https://github.com/python/cpython/blob/109fc2792a490ee5cd8a423e17d415fbdedec5c8/Objects/dictobject.c#L2751) are baked into the base objects, so there’s no need for us to reimplement it here. Thanks for the suggestion! ",
"Apologies, I glanced over the PR too quickly. If you can ... | |
https://api.github.com/repos/psf/requests/issues/5285 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5285/labels{/name} | https://api.github.com/repos/psf/requests/issues/5285/comments | https://api.github.com/repos/psf/requests/issues/5285/events | https://github.com/psf/requests/pull/5285 | 533,783,975 | MDExOlB1bGxSZXF1ZXN0MzQ5Nzk1OTcy | 5,285 | Using 'quote' instead 'quote_plus' | {
"avatar_url": "https://avatars.githubusercontent.com/u/5653512?v=4",
"events_url": "https://api.github.com/users/shivareddyiirs/events{/privacy}",
"followers_url": "https://api.github.com/users/shivareddyiirs/followers",
"following_url": "https://api.github.com/users/shivareddyiirs/following{/other_user}",
... | [] | closed | true | null | [] | null | 11 | 2019-12-06T06:58:12Z | 2021-08-29T00:07:06Z | 2020-02-18T06:18:23Z | NONE | resolved | Modified call to urlencode to change its default behavior.
In place of using 'quote_plus' it uses 'quote' now.
fixes #5170
edit: for python 2 no change | {
"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/5285/reactions"
} | https://api.github.com/repos/psf/requests/issues/5285/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5285.diff",
"html_url": "https://github.com/psf/requests/pull/5285",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5285.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5285"
} | true | [
"Works fine in python 3 but not in python 2. \r\n",
"For python 2 its behavior is intact. ",
"@nateprewitt ,\r\nHi can you review it , It has very minimal changes. ",
"> Thanks for the patch :)\r\n> Do you think you could you add a simple test for that part of the code?\r\n\r\nI have never written test earli... |
https://api.github.com/repos/psf/requests/issues/5284 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5284/labels{/name} | https://api.github.com/repos/psf/requests/issues/5284/comments | https://api.github.com/repos/psf/requests/issues/5284/events | https://github.com/psf/requests/issues/5284 | 533,552,145 | MDU6SXNzdWU1MzM1NTIxNDU= | 5,284 | POST with redirection becomes GET | {
"avatar_url": "https://avatars.githubusercontent.com/u/2096474?v=4",
"events_url": "https://api.github.com/users/danilobellini/events{/privacy}",
"followers_url": "https://api.github.com/users/danilobellini/followers",
"following_url": "https://api.github.com/users/danilobellini/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 8 | 2019-12-05T19:35:30Z | 2021-09-02T00:07:28Z | 2020-02-10T05:41:40Z | NONE | resolved | ## Expected Result
HTTP 301 redirection of a POST request should either send a POST to the new target URL, or return the HTTP 301 without redirecting at all.
## Actual Result
It's redirecting to the new `Location`, but replacing the method by GET.
## Reproduction Steps
```python
import requests
resp = ... | {
"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/5284/reactions"
} | https://api.github.com/repos/psf/requests/issues/5284/timeline | null | completed | null | null | false | [
"This is expected behavior. Blame browser implementations of 301 redirects: https://tools.ietf.org/html/rfc7231#section-6.4.2\r\n\r\nThe status code to perform a permanent redirect without changing POST to GET is 308.",
"RFC7231 tells that the client *MAY* change the method, I think that's not a strict requiremen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.