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/5798 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5798/labels{/name} | https://api.github.com/repos/psf/requests/issues/5798/comments | https://api.github.com/repos/psf/requests/issues/5798/events | https://github.com/psf/requests/issues/5798 | 865,744,201 | MDU6SXNzdWU4NjU3NDQyMDE= | 5,798 | `resuests.post` working in JupyterLab but failing in python script | {
"avatar_url": "https://avatars.githubusercontent.com/u/11691571?v=4",
"events_url": "https://api.github.com/users/msank00/events{/privacy}",
"followers_url": "https://api.github.com/users/msank00/followers",
"following_url": "https://api.github.com/users/msank00/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2021-04-23T05:02:00Z | 2021-08-27T00:08:25Z | 2021-04-23T11:04:45Z | NONE | resolved | # Summary.
Facing an unusual behavior. `requests.post` working in JupyterLab notebook for the below code snippet. But same is failing if running in script. Saw similar python `requests` issue in github, but people mistakenly posted it in Javascript `request` package github issue page [here](https://github.com/reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5798/reactions"
} | https://api.github.com/repos/psf/requests/issues/5798/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/5797 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5797/labels{/name} | https://api.github.com/repos/psf/requests/issues/5797/comments | https://api.github.com/repos/psf/requests/issues/5797/events | https://github.com/psf/requests/pull/5797 | 864,683,496 | MDExOlB1bGxSZXF1ZXN0NjIwODc1NzM2 | 5,797 | Switch LGPL'd chardet for MIT licensed charset_normalizer | {
"avatar_url": "https://avatars.githubusercontent.com/u/34150?v=4",
"events_url": "https://api.github.com/users/ashb/events{/privacy}",
"followers_url": "https://api.github.com/users/ashb/followers",
"following_url": "https://api.github.com/users/ashb/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 105 | 2021-04-22T08:25:50Z | 2021-10-26T15:05:48Z | 2021-07-06T23:55:03Z | CONTRIBUTOR | resolved | At least for Python 3 -- charset_normalizer doesn't support Python2, so for that chardet is still used -- this means the "have chardet" path is also still tested.
Although using the (non-vendored) chardet library is fine for requests itself, but using a LGPL dependency the story is a lot less clear for downstream pr... | {
"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": 19,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 1,
"laugh": 0,
"rocket": 0,
"total_count": 20,
"url": "https://api.github.com/repos/psf/requests/issues/5797/reactions"
} | https://api.github.com/repos/psf/requests/issues/5797/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5797.diff",
"html_url": "https://github.com/psf/requests/pull/5797",
"merged_at": "2021-07-06T23:55:02Z",
"patch_url": "https://github.com/psf/requests/pull/5797.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5797"
} | true | [
"That looks like an easy fix to a long-standing problem and licencing problem. It would be really great if this change gets merged and released.\n\nFor the maintainers of requests - I know You have limited time for testing but If you think there is any need for extra testing, I am happy to help to get it approved.... |
https://api.github.com/repos/psf/requests/issues/5796 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5796/labels{/name} | https://api.github.com/repos/psf/requests/issues/5796/comments | https://api.github.com/repos/psf/requests/issues/5796/events | https://github.com/psf/requests/issues/5796 | 861,968,459 | MDU6SXNzdWU4NjE5Njg0NTk= | 5,796 | Request.params causes invalid response with OpenID authorize call with response_type=code | {
"avatar_url": "https://avatars.githubusercontent.com/u/22151742?v=4",
"events_url": "https://api.github.com/users/caffeinatedMike/events{/privacy}",
"followers_url": "https://api.github.com/users/caffeinatedMike/followers",
"following_url": "https://api.github.com/users/caffeinatedMike/following{/other_user}"... | [] | closed | true | null | [] | null | 5 | 2021-04-19T21:46:34Z | 2021-11-26T03:00:37Z | 2021-08-28T02:43:52Z | NONE | resolved | When attempting to call an OpenID authorize endpoint with a response_type of "code" the `params` property seems to be causing the calls to fail.
## Expected Result
The `params` should properly supply the OpenID-related fields as url parameters, so the authorization can proceed
## Actual Result
The `params` ... | {
"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/5796/reactions"
} | https://api.github.com/repos/psf/requests/issues/5796/timeline | null | completed | null | null | false | [
"What do the _request_ url's look like? And what do they look like initially? I.e., what is in `[req.url for req in resp.history]` and does it match what you build yourself? What's different there? Also we're using the standard library to encode the query parameters. Does your server require a specific ordering fo... |
https://api.github.com/repos/psf/requests/issues/5795 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5795/labels{/name} | https://api.github.com/repos/psf/requests/issues/5795/comments | https://api.github.com/repos/psf/requests/issues/5795/events | https://github.com/psf/requests/pull/5795 | 860,150,203 | MDExOlB1bGxSZXF1ZXN0NjE3MTA1NzIx | 5,795 | Replace getattr(...) is not None with hasattr(...) | {
"avatar_url": "https://avatars.githubusercontent.com/u/59511469?v=4",
"events_url": "https://api.github.com/users/takos22/events{/privacy}",
"followers_url": "https://api.github.com/users/takos22/followers",
"following_url": "https://api.github.com/users/takos22/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2021-04-16T20:35:39Z | 2021-08-27T00:08:43Z | 2021-04-16T20:38:19Z | NONE | resolved | Replace `getattr(body, 'tell', None) is not None` with `hasattr(body, 'tell')` | {
"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/5795/reactions"
} | https://api.github.com/repos/psf/requests/issues/5795/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5795.diff",
"html_url": "https://github.com/psf/requests/pull/5795",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5795.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5795"
} | true | [
"Hi @takos22,\r\n\r\nThis syntax is intentional. You can read the reasoning [here](https://hynek.me/articles/hasattr/). ",
"Ok my bad, didn't know about that issue with ``hasattr``. Thanks for the info and for the fast response."
] |
https://api.github.com/repos/psf/requests/issues/5794 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5794/labels{/name} | https://api.github.com/repos/psf/requests/issues/5794/comments | https://api.github.com/repos/psf/requests/issues/5794/events | https://github.com/psf/requests/issues/5794 | 859,870,644 | MDU6SXNzdWU4NTk4NzA2NDQ= | 5,794 | response.json() raises inconsistent exception type | {
"avatar_url": "https://avatars.githubusercontent.com/u/675558?v=4",
"events_url": "https://api.github.com/users/rowanseymour/events{/privacy}",
"followers_url": "https://api.github.com/users/rowanseymour/followers",
"following_url": "https://api.github.com/users/rowanseymour/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 10 | 2021-04-16T14:32:24Z | 2021-10-24T16:00:30Z | 2021-07-26T15:56:44Z | NONE | resolved | There are some comments about this on https://github.com/psf/requests/issues/4842 but I think it warrants its own issue.
If `simplejson` is present in the environment, the library uses it so `.json()` returns `simplejson.errors.JSONDecodeError` rather than `json.decoder.JSONDecodeError`
If I'm writing a library 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": 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/5794/reactions"
} | https://api.github.com/repos/psf/requests/issues/5794/timeline | null | completed | null | null | false | [
"Maybe the simplest solution which wouldn't break existing code is to provide a `requests.JSONDecodeError` which aliases whatever exception type will be thrown, and calling code should always use that.",
"Any update :)?",
"I don't see a easy way to do this without breaking existing code for other developers bec... |
https://api.github.com/repos/psf/requests/issues/5793 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5793/labels{/name} | https://api.github.com/repos/psf/requests/issues/5793/comments | https://api.github.com/repos/psf/requests/issues/5793/events | https://github.com/psf/requests/issues/5793 | 856,498,008 | MDU6SXNzdWU4NTY0OTgwMDg= | 5,793 | 当响应头中有空格时,response.headers 会被截断 | {
"avatar_url": "https://avatars.githubusercontent.com/u/26384334?v=4",
"events_url": "https://api.github.com/users/Emptytao/events{/privacy}",
"followers_url": "https://api.github.com/users/Emptytao/followers",
"following_url": "https://api.github.com/users/Emptytao/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2021-04-13T02:02:35Z | 2021-08-27T00:08:26Z | 2021-04-14T00:27:25Z | NONE | resolved | Summary.
## 这是完整的响应数据包

## 这是response.headers获取的数据包

| {
"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/5793/reactions"
} | https://api.github.com/repos/psf/requests/issues/5793/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5792 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5792/labels{/name} | https://api.github.com/repos/psf/requests/issues/5792/comments | https://api.github.com/repos/psf/requests/issues/5792/events | https://github.com/psf/requests/pull/5792 | 855,382,217 | MDExOlB1bGxSZXF1ZXN0NjEzMTI5MTYz | 5,792 | Short-circuit raise_for_status code for statuses that will not raise … | {
"avatar_url": "https://avatars.githubusercontent.com/u/383875?v=4",
"events_url": "https://api.github.com/users/ptmcg/events{/privacy}",
"followers_url": "https://api.github.com/users/ptmcg/followers",
"following_url": "https://api.github.com/users/ptmcg/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2021-04-11T19:00:47Z | 2021-12-01T16:06:02Z | 2021-09-02T15:49:30Z | NONE | resolved | …an exception
This short-circuit code will skip the steps for decoding response.reason if the status code is not an exception-raising status code. | {
"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/5792/reactions"
} | https://api.github.com/repos/psf/requests/issues/5792/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5792.diff",
"html_url": "https://github.com/psf/requests/pull/5792",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5792.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5792"
} | true | [
"Decoding the `reason` certainly isn't that expensive in reality. Why add this complexity here? What does this gain anybody?",
"Early exit from an exception-raising routine, when it can be quickly determined that no exception will be raised, would be considered by some to be less complexity, not more. At run-time... |
https://api.github.com/repos/psf/requests/issues/5791 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5791/labels{/name} | https://api.github.com/repos/psf/requests/issues/5791/comments | https://api.github.com/repos/psf/requests/issues/5791/events | https://github.com/psf/requests/pull/5791 | 854,957,457 | MDExOlB1bGxSZXF1ZXN0NjEyODE1Nzcy | 5,791 | Grammar fix in description | {
"avatar_url": "https://avatars.githubusercontent.com/u/20052700?v=4",
"events_url": "https://api.github.com/users/cocobennett/events{/privacy}",
"followers_url": "https://api.github.com/users/cocobennett/followers",
"following_url": "https://api.github.com/users/cocobennett/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2021-04-10T02:01:13Z | 2021-08-27T00:08:41Z | 2021-04-11T16:25:49Z | CONTRIBUTOR | resolved | Fixes https://github.com/psf/requests/issues/5785
Could not find the second error as described `This is also a problem on the pypi page under the project description.` | {
"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/5791/reactions"
} | https://api.github.com/repos/psf/requests/issues/5791/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5791.diff",
"html_url": "https://github.com/psf/requests/pull/5791",
"merged_at": "2021-04-11T16:25:49Z",
"patch_url": "https://github.com/psf/requests/pull/5791.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5791"
} | true | [
"Thank you!",
"@cocobennett,\r\nTo answer this-\r\n> Could not find the second error as described This is also a problem on the pypi page under the project description.\r\n\r\nThis would essentially be fixed by your patch as the `long_description` picked up by PyPI page to populate the description section is set ... |
https://api.github.com/repos/psf/requests/issues/5790 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5790/labels{/name} | https://api.github.com/repos/psf/requests/issues/5790/comments | https://api.github.com/repos/psf/requests/issues/5790/events | https://github.com/psf/requests/issues/5790 | 854,852,352 | MDU6SXNzdWU4NTQ4NTIzNTI= | 5,790 | use new format model | {
"avatar_url": "https://avatars.githubusercontent.com/u/60766355?v=4",
"events_url": "https://api.github.com/users/EmadDeve20/events{/privacy}",
"followers_url": "https://api.github.com/users/EmadDeve20/followers",
"following_url": "https://api.github.com/users/EmadDeve20/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2021-04-09T21:02:59Z | 2021-08-27T00:08:27Z | 2021-04-10T00:13:52Z | NONE | resolved | Hi.
I think if we using a format like:
```print(f"{name}")```
is better than :
```print("{}".format(name))```
No?
if I right can I fix it? | {
"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/5790/reactions"
} | https://api.github.com/repos/psf/requests/issues/5790/timeline | null | completed | null | null | false | [
"This library still supports Python 2.7 and so the examples should work across all versions"
] |
https://api.github.com/repos/psf/requests/issues/5789 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5789/labels{/name} | https://api.github.com/repos/psf/requests/issues/5789/comments | https://api.github.com/repos/psf/requests/issues/5789/events | https://github.com/psf/requests/issues/5789 | 853,358,939 | MDU6SXNzdWU4NTMzNTg5Mzk= | 5,789 | User guide for how to provide timeouts | {
"avatar_url": "https://avatars.githubusercontent.com/u/182122?v=4",
"events_url": "https://api.github.com/users/torotil/events{/privacy}",
"followers_url": "https://api.github.com/users/torotil/followers",
"following_url": "https://api.github.com/users/torotil/following{/other_user}",
"gists_url": "https://... | [] | closed | false | null | [] | null | 11 | 2021-04-08T11:14:40Z | 2024-02-15T14:24:58Z | 2024-02-15T14:24:39Z | NONE | null | [As](https://github.com/psf/requests/issues/5637) [many](https://github.com/psf/requests/issues/3054) [others](https://github.com/psf/requests/issues/2856) [before](https://github.com/psf/requests/issues/2508) [me](https://github.com/psf/requests/issues/2011) I have the need to set a default timeout for all requests (b... | {
"avatar_url": "https://avatars.githubusercontent.com/u/182122?v=4",
"events_url": "https://api.github.com/users/torotil/events{/privacy}",
"followers_url": "https://api.github.com/users/torotil/followers",
"following_url": "https://api.github.com/users/torotil/following{/other_user}",
"gists_url": "https://... | {
"+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/5789/reactions"
} | https://api.github.com/repos/psf/requests/issues/5789/timeline | null | completed | null | null | false | [
"All of your issues describe providing one timeout for a session rather than how to provide timeouts for requests.\r\n\r\nIt sounds like you thus want to add an example of a recipe to the documentation that shows people how to create their own session object that accepts a timeout and passes that on to every reques... |
https://api.github.com/repos/psf/requests/issues/5788 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5788/labels{/name} | https://api.github.com/repos/psf/requests/issues/5788/comments | https://api.github.com/repos/psf/requests/issues/5788/events | https://github.com/psf/requests/issues/5788 | 851,569,425 | MDU6SXNzdWU4NTE1Njk0MjU= | 5,788 | SSL requests error in version 2.25.1 (upgraded from version 2.24.0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/76916440?v=4",
"events_url": "https://api.github.com/users/M-Stenzel/events{/privacy}",
"followers_url": "https://api.github.com/users/M-Stenzel/followers",
"following_url": "https://api.github.com/users/M-Stenzel/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2021-04-06T15:57:57Z | 2021-08-27T00:08:28Z | 2021-04-08T22:17:16Z | NONE | resolved | Dear team,
I am using requests for the searx search engine (https://github.com/searx/searx)
The script below throws this error and I do not know whether this is related to python-requests or to searx or my specific installation?
System is opensuse, python 3.6.12. latest requests release (2.25.1).
This (orig... | {
"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/5788/reactions"
} | https://api.github.com/repos/psf/requests/issues/5788/timeline | null | completed | null | null | false | [
"Did you downgrade to the prior working version of requests? If not. Please try that. I doubt you'll see a difference here."
] |
https://api.github.com/repos/psf/requests/issues/5787 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5787/labels{/name} | https://api.github.com/repos/psf/requests/issues/5787/comments | https://api.github.com/repos/psf/requests/issues/5787/events | https://github.com/psf/requests/issues/5787 | 850,792,591 | MDU6SXNzdWU4NTA3OTI1OTE= | 5,787 | SOCKS5 Timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/12672984?v=4",
"events_url": "https://api.github.com/users/CollabSensei/events{/privacy}",
"followers_url": "https://api.github.com/users/CollabSensei/followers",
"following_url": "https://api.github.com/users/CollabSensei/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2021-04-05T23:08:21Z | 2021-08-27T00:08:28Z | 2021-04-06T11:22:58Z | NONE | resolved | Summary.
## Expected Result
Successful HTTP post via SOCKS5 Proxy. The web service takes about 2-3 minutes to respond. When connecting directly, without SOCKS5, it works fine. Using a Dante Socks5 proxy. Dante logs indicate that the client closed the connection.
## Actual Result
Traceback (most recent call ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5787/reactions"
} | https://api.github.com/repos/psf/requests/issues/5787/timeline | null | completed | null | null | false | [
"We rely on urllib3 for socks proxying and you've already opened https://github.com/urllib3/urllib3/issues/2195 so I'm closing this"
] |
https://api.github.com/repos/psf/requests/issues/5786 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5786/labels{/name} | https://api.github.com/repos/psf/requests/issues/5786/comments | https://api.github.com/repos/psf/requests/issues/5786/events | https://github.com/psf/requests/issues/5786 | 850,624,739 | MDU6SXNzdWU4NTA2MjQ3Mzk= | 5,786 | Requests don't work within a celery async task | {
"avatar_url": "https://avatars.githubusercontent.com/u/16038063?v=4",
"events_url": "https://api.github.com/users/augustosamame/events{/privacy}",
"followers_url": "https://api.github.com/users/augustosamame/followers",
"following_url": "https://api.github.com/users/augustosamame/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 5 | 2021-04-05T20:01:56Z | 2021-08-27T00:08:29Z | 2021-04-05T21:04:02Z | NONE | resolved | When running this in Django shell:
```
import requests
response = requests.get('https://auth.myfanpark.com/health')
```
I get a valid response
The same 2 lines when ran as async celery job in the same Django project:
```
import requests
response = requests.get('https://auth.myfanpark.com/health')
```
... | {
"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/5786/reactions"
} | https://api.github.com/repos/psf/requests/issues/5786/timeline | null | completed | null | null | false | [
"Can we get the full traceback? One line of the traceback isn't useful for figuring out the issue here.",
"Also, I use requests in Celery and it works fine. So I'm pretty close to closing this.",
"I will have a stack trace soon.\n\nOn Mon, 5 Apr 2021 at 15:31, Ian Stapleton Cordasco <\n***@***.***> wrote:\n\n> ... |
https://api.github.com/repos/psf/requests/issues/5785 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5785/labels{/name} | https://api.github.com/repos/psf/requests/issues/5785/comments | https://api.github.com/repos/psf/requests/issues/5785/events | https://github.com/psf/requests/issues/5785 | 849,979,181 | MDU6SXNzdWU4NDk5NzkxODE= | 5,785 | Grammar error in GitHub description | {
"avatar_url": "https://avatars.githubusercontent.com/u/55339220?v=4",
"events_url": "https://api.github.com/users/saltedcoffii/events{/privacy}",
"followers_url": "https://api.github.com/users/saltedcoffii/followers",
"following_url": "https://api.github.com/users/saltedcoffii/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 0 | 2021-04-04T23:01:04Z | 2021-08-27T00:08:27Z | 2021-04-11T16:25:49Z | NONE | resolved | The GitHub description reads as follows: "A simple, yet elegant HTTP library."
It should be: "A simple, yet elegant, HTTP library."
This is also a problem on the pypi page under the project description. | {
"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/5785/reactions"
} | https://api.github.com/repos/psf/requests/issues/5785/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5784 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5784/labels{/name} | https://api.github.com/repos/psf/requests/issues/5784/comments | https://api.github.com/repos/psf/requests/issues/5784/events | https://github.com/psf/requests/pull/5784 | 846,374,415 | MDExOlB1bGxSZXF1ZXN0NjA1NDc0ODkw | 5,784 | fix typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/50807669?v=4",
"events_url": "https://api.github.com/users/DavidKimDY/events{/privacy}",
"followers_url": "https://api.github.com/users/DavidKimDY/followers",
"following_url": "https://api.github.com/users/DavidKimDY/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2021-03-31T10:25:43Z | 2021-08-27T00:08:44Z | 2021-03-31T11:32:39Z | NONE | resolved | fix typo | {
"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/5784/reactions"
} | https://api.github.com/repos/psf/requests/issues/5784/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5784.diff",
"html_url": "https://github.com/psf/requests/pull/5784",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5784.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5784"
} | true | [
"Thank you for your contribution! Unfortunately, we didn't write the content of that comment and don't maintain the comments in that file."
] |
https://api.github.com/repos/psf/requests/issues/5783 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5783/labels{/name} | https://api.github.com/repos/psf/requests/issues/5783/comments | https://api.github.com/repos/psf/requests/issues/5783/events | https://github.com/psf/requests/pull/5783 | 843,692,355 | MDExOlB1bGxSZXF1ZXN0NjAzMDQwNjY5 | 5,783 | Add support for brotli decoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/4992947?v=4",
"events_url": "https://api.github.com/users/dilyanpalauzov/events{/privacy}",
"followers_url": "https://api.github.com/users/dilyanpalauzov/followers",
"following_url": "https://api.github.com/users/dilyanpalauzov/following{/other_user}",
... | [] | closed | true | null | [] | {
"closed_at": "2021-08-25T21:25:16Z",
"closed_issues": 3,
"created_at": "2021-05-20T21:01:54Z",
"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/users... | 8 | 2021-03-29T18:53:59Z | 2021-10-05T14:19:31Z | 2021-07-07T13:16:28Z | CONTRIBUTOR | resolved | When the `brotli` or `brotlicffi` packages are installed, `urllib3.util.make_headers()` inserts ',br' in the Accept-Encoding header and decodes br from the answers. | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5783/reactions"
} | https://api.github.com/repos/psf/requests/issues/5783/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5783.diff",
"html_url": "https://github.com/psf/requests/pull/5783",
"merged_at": "2021-07-07T13:16:28Z",
"patch_url": "https://github.com/psf/requests/pull/5783.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5783"
} | true | [
"Should that not be something more along the lines of...\r\n\r\n```python\r\nmake_headers(accept_encoding=True).get('accept-encoding', ', '.join(('gzip', 'deflate'))),\r\n```\r\n\r\nas a 'fail safe'",
"You can change it as you want, as long Requests sends transparently `Accept-Encoding: br`.\r\n\r\n.join is an ov... |
https://api.github.com/repos/psf/requests/issues/5782 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5782/labels{/name} | https://api.github.com/repos/psf/requests/issues/5782/comments | https://api.github.com/repos/psf/requests/issues/5782/events | https://github.com/psf/requests/issues/5782 | 841,548,138 | MDU6SXNzdWU4NDE1NDgxMzg= | 5,782 | AttributeError: type object 'Retry' has no attribute 'other' | {
"avatar_url": "https://avatars.githubusercontent.com/u/23280179?v=4",
"events_url": "https://api.github.com/users/dkbarn/events{/privacy}",
"followers_url": "https://api.github.com/users/dkbarn/followers",
"following_url": "https://api.github.com/users/dkbarn/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2021-03-26T03:08:14Z | 2021-08-27T00:08:29Z | 2021-03-26T18:30:08Z | NONE | resolved | I am using requests 2.25.1 with urllib3 1.26.3. Occasionally I get the following stacktrace. Note that the program is multi-threaded but I have all calls to ```session.get()``` inside a ```with threading.Lock()``` so there should not be concurrent access to a ```requests.Session``` object.
```
Traceback (most recen... | {
"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/5782/reactions"
} | https://api.github.com/repos/psf/requests/issues/5782/timeline | null | completed | null | null | false | [
"So the fundamental problem here is that `ConnectionResetError: [Errno 104] Connection reset by peer` while handling that exception we're running into a different exception that's unexpected.\r\n\r\nAll of that said, you have discarded the issue template intended to help us help you. I'm closing this. If you can pr... |
https://api.github.com/repos/psf/requests/issues/5781 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5781/labels{/name} | https://api.github.com/repos/psf/requests/issues/5781/comments | https://api.github.com/repos/psf/requests/issues/5781/events | https://github.com/psf/requests/issues/5781 | 837,455,034 | MDU6SXNzdWU4Mzc0NTUwMzQ= | 5,781 | Why not support Selector or BeautifulSoup to the model of Response like scrapy? | {
"avatar_url": "https://avatars.githubusercontent.com/u/67509508?v=4",
"events_url": "https://api.github.com/users/fango6/events{/privacy}",
"followers_url": "https://api.github.com/users/fango6/followers",
"following_url": "https://api.github.com/users/fango6/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 0 | 2021-03-22T08:23:14Z | 2021-08-27T00:08:29Z | 2021-03-22T09:07:53Z | NONE | resolved | easily parse the response data, such as
```python
response = requests.get("https://github.com", verify=False)
title = response.xpath("//head/title/text()").get()
print(title)
``` | {
"avatar_url": "https://avatars.githubusercontent.com/u/67509508?v=4",
"events_url": "https://api.github.com/users/fango6/events{/privacy}",
"followers_url": "https://api.github.com/users/fango6/followers",
"following_url": "https://api.github.com/users/fango6/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/5781/reactions"
} | https://api.github.com/repos/psf/requests/issues/5781/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5780 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5780/labels{/name} | https://api.github.com/repos/psf/requests/issues/5780/comments | https://api.github.com/repos/psf/requests/issues/5780/events | https://github.com/psf/requests/pull/5780 | 836,264,546 | MDExOlB1bGxSZXF1ZXN0NTk2Nzk2NjAy | 5,780 | Update setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/42208098?v=4",
"events_url": "https://api.github.com/users/armangido/events{/privacy}",
"followers_url": "https://api.github.com/users/armangido/followers",
"following_url": "https://api.github.com/users/armangido/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2021-03-19T18:38:13Z | 2021-08-27T00:08:44Z | 2021-03-19T22:09:29Z | CONTRIBUTOR | resolved | Removed `import re` as unnecessary import | {
"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/5780/reactions"
} | https://api.github.com/repos/psf/requests/issues/5780/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5780.diff",
"html_url": "https://github.com/psf/requests/pull/5780",
"merged_at": "2021-03-19T22:09:29Z",
"patch_url": "https://github.com/psf/requests/pull/5780.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5780"
} | true | [
"Thank you! 🎉 "
] |
https://api.github.com/repos/psf/requests/issues/5779 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5779/labels{/name} | https://api.github.com/repos/psf/requests/issues/5779/comments | https://api.github.com/repos/psf/requests/issues/5779/events | https://github.com/psf/requests/pull/5779 | 836,016,285 | MDExOlB1bGxSZXF1ZXN0NTk2NTg3NDA4 | 5,779 | sets a default timeout and resolves #3070 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3444196?v=4",
"events_url": "https://api.github.com/users/grintor/events{/privacy}",
"followers_url": "https://api.github.com/users/grintor/followers",
"following_url": "https://api.github.com/users/grintor/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
"name": "Breaking API Change",
"node_id": "MDU6TGFiZWw0NDUwMTI1Ng==",
"url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change"
}
] | open | false | null | [] | null | 5 | 2021-03-19T13:50:35Z | 2022-01-03T15:05:49Z | null | NONE | null | This sets a (very high) default timeout which is guaranteed not to create any breaking changes while also fixing the longstanding issue of requests possibly hanging indefinitely in any script where the dev forgot to include a timeout. I would like to urge this commit make it into the next minor release version with the... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 4,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/psf/requests/issues/5779/reactions"
} | https://api.github.com/repos/psf/requests/issues/5779/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5779.diff",
"html_url": "https://github.com/psf/requests/pull/5779",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5779.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5779"
} | true | [
"I'd vote for going straight to whatever timeouts browsers have as the default and skipping the intermediate step your have here, but anything will be an important improvement.",
"There are - unfortunately - people who've been made to feel unsafe contributing on issue #3070 who have emailed me in the past to urge... |
https://api.github.com/repos/psf/requests/issues/5778 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5778/labels{/name} | https://api.github.com/repos/psf/requests/issues/5778/comments | https://api.github.com/repos/psf/requests/issues/5778/events | https://github.com/psf/requests/pull/5778 | 835,656,016 | MDExOlB1bGxSZXF1ZXN0NTk2MjgxNzQx | 5,778 | Cleanup redundant allow_redirects kwargs in api | {
"avatar_url": "https://avatars.githubusercontent.com/u/12206611?v=4",
"events_url": "https://api.github.com/users/laggardkernel/events{/privacy}",
"followers_url": "https://api.github.com/users/laggardkernel/followers",
"following_url": "https://api.github.com/users/laggardkernel/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 0 | 2021-03-19T07:38:02Z | 2021-08-27T00:08:44Z | 2021-03-19T16:44:20Z | CONTRIBUTOR | resolved | Not a big problem, just remove the redundant param `allow_redirects` in API `get()` and `options()`. Cause the underlying calling `Session.request()` has param `allow_redirects` defaults to `True`.
Only leaves
```python
def head(url, **kwargs):
kwargs.setdefault('allow_redirects', False)
return request... | {
"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/5778/reactions"
} | https://api.github.com/repos/psf/requests/issues/5778/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5778.diff",
"html_url": "https://github.com/psf/requests/pull/5778",
"merged_at": "2021-03-19T16:44:20Z",
"patch_url": "https://github.com/psf/requests/pull/5778.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5778"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5777 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5777/labels{/name} | https://api.github.com/repos/psf/requests/issues/5777/comments | https://api.github.com/repos/psf/requests/issues/5777/events | https://github.com/psf/requests/pull/5777 | 834,555,224 | MDExOlB1bGxSZXF1ZXN0NTk1MzQ2OTcz | 5,777 | quickstart.rst: r.json() can raise JSONDecodeError on Py3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3709715?v=4",
"events_url": "https://api.github.com/users/cclauss/events{/privacy}",
"followers_url": "https://api.github.com/users/cclauss/followers",
"following_url": "https://api.github.com/users/cclauss/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2021-03-18T09:06:28Z | 2021-08-27T00:08:45Z | 2021-03-18T14:36:35Z | CONTRIBUTOR | resolved | % `python2 -c "import requests ; requests.get('https://github.com').json()"`
% `python3 -c "import requests ; requests.get('https://github.com').json()"`
Python | Simplejson is installed | Simplejson is NOT installed
--- | --- | ---
Python 2 | simplejson.JSONDecodeError | ValueError
Python 3 | simplejson.JSONDe... | {
"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/5777/reactions"
} | https://api.github.com/repos/psf/requests/issues/5777/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5777.diff",
"html_url": "https://github.com/psf/requests/pull/5777",
"merged_at": "2021-03-18T14:36:35Z",
"patch_url": "https://github.com/psf/requests/pull/5777.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5777"
} | true | [
"Thank you! 🎉 "
] |
https://api.github.com/repos/psf/requests/issues/5776 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5776/labels{/name} | https://api.github.com/repos/psf/requests/issues/5776/comments | https://api.github.com/repos/psf/requests/issues/5776/events | https://github.com/psf/requests/pull/5776 | 833,712,902 | MDExOlB1bGxSZXF1ZXN0NTk0NjYyNzU4 | 5,776 | Added explanation why the timeout is doubled.(#5773) | {
"avatar_url": "https://avatars.githubusercontent.com/u/80456253?v=4",
"events_url": "https://api.github.com/users/cpyberry/events{/privacy}",
"followers_url": "https://api.github.com/users/cpyberry/followers",
"following_url": "https://api.github.com/users/cpyberry/following{/other_user}",
"gists_url": "htt... | [] | open | false | null | [] | null | 8 | 2021-03-17T12:21:12Z | 2022-01-03T15:22:26Z | null | NONE | null | ## issue
#5773 | 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/5776/reactions"
} | https://api.github.com/repos/psf/requests/issues/5776/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5776.diff",
"html_url": "https://github.com/psf/requests/pull/5776",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5776.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5776"
} | true | [
"@sigmavirus24\n\nI added what the user should do and made the phenomenon stand out.\n\nIf you have time, I'd be happy if you could see it\n",
"Hi,\r\n\r\nI would like to tell what I understand on what you want to publish, and possibly, suggest a different worlds to be more accurate.\r\n\r\nIn Networking, we ... |
https://api.github.com/repos/psf/requests/issues/5775 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5775/labels{/name} | https://api.github.com/repos/psf/requests/issues/5775/comments | https://api.github.com/repos/psf/requests/issues/5775/events | https://github.com/psf/requests/issues/5775 | 833,010,180 | MDU6SXNzdWU4MzMwMTAxODA= | 5,775 | RFC6874 IPv6 Zone Identifiers in urls not parsed correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/80776399?v=4",
"events_url": "https://api.github.com/users/ph1l1p139/events{/privacy}",
"followers_url": "https://api.github.com/users/ph1l1p139/followers",
"following_url": "https://api.github.com/users/ph1l1p139/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2021-03-16T16:52:53Z | 2021-08-27T00:08:30Z | 2021-03-16T18:18:41Z | NONE | resolved | [RFC6874 ](https://tools.ietf.org/html/rfc6874)updates [RFC3986 ](https://tools.ietf.org/html/rfc3986) URI Syntax to support IPv6 Zone Identifiers. Zone identifiers are required when working with link local IPv6 addresses on a machine with multiple network adapters.
RFC6874 updates the URI ABNF to include:
> IP-lit... | {
"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/5775/reactions"
} | https://api.github.com/repos/psf/requests/issues/5775/timeline | null | completed | null | null | false | [
"Duplicate of https://github.com/psf/requests/issues/5126"
] |
https://api.github.com/repos/psf/requests/issues/5774 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5774/labels{/name} | https://api.github.com/repos/psf/requests/issues/5774/comments | https://api.github.com/repos/psf/requests/issues/5774/events | https://github.com/psf/requests/pull/5774 | 831,906,368 | MDExOlB1bGxSZXF1ZXN0NTkzMTU0Mjc4 | 5,774 | #5773: Fixed the number of seconds specified for timeout being doubled | {
"avatar_url": "https://avatars.githubusercontent.com/u/80456253?v=4",
"events_url": "https://api.github.com/users/cpyberry/events{/privacy}",
"followers_url": "https://api.github.com/users/cpyberry/followers",
"following_url": "https://api.github.com/users/cpyberry/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2021-03-15T15:07:31Z | 2021-08-27T00:08:45Z | 2021-03-15T17:18:19Z | NONE | resolved | ## issue
#5773
## changes
Create a subclass that divides the connect argument of TimeoutSauce by 2. | {
"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/5774/reactions"
} | https://api.github.com/repos/psf/requests/issues/5774/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5774.diff",
"html_url": "https://github.com/psf/requests/pull/5774",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5774.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5774"
} | true | [
"IMHO blindly halving the specified timeout is not a good strategy, specially if the underlying issue is still unknown.\r\n\r\nBesides, there are a few issues with that implementation, from not handling a `None` value to shadowing the imported name",
"Thank you for looking at my code.",
"I forgot about handling... |
https://api.github.com/repos/psf/requests/issues/5773 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5773/labels{/name} | https://api.github.com/repos/psf/requests/issues/5773/comments | https://api.github.com/repos/psf/requests/issues/5773/events | https://github.com/psf/requests/issues/5773 | 831,807,572 | MDU6SXNzdWU4MzE4MDc1NzI= | 5,773 | Connection timeout (not Read, Wall or Total) is consistently taking twice as long | {
"avatar_url": "https://avatars.githubusercontent.com/u/992317?v=4",
"events_url": "https://api.github.com/users/MestreLion/events{/privacy}",
"followers_url": "https://api.github.com/users/MestreLion/followers",
"following_url": "https://api.github.com/users/MestreLion/following{/other_user}",
"gists_url": ... | [
{
"color": "fad8c7",
"default": false,
"description": null,
"id": 136616769,
"name": "Documentation",
"node_id": "MDU6TGFiZWwxMzY2MTY3Njk=",
"url": "https://api.github.com/repos/psf/requests/labels/Documentation"
}
] | closed | false | null | [] | null | 11 | 2021-03-15T13:23:45Z | 2023-12-28T02:03:33Z | 2023-12-16T13:30:21Z | CONTRIBUTOR | null | I'm aware that several issues related to timeout were opened (and closed) before, so I'm trying to narrow this report down to a very specific scope: **connection** timeout is behaving in a consistent, wrong way: it times out at _precisely_ **twice** the requested time.
Results below are _so_ consistent we must ackno... | {
"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": 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/5773/reactions"
} | https://api.github.com/repos/psf/requests/issues/5773/timeline | null | completed | null | null | false | [
"When using `urllib3` directly, it seems to also give a very consistent timeout of **8 times** the requested one:\r\n\r\n```pycon\r\n>>> import urllib3, time\r\n>>> http = urllib3.PoolManager()\r\n>>> try:\r\n... start = time.time()\r\n... http.request('GET', 'http://google.com:81', timeout=1)\r\n... except... |
https://api.github.com/repos/psf/requests/issues/5772 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5772/labels{/name} | https://api.github.com/repos/psf/requests/issues/5772/comments | https://api.github.com/repos/psf/requests/issues/5772/events | https://github.com/psf/requests/issues/5772 | 830,110,982 | MDU6SXNzdWU4MzAxMTA5ODI= | 5,772 | Session proxies definition raise error on Get method | {
"avatar_url": "https://avatars.githubusercontent.com/u/31013072?v=4",
"events_url": "https://api.github.com/users/bbuzens/events{/privacy}",
"followers_url": "https://api.github.com/users/bbuzens/followers",
"following_url": "https://api.github.com/users/bbuzens/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2021-03-12T13:18:14Z | 2021-11-26T03:00:37Z | 2021-08-28T02:46:01Z | NONE | resolved | I want to pass proxies definition through session's proxies attribute.
It is described in [the documentation](https://2.python-requests.org/en/master/user/advanced/#proxies).
In my configuration, it raises a ProxyError
## Expected Result
This should work
```Python
import requests
proxies = {
'http': '... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5772/reactions"
} | https://api.github.com/repos/psf/requests/issues/5772/timeline | null | completed | null | null | false | [
"Hi @bbuzens, there's no information on the actual error you're receiving. From the information provided, it looks like there's a legitimate issue connecting to your proxy.\r\n\r\nIf you have more information on the exact traceback you're receiving we can take a look. I'm going to close this for now since there isn... |
https://api.github.com/repos/psf/requests/issues/5771 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5771/labels{/name} | https://api.github.com/repos/psf/requests/issues/5771/comments | https://api.github.com/repos/psf/requests/issues/5771/events | https://github.com/psf/requests/issues/5771 | 828,958,525 | MDU6SXNzdWU4Mjg5NTg1MjU= | 5,771 | Dependency on cryptography package breaks upgrades | {
"avatar_url": "https://avatars.githubusercontent.com/u/203885?v=4",
"events_url": "https://api.github.com/users/jfinkhaeuser/events{/privacy}",
"followers_url": "https://api.github.com/users/jfinkhaeuser/followers",
"following_url": "https://api.github.com/users/jfinkhaeuser/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 3 | 2021-03-11T09:20:22Z | 2021-03-11T17:50:59Z | 2021-03-11T12:42:23Z | NONE | resolved | Unfortunately, the maintainers of the `pyca/cryptography` package have made Rust a hard dependency in newer releases. Since they cut short any discussion about this (not your problem, but a problem for the Python community in general), I was not able to explain to them that a dependency that is required by default and ... | {
"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": 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/5771/reactions"
} | https://api.github.com/repos/psf/requests/issues/5771/timeline | null | completed | null | null | false | [
"Relates to https://github.com/pyca/cryptography/issues/5810",
"No. In fact, I think we should raise the lower limit to the ones requiring the Rust toolchain. It's significantly more secure which is one of the tenants of this library - maximum security by default for users",
"Ok.\r\n\r\nI disagree. Rust has the... |
https://api.github.com/repos/psf/requests/issues/5770 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5770/labels{/name} | https://api.github.com/repos/psf/requests/issues/5770/comments | https://api.github.com/repos/psf/requests/issues/5770/events | https://github.com/psf/requests/issues/5770 | 827,911,617 | MDU6SXNzdWU4Mjc5MTE2MTc= | 5,770 | Considerations before posting a new "Issue" | {
"avatar_url": "https://avatars.githubusercontent.com/u/45062549?v=4",
"events_url": "https://api.github.com/users/jakermx/events{/privacy}",
"followers_url": "https://api.github.com/users/jakermx/followers",
"following_url": "https://api.github.com/users/jakermx/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2021-03-10T15:26:51Z | 2021-03-11T14:35:50Z | 2021-03-11T14:35:46Z | NONE | off-topic | I really appreciate your hard word guys, but I would like to suggest you that tell your lib consumers that your lib is a state of art HTTPimplementantion, that depends on urllib3 and OS TCP/IP stack... which means... this library just consume and uses another libraries, so this lib is a pretty and easy way to grab con... | {
"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/5770/reactions"
} | https://api.github.com/repos/psf/requests/issues/5770/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5769 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5769/labels{/name} | https://api.github.com/repos/psf/requests/issues/5769/comments | https://api.github.com/repos/psf/requests/issues/5769/events | https://github.com/psf/requests/issues/5769 | 826,029,989 | MDU6SXNzdWU4MjYwMjk5ODk= | 5,769 | Couldn't modify user-agent while sending multipart/form-data request | {
"avatar_url": "https://avatars.githubusercontent.com/u/53445798?v=4",
"events_url": "https://api.github.com/users/DarcJC/events{/privacy}",
"followers_url": "https://api.github.com/users/DarcJC/followers",
"following_url": "https://api.github.com/users/DarcJC/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2021-03-09T14:37:53Z | 2021-08-27T00:08:30Z | 2021-03-09T15:02:37Z | NONE | resolved | Here is my code:
```python
with requests.Session() as s:
s.cookies.set("CASTGC", CASTGC)
s.get(...) // to get target website cookie through redirecting to CAS service.
files = {"Filedata": (
'upload.png',
tmp_file,
'image/png'
)}
res = s.p... | {
"avatar_url": "https://avatars.githubusercontent.com/u/53445798?v=4",
"events_url": "https://api.github.com/users/DarcJC/events{/privacy}",
"followers_url": "https://api.github.com/users/DarcJC/followers",
"following_url": "https://api.github.com/users/DarcJC/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/5769/reactions"
} | https://api.github.com/repos/psf/requests/issues/5769/timeline | null | completed | null | null | false | [
"Oops, I found it is caused by the 302 redirecting."
] |
https://api.github.com/repos/psf/requests/issues/5768 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5768/labels{/name} | https://api.github.com/repos/psf/requests/issues/5768/comments | https://api.github.com/repos/psf/requests/issues/5768/events | https://github.com/psf/requests/issues/5768 | 824,139,206 | MDU6SXNzdWU4MjQxMzkyMDY= | 5,768 | model.RequestEncodingMixin._encode_files does not work for 3 or 4 elements tuple | {
"avatar_url": "https://avatars.githubusercontent.com/u/16507006?v=4",
"events_url": "https://api.github.com/users/hefvcjm/events{/privacy}",
"followers_url": "https://api.github.com/users/hefvcjm/followers",
"following_url": "https://api.github.com/users/hefvcjm/following{/other_user}",
"gists_url": "https:... | [
{
"color": "777777",
"default": false,
"description": null,
"id": 162780722,
"name": "Question/Not a bug",
"node_id": "MDU6TGFiZWwxNjI3ODA3MjI=",
"url": "https://api.github.com/repos/psf/requests/labels/Question/Not%20a%20bug"
}
] | closed | true | null | [] | null | 1 | 2021-03-08T03:53:53Z | 2021-08-27T00:08:30Z | 2021-03-08T16:26:46Z | NONE | resolved | https://github.com/psf/requests/blob/913880c45a3a8c3bf6b298e9c38709cd95a9c97c/requests/models.py#L110-L118
Anotation for this function mentions "The tuples may be 2-tuples (filename, fileobj), 3-tuples (filename, fileobj, contentype) or 4-tuples (filename, fileobj, contentype, custom_headers).", but it does not work f... | {
"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/5768/reactions"
} | https://api.github.com/repos/psf/requests/issues/5768/timeline | null | completed | null | null | false | [
"That is not the documentation or annotation you should be reading for that parameter. Please read the appropriate documentation"
] |
https://api.github.com/repos/psf/requests/issues/5767 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5767/labels{/name} | https://api.github.com/repos/psf/requests/issues/5767/comments | https://api.github.com/repos/psf/requests/issues/5767/events | https://github.com/psf/requests/issues/5767 | 822,998,883 | MDU6SXNzdWU4MjI5OTg4ODM= | 5,767 | Invalid JSON serialization of data with NaNs when using `json` request argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/44946?v=4",
"events_url": "https://api.github.com/users/soxofaan/events{/privacy}",
"followers_url": "https://api.github.com/users/soxofaan/followers",
"following_url": "https://api.github.com/users/soxofaan/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2021-03-05T11:28:28Z | 2021-08-27T00:08:23Z | 2021-05-06T18:18:58Z | NONE | resolved | When passing data to `json` argument in a `requests.post()` (or comparable) request and data contains "nan" floats (`float("nan")`), the data payload will be invalid JSON (in strict sense). Example:
>>> import requests
>>> requests.__version__
'2.25.1'
>>> data = {"foo": float("nan")}
>>> res... | {
"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": 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/5767/reactions"
} | https://api.github.com/repos/psf/requests/issues/5767/timeline | null | completed | null | null | false | [
"I am a first-time contributor and I would like to work on this issue and implement it if possible? Do let me know. Thank you!\r\n",
"Hello, I am not sure if I have fixed this with the PR #5810 , can someone check it out ?"
] |
https://api.github.com/repos/psf/requests/issues/5766 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5766/labels{/name} | https://api.github.com/repos/psf/requests/issues/5766/comments | https://api.github.com/repos/psf/requests/issues/5766/events | https://github.com/psf/requests/issues/5766 | 821,104,641 | MDU6SXNzdWU4MjExMDQ2NDE= | 5,766 | Randomly returning TypeError from AWS Lambda | {
"avatar_url": "https://avatars.githubusercontent.com/u/26573544?v=4",
"events_url": "https://api.github.com/users/mickog/events{/privacy}",
"followers_url": "https://api.github.com/users/mickog/followers",
"following_url": "https://api.github.com/users/mickog/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2021-03-03T13:21:46Z | 2021-08-27T00:08:32Z | 2021-03-04T13:13:53Z | NONE | resolved | Hi trying to pull a file from S3 and ingest to a multipart post endpoint on another service, code looks something like this
```
def execute(event, context):
if "emailId" in event:
props = {
"fieldOne": "someValue",
"fieldTwo": "someOtherValue",
"contentType": "... | {
"avatar_url": "https://avatars.githubusercontent.com/u/26573544?v=4",
"events_url": "https://api.github.com/users/mickog/events{/privacy}",
"followers_url": "https://api.github.com/users/mickog/followers",
"following_url": "https://api.github.com/users/mickog/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/5766/reactions"
} | https://api.github.com/repos/psf/requests/issues/5766/timeline | null | completed | null | null | false | [
"You're passing in something in either `data` or `files` that isn't a string or bytes-like object. This isn't a bug in Requests. It sounds like your external dependencies are perhaps causing this problem for you (i.e., downloading a file from S3 to re-upload elsewhere could be failing",
"Yes correct, thanks for y... |
https://api.github.com/repos/psf/requests/issues/5765 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5765/labels{/name} | https://api.github.com/repos/psf/requests/issues/5765/comments | https://api.github.com/repos/psf/requests/issues/5765/events | https://github.com/psf/requests/issues/5765 | 819,832,321 | MDU6SXNzdWU4MTk4MzIzMjE= | 5,765 | Shortcut to set auth header | {
"avatar_url": "https://avatars.githubusercontent.com/u/2218936?v=4",
"events_url": "https://api.github.com/users/OlafvdSpek/events{/privacy}",
"followers_url": "https://api.github.com/users/OlafvdSpek/followers",
"following_url": "https://api.github.com/users/OlafvdSpek/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2021-03-02T09:35:08Z | 2021-08-27T00:08:33Z | 2021-03-03T19:52:11Z | NONE | resolved | > Requests is not accepting feature requests at this time.
Hmm ;)
AFAIK the simplest way is currently `headers={'Authorization': 'super secret'}`
Could `auth='super secret'` be supported?
| {
"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/5765/reactions"
} | https://api.github.com/repos/psf/requests/issues/5765/timeline | null | completed | null | null | false | [
"No"
] |
https://api.github.com/repos/psf/requests/issues/5764 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5764/labels{/name} | https://api.github.com/repos/psf/requests/issues/5764/comments | https://api.github.com/repos/psf/requests/issues/5764/events | https://github.com/psf/requests/issues/5764 | 819,549,775 | MDU6SXNzdWU4MTk1NDk3NzU= | 5,764 | Would anyone know why using requests with proxies through repl.it would cause this SSLError? | {
"avatar_url": "https://avatars.githubusercontent.com/u/67934523?v=4",
"events_url": "https://api.github.com/users/jonathanlin0/events{/privacy}",
"followers_url": "https://api.github.com/users/jonathanlin0/followers",
"following_url": "https://api.github.com/users/jonathanlin0/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2021-03-02T02:48:15Z | 2021-08-27T00:08:31Z | 2021-03-04T14:47:53Z | NONE | resolved | As the title stated, I'm attempting to ping google to check the quality of the proxy through an api in repl.it but when I try it gives this error:
HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number ... | {
"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/5764/reactions"
} | https://api.github.com/repos/psf/requests/issues/5764/timeline | null | completed | null | null | false | [
"This isn't a Q&A forum and is likely best asked to someone familiar with `repl.it`."
] |
https://api.github.com/repos/psf/requests/issues/5763 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5763/labels{/name} | https://api.github.com/repos/psf/requests/issues/5763/comments | https://api.github.com/repos/psf/requests/issues/5763/events | https://github.com/psf/requests/issues/5763 | 819,363,841 | MDU6SXNzdWU4MTkzNjM4NDE= | 5,763 | raise InvalidSchema("No connection adapters were found for {!r}".format(url)) requests.exceptions.InvalidSchema: No connection adapters were found for '/v1/models/flower-classification:predict' | {
"avatar_url": "https://avatars.githubusercontent.com/u/20457308?v=4",
"events_url": "https://api.github.com/users/Adesoji1/events{/privacy}",
"followers_url": "https://api.github.com/users/Adesoji1/followers",
"following_url": "https://api.github.com/users/Adesoji1/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2021-03-01T22:35:47Z | 2021-08-27T00:08:32Z | 2021-03-04T01:34:51Z | NONE | resolved | Summa have this issue too. below is the code.
import os
import json
import io
import requests
import numpy as np
import tensorflow as tf
from PIL import Image
import matplotlib.pyplot as plt
import PIL
ASSETS_DIR = r"C:\Users\Sortol\Documents\adesoji-fastapi\assets"
TEST_IMAGES_DIR = r"C:\Users\Sortol\Docu... | {
"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/5763/reactions"
} | https://api.github.com/repos/psf/requests/issues/5763/timeline | null | completed | null | null | false | [
"You're specifying the path without a scheme or host. This is not a bug and even if it were, you did not fill out the full issue template."
] |
https://api.github.com/repos/psf/requests/issues/5762 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5762/labels{/name} | https://api.github.com/repos/psf/requests/issues/5762/comments | https://api.github.com/repos/psf/requests/issues/5762/events | https://github.com/psf/requests/issues/5762 | 818,182,524 | MDU6SXNzdWU4MTgxODI1MjQ= | 5,762 | No Error is thrown when proxie url or key is wrong or the proxie is not reachable | {
"avatar_url": "https://avatars.githubusercontent.com/u/40398336?v=4",
"events_url": "https://api.github.com/users/DanielGermann/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielGermann/followers",
"following_url": "https://api.github.com/users/DanielGermann/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2021-02-28T11:18:39Z | 2021-11-25T20:00:35Z | 2021-08-27T19:41:24Z | NONE | resolved | Summary.
## Expected Result
When I make a get request with
```proxies = {key: value}
request.get(url, proxies=proxies)
```
I would assume that an error is thrown if the key value pair is not correct or if the proxie connection was not possible.
So if i would write something like this
```{"i am a wonderf... | {
"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/5762/reactions"
} | https://api.github.com/repos/psf/requests/issues/5762/timeline | null | completed | null | null | false | [
"Hi @Mettfisto,\r\n\r\nIt looks like you may have some confusion about how the proxies dict works in Requests.\r\n\r\n> I would assume that an error is thrown if the key value pair is not correct or if the proxie connection was not possible.\r\nSo if i would write something like this\r\n{\"i am a wonderfull key\": ... |
https://api.github.com/repos/psf/requests/issues/5761 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5761/labels{/name} | https://api.github.com/repos/psf/requests/issues/5761/comments | https://api.github.com/repos/psf/requests/issues/5761/events | https://github.com/psf/requests/pull/5761 | 815,678,173 | MDExOlB1bGxSZXF1ZXN0NTc5NDY4MDg5 | 5,761 | Fix typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/1322614?v=4",
"events_url": "https://api.github.com/users/andrewmwhite/events{/privacy}",
"followers_url": "https://api.github.com/users/andrewmwhite/followers",
"following_url": "https://api.github.com/users/andrewmwhite/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 0 | 2021-02-24T17:10:51Z | 2021-08-27T00:08:46Z | 2021-02-24T17:19:48Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5761/reactions"
} | https://api.github.com/repos/psf/requests/issues/5761/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5761.diff",
"html_url": "https://github.com/psf/requests/pull/5761",
"merged_at": "2021-02-24T17:19:48Z",
"patch_url": "https://github.com/psf/requests/pull/5761.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5761"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/5760 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5760/labels{/name} | https://api.github.com/repos/psf/requests/issues/5760/comments | https://api.github.com/repos/psf/requests/issues/5760/events | https://github.com/psf/requests/issues/5760 | 814,659,995 | MDU6SXNzdWU4MTQ2NTk5OTU= | 5,760 | requests.get() timeout times out after twice the given value | {
"avatar_url": "https://avatars.githubusercontent.com/u/1658405?v=4",
"events_url": "https://api.github.com/users/LefterisJP/events{/privacy}",
"followers_url": "https://api.github.com/users/LefterisJP/followers",
"following_url": "https://api.github.com/users/LefterisJP/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 4 | 2021-02-23T17:11:57Z | 2021-03-15T11:56:17Z | 2021-02-24T15:47:00Z | NONE | null | I made a simple example script to showcase what I experienced
```python
import requests
import time
print('About to do a request that will timeout')
start_time = int(time.time())
try:
response = requests.get('http://www.google.com:81/', timeout=4)
except requests.exceptions.RequestException as e:
p... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5760/reactions"
} | https://api.github.com/repos/psf/requests/issues/5760/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.",
"Hello @sigmavirus24 thank you for your response.\r\n\r\nI did do that but could not find one. I can of course only judge by the issue's title and what github search can afford to show me.\r\n\r\n Can you plea... |
https://api.github.com/repos/psf/requests/issues/5759 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5759/labels{/name} | https://api.github.com/repos/psf/requests/issues/5759/comments | https://api.github.com/repos/psf/requests/issues/5759/events | https://github.com/psf/requests/issues/5759 | 812,697,135 | MDU6SXNzdWU4MTI2OTcxMzU= | 5,759 | Upper version limits in dependencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/233340?v=4",
"events_url": "https://api.github.com/users/oberstet/events{/privacy}",
"followers_url": "https://api.github.com/users/oberstet/followers",
"following_url": "https://api.github.com/users/oberstet/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 15 | 2021-02-20T20:08:34Z | 2021-11-25T20:00:36Z | 2021-08-27T19:32:59Z | NONE | resolved | **requests** [currently](https://github.com/psf/requests/blob/bdc00eb0978dd3cdd43f7cd1f95ced7aa75fab39/setup.py#L44) has a bunch of version restrictions:
* `chardet>=3.0.2,<5`
* `idna>=2.5,<3`
* `urllib3>=1.21.1,<1.27`
In particular with **idna** and **urllib3**, which are widely used themself, whenever another... | {
"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/5759/reactions"
} | https://api.github.com/repos/psf/requests/issues/5759/timeline | null | completed | null | null | false | [
"Seems related to https://github.com/psf/requests/issues/5710, in that case the reasoning for version limits is that version 3.x of idna doesn't support python2.x anymore which leads to why it's proposed fix in https://github.com/psf/requests/pull/5711 has version markers with the upper limit being different for py... |
https://api.github.com/repos/psf/requests/issues/5758 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5758/labels{/name} | https://api.github.com/repos/psf/requests/issues/5758/comments | https://api.github.com/repos/psf/requests/issues/5758/events | https://github.com/psf/requests/pull/5758 | 812,581,232 | MDExOlB1bGxSZXF1ZXN0NTc2OTE1NzU1 | 5,758 | Catch urllib3 LocationParseError on send(), raise InvalidURL instead | {
"avatar_url": "https://avatars.githubusercontent.com/u/33416700?v=4",
"events_url": "https://api.github.com/users/cknabs/events{/privacy}",
"followers_url": "https://api.github.com/users/cknabs/followers",
"following_url": "https://api.github.com/users/cknabs/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2021-02-20T11:03:52Z | 2024-07-30T00:03:44Z | 2023-07-30T02:00:07Z | NONE | resolved | Fixes #5744 | {
"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/5758/reactions"
} | https://api.github.com/repos/psf/requests/issues/5758/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5758.diff",
"html_url": "https://github.com/psf/requests/pull/5758",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5758.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5758"
} | true | [
"@cknabs the tests are failing. Did you struggle to understand why? Can you please fix them?",
"Resolving as this hasn't seen an update in quite some time and appears to have stalled out waiting for review comments to be addressed."
] |
https://api.github.com/repos/psf/requests/issues/5757 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5757/labels{/name} | https://api.github.com/repos/psf/requests/issues/5757/comments | https://api.github.com/repos/psf/requests/issues/5757/events | https://github.com/psf/requests/issues/5757 | 811,072,041 | MDU6SXNzdWU4MTEwNzIwNDE= | 5,757 | Add support for HTTP/2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8332263?v=4",
"events_url": "https://api.github.com/users/Apteryks/events{/privacy}",
"followers_url": "https://api.github.com/users/Apteryks/followers",
"following_url": "https://api.github.com/users/Apteryks/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2021-02-18T12:52:00Z | 2021-08-27T00:08:34Z | 2021-02-20T15:04:55Z | NONE | resolved | It is my understanding that HTTP/2 is not currently supported by requests; hence this is a feature request (no pun intended) to add such support. | {
"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/5757/reactions"
} | https://api.github.com/repos/psf/requests/issues/5757/timeline | null | completed | null | null | false | [
"Duplicate of #4604 and #5506\r\n\r\nRequests is in a feature-freeze and is unlikely to add HTTP/2 in the future"
] |
https://api.github.com/repos/psf/requests/issues/5756 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5756/labels{/name} | https://api.github.com/repos/psf/requests/issues/5756/comments | https://api.github.com/repos/psf/requests/issues/5756/events | https://github.com/psf/requests/issues/5756 | 810,699,615 | MDU6SXNzdWU4MTA2OTk2MTU= | 5,756 | Issue while issuing GET requests to Google owned services. | {
"avatar_url": "https://avatars.githubusercontent.com/u/43145883?v=4",
"events_url": "https://api.github.com/users/Lyfhael/events{/privacy}",
"followers_url": "https://api.github.com/users/Lyfhael/followers",
"following_url": "https://api.github.com/users/Lyfhael/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2021-02-18T02:30:27Z | 2021-08-27T00:08:35Z | 2021-02-18T05:30:31Z | NONE | resolved | GET Requests to Google owned services don't work or work very very slowly(minutes). Example of urls having problems : Google.com Google.fr Youtube.fr Youtube.com Googleapis.com
I have no issue with any other website(I tried github.com, facebook.com and a bunch of others)
It worked an hour ago, it doesn't work anymore... | {
"avatar_url": "https://avatars.githubusercontent.com/u/43145883?v=4",
"events_url": "https://api.github.com/users/Lyfhael/events{/privacy}",
"followers_url": "https://api.github.com/users/Lyfhael/followers",
"following_url": "https://api.github.com/users/Lyfhael/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/5756/reactions"
} | https://api.github.com/repos/psf/requests/issues/5756/timeline | null | completed | null | null | false | [
"It fixed by itself... Not sure what it was since no error messages. I haven't restarted my computer or done anything.\r\n"
] |
https://api.github.com/repos/psf/requests/issues/5755 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5755/labels{/name} | https://api.github.com/repos/psf/requests/issues/5755/comments | https://api.github.com/repos/psf/requests/issues/5755/events | https://github.com/psf/requests/pull/5755 | 810,524,175 | MDExOlB1bGxSZXF1ZXN0NTc1MjAxMzQ2 | 5,755 | Provide directions for cloning repository despite malformed commits | {
"avatar_url": "https://avatars.githubusercontent.com/u/31069?v=4",
"events_url": "https://api.github.com/users/pdmccormick/events{/privacy}",
"followers_url": "https://api.github.com/users/pdmccormick/followers",
"following_url": "https://api.github.com/users/pdmccormick/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 0 | 2021-02-17T20:44:27Z | 2021-08-27T00:08:47Z | 2021-02-17T21:37:02Z | CONTRIBUTOR | resolved | Issues #2690, #3008, #3088, #3805 #4254 all refer to the issue with commit 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8 that cause Git to error out when cloning the repository. As originally discussed in #2690, this issue cannot be avoided without rewriting history, so why don't we instead include some helpful directions a... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5755/reactions"
} | https://api.github.com/repos/psf/requests/issues/5755/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5755.diff",
"html_url": "https://github.com/psf/requests/pull/5755",
"merged_at": "2021-02-17T21:37:02Z",
"patch_url": "https://github.com/psf/requests/pull/5755.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5755"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5754 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5754/labels{/name} | https://api.github.com/repos/psf/requests/issues/5754/comments | https://api.github.com/repos/psf/requests/issues/5754/events | https://github.com/psf/requests/pull/5754 | 810,131,311 | MDExOlB1bGxSZXF1ZXN0NTc0ODcyMjg2 | 5,754 | Enhance RequestEncodingMixin._encode_params to support complex dict struct when content-type is x-www-form-urlencoded | {
"avatar_url": "https://avatars.githubusercontent.com/u/19822609?v=4",
"events_url": "https://api.github.com/users/zgj0607/events{/privacy}",
"followers_url": "https://api.github.com/users/zgj0607/followers",
"following_url": "https://api.github.com/users/zgj0607/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2021-02-17T12:14:50Z | 2021-08-27T00:08:47Z | 2021-02-17T15:27:59Z | NONE | resolved | Add an util's method in `utils.py` named `unfold_complex_data_key`, called by `RequestEncodingMixin._encode_params` to support complex dict struct when content-type is `x-www-form-urlencoded`.
The function unfold_complex_data_key just do the follow work:
Unfold complex dict which has deep level key or list to simple ... | {
"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/5754/reactions"
} | https://api.github.com/repos/psf/requests/issues/5754/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5754.diff",
"html_url": "https://github.com/psf/requests/pull/5754",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5754.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5754"
} | true | [
"There's already a way to do this in the requests-toolbelt and this feature has been rejected before in this project"
] |
https://api.github.com/repos/psf/requests/issues/5753 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5753/labels{/name} | https://api.github.com/repos/psf/requests/issues/5753/comments | https://api.github.com/repos/psf/requests/issues/5753/events | https://github.com/psf/requests/pull/5753 | 810,079,203 | MDExOlB1bGxSZXF1ZXN0NTc0ODI4Mzcz | 5,753 | enhance RequestEncodingMixin._encode_params to support complex dict struct when content-type is x-www-form-urlencoded | {
"avatar_url": "https://avatars.githubusercontent.com/u/19822609?v=4",
"events_url": "https://api.github.com/users/zgj0607/events{/privacy}",
"followers_url": "https://api.github.com/users/zgj0607/followers",
"following_url": "https://api.github.com/users/zgj0607/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2021-02-17T11:00:41Z | 2021-08-27T00:08:48Z | 2021-02-17T12:08:37Z | NONE | resolved | Add an util's method in `utils.py`, named `unfold_complex_data_key`, called by `RequestEncodingMixin._encode_params` to support complex dict struct when content-type is `x-www-form-urlencoded`.
The function unfold_complex_data_key just do the follow work:
Unfold complex dict which has deep level key or list to simple... | {
"avatar_url": "https://avatars.githubusercontent.com/u/19822609?v=4",
"events_url": "https://api.github.com/users/zgj0607/events{/privacy}",
"followers_url": "https://api.github.com/users/zgj0607/followers",
"following_url": "https://api.github.com/users/zgj0607/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/5753/reactions"
} | https://api.github.com/repos/psf/requests/issues/5753/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5753.diff",
"html_url": "https://github.com/psf/requests/pull/5753",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5753.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5753"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5752 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5752/labels{/name} | https://api.github.com/repos/psf/requests/issues/5752/comments | https://api.github.com/repos/psf/requests/issues/5752/events | https://github.com/psf/requests/issues/5752 | 808,811,531 | MDU6SXNzdWU4MDg4MTE1MzE= | 5,752 | Issue with verify options | {
"avatar_url": "https://avatars.githubusercontent.com/u/3485377?v=4",
"events_url": "https://api.github.com/users/kornpow/events{/privacy}",
"followers_url": "https://api.github.com/users/kornpow/followers",
"following_url": "https://api.github.com/users/kornpow/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2021-02-15T20:51:49Z | 2021-08-27T00:08:31Z | 2021-02-15T20:53:59Z | NONE | resolved | Since the verify parameter is designed with the certificate stored on the filesystem, I have had to do some workarounds in my application, since I am expecting certificates to be passed in using environment variables. While experimenting with these workarounds, I noticed some strange behaviors.
Main Issue:
* The do... | {
"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/5752/reactions"
} | https://api.github.com/repos/psf/requests/issues/5752/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.",
"While I have been fighting with the issue of \"Unable to pass in a variable to verify\" for years now, and from what I can tell there is no desire to change that behavior, I do believe this might be a new iss... |
https://api.github.com/repos/psf/requests/issues/5751 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5751/labels{/name} | https://api.github.com/repos/psf/requests/issues/5751/comments | https://api.github.com/repos/psf/requests/issues/5751/events | https://github.com/psf/requests/issues/5751 | 808,039,895 | MDU6SXNzdWU4MDgwMzk4OTU= | 5,751 | TLS SNI Support (Under Python 2.7.6) | {
"avatar_url": "https://avatars.githubusercontent.com/u/3859005?v=4",
"events_url": "https://api.github.com/users/Tectract/events{/privacy}",
"followers_url": "https://api.github.com/users/Tectract/followers",
"following_url": "https://api.github.com/users/Tectract/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 7 | 2021-02-14T20:25:23Z | 2021-11-26T14:00:18Z | 2021-08-28T02:51:19Z | NONE | resolved | Hello.
In reference to https://github.com/psf/requests/issues/749
I'm trying to get SNI support working on a system that is locked to Python2.7.6 / pip20.3.4.
I've tried 'pip install -U requests' and 'pip install -U requests[security]', but the issue is not resolved for me.
I'm getting this error when I try... | {
"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/5751/reactions"
} | https://api.github.com/repos/psf/requests/issues/5751/timeline | null | completed | null | null | false | [
"Was the code from PR 749 reverted? I'm looking at the __init__.py from requests v2.25.1 and I don't see this:\r\n\r\n```\r\n# Attempt to enable urllib3's SNI support, if possible\r\ntry:\r\n from requests.packages.urllib3.contrib import pyopenssl\r\n pyopenssl.inject_into_urllib3()\r\nexcept ImportError:\r\n... |
https://api.github.com/repos/psf/requests/issues/5750 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5750/labels{/name} | https://api.github.com/repos/psf/requests/issues/5750/comments | https://api.github.com/repos/psf/requests/issues/5750/events | https://github.com/psf/requests/issues/5750 | 807,691,598 | MDU6SXNzdWU4MDc2OTE1OTg= | 5,750 | Post request using https proxies returning encoded text after update to python 3.9.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/30209138?v=4",
"events_url": "https://api.github.com/users/bloxploits/events{/privacy}",
"followers_url": "https://api.github.com/users/bloxploits/followers",
"following_url": "https://api.github.com/users/bloxploits/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 8 | 2021-02-13T06:45:51Z | 2021-08-27T00:08:34Z | 2021-02-19T06:03:35Z | NONE | resolved | Summary.
I am making a request to a url with a proxy, however, after I updated from python 3.8.3 to 3.9.1, the response started to be encoded.
When I request this url without a proxy, there are no problems and it worked before with a proxy in 3.8.3. I don't know which of requests I used in 3.8.3, but I've seen a few ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/30209138?v=4",
"events_url": "https://api.github.com/users/bloxploits/events{/privacy}",
"followers_url": "https://api.github.com/users/bloxploits/followers",
"following_url": "https://api.github.com/users/bloxploits/following{/other_user}",
"gists_url"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5750/reactions"
} | https://api.github.com/repos/psf/requests/issues/5750/timeline | null | completed | null | null | false | [
"What do the response headers look like? I have a suspicion as to what this is related to, but it likely is related to you having different versions of Requests, not different versions of Python.",
"> What do the response headers look like? I have a suspicion as to what this is related to, but it likely is relate... |
https://api.github.com/repos/psf/requests/issues/5749 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5749/labels{/name} | https://api.github.com/repos/psf/requests/issues/5749/comments | https://api.github.com/repos/psf/requests/issues/5749/events | https://github.com/psf/requests/issues/5749 | 805,982,602 | MDU6SXNzdWU4MDU5ODI2MDI= | 5,749 | Params list with one item | {
"avatar_url": "https://avatars.githubusercontent.com/u/614232?v=4",
"events_url": "https://api.github.com/users/iBobik/events{/privacy}",
"followers_url": "https://api.github.com/users/iBobik/followers",
"following_url": "https://api.github.com/users/iBobik/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2021-02-11T00:19:13Z | 2021-08-27T00:08:36Z | 2021-02-11T00:51:46Z | NONE | resolved | If parameter has list with only one item, then the list is converted to a string.
## Expected Result
`params={'fields': ['fieldname']}` should convert to `?fields[]=fieldname`
## Actual Result
`params={'fields': ['fieldname']}` converts to `?fields=fieldname`
## Reproduction Steps
```python
import 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/5749/reactions"
} | https://api.github.com/repos/psf/requests/issues/5749/timeline | null | completed | null | null | false | [
"Hi @iBobik,\r\n\r\nThe behavior you're seeing is what's intended. Our documentation shows how we handle parameter encoding for lists and it's identical regardless of the length of the list. We'll generate a key-value pair for every list element.\r\n\r\nThe proposed expectation is non-standard and violates ABNF for... |
https://api.github.com/repos/psf/requests/issues/5748 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5748/labels{/name} | https://api.github.com/repos/psf/requests/issues/5748/comments | https://api.github.com/repos/psf/requests/issues/5748/events | https://github.com/psf/requests/pull/5748 | 805,501,636 | MDExOlB1bGxSZXF1ZXN0NTcxMDkxNzg3 | 5,748 | Fix: #4362 - Redirect resolved even though allow_redirects is set to False causing exception for unsupported connection adapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/41421345?v=4",
"events_url": "https://api.github.com/users/luckydenis/events{/privacy}",
"followers_url": "https://api.github.com/users/luckydenis/followers",
"following_url": "https://api.github.com/users/luckydenis/following{/other_user}",
"gists_url"... | [] | open | false | null | [] | null | 2 | 2021-02-10T13:12:54Z | 2021-12-29T03:56:43Z | null | CONTRIBUTOR | null | Good evening
The problem was that when checking, we got data that passed the condition test: they contained `:` , and the request did not start with `http`. Example `0.0.0.0:8080`.
Done:
- [x] Fix #4362
- [x] Add and fix tests
- [x] make test
- [x] flake8 (diff) | 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/5748/reactions"
} | https://api.github.com/repos/psf/requests/issues/5748/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5748.diff",
"html_url": "https://github.com/psf/requests/pull/5748",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5748.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5748"
} | true | [
"Good evening, @kennethreitz42\r\n\r\nPlease review my edits when you have some free time",
"Hi @LuckyDenis, we're looking at this as a possible candidate for 2.27.0. There was some feedback left in July on the current proposal. Would you have time to rebase this change and address that?"
] |
https://api.github.com/repos/psf/requests/issues/5747 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5747/labels{/name} | https://api.github.com/repos/psf/requests/issues/5747/comments | https://api.github.com/repos/psf/requests/issues/5747/events | https://github.com/psf/requests/pull/5747 | 805,405,860 | MDExOlB1bGxSZXF1ZXN0NTcxMDExNjA3 | 5,747 | utils.py: default to utf-8 for text/csv (#5746) | {
"avatar_url": "https://avatars.githubusercontent.com/u/265630?v=4",
"events_url": "https://api.github.com/users/jgehrcke/events{/privacy}",
"followers_url": "https://api.github.com/users/jgehrcke/followers",
"following_url": "https://api.github.com/users/jgehrcke/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 7 | 2021-02-10T10:57:41Z | 2023-05-12T00:03:07Z | 2022-05-11T01:28:52Z | NONE | resolved | This is a super quick attempt to address https://github.com/psf/requests/issues/5746 -- an invitation for feedback. Would appreciate your opinions. Thanks! | {
"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/5747/reactions"
} | https://api.github.com/repos/psf/requests/issues/5747/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5747.diff",
"html_url": "https://github.com/psf/requests/pull/5747",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5747.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5747"
} | true | [
"(happy to add tests, changelog entry, etc -- brief instructions appreciated)",
"I believe the last change we accepted along these lines was contentious and broke things. Plus 7111 is likely not widely implemented by folks distributing `text/csv` files at this point given it's recency (and given that 16+ year old... |
https://api.github.com/repos/psf/requests/issues/5746 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5746/labels{/name} | https://api.github.com/repos/psf/requests/issues/5746/comments | https://api.github.com/repos/psf/requests/issues/5746/events | https://github.com/psf/requests/issues/5746 | 805,400,543 | MDU6SXNzdWU4MDU0MDA1NDM= | 5,746 | content-type: text/csv does not apply UTF-8-decoding by default (RFC 7111 violation?) | {
"avatar_url": "https://avatars.githubusercontent.com/u/265630?v=4",
"events_url": "https://api.github.com/users/jgehrcke/events{/privacy}",
"followers_url": "https://api.github.com/users/jgehrcke/followers",
"following_url": "https://api.github.com/users/jgehrcke/following{/other_user}",
"gists_url": "https... | [] | open | false | null | [] | null | 1 | 2021-02-10T10:50:42Z | 2021-02-10T11:01:38Z | null | NONE | null | Created a test/repro/MWE sheet here with a cell containing the letter `ö`: https://docs.google.com/spreadsheets/d/1q02F0AjDfCo_XlgFtT7HHU96emOcyf0PRQGKGoQTXCE/edit?usp=sharing
When you HTTP GET `https://docs.google.com/spreadsheets/d/1q02F0AjDfCo_XlgFtT7HHU96emOcyf0PRQGKGoQTXCE/export?format=csv` Google generates an... | null | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5746/reactions"
} | https://api.github.com/repos/psf/requests/issues/5746/timeline | null | null | null | null | false | [
"Given this a quick stab at https://github.com/psf/requests/pull/5747. Would appreciate an initial review and opinions. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/5745 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5745/labels{/name} | https://api.github.com/repos/psf/requests/issues/5745/comments | https://api.github.com/repos/psf/requests/issues/5745/events | https://github.com/psf/requests/issues/5745 | 804,678,861 | MDU6SXNzdWU4MDQ2Nzg4NjE= | 5,745 | HTTPDigestAuth uses quotes for algorithm and qop tokens of the Digest header | {
"avatar_url": "https://avatars.githubusercontent.com/u/4246686?v=4",
"events_url": "https://api.github.com/users/alex-che/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-che/followers",
"following_url": "https://api.github.com/users/alex-che/following{/other_user}",
"gists_url": "http... | [] | open | false | null | [] | null | 0 | 2021-02-09T15:53:28Z | 2021-02-09T15:53:28Z | null | NONE | null | The `HTTPDigestAuth.build_digest_header()` method produces the Digest header witch contains quoted strings for `algorithm` and `qop` tokens. E.g.:
`
Digest username="admin", realm="server", nonce="QScBItGtnPq4Dz3v25Tht4SlctJnsR", uri="/api/v1/info", response="e0d12a4b85789351a847c773e6f4b30e", algorithm="MD5", qop="a... | 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/5745/reactions"
} | https://api.github.com/repos/psf/requests/issues/5745/timeline | null | null | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5744 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5744/labels{/name} | https://api.github.com/repos/psf/requests/issues/5744/comments | https://api.github.com/repos/psf/requests/issues/5744/events | https://github.com/psf/requests/issues/5744 | 802,720,321 | MDU6SXNzdWU4MDI3MjAzMjE= | 5,744 | urllib3 LocationParseError (label empty or too long) uncaught by requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/33416700?v=4",
"events_url": "https://api.github.com/users/cknabs/events{/privacy}",
"followers_url": "https://api.github.com/users/cknabs/followers",
"following_url": "https://api.github.com/users/cknabs/following{/other_user}",
"gists_url": "https://a... | [] | open | false | null | [] | null | 1 | 2021-02-06T15:06:05Z | 2021-02-20T09:37:35Z | null | NONE | null | When accessing an URL with a label with more than 63 characters, an `urllib3.exceptions.LocationParseError` (label empty or too long) is returned without being caught by requests.
Maybe this is related to #4746?
## Expected Result
No exception, or an exception raised by requests (maybe InvalidURL?).
## Actua... | 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/5744/reactions"
} | https://api.github.com/repos/psf/requests/issues/5744/timeline | null | null | null | null | false | [
"After sifting through similar issues/PR, it seems that this could be solved similarly to #2344, i.e., catch `urllib3.exceptions.LocationParseError` for every call to `urllib3.util.parse_url` and raise an `requests.exceptions.InvalidURL` instead. "
] |
https://api.github.com/repos/psf/requests/issues/5743 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5743/labels{/name} | https://api.github.com/repos/psf/requests/issues/5743/comments | https://api.github.com/repos/psf/requests/issues/5743/events | https://github.com/psf/requests/issues/5743 | 802,017,200 | MDU6SXNzdWU4MDIwMTcyMDA= | 5,743 | Loss of the cookie state when using max-age=0. | {
"avatar_url": "https://avatars.githubusercontent.com/u/41421345?v=4",
"events_url": "https://api.github.com/users/luckydenis/events{/privacy}",
"followers_url": "https://api.github.com/users/luckydenis/followers",
"following_url": "https://api.github.com/users/luckydenis/following{/other_user}",
"gists_url"... | [] | open | false | null | [] | null | 1 | 2021-02-05T09:48:37Z | 2021-02-06T16:43:22Z | null | CONTRIBUTOR | null | Summary.
Loss of the `cookie` state when receiving a response from the server containing the lifetime in the format `max-age=0`.
## Expected Result
```python
import requests
r = requests.get('http://127.0.0.1:5000/expire')
>>> r.headers
{'Set-Cookie': 'test=test; Path=/; Max-Age=0', 'Content-Type': 'text/htm... | 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/5743/reactions"
} | https://api.github.com/repos/psf/requests/issues/5743/timeline | null | null | null | null | false | [
"Good evening.\r\nThe cookie state is deleted at this location.\r\nhttps://github.com/python/cpython/blob/39aeb9ff9064808b08ec629403edbc36a232369b/Lib/http/cookiejar.py#L1548-L1561"
] |
https://api.github.com/repos/psf/requests/issues/5742 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5742/labels{/name} | https://api.github.com/repos/psf/requests/issues/5742/comments | https://api.github.com/repos/psf/requests/issues/5742/events | https://github.com/psf/requests/issues/5742 | 800,755,699 | MDU6SXNzdWU4MDA3NTU2OTk= | 5,742 | Request not redirecting when I use a user agent | {
"avatar_url": "https://avatars.githubusercontent.com/u/59785672?v=4",
"events_url": "https://api.github.com/users/trevtravtrev/events{/privacy}",
"followers_url": "https://api.github.com/users/trevtravtrev/followers",
"following_url": "https://api.github.com/users/trevtravtrev/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 5 | 2021-02-03T22:34:41Z | 2021-02-03T23:37:43Z | 2021-02-03T22:53:16Z | NONE | resolved | I am making a request to a twitter shortened url that redirects to amazon. When I don't use a user agent it redirects perfectly, when I use a user agent it no longer redirects.
## Expected Result
Make a request to a twitter shortened url for an amazon link with a user agent header and it successfully redirect to ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5742/reactions"
} | https://api.github.com/repos/psf/requests/issues/5742/timeline | null | completed | null | null | false | [
"Hi @trevtravtrev, there's a handful of closed issues already discussing this behavior and it's pretty quick to self validate. If you shut off redirects and check the `status_code` and `headers` returned from the first request, you'll see Twitter isn't returning a redirect with the custom user-agent. They're doing ... |
https://api.github.com/repos/psf/requests/issues/5741 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5741/labels{/name} | https://api.github.com/repos/psf/requests/issues/5741/comments | https://api.github.com/repos/psf/requests/issues/5741/events | https://github.com/psf/requests/pull/5741 | 800,640,233 | MDExOlB1bGxSZXF1ZXN0NTY3MDkzNzY1 | 5,741 | Add 2/3 Check So Latest idna Works in 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2775739?v=4",
"events_url": "https://api.github.com/users/utkonos/events{/privacy}",
"followers_url": "https://api.github.com/users/utkonos/followers",
"following_url": "https://api.github.com/users/utkonos/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2021-02-03T19:37:28Z | 2021-08-27T00:08:48Z | 2021-02-03T20:08:46Z | 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/5741/reactions"
} | https://api.github.com/repos/psf/requests/issues/5741/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5741.diff",
"html_url": "https://github.com/psf/requests/pull/5741",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5741.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5741"
} | true | [
"Resolving as a duplicate of #5711."
] | |
https://api.github.com/repos/psf/requests/issues/5740 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5740/labels{/name} | https://api.github.com/repos/psf/requests/issues/5740/comments | https://api.github.com/repos/psf/requests/issues/5740/events | https://github.com/psf/requests/issues/5740 | 799,623,604 | MDU6SXNzdWU3OTk2MjM2MDQ= | 5,740 | Unable to use system proxy with HTTPS connection on Windows and Python 3.9 | {
"avatar_url": "https://avatars.githubusercontent.com/u/17663689?v=4",
"events_url": "https://api.github.com/users/kotori2/events{/privacy}",
"followers_url": "https://api.github.com/users/kotori2/followers",
"following_url": "https://api.github.com/users/kotori2/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 4 | 2021-02-02T19:49:36Z | 2021-08-27T00:08:33Z | 2021-02-21T17:41:59Z | NONE | resolved | On Windows you can only set a "host:port" http proxy as system proxy.
```
PS > Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | findstr ProxyServer
ProxyServer : 127.0.0.1:7890
```
But in Python, it assumes that this proxy supports both http and https on t... | {
"avatar_url": "https://avatars.githubusercontent.com/u/17663689?v=4",
"events_url": "https://api.github.com/users/kotori2/events{/privacy}",
"followers_url": "https://api.github.com/users/kotori2/followers",
"following_url": "https://api.github.com/users/kotori2/following{/other_user}",
"gists_url": "https:... | {
"+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/5740/reactions"
} | https://api.github.com/repos/psf/requests/issues/5740/timeline | null | completed | null | null | false | [
"see: https://github.com/pypa/pip/issues/9216#issuecomment-741836058\r\n\r\nreinstall `urllib3==1.25.11` or pass `proxies` to requests\r\n\r\n```python\r\nproxies={\r\n'http': 'http://127.0.0.1:7890',\r\n'https': 'http://127.0.0.1:7890' # https -> http\r\n}\r\n\r\nr = requests.get(url, proxies=proxies)\r\n```",
... |
https://api.github.com/repos/psf/requests/issues/5739 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5739/labels{/name} | https://api.github.com/repos/psf/requests/issues/5739/comments | https://api.github.com/repos/psf/requests/issues/5739/events | https://github.com/psf/requests/issues/5739 | 797,777,526 | MDU6SXNzdWU3OTc3Nzc1MjY= | 5,739 | Safe Option for the Character Endoing of GET Request Parameters | {
"avatar_url": "https://avatars.githubusercontent.com/u/74075657?v=4",
"events_url": "https://api.github.com/users/farshiddel/events{/privacy}",
"followers_url": "https://api.github.com/users/farshiddel/followers",
"following_url": "https://api.github.com/users/farshiddel/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2021-01-31T18:27:31Z | 2021-08-27T00:08:37Z | 2021-01-31T18:47:49Z | NONE | resolved | This issue is related to character encoding of the request parameters when sending a GET request. In my scenario, I need the percent character to not be encoded as %25. The `urllib.parse.urlencode` function has the `safe` input for this purpose. However, the `requests.get` function does not have such input. Therefore, ... | {
"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/5739/reactions"
} | https://api.github.com/repos/psf/requests/issues/5739/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.\r\n\r\nThere are many issues here that are closed with the same root issue (wanting greater control over query parameter encoding). The short answer is to use the prepared request flow."
] |
https://api.github.com/repos/psf/requests/issues/5738 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5738/labels{/name} | https://api.github.com/repos/psf/requests/issues/5738/comments | https://api.github.com/repos/psf/requests/issues/5738/events | https://github.com/psf/requests/issues/5738 | 797,602,068 | MDU6SXNzdWU3OTc2MDIwNjg= | 5,738 | Timeout not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/42503383?v=4",
"events_url": "https://api.github.com/users/surenjanath/events{/privacy}",
"followers_url": "https://api.github.com/users/surenjanath/followers",
"following_url": "https://api.github.com/users/surenjanath/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2021-01-31T02:39:21Z | 2021-08-28T00:05:54Z | 2021-01-31T14:29:26Z | NONE | resolved | Summary.
## Expected Result
div with temp email and not loading after couple seconds of loading
<input class="emailbox-input opentip" data-original-title="Your 10 Minute Mail address" data-placement="bottom" id="mail" onclick="select(this);" readonly="" type="text" value=**""**/>
What you expected.
## Actual R... | {
"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/5738/reactions"
} | https://api.github.com/repos/psf/requests/issues/5738/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/5737 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5737/labels{/name} | https://api.github.com/repos/psf/requests/issues/5737/comments | https://api.github.com/repos/psf/requests/issues/5737/events | https://github.com/psf/requests/issues/5737 | 797,496,186 | MDU6SXNzdWU3OTc0OTYxODY= | 5,737 | How to force session pool connections to reestablish? | {
"avatar_url": "https://avatars.githubusercontent.com/u/28147700?v=4",
"events_url": "https://api.github.com/users/ikhz/events{/privacy}",
"followers_url": "https://api.github.com/users/ikhz/followers",
"following_url": "https://api.github.com/users/ikhz/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2021-01-30T18:10:46Z | 2021-08-28T00:05:55Z | 2021-01-30T20:29:17Z | NONE | resolved | I have an app (desktop) that use sessions for keepalive connections, there is a case when users restart internet connection or switch vpn on/off, the next 2-3 requests (no matter how much time passed after switching internet) made from session hang until read timeout but internet connection is already up (script that r... | {
"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/5737/reactions"
} | https://api.github.com/repos/psf/requests/issues/5737/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/5736 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5736/labels{/name} | https://api.github.com/repos/psf/requests/issues/5736/comments | https://api.github.com/repos/psf/requests/issues/5736/events | https://github.com/psf/requests/pull/5736 | 796,770,876 | MDExOlB1bGxSZXF1ZXN0NTYzODk0MjYw | 5,736 | Make the response class in adapter easier to override | {
"avatar_url": "https://avatars.githubusercontent.com/u/8541009?v=4",
"events_url": "https://api.github.com/users/sonthonaxrk/events{/privacy}",
"followers_url": "https://api.github.com/users/sonthonaxrk/followers",
"following_url": "https://api.github.com/users/sonthonaxrk/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2021-01-29T10:36:45Z | 2021-08-27T00:08:48Z | 2021-01-29T18:27:11Z | NONE | resolved | I find myself pinning for this quite a bit. | {
"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/5736/reactions"
} | https://api.github.com/repos/psf/requests/issues/5736/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5736.diff",
"html_url": "https://github.com/psf/requests/pull/5736",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5736.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5736"
} | true | [
"We're not accepting new features at this time",
"@sigmavirus24 \r\nWhat's the process to add a feature? Do you tender roadmaps? Or is the internal API of requests just utterly frozen?"
] |
https://api.github.com/repos/psf/requests/issues/5735 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5735/labels{/name} | https://api.github.com/repos/psf/requests/issues/5735/comments | https://api.github.com/repos/psf/requests/issues/5735/events | https://github.com/psf/requests/pull/5735 | 796,256,743 | MDExOlB1bGxSZXF1ZXN0NTYzNDY0NTE4 | 5,735 | 5677: Respect variable precedence in session | {
"avatar_url": "https://avatars.githubusercontent.com/u/1688249?v=4",
"events_url": "https://api.github.com/users/mateusduboli/events{/privacy}",
"followers_url": "https://api.github.com/users/mateusduboli/followers",
"following_url": "https://api.github.com/users/mateusduboli/following{/other_user}",
"gists... | [
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
"name": "Breaking API Change",
"node_id": "MDU6TGFiZWw0NDUwMTI1Ng==",
"url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change"
}
] | open | false | null | [] | null | 12 | 2021-01-28T18:44:04Z | 2022-01-03T15:25:21Z | null | CONTRIBUTOR | null | - Move `Session#merge_environment_variables` from `Session#request` to `Session#send` to make it consistent
- On `Session#send` change variable precedence to (higher precedence first) `kwargs` -> `session args` -> `environment`. | null | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5735/reactions"
} | https://api.github.com/repos/psf/requests/issues/5735/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5735.diff",
"html_url": "https://github.com/psf/requests/pull/5735",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5735.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5735"
} | true | [
"I propose the following change at line:\r\nhttps://github.com/psf/requests/blob/913880c45a3a8c3bf6b298e9c38709cd95a9c97c/requests/sessions.py#L530\r\n\r\nReplace it by:\r\n\r\n```python\r\nproxies = proxies or self.proxies\r\n```\r\n\r\nThis change will make this hierarchy `kwargs` -> `session args` -> `environmen... |
https://api.github.com/repos/psf/requests/issues/5734 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5734/labels{/name} | https://api.github.com/repos/psf/requests/issues/5734/comments | https://api.github.com/repos/psf/requests/issues/5734/events | https://github.com/psf/requests/issues/5734 | 795,255,014 | MDU6SXNzdWU3OTUyNTUwMTQ= | 5,734 | Cannot stream both request and response at the same time | {
"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 | 3 | 2021-01-27T16:31:57Z | 2021-08-28T00:05:55Z | 2021-01-27T18:22:33Z | NONE | resolved | It appears to not be possible to use a generator for the data and `stream=True` and expect to be able to iterate over `resp.iter_lines()` at the same time.
## Expected Result
I expected to be able to send request data from a generator, and read response data with `resp.iter_lines`, at the same time.
## Actual ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5734/reactions"
} | https://api.github.com/repos/psf/requests/issues/5734/timeline | null | completed | null | null | false | [
"I’ve noticed this too. I believe this is unfortunately a known issue with status WONTFIX (and can try to find a reference to a previous issue later if no one beats me to it), but please correct me if I’m wrong.\r\n\r\nA separate but related issue that I think has also been reported before and is in the same catego... |
https://api.github.com/repos/psf/requests/issues/5733 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5733/labels{/name} | https://api.github.com/repos/psf/requests/issues/5733/comments | https://api.github.com/repos/psf/requests/issues/5733/events | https://github.com/psf/requests/issues/5733 | 793,026,725 | MDU6SXNzdWU3OTMwMjY3MjU= | 5,733 | How to send multiple images to Fastapi using requests library | {
"avatar_url": "https://avatars.githubusercontent.com/u/38287214?v=4",
"events_url": "https://api.github.com/users/saireddy12/events{/privacy}",
"followers_url": "https://api.github.com/users/saireddy12/followers",
"following_url": "https://api.github.com/users/saireddy12/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2021-01-25T05:02:47Z | 2021-08-28T00:05:55Z | 2021-01-28T12:58:00Z | NONE | resolved | I need to hit the api with multiple images
```
@app.post("/text")
def get_text(files: List[UploadFile] = File(...),frame_timestamps: Optional[List[int]] = Body([]),is_video:bool=False)
```
its working when I try uploading multiple images using /docs interface, I tried with one file its working fine here is the co... | {
"avatar_url": "https://avatars.githubusercontent.com/u/38287214?v=4",
"events_url": "https://api.github.com/users/saireddy12/events{/privacy}",
"followers_url": "https://api.github.com/users/saireddy12/followers",
"following_url": "https://api.github.com/users/saireddy12/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/5733/reactions"
} | https://api.github.com/repos/psf/requests/issues/5733/timeline | null | completed | null | null | false | [
"I finally found the solution \r\nIncase any one needs the solution here it is \r\n```\r\nfiles = [\r\n ('files', ('image1', open('/Users/ai/image1.jpg','rb'), 'image/png')),\r\n ('files', ('image2', open('/Users/ai/image2.jpeg','rb'), 'image/png'))\r\n ]\r\n```\r\nyou can use the below funct... |
https://api.github.com/repos/psf/requests/issues/5732 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5732/labels{/name} | https://api.github.com/repos/psf/requests/issues/5732/comments | https://api.github.com/repos/psf/requests/issues/5732/events | https://github.com/psf/requests/issues/5732 | 792,692,953 | MDU6SXNzdWU3OTI2OTI5NTM= | 5,732 | endless redirection because of rewriting query containing "[]". | {
"avatar_url": "https://avatars.githubusercontent.com/u/507141?v=4",
"events_url": "https://api.github.com/users/darkfader/events{/privacy}",
"followers_url": "https://api.github.com/users/darkfader/followers",
"following_url": "https://api.github.com/users/darkfader/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 3 | 2021-01-24T01:04:21Z | 2021-08-28T00:05:56Z | 2021-01-24T13:15:46Z | NONE | resolved | It's probably a combination of python3 libraries, since I am not seeing this effect on my webbrowser nor cURL.
I tried disabling automatic redirection but my subsequent prepare_request calls ends up in the same rewriting.
## Expected Result
[] should not rewrite save characters %5B%5D I think because those are s... | {
"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/5732/reactions"
} | https://api.github.com/repos/psf/requests/issues/5732/timeline | null | completed | null | null | false | [
"urllib3 follows RFC 3986 on URLs. If you look at the [ABNF](https://tools.ietf.org/html/rfc3986#appendix-A) for query you'll see that `[` and `]` are not allowed (they are characters in `gen-delims` so not in `pchar`) so I would argue that the server is not handling your request correctly. ",
"Further, not escap... |
https://api.github.com/repos/psf/requests/issues/5731 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5731/labels{/name} | https://api.github.com/repos/psf/requests/issues/5731/comments | https://api.github.com/repos/psf/requests/issues/5731/events | https://github.com/psf/requests/issues/5731 | 792,638,349 | MDU6SXNzdWU3OTI2MzgzNDk= | 5,731 | no/no_proxy is not honoured | {
"avatar_url": "https://avatars.githubusercontent.com/u/2320837?v=4",
"events_url": "https://api.github.com/users/Suika/events{/privacy}",
"followers_url": "https://api.github.com/users/Suika/followers",
"following_url": "https://api.github.com/users/Suika/following{/other_user}",
"gists_url": "https://api.g... | [] | open | false | null | [] | null | 8 | 2021-01-23T19:59:26Z | 2024-02-06T17:54:56Z | null | NONE | null | I guess PRs are overlooked without an Issues. It's about #5596 and the way handle no_proxy. Since urllib handles `no_proxy` properly, it's the logic in requests that messes with the env in a seemingly twisted way.
## Expected Result
The ability to use no_proxy vairable via OS and function arguments.
## Actual ... | 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/5731/reactions"
} | https://api.github.com/repos/psf/requests/issues/5731/timeline | null | null | null | null | false | [
"I have the same issue: `no_proxy` is ignored in a simple `requests.get()` call:\r\n```\r\nimport requests\r\n\r\nproxies = {\r\n 'http': 'proxy.example.com',\r\n 'no_proxy': 'google.com'\r\n}\r\n\r\nrequests.get('http://google.com/', proxies=proxies)\r\n```\r\n\r\nWith 2.28.0 this yields:\r\n\r\n```\r\nrequests.... |
https://api.github.com/repos/psf/requests/issues/5730 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5730/labels{/name} | https://api.github.com/repos/psf/requests/issues/5730/comments | https://api.github.com/repos/psf/requests/issues/5730/events | https://github.com/psf/requests/issues/5730 | 792,612,984 | MDU6SXNzdWU3OTI2MTI5ODQ= | 5,730 | Why does the same request return different things on burp suite and python? | {
"avatar_url": "https://avatars.githubusercontent.com/u/72662270?v=4",
"events_url": "https://api.github.com/users/jvictore/events{/privacy}",
"followers_url": "https://api.github.com/users/jvictore/followers",
"following_url": "https://api.github.com/users/jvictore/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2021-01-23T17:38:39Z | 2021-08-28T00:05:56Z | 2021-01-23T22:56:45Z | NONE | resolved | When I make a post with Burpsuite the post is executed correctly. But whe I try to do the same post using python requests I get the 401 error. I am using the same User agent and the same headers for everything. There is a way for the site to recognize that the request isn’t from a browser? Do you have any ideias for wh... | {
"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/5730/reactions"
} | https://api.github.com/repos/psf/requests/issues/5730/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 ask for help on [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\r\n\r\n"
] |
https://api.github.com/repos/psf/requests/issues/5729 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5729/labels{/name} | https://api.github.com/repos/psf/requests/issues/5729/comments | https://api.github.com/repos/psf/requests/issues/5729/events | https://github.com/psf/requests/issues/5729 | 792,521,358 | MDU6SXNzdWU3OTI1MjEzNTg= | 5,729 | Cookies d'ont work | {
"avatar_url": "https://avatars.githubusercontent.com/u/53025923?v=4",
"events_url": "https://api.github.com/users/UnknownSourceCode/events{/privacy}",
"followers_url": "https://api.github.com/users/UnknownSourceCode/followers",
"following_url": "https://api.github.com/users/UnknownSourceCode/following{/other_... | [] | closed | true | null | [] | null | 4 | 2021-01-23T10:01:56Z | 2021-08-28T00:05:56Z | 2021-01-23T13:05:32Z | NONE | resolved | Well i wanted to Login to my textnow account to send smsusing cookies
i copied from firefox to curl and the request done and worked very well
when i use python
requests.get("https://www.textnow.com/api/sessions",
headers={
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
},
... | {
"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/5729/reactions"
} | https://api.github.com/repos/psf/requests/issues/5729/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.",
"I TRIED ALl StackOVerflow posts no solution\r\n",
... |
https://api.github.com/repos/psf/requests/issues/5728 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5728/labels{/name} | https://api.github.com/repos/psf/requests/issues/5728/comments | https://api.github.com/repos/psf/requests/issues/5728/events | https://github.com/psf/requests/issues/5728 | 792,013,249 | MDU6SXNzdWU3OTIwMTMyNDk= | 5,728 | GET Method + HTTPS does not append request Body | {
"avatar_url": "https://avatars.githubusercontent.com/u/62646829?v=4",
"events_url": "https://api.github.com/users/MimounMen/events{/privacy}",
"followers_url": "https://api.github.com/users/MimounMen/followers",
"following_url": "https://api.github.com/users/MimounMen/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 3 | 2021-01-22T13:40:34Z | 2021-08-28T00:05:57Z | 2021-01-22T16:04:14Z | NONE | resolved | I'm writing a Script to interact with an Elasticsearch Instance. The ES Server blocks POST Requests, therefore i have to use GET Methods with a request body.
## Expected Result
A HTTP GET Request with Content-type and Content-length set with the corrensponding body
## Actual Result
The Headers are always been... | {
"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/5728/reactions"
} | https://api.github.com/repos/psf/requests/issues/5728/timeline | null | completed | null | null | false | [
"Hey, I know about Elasticsearch because I'm the Python ES client maintainer. Elasticsearch accepts POST in place of GET for all requests that require a body. The client automatically uses POST for you for this reason.",
"Hi Sethmlarson, thanks for the quick answer.\r\nThere is a Proxy between the client and the ... |
https://api.github.com/repos/psf/requests/issues/5727 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5727/labels{/name} | https://api.github.com/repos/psf/requests/issues/5727/comments | https://api.github.com/repos/psf/requests/issues/5727/events | https://github.com/psf/requests/pull/5727 | 792,009,179 | MDExOlB1bGxSZXF1ZXN0NTU5OTY3NTM4 | 5,727 | Fix typo error | {
"avatar_url": "https://avatars.githubusercontent.com/u/22741481?v=4",
"events_url": "https://api.github.com/users/xiaojueguan/events{/privacy}",
"followers_url": "https://api.github.com/users/xiaojueguan/followers",
"following_url": "https://api.github.com/users/xiaojueguan/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 0 | 2021-01-22T13:34:35Z | 2021-08-27T00:08:50Z | 2021-01-22T13:41:40Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5727/reactions"
} | https://api.github.com/repos/psf/requests/issues/5727/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5727.diff",
"html_url": "https://github.com/psf/requests/pull/5727",
"merged_at": "2021-01-22T13:41:39Z",
"patch_url": "https://github.com/psf/requests/pull/5727.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5727"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/5726 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5726/labels{/name} | https://api.github.com/repos/psf/requests/issues/5726/comments | https://api.github.com/repos/psf/requests/issues/5726/events | https://github.com/psf/requests/issues/5726 | 791,814,139 | MDU6SXNzdWU3OTE4MTQxMzk= | 5,726 | Possible memory leaking when combining session, threading and proxies | {
"avatar_url": "https://avatars.githubusercontent.com/u/9117697?v=4",
"events_url": "https://api.github.com/users/jaimecoj/events{/privacy}",
"followers_url": "https://api.github.com/users/jaimecoj/followers",
"following_url": "https://api.github.com/users/jaimecoj/following{/other_user}",
"gists_url": "http... | [] | open | false | null | [] | null | 7 | 2021-01-22T08:42:05Z | 2023-11-03T02:03:03Z | null | NONE | null | I it helps I got error `OSError: [Errno 24] Too many open files` when running script, not sure if it is related with memory leak, I solved setting to 10000 `ulimit -n 10000`
## Expected Result
RAM usage kept under reasonable limits
## Actual Result
RAM usage doesn't stop growing
## Reproduction Steps
... | 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/5726/reactions"
} | https://api.github.com/repos/psf/requests/issues/5726/timeline | null | null | null | null | false | [
"If I add `verify=False` to same script it doesn't leak, so it seems related to SSL verification\r\n\r\n```\r\nLine # Mem usage Increment Occurences Line Contents\r\n============================================================\r\n 31 23.9 MiB 23.9 MiB 1 @profile\r\n 32 ... |
https://api.github.com/repos/psf/requests/issues/5725 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5725/labels{/name} | https://api.github.com/repos/psf/requests/issues/5725/comments | https://api.github.com/repos/psf/requests/issues/5725/events | https://github.com/psf/requests/issues/5725 | 791,526,254 | MDU6SXNzdWU3OTE1MjYyNTQ= | 5,725 | Support for logging is abysmal, and documentation is missing | {
"avatar_url": "https://avatars.githubusercontent.com/u/4665100?v=4",
"events_url": "https://api.github.com/users/jackjansen/events{/privacy}",
"followers_url": "https://api.github.com/users/jackjansen/followers",
"following_url": "https://api.github.com/users/jackjansen/following{/other_user}",
"gists_url":... | [] | open | false | null | [] | null | 3 | 2021-01-21T22:03:23Z | 2022-02-21T22:54:10Z | null | NONE | null | Attempting to change logging for requests is very complicated, can only be done application-wide (I think), and the documentation is missing.
Google finds many incorrect suggestions (mainly pointing to readthedocs documentation of requests version 0.x), the only workable information I found was at this stack overflo... | null | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5725/reactions"
} | https://api.github.com/repos/psf/requests/issues/5725/timeline | null | null | null | null | false | [
"I guess nobody would mind if information from https://docs.python-requests.org/en/master/api/#api-changes will get its own Debugging chapter.\r\n\r\nMerging the actual code into helper method might not be accepted as that will lead to many pull requests with different formats that people want. For example, sometim... |
https://api.github.com/repos/psf/requests/issues/5724 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5724/labels{/name} | https://api.github.com/repos/psf/requests/issues/5724/comments | https://api.github.com/repos/psf/requests/issues/5724/events | https://github.com/psf/requests/issues/5724 | 791,335,269 | MDU6SXNzdWU3OTEzMzUyNjk= | 5,724 | Support the new Deprecation HTTP header | {
"avatar_url": "https://avatars.githubusercontent.com/u/1526883?v=4",
"events_url": "https://api.github.com/users/pimterry/events{/privacy}",
"followers_url": "https://api.github.com/users/pimterry/followers",
"following_url": "https://api.github.com/users/pimterry/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 9 | 2021-01-21T17:04:06Z | 2022-02-26T03:00:20Z | 2021-11-28T02:58:30Z | NONE | resolved | The Deprecation header indicates that an API is deprecated, and shouldn't be used. It's either `true`, or an HTTP datetime value (the time after which the API is deprecated).
This is a draft HTTP standard from the IETF HTTPAPI working group: https://datatracker.ietf.org/doc/draft-ietf-httpapi-deprecation-header/. It... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5724/reactions"
} | https://api.github.com/repos/psf/requests/issues/5724/timeline | null | completed | null | null | false | [
"Since this standard appears to not require any functional changes beyond unconditionally emitting warnings, should this instead be supported by applications that use Requests? That's my initial thought here. ",
"Yes, it could be, it's absolutely possible to handle application-side (with a session hook as the bes... |
https://api.github.com/repos/psf/requests/issues/5723 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5723/labels{/name} | https://api.github.com/repos/psf/requests/issues/5723/comments | https://api.github.com/repos/psf/requests/issues/5723/events | https://github.com/psf/requests/pull/5723 | 789,537,622 | MDExOlB1bGxSZXF1ZXN0NTU3ODY5Njg4 | 5,723 | Format c_rehash | {
"avatar_url": "https://avatars.githubusercontent.com/u/1192780?v=4",
"events_url": "https://api.github.com/users/bbodenmiller/events{/privacy}",
"followers_url": "https://api.github.com/users/bbodenmiller/followers",
"following_url": "https://api.github.com/users/bbodenmiller/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 0 | 2021-01-20T01:28:08Z | 2021-08-27T00:08:50Z | 2021-01-20T14:58:36Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5723/reactions"
} | https://api.github.com/repos/psf/requests/issues/5723/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5723.diff",
"html_url": "https://github.com/psf/requests/pull/5723",
"merged_at": "2021-01-20T14:58:36Z",
"patch_url": "https://github.com/psf/requests/pull/5723.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5723"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/5722 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5722/labels{/name} | https://api.github.com/repos/psf/requests/issues/5722/comments | https://api.github.com/repos/psf/requests/issues/5722/events | https://github.com/psf/requests/pull/5722 | 789,335,333 | MDExOlB1bGxSZXF1ZXN0NTU3NjkyNTg3 | 5,722 | To work just like normal browsers, default headers in requests.api.get(), requests.api.request(), requests.models.Request.__init__() and requests.sessions.Session.request() are set | {
"avatar_url": "https://avatars.githubusercontent.com/u/74560907?v=4",
"events_url": "https://api.github.com/users/shreyanavigyan/events{/privacy}",
"followers_url": "https://api.github.com/users/shreyanavigyan/followers",
"following_url": "https://api.github.com/users/shreyanavigyan/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2021-01-19T20:20:43Z | 2021-08-27T00:08:51Z | 2021-01-19T20:25:49Z | NONE | resolved | The headers argument in `requests.api.get()`, `requests.api.request()`, `requests.models.Request.__init__()` and `requests.sessions.Session.request()` are set to a default dictionary value rather than NoneType Data Type to handle errors like 503 server error though the URL is correct. Some websites block webscrapers. 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/5722/reactions"
} | https://api.github.com/repos/psf/requests/issues/5722/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5722.diff",
"html_url": "https://github.com/psf/requests/pull/5722",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5722.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5722"
} | true | [
"Hi @shreyanavigyan,\r\n\r\nI don't think it makes sense to add these user agents to Requests. They aren't actually accurate and the goal of Requests isn't to impersonate a browser. Users are free to add headers as they see fit, but we're not trying to violate protective restrictions services have put in place by d... |
https://api.github.com/repos/psf/requests/issues/5721 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5721/labels{/name} | https://api.github.com/repos/psf/requests/issues/5721/comments | https://api.github.com/repos/psf/requests/issues/5721/events | https://github.com/psf/requests/issues/5721 | 789,267,504 | MDU6SXNzdWU3ODkyNjc1MDQ= | 5,721 | requests library code walkthrough | {
"avatar_url": "https://avatars.githubusercontent.com/u/77692938?v=4",
"events_url": "https://api.github.com/users/samrohon/events{/privacy}",
"followers_url": "https://api.github.com/users/samrohon/followers",
"following_url": "https://api.github.com/users/samrohon/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2021-01-19T18:44:21Z | 2022-02-26T04:00:33Z | 2021-11-28T03:37:59Z | NONE | resolved | Wannabe opensource contributor and intermediate python developer here. I am wondering if any contributors of this library has done or could do a code walkthrough video ?
- It is difficult for newbies to undestand the code base from a bigger perspective, what are the patterns used, design decisions made etc merely goi... | {
"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/5721/reactions"
} | https://api.github.com/repos/psf/requests/issues/5721/timeline | null | completed | null | null | false | [
"> * This library has been reccomended by many as a good case study of readable python code.\r\n\r\nAs a maintainer for several years, I've always disagreed with this notion. That said, those folks would be the people who should be doing the walk-through. I would never feel honest giving such a walk through, ... |
https://api.github.com/repos/psf/requests/issues/5720 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5720/labels{/name} | https://api.github.com/repos/psf/requests/issues/5720/comments | https://api.github.com/repos/psf/requests/issues/5720/events | https://github.com/psf/requests/issues/5720 | 788,116,053 | MDU6SXNzdWU3ODgxMTYwNTM= | 5,720 | Requests is using dependencies with copyleft licenses | {
"avatar_url": "https://avatars.githubusercontent.com/u/12371245?v=4",
"events_url": "https://api.github.com/users/farooquiyasir/events{/privacy}",
"followers_url": "https://api.github.com/users/farooquiyasir/followers",
"following_url": "https://api.github.com/users/farooquiyasir/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2021-01-18T09:57:31Z | 2021-08-28T00:05:58Z | 2021-01-18T14:57:16Z | NONE | resolved | We are using request's latest version but it uses certifi as depedency which is under MPL 2.0 license. This makes certifi a plugin with a copyleft license. Our company does not want to use any copyleft license plugin. I know that requests added certifi as separate plugin dependency after v 2.16 and onwards but I am not... | {
"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/5720/reactions"
} | https://api.github.com/repos/psf/requests/issues/5720/timeline | null | completed | null | null | false | [
"The MPL-licensed code included in certifi is not modified so doesn't trigger the MPL license terms. Please search for existing closed issues before opening a new one. "
] |
https://api.github.com/repos/psf/requests/issues/5719 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5719/labels{/name} | https://api.github.com/repos/psf/requests/issues/5719/comments | https://api.github.com/repos/psf/requests/issues/5719/events | https://github.com/psf/requests/issues/5719 | 787,146,532 | MDU6SXNzdWU3ODcxNDY1MzI= | 5,719 | Old Dependencies | {
"avatar_url": "https://avatars.githubusercontent.com/u/22400253?v=4",
"events_url": "https://api.github.com/users/gtoph/events{/privacy}",
"followers_url": "https://api.github.com/users/gtoph/followers",
"following_url": "https://api.github.com/users/gtoph/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2021-01-15T19:37:01Z | 2021-08-28T00:05:58Z | 2021-01-15T19:40:39Z | NONE | resolved | Just wondering why the dependencies haven't been updated for a while now. Seems to be requiring a pretty old version of IDNA
**requests 2.25.1 requires idna<3,>=2.5**
Ran it with the latest 3.1 and still seems to work fine. Wonder if the older version is a real requirement?
| {
"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/5719/reactions"
} | https://api.github.com/repos/psf/requests/issues/5719/timeline | null | completed | null | null | false | [
"Hi @gtoph,\r\n\r\nidna 3.0 was only released 2 weeks ago. We've restricted version caps at major version bumps to avoid pulling in breaking API changes without testing. There's currently a PR (#5711) open discussing this, so we'll close this in favor of that. Thanks.",
"No worries, it's just my ocd to have the l... |
https://api.github.com/repos/psf/requests/issues/5718 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5718/labels{/name} | https://api.github.com/repos/psf/requests/issues/5718/comments | https://api.github.com/repos/psf/requests/issues/5718/events | https://github.com/psf/requests/pull/5718 | 783,377,581 | MDExOlB1bGxSZXF1ZXN0NTUyNzQ3MDU2 | 5,718 | c2b307d | {
"avatar_url": "https://avatars.githubusercontent.com/u/77180439?v=4",
"events_url": "https://api.github.com/users/Aleksey0329/events{/privacy}",
"followers_url": "https://api.github.com/users/Aleksey0329/followers",
"following_url": "https://api.github.com/users/Aleksey0329/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 0 | 2021-01-11T13:37:03Z | 2021-01-11T14:06:52Z | 2021-01-11T14:06:40Z | NONE | spam | Grohs | {
"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/5718/reactions"
} | https://api.github.com/repos/psf/requests/issues/5718/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5718.diff",
"html_url": "https://github.com/psf/requests/pull/5718",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5718.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5718"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5717 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5717/labels{/name} | https://api.github.com/repos/psf/requests/issues/5717/comments | https://api.github.com/repos/psf/requests/issues/5717/events | https://github.com/psf/requests/pull/5717 | 782,843,151 | MDExOlB1bGxSZXF1ZXN0NTUyMzAxODg1 | 5,717 | Make raise_for_status() chainable | {
"avatar_url": "https://avatars.githubusercontent.com/u/24324496?v=4",
"events_url": "https://api.github.com/users/sambragg/events{/privacy}",
"followers_url": "https://api.github.com/users/sambragg/followers",
"following_url": "https://api.github.com/users/sambragg/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2021-01-10T15:35:20Z | 2021-08-27T00:08:52Z | 2021-01-10T17:16:43Z | NONE | resolved | Frequently, I find myself doing the following:
```python
r = requests.get(url)
r.raise_for_status()
json = r.json()
```
I thought it may be useful to be able to do the following instead, where `raise_for_status()` is chainable:
```python
r = requests.get(url)
json = r.raise_for_status().json()
``` | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5717/reactions"
} | https://api.github.com/repos/psf/requests/issues/5717/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5717.diff",
"html_url": "https://github.com/psf/requests/pull/5717",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5717.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5717"
} | true | [
"Unfortunately, Requests is under a feature-freeze. As a result, we won't be expanding the behaviour of `raise_for_status()`"
] |
https://api.github.com/repos/psf/requests/issues/5716 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5716/labels{/name} | https://api.github.com/repos/psf/requests/issues/5716/comments | https://api.github.com/repos/psf/requests/issues/5716/events | https://github.com/psf/requests/pull/5716 | 782,713,713 | MDExOlB1bGxSZXF1ZXN0NTUyMjA2NjAz | 5,716 | testes e mais testes | {
"avatar_url": "https://avatars.githubusercontent.com/u/69920850?v=4",
"events_url": "https://api.github.com/users/rayokofi/events{/privacy}",
"followers_url": "https://api.github.com/users/rayokofi/followers",
"following_url": "https://api.github.com/users/rayokofi/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2021-01-10T00:32:32Z | 2021-08-27T00:08:52Z | 2021-01-10T00:41:48Z | NONE | resolved | só treinando e nada mais | {
"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/5716/reactions"
} | https://api.github.com/repos/psf/requests/issues/5716/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5716.diff",
"html_url": "https://github.com/psf/requests/pull/5716",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5716.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5716"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5715 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5715/labels{/name} | https://api.github.com/repos/psf/requests/issues/5715/comments | https://api.github.com/repos/psf/requests/issues/5715/events | https://github.com/psf/requests/pull/5715 | 781,799,770 | MDExOlB1bGxSZXF1ZXN0NTUxNDY4NTc0 | 5,715 | Add json arguments to .put and .patch | {
"avatar_url": "https://avatars.githubusercontent.com/u/117248?v=4",
"events_url": "https://api.github.com/users/mdelcambre/events{/privacy}",
"followers_url": "https://api.github.com/users/mdelcambre/followers",
"following_url": "https://api.github.com/users/mdelcambre/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2021-01-08T02:47:03Z | 2021-08-27T00:08:52Z | 2021-01-08T19:24:55Z | NONE | resolved | This PR adds the `json` argument to both the `put` and `patch` function definitions. This is to bring them into agreement with the docstring of each function and to mirror the definition of `post`.
This should not change any functionally as the `json` arg would be captured by the `**kwargs` expansion.
Obviously, i... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5715/reactions"
} | https://api.github.com/repos/psf/requests/issues/5715/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5715.diff",
"html_url": "https://github.com/psf/requests/pull/5715",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5715.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5715"
} | true | [
"Duplicate of https://github.com/psf/requests/pull/3664",
"Swear I searched before submitting but must have only looked in issues not closed PRs, sorry about that.\r\n\r\nIronically, it was the PR from that (#3666) that introduced the issue I was trying to solve. Currently, the documentation specifically calls ou... |
https://api.github.com/repos/psf/requests/issues/5714 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5714/labels{/name} | https://api.github.com/repos/psf/requests/issues/5714/comments | https://api.github.com/repos/psf/requests/issues/5714/events | https://github.com/psf/requests/issues/5714 | 781,373,560 | MDU6SXNzdWU3ODEzNzM1NjA= | 5,714 | Inconsistent behavior after redirects when passing cookies directly | {
"avatar_url": "https://avatars.githubusercontent.com/u/4580066?v=4",
"events_url": "https://api.github.com/users/JanPokorny/events{/privacy}",
"followers_url": "https://api.github.com/users/JanPokorny/followers",
"following_url": "https://api.github.com/users/JanPokorny/following{/other_user}",
"gists_url":... | [] | open | false | null | [] | null | 5 | 2021-01-07T14:57:10Z | 2021-01-07T23:40:23Z | null | NONE | null | I have noticed that cookies passed directly (no session) behave strangely. When passed as the `cookie` argument, cookies are persisted after all redirects (even cross-domain and when expired explicitly). When passed as the `Cookie` header, the header is dropped after any redirect.
I came across this behavior when ... | 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/5714/reactions"
} | https://api.github.com/repos/psf/requests/issues/5714/timeline | null | null | null | null | false | [
"This is expected behaviour as the `cookies` argument doesn't provide a domain attribute for us to check. I've discouraged this usage in the past and even started building something to make handling cookies (and then passing that to Requests) more sensible (such that it would be harder to do this here) but it's inc... |
https://api.github.com/repos/psf/requests/issues/5713 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5713/labels{/name} | https://api.github.com/repos/psf/requests/issues/5713/comments | https://api.github.com/repos/psf/requests/issues/5713/events | https://github.com/psf/requests/issues/5713 | 778,769,741 | MDU6SXNzdWU3Nzg3Njk3NDE= | 5,713 | PUT call to unify does not work, curl call does | {
"avatar_url": "https://avatars.githubusercontent.com/u/3207629?v=4",
"events_url": "https://api.github.com/users/pverhoye/events{/privacy}",
"followers_url": "https://api.github.com/users/pverhoye/followers",
"following_url": "https://api.github.com/users/pverhoye/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2021-01-05T09:00:58Z | 2021-08-28T00:05:58Z | 2021-01-05T18:54:25Z | NONE | resolved | Hi all!
Best wishes (first things first!)
I want to enable/disable a PoE port on my UniFi switch. For this I aim using Python 3.9.1 (first time) with the following code:
```
import requests
import json
import sys
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
gatew... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3207629?v=4",
"events_url": "https://api.github.com/users/pverhoye/events{/privacy}",
"followers_url": "https://api.github.com/users/pverhoye/followers",
"following_url": "https://api.github.com/users/pverhoye/following{/other_user}",
"gists_url": "http... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5713/reactions"
} | https://api.github.com/repos/psf/requests/issues/5713/timeline | null | completed | null | null | false | [
"It's likely your device is being super picky about how the HTTP request looks.\r\n\r\nTry using Wireshark to capture the exact bytes / headers that are being sent by Requests and curl and compare them. If you aren't able to discern a difference attach the output/.pcap files here and we can maybe lend an eye. Witho... |
https://api.github.com/repos/psf/requests/issues/5712 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5712/labels{/name} | https://api.github.com/repos/psf/requests/issues/5712/comments | https://api.github.com/repos/psf/requests/issues/5712/events | https://github.com/psf/requests/issues/5712 | 777,299,266 | MDU6SXNzdWU3NzcyOTkyNjY= | 5,712 | Unable to to get request | {
"avatar_url": "https://avatars.githubusercontent.com/u/54060657?v=4",
"events_url": "https://api.github.com/users/imzeki/events{/privacy}",
"followers_url": "https://api.github.com/users/imzeki/followers",
"following_url": "https://api.github.com/users/imzeki/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2021-01-01T15:02:31Z | 2021-02-10T14:33:45Z | 2021-01-01T15:10:44Z | NONE | resolved | I was following a tutorial on W3School on how to do get request. The link is here: https://www.w3schools.com/python/ref_requests_get.asp
I expected the status code of 200 when I run the code
## Actual Result
I got a error saying:
File "api2.py", line 3, in <module>
x = requests.get('https://w3schools.... | {
"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/5712/reactions"
} | https://api.github.com/repos/psf/requests/issues/5712/timeline | null | completed | null | null | false | [
"This exception is coming from a dependency of requests. Without the information you were asked to provide, we can't provide any guidance as to what might be causing it.",
"Ok understood",
"https://github.com/urllib3/urllib3/commit/b6061f09741082bed3d8b7db10c25bf1ae683a43"
] |
https://api.github.com/repos/psf/requests/issues/5711 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5711/labels{/name} | https://api.github.com/repos/psf/requests/issues/5711/comments | https://api.github.com/repos/psf/requests/issues/5711/events | https://github.com/psf/requests/pull/5711 | 777,277,874 | MDExOlB1bGxSZXF1ZXN0NTQ3NjIyNzEx | 5,711 | bump idna has version 3.0 was released | {
"avatar_url": "https://avatars.githubusercontent.com/u/5310609?v=4",
"events_url": "https://api.github.com/users/naorlivne/events{/privacy}",
"followers_url": "https://api.github.com/users/naorlivne/followers",
"following_url": "https://api.github.com/users/naorlivne/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | {
"closed_at": "2021-08-25T21:25:16Z",
"closed_issues": 3,
"created_at": "2021-05-20T21:01:54Z",
"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/users... | 18 | 2021-01-01T12:31:47Z | 2021-07-07T13:25:21Z | 2021-07-07T13:25:20Z | CONTRIBUTOR | off-topic | Closes https://github.com/psf/requests/issues/5710 | {
"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/5711/reactions"
} | https://api.github.com/repos/psf/requests/issues/5711/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5711.diff",
"html_url": "https://github.com/psf/requests/pull/5711",
"merged_at": "2021-07-07T13:25:20Z",
"patch_url": "https://github.com/psf/requests/pull/5711.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5711"
} | true | [
"Hi @naorlivne,\r\n\r\nThanks for the PR. I think this looks fine but there's some mild concern about users on Python 2. idna 3.0 drops Python 2 support and has added an appropriate `python_requires` specifier so in most cases this change will work fine. Users still on Python 2 though tend to have more outdated ver... |
https://api.github.com/repos/psf/requests/issues/5710 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5710/labels{/name} | https://api.github.com/repos/psf/requests/issues/5710/comments | https://api.github.com/repos/psf/requests/issues/5710/events | https://github.com/psf/requests/issues/5710 | 777,277,633 | MDU6SXNzdWU3NzcyNzc2MzM= | 5,710 | idna 3.0 version package conflict | {
"avatar_url": "https://avatars.githubusercontent.com/u/5310609?v=4",
"events_url": "https://api.github.com/users/naorlivne/events{/privacy}",
"followers_url": "https://api.github.com/users/naorlivne/followers",
"following_url": "https://api.github.com/users/naorlivne/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 20 | 2021-01-01T12:29:46Z | 2021-10-07T20:00:26Z | 2021-07-07T13:25:20Z | CONTRIBUTOR | resolved | idna released version 3.0 but requests has a dependency on idna<3, this makes it impossible to keep up to date on both packages.
## Expected Result
I want to be able to install the latest idna package alongside the latest requests package
## Actual Result
```
ERROR: Cannot install -r requirements.txt (line... | {
"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": 88,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 88,
"url": "https://api.github.com/repos/psf/requests/issues/5710/reactions"
} | https://api.github.com/repos/psf/requests/issues/5710/timeline | null | completed | null | null | false | [
"As `urllib3[secure]` defines\r\n\r\nhttps://github.com/urllib3/urllib3/blob/3f21165969b838fda29898cbd7218ac9578e319b/setup.py#L119\r\n\r\n```py\r\n\"idna>=2.0.0\",\r\n```\r\n\r\nThis causes `pip` 20.2.1 to show warning:\r\n\r\n```\r\n> pip install urllib3[secure] requests --force-reinstall\r\n...\r\nCollecting idn... |
https://api.github.com/repos/psf/requests/issues/5709 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5709/labels{/name} | https://api.github.com/repos/psf/requests/issues/5709/comments | https://api.github.com/repos/psf/requests/issues/5709/events | https://github.com/psf/requests/issues/5709 | 774,742,813 | MDU6SXNzdWU3NzQ3NDI4MTM= | 5,709 | Cookies are lost on 307 redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/6244078?v=4",
"events_url": "https://api.github.com/users/gil9red/events{/privacy}",
"followers_url": "https://api.github.com/users/gil9red/followers",
"following_url": "https://api.github.com/users/gil9red/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 1 | 2020-12-25T14:42:22Z | 2020-12-25T14:58:28Z | null | NONE | null | When I submit a request, I get a 307 response and a cookie. But when the request is repeated, the cookie is not added.
Added request logging:
```
try:
import http.client as http_client
except ImportError:
# Python 2
import httplib as http_client
http_client.HTTPConnection.debuglevel = 1
# You m... | null | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5709/reactions"
} | https://api.github.com/repos/psf/requests/issues/5709/timeline | null | null | null | null | false | [
"Rewrote the code to manually handle redirects and forwarding cookies.\r\n\r\nPS. after I sent the cookie, there was no 307 on subsequent requests.\r\n\r\nThey have interesting protection ...\r\n\r\n[Code:](https://github.com/gil9red/SimplePyScripts/blob/7c3fc621399d7ec32bfde9174d5d47dfed30282d/html_parsing/www_dns... |
https://api.github.com/repos/psf/requests/issues/5708 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5708/labels{/name} | https://api.github.com/repos/psf/requests/issues/5708/comments | https://api.github.com/repos/psf/requests/issues/5708/events | https://github.com/psf/requests/issues/5708 | 774,694,700 | MDU6SXNzdWU3NzQ2OTQ3MDA= | 5,708 | Can requests work with file:/// urls? | {
"avatar_url": "https://avatars.githubusercontent.com/u/71920621?v=4",
"events_url": "https://api.github.com/users/amaank404/events{/privacy}",
"followers_url": "https://api.github.com/users/amaank404/followers",
"following_url": "https://api.github.com/users/amaank404/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-12-25T09:40:25Z | 2021-08-28T00:05:59Z | 2020-12-25T16:10:41Z | NONE | resolved | for example my application uses requests for downloading some special data. i want that to be compatible with `file:///` type urls while also supporting `http://`. does requests have that ability builtin or not?
Also if you know a work around please help me | {
"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/5708/reactions"
} | https://api.github.com/repos/psf/requests/issues/5708/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/5707 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5707/labels{/name} | https://api.github.com/repos/psf/requests/issues/5707/comments | https://api.github.com/repos/psf/requests/issues/5707/events | https://github.com/psf/requests/pull/5707 | 774,541,972 | MDExOlB1bGxSZXF1ZXN0NTQ1NDQ5Njg1 | 5,707 | Avoid zip extract racing condition by using read+write instead extract | {
"avatar_url": "https://avatars.githubusercontent.com/u/690238?v=4",
"events_url": "https://api.github.com/users/gaborbernat/events{/privacy}",
"followers_url": "https://api.github.com/users/gaborbernat/followers",
"following_url": "https://api.github.com/users/gaborbernat/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | {
"closed_at": "2021-08-25T21:25:16Z",
"closed_issues": 3,
"created_at": "2021-05-20T21:01:54Z",
"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/users... | 2 | 2020-12-24T19:20:04Z | 2021-12-28T19:23:15Z | 2021-07-07T00:14:52Z | CONTRIBUTOR | resolved | Extract also creates the folder hierarchy, however we do not need that,
the file itself being extracted to a temporary folder is good enough.
Instead we read the content of the zip and then write it. The write is
not locked but it's OK to update the same file multiple times given the
update operation will not alter the... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 1,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5707/reactions"
} | https://api.github.com/repos/psf/requests/issues/5707/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5707.diff",
"html_url": "https://github.com/psf/requests/pull/5707",
"merged_at": "2021-07-07T00:14:52Z",
"patch_url": "https://github.com/psf/requests/pull/5707.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5707"
} | true | [
"@sigmavirus24 @nateprewitt would you be able to accept this, so we can fix a long outstanding pip issue? Thanks!",
"@sigmavirus24 @nateprewitt do you have any plan to have a look at this?"
] |
https://api.github.com/repos/psf/requests/issues/5706 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5706/labels{/name} | https://api.github.com/repos/psf/requests/issues/5706/comments | https://api.github.com/repos/psf/requests/issues/5706/events | https://github.com/psf/requests/issues/5706 | 774,303,732 | MDU6SXNzdWU3NzQzMDM3MzI= | 5,706 | Using session object in a multiprocess pool | {
"avatar_url": "https://avatars.githubusercontent.com/u/2996964?v=4",
"events_url": "https://api.github.com/users/g1patnaik/events{/privacy}",
"followers_url": "https://api.github.com/users/g1patnaik/followers",
"following_url": "https://api.github.com/users/g1patnaik/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2020-12-24T09:54:45Z | 2021-08-28T00:05:59Z | 2020-12-24T14:15:57Z | NONE | resolved | Hi,
I am trying to run parallel requests to server. And my understanding is that it is only possible by having multiple connections created to the server. And I think somehow the Session object is doing that -> automatically creating multiple connections to the server from a single session object or it could be that... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5706/reactions"
} | https://api.github.com/repos/psf/requests/issues/5706/timeline | null | completed | null | null | false | [
"> Issue is that I expected a maximum of 20 connections will be created and which will stay alive and handles all the existing requests. However, I see the connections are being recycled and I couldn't find a pattern.\r\n\r\nThere are so many potential problems happening here, not the least of which being a fundame... |
https://api.github.com/repos/psf/requests/issues/5705 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5705/labels{/name} | https://api.github.com/repos/psf/requests/issues/5705/comments | https://api.github.com/repos/psf/requests/issues/5705/events | https://github.com/psf/requests/pull/5705 | 773,491,771 | MDExOlB1bGxSZXF1ZXN0NTQ0NTczODA3 | 5,705 | Update README.md | {
"avatar_url": "https://avatars.githubusercontent.com/u/71920621?v=4",
"events_url": "https://api.github.com/users/amaank404/events{/privacy}",
"followers_url": "https://api.github.com/users/amaank404/followers",
"following_url": "https://api.github.com/users/amaank404/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-12-23T05:14:15Z | 2021-08-27T00:08:53Z | 2020-12-23T14:19:41Z | NONE | resolved | A liitle bit of stats update 😄 | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5705/reactions"
} | https://api.github.com/repos/psf/requests/issues/5705/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5705.diff",
"html_url": "https://github.com/psf/requests/pull/5705",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5705.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5705"
} | true | [
"Hi @xcodz-dot, thanks for sending us a PR. 500,000+ by default includes 750,000. I don't think keeping these \"up-to-date\" is particularly important. If it were, we should be uploading the downloads per month count and lots of other things here. As it stands, these statistics aren't the most important thing to ma... |
https://api.github.com/repos/psf/requests/issues/5704 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5704/labels{/name} | https://api.github.com/repos/psf/requests/issues/5704/comments | https://api.github.com/repos/psf/requests/issues/5704/events | https://github.com/psf/requests/issues/5704 | 772,965,956 | MDU6SXNzdWU3NzI5NjU5NTY= | 5,704 | Documentation bug - missing cookies documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/73482956?v=4",
"events_url": "https://api.github.com/users/ascopes/events{/privacy}",
"followers_url": "https://api.github.com/users/ascopes/followers",
"following_url": "https://api.github.com/users/ascopes/following{/other_user}",
"gists_url": "https:... | [
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
"name": "Propose Close",
"node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=",
"url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close"
},
{
"color": "fef2c0",
"default": false,
"description": ... | closed | true | null | [] | null | 6 | 2020-12-22T13:56:59Z | 2021-08-28T00:05:58Z | 2021-01-18T04:08:11Z | NONE | resolved | On the current latest documentation, there is a `cookies` link under the `quickstart` option.

We can see that this section should be displayed between `Response Headers` and `Redirection History`.
![... | {
"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/5704/reactions"
} | https://api.github.com/repos/psf/requests/issues/5704/timeline | null | completed | null | null | false | [
"This section is missing!\r\n",
"Do we have a template for what information we would want to put in here? I would happily put up a PR if so.",
"The `Cookies` section under `Developer Interface` is missing as well",
"What domain are you accessing the documentation at? Both sections appear at:\r\n\r\nhttps://re... |
https://api.github.com/repos/psf/requests/issues/5703 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5703/labels{/name} | https://api.github.com/repos/psf/requests/issues/5703/comments | https://api.github.com/repos/psf/requests/issues/5703/events | https://github.com/psf/requests/issues/5703 | 772,654,080 | MDU6SXNzdWU3NzI2NTQwODA= | 5,703 | BUG REPORT: 2.25.1 breaks SSL for proxy connections. Reverting back to 2.24.0 fixes issue. | {
"avatar_url": "https://avatars.githubusercontent.com/u/180487?v=4",
"events_url": "https://api.github.com/users/vgoklani/events{/privacy}",
"followers_url": "https://api.github.com/users/vgoklani/followers",
"following_url": "https://api.github.com/users/vgoklani/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2020-12-22T05:33:21Z | 2021-08-28T00:06:00Z | 2020-12-23T03:01:53Z | NONE | resolved | Using requests 2.25.1:
session = requests.session()
session.proxies.update(proxies_dict)
should setup connections over our proxy server.
Unfortunately this is what we see:
SSLError: HTTPSConnectionPool(host='api.xyz.com', port=443): Max retries exceeded with url: /my/url (Caused by SSLError(SSLErr... | {
"avatar_url": "https://avatars.githubusercontent.com/u/180487?v=4",
"events_url": "https://api.github.com/users/vgoklani/events{/privacy}",
"followers_url": "https://api.github.com/users/vgoklani/followers",
"following_url": "https://api.github.com/users/vgoklani/following{/other_user}",
"gists_url": "https... | {
"+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/5703/reactions"
} | https://api.github.com/repos/psf/requests/issues/5703/timeline | null | completed | null | null | false | [
"I guess this urllib3 bug is related: https://github.com/urllib3/urllib3/issues/2075\r\nSince requests 2.25.1 urllib 1.16 is used, which fixed a bug regarding proxies and https connections.\r\n\r\nThe 'solution' posted there fixed the issue for me."
] |
https://api.github.com/repos/psf/requests/issues/5702 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5702/labels{/name} | https://api.github.com/repos/psf/requests/issues/5702/comments | https://api.github.com/repos/psf/requests/issues/5702/events | https://github.com/psf/requests/pull/5702 | 771,580,659 | MDExOlB1bGxSZXF1ZXN0NTQzMDYzMjIy | 5,702 | Don't perform authentication if no credential provided | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 4 | 2020-12-20T12:46:32Z | 2021-08-27T00:08:38Z | 2020-12-20T13:35:06Z | NONE | resolved | ## The old behavior:
```python
>>> requests.get('http://127.0.0.1:8080', auth=(None, None))
```
```http
GET / HTTP/1.1
Host: 127.0.0.1:8080
User-Agent: python-requests/2.25.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Authorization: Basic Tm9uZTpOb25l (None:None)
```
This is we... | {
"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/5702/reactions"
} | https://api.github.com/repos/psf/requests/issues/5702/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5702.diff",
"html_url": "https://github.com/psf/requests/pull/5702",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5702.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5702"
} | true | [
"Also, None username or password will become an empty username/password",
"Requests is in a feature-freeze and this is strictly backwards incompatible",
"Hi, what's the problem? I just want to help!!",
"Totally, change the `None` object to the username `None` (string) is really crazy"
] |
https://api.github.com/repos/psf/requests/issues/5701 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5701/labels{/name} | https://api.github.com/repos/psf/requests/issues/5701/comments | https://api.github.com/repos/psf/requests/issues/5701/events | https://github.com/psf/requests/pull/5701 | 771,567,638 | MDExOlB1bGxSZXF1ZXN0NTQzMDU0MDU1 | 5,701 | Problem fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2020-12-20T11:25:47Z | 2021-08-27T00:08:54Z | 2020-12-20T12:47:22Z | NONE | resolved | You should check the protocol, not the start of the URL. Otherwise, this will be a valid protocol: `httpfuck://google.com` | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5701/reactions"
} | https://api.github.com/repos/psf/requests/issues/5701/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5701.diff",
"html_url": "https://github.com/psf/requests/pull/5701",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5701.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5701"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5700 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5700/labels{/name} | https://api.github.com/repos/psf/requests/issues/5700/comments | https://api.github.com/repos/psf/requests/issues/5700/events | https://github.com/psf/requests/pull/5700 | 771,561,746 | MDExOlB1bGxSZXF1ZXN0NTQzMDUwMDQz | 5,700 | Auto-add labels to issues | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-12-20T10:48:01Z | 2021-08-27T00:08:54Z | 2020-12-20T13:36:27Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5700/reactions"
} | https://api.github.com/repos/psf/requests/issues/5700/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5700.diff",
"html_url": "https://github.com/psf/requests/pull/5700",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5700.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5700"
} | true | [
"Many folks open bugs and feature requests that are neither. Auto-labelling would then require more effort to remove those labels on the part of the maintainers"
] | |
https://api.github.com/repos/psf/requests/issues/5699 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5699/labels{/name} | https://api.github.com/repos/psf/requests/issues/5699/comments | https://api.github.com/repos/psf/requests/issues/5699/events | https://github.com/psf/requests/pull/5699 | 771,524,935 | MDExOlB1bGxSZXF1ZXN0NTQzMDI1MTQ0 | 5,699 | Don't perform authentication if no credential provided | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-12-20T06:28:32Z | 2021-08-27T00:08:54Z | 2020-12-20T12:40:07Z | NONE | resolved | ## The old behavior:
```python
>>> requests.get('http://127.0.0.1:8080', auth=(None, None))
```
```http
GET / HTTP/1.1
Host: 127.0.0.1:8080
User-Agent: python-requests/2.25.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Authorization: Basic Tm9uZTpOb25l (None:None)
```
The same t... | {
"avatar_url": "https://avatars.githubusercontent.com/u/59408894?v=4",
"events_url": "https://api.github.com/users/shelld3v/events{/privacy}",
"followers_url": "https://api.github.com/users/shelld3v/followers",
"following_url": "https://api.github.com/users/shelld3v/following{/other_user}",
"gists_url": "htt... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5699/reactions"
} | https://api.github.com/repos/psf/requests/issues/5699/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5699.diff",
"html_url": "https://github.com/psf/requests/pull/5699",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5699.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5699"
} | true | [
"Also, `None` username or password will become an empty username/password"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.