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/2430 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2430/labels{/name} | https://api.github.com/repos/psf/requests/issues/2430/comments | https://api.github.com/repos/psf/requests/issues/2430/events | https://github.com/psf/requests/issues/2430 | 55,872,428 | MDU6SXNzdWU1NTg3MjQyOA== | 2,430 | Upgrade/install of 2.5.0 fails on Fedora via yum | {
"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 | 2015-01-29T08:51:22Z | 2021-09-08T20:00:50Z | 2015-01-29T10:34:10Z | NONE | resolved | Running transaction check
Running transaction test
Transaction test succeeded
Running transaction (shutdown inhibited)
Updating : python-requests-2.5.0-3.fc21.noarch ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2430/reactions"
} | https://api.github.com/repos/psf/requests/issues/2430/timeline | null | completed | null | null | false | [
"v 2.3 can be installed/uninstalled\nv2.5 cann't be installed/upgraded-to\nWorks fine from pip\n",
"We do not package or build the Red Hat packages. Please take this up with downstream.\n",
"This seems to be caused by a conflict when the package is already installed via pip.\nSee https://bugzilla.redhat.com/sho... |
https://api.github.com/repos/psf/requests/issues/2429 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2429/labels{/name} | https://api.github.com/repos/psf/requests/issues/2429/comments | https://api.github.com/repos/psf/requests/issues/2429/events | https://github.com/psf/requests/pull/2429 | 55,760,918 | MDExOlB1bGxSZXF1ZXN0MjgxOTYyNTE= | 2,429 | Update support documentation to be more accurate | {
"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_... | [
{
"color": "fad8c7",
"default": false,
"description": null,
"id": 136616769,
"name": "Documentation",
"node_id": "MDU6TGFiZWwxMzY2MTY3Njk=",
"url": "https://api.github.com/repos/psf/requests/labels/Documentation"
}
] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 12 | 2015-01-28T14:16:25Z | 2021-09-08T08:01:05Z | 2015-03-04T22:20:33Z | CONTRIBUTOR | resolved | We were missing instructions to report security vulnerabilities,
and all of the documentation referred to Kenneth as the only
source of support. We were also missing a link to StackOverflow.
| {
"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/2429/reactions"
} | https://api.github.com/repos/psf/requests/issues/2429/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2429.diff",
"html_url": "https://github.com/psf/requests/pull/2429",
"merged_at": "2015-03-04T22:20:33Z",
"patch_url": "https://github.com/psf/requests/pull/2429.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2429"
} | true | [
"One note. =D\n",
"Added you @Lukasa and added a bit more detail about vulnerability reporting.\n",
"This looks good.\n- I might duplicate the vulnerability reporting text in a top-level page called \"Security\". Basically you want to make it really easy for anyone googling \"python requests security\" to find ... |
https://api.github.com/repos/psf/requests/issues/2428 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2428/labels{/name} | https://api.github.com/repos/psf/requests/issues/2428/comments | https://api.github.com/repos/psf/requests/issues/2428/events | https://github.com/psf/requests/pull/2428 | 55,613,958 | MDExOlB1bGxSZXF1ZXN0MjgxMDU4OTM= | 2,428 | Docs fixed | {
"avatar_url": "https://avatars.githubusercontent.com/u/1381173?v=4",
"events_url": "https://api.github.com/users/sepulchered/events{/privacy}",
"followers_url": "https://api.github.com/users/sepulchered/followers",
"following_url": "https://api.github.com/users/sepulchered/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 6 | 2015-01-27T12:53:10Z | 2021-09-08T09:01:00Z | 2015-01-27T18:22:35Z | NONE | resolved | Moved "Custom Headers" part after "More complicated POST requests" and before "POST a Multipart-Encoded File" in quickstart doc for adding headers is mentioned in the last one.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2428/reactions"
} | https://api.github.com/repos/psf/requests/issues/2428/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2428.diff",
"html_url": "https://github.com/psf/requests/pull/2428",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2428.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2428"
} | true | [
"I think the correct fix is actually to come up with an example that doesn't require the `data` parameter. Custom headers should come before anything with 'more complicated' in the title. =)\n",
"I see, I just decided that it would be enough because custom headers are not mentioned in \"More complicated POST requ... |
https://api.github.com/repos/psf/requests/issues/2427 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2427/labels{/name} | https://api.github.com/repos/psf/requests/issues/2427/comments | https://api.github.com/repos/psf/requests/issues/2427/events | https://github.com/psf/requests/pull/2427 | 55,436,588 | MDExOlB1bGxSZXF1ZXN0MjgwMDA4MDA= | 2,427 | Bug fix: field uri in digest authentication should not be empty when enc... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1176856?v=4",
"events_url": "https://api.github.com/users/luozhaoyu/events{/privacy}",
"followers_url": "https://api.github.com/users/luozhaoyu/followers",
"following_url": "https://api.github.com/users/luozhaoyu/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 6 | 2015-01-26T00:13:59Z | 2021-09-08T08:00:53Z | 2015-04-06T15:19:15Z | CONTRIBUTOR | resolved | ...ounter http redirections.
https://github.com/kennethreitz/requests/issues/2426
| {
"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/2427/reactions"
} | https://api.github.com/repos/psf/requests/issues/2427/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2427.diff",
"html_url": "https://github.com/psf/requests/pull/2427",
"merged_at": "2015-04-06T15:19:15Z",
"patch_url": "https://github.com/psf/requests/pull/2427.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2427"
} | true | [
"I haven't read this yet, and I'm certain it really is this simple, but I want to re read the RFC about this regardless to make sure this applies to all cases. I suppose we've never had trouble with this because people were using URIs that had paths when authenticating. It doesn't hurt to be safe though. =)\n\nThan... |
https://api.github.com/repos/psf/requests/issues/2426 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2426/labels{/name} | https://api.github.com/repos/psf/requests/issues/2426/comments | https://api.github.com/repos/psf/requests/issues/2426/events | https://github.com/psf/requests/issues/2426 | 55,436,121 | MDU6SXNzdWU1NTQzNjEyMQ== | 2,426 | Bug: field "uri" in header["Proxy-Authorization"] should not be empty | {
"avatar_url": "https://avatars.githubusercontent.com/u/1176856?v=4",
"events_url": "https://api.github.com/users/luozhaoyu/events{/privacy}",
"followers_url": "https://api.github.com/users/luozhaoyu/followers",
"following_url": "https://api.github.com/users/luozhaoyu/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2015-01-25T23:58:04Z | 2021-09-08T23:05:48Z | 2015-04-06T15:19:29Z | CONTRIBUTOR | resolved | #### Issue
When I am handling [toolbelt's digest proxy issue](https://github.com/sigmavirus24/requests-toolbelt/issues/53), I find the proxy server rejects my request header:
Connection: keep-alive\r\n
Proxy-Authorization: Digest username="luozhaoyu", realm="balabalba@host.com", nonce="o3jFVAAAAADwDnHL3X8AABqmXw4AAAA... | {
"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/2426/reactions"
} | https://api.github.com/repos/psf/requests/issues/2426/timeline | null | completed | null | null | false | [
"Closed by #2427.\n"
] |
https://api.github.com/repos/psf/requests/issues/2425 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2425/labels{/name} | https://api.github.com/repos/psf/requests/issues/2425/comments | https://api.github.com/repos/psf/requests/issues/2425/events | https://github.com/psf/requests/issues/2425 | 55,425,272 | MDU6SXNzdWU1NTQyNTI3Mg== | 2,425 | SOCKS proxy support | {
"avatar_url": "https://avatars.githubusercontent.com/u/6208662?v=4",
"events_url": "https://api.github.com/users/jorenham/events{/privacy}",
"followers_url": "https://api.github.com/users/jorenham/followers",
"following_url": "https://api.github.com/users/jorenham/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 8 | 2015-01-25T19:01:05Z | 2021-09-05T00:06:58Z | 2015-01-25T19:14:56Z | NONE | resolved | I would like to request support for Socket Secure protocol. There exists a fork (https://github.com/dvska/requesocks) with this capability, but it is limited (python 2 only).
Currently the `AssertionError: Not supported proxy scheme socks5` is thrown when attempting to connect to a socks5 proxy.
A quick Google searc... | {
"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/2425/reactions"
} | https://api.github.com/repos/psf/requests/issues/2425/timeline | null | completed | null | null | false | [
"https://github.com/kennethreitz/requests/issues?q=is%3Aissue+socks+is%3Aclosed would have been a good search before opening this issue as well.\n",
"https://github.com/kennethreitz/requests/pull/478 was the only effort anyone made towards including this support in requests over 2 years ago. As of now, https://gi... |
https://api.github.com/repos/psf/requests/issues/2424 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2424/labels{/name} | https://api.github.com/repos/psf/requests/issues/2424/comments | https://api.github.com/repos/psf/requests/issues/2424/events | https://github.com/psf/requests/issues/2424 | 55,422,175 | MDU6SXNzdWU1NTQyMjE3NQ== | 2,424 | Consider Requests' Inclusion in Python 3.5's Standard Library | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"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"
}
] | closed | true | null | [] | null | 42 | 2015-01-25T17:17:59Z | 2021-09-08T22:00:48Z | 2015-05-03T15:08:10Z | CONTRIBUTOR | resolved | There's a lot to this, but I'll keep it simple...
Would the Python community, as a whole, benefit from Requests being added into the standard library?
Would love to hear your thoughts and opinions on the subject!
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 31,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 10,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 41,
"url": "https://api.github.com/repos/psf/requests/issues/2424/reactions"
} | https://api.github.com/repos/psf/requests/issues/2424/timeline | null | completed | null | null | false | [
"Yes, because it simplifies the entire process and does not sacrifice the performance. So yes.\n",
"- What kind of impact would this have on Requests' ability to evolve and grow?\n- Does Requests' release frequency jive with that of Python's? A big difference here might be a good indication that stdlib isn't the ... |
https://api.github.com/repos/psf/requests/issues/2423 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2423/labels{/name} | https://api.github.com/repos/psf/requests/issues/2423/comments | https://api.github.com/repos/psf/requests/issues/2423/events | https://github.com/psf/requests/issues/2423 | 55,359,316 | MDU6SXNzdWU1NTM1OTMxNg== | 2,423 | requests 2.5.0 uninstall fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/715626?v=4",
"events_url": "https://api.github.com/users/dsoprea/events{/privacy}",
"followers_url": "https://api.github.com/users/dsoprea/followers",
"following_url": "https://api.github.com/users/dsoprea/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 12 | 2015-01-24T05:09:41Z | 2021-09-08T23:06:03Z | 2015-01-24T16:20:51Z | CONTRIBUTOR | resolved | Installing the latest (2.5.1) or 2.5.0 (in the examples, below), installs a version that can't be uninstalled or upgraded, though it imports without a problem. I show how 2.2.0 (my previous version) didn't have this problem.
Install 2.5.0:
```
dustin@deploy1:/usr/local/lib/python2.7/dist-packages$ sudo pip install re... | {
"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/2423/reactions"
} | https://api.github.com/repos/psf/requests/issues/2423/timeline | null | completed | null | null | false | [
"This isn't our fault I don't think: your exception comes from pip. @dstufft?\n",
"## This looks like you installed pip using your system package manager and it needs a version of requests installed. \n\nSent from my Android device with K-9 Mail. Please excuse my brevity.\n",
"Yea what @sigmavirus24 said. Some ... |
https://api.github.com/repos/psf/requests/issues/2422 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2422/labels{/name} | https://api.github.com/repos/psf/requests/issues/2422/comments | https://api.github.com/repos/psf/requests/issues/2422/events | https://github.com/psf/requests/issues/2422 | 55,284,235 | MDU6SXNzdWU1NTI4NDIzNQ== | 2,422 | Broken pipe Exception | {
"avatar_url": "https://avatars.githubusercontent.com/u/1229983?v=4",
"events_url": "https://api.github.com/users/cloverstd/events{/privacy}",
"followers_url": "https://api.github.com/users/cloverstd/followers",
"following_url": "https://api.github.com/users/cloverstd/following{/other_user}",
"gists_url": "h... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 136589914,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwxMzY1ODk5MTQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20Info"
}
] | closed | true | null | [] | null | 61 | 2015-01-23T14:03:14Z | 2016-11-30T09:12:06Z | 2015-04-11T02:58:50Z | NONE | null | I post a large file to server, and it raise `ConnectionError` exception.
```
Traceback (most recent call last):
File "/Users/cloverstd/.virtualenvs/enterprise/lib/python2.7/site-packages/rq/worker.py", line 479, in perform_job
rv = job.perform()
File "/Users/cloverstd/.virtualenvs/enterprise/lib/python2.7/site... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2422/reactions"
} | https://api.github.com/repos/psf/requests/issues/2422/timeline | null | completed | null | null | false | [
"Can you reproduce it every time? What curl command are you using? Does the\nserver have any useful log messages?\n\n## \n\nKevin Burke\nphone: 925.271.7005 | twentymilliseconds.com\n\nOn Fri, Jan 23, 2015 at 6:03 AM, Cloverstd notifications@github.com wrote:\n\n> I post a large file to server, and it raise Connect... |
https://api.github.com/repos/psf/requests/issues/2421 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2421/labels{/name} | https://api.github.com/repos/psf/requests/issues/2421/comments | https://api.github.com/repos/psf/requests/issues/2421/events | https://github.com/psf/requests/issues/2421 | 55,242,976 | MDU6SXNzdWU1NTI0Mjk3Ng== | 2,421 | Quoted newlines not handled properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/942461?v=4",
"events_url": "https://api.github.com/users/jrootham/events{/privacy}",
"followers_url": "https://api.github.com/users/jrootham/followers",
"following_url": "https://api.github.com/users/jrootham/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2015-01-23T04:06:42Z | 2021-09-08T23:06:03Z | 2015-01-23T15:36:40Z | NONE | resolved | When trying to use iter_lines() reader for csv to read an parse a csv file it failed. It turns out that if there is a quoted newline in the file it removes the comma quote delimiter for the quoted newline and the following line.
This makes it impossible to use iter_lines for csv.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2421/reactions"
} | https://api.github.com/repos/psf/requests/issues/2421/timeline | null | completed | null | null | false | [
"## Can you use a paste servIce to give a concrete example of this? I'm not sure I follow your description \n\nSent from my Android device with K-9 Mail. Please excuse my brevity.\n",
"Input file:\n \"a\",\"\n \",\"b\"\n \"c\",\"\n \",\"d\"\n\nOutput stings\n \"a\"\n \"c\"\n",
"I don't see how... |
https://api.github.com/repos/psf/requests/issues/2420 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2420/labels{/name} | https://api.github.com/repos/psf/requests/issues/2420/comments | https://api.github.com/repos/psf/requests/issues/2420/events | https://github.com/psf/requests/pull/2420 | 55,242,311 | MDExOlB1bGxSZXF1ZXN0Mjc4OTk2NjY= | 2,420 | Replace n-dash in HISTORY to workaround pip bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/665269?v=4",
"events_url": "https://api.github.com/users/chriskuehl/events{/privacy}",
"followers_url": "https://api.github.com/users/chriskuehl/followers",
"following_url": "https://api.github.com/users/chriskuehl/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 3 | 2015-01-23T03:54:12Z | 2021-09-08T09:01:01Z | 2015-01-23T07:19:39Z | CONTRIBUTOR | resolved | There exists a problem (maybe a bug?) in pip when using a locale like `LC_ALL=C` (which is commonly used by CI environments and system configuration tools such as Puppet), where the PKG-INFO file is decoded using ascii, raising a UnicodeDecodeError when PKG-INFO contains non-ASCII characters (such as the n-dash removed... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2420/reactions"
} | https://api.github.com/repos/psf/requests/issues/2420/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2420.diff",
"html_url": "https://github.com/psf/requests/pull/2420",
"merged_at": "2015-01-23T07:19:39Z",
"patch_url": "https://github.com/psf/requests/pull/2420.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2420"
} | true | [
"Yeah, I'm just sick of this now. Thanks! :cake:\n",
"This is the second time these have snuck in. Where are they coming from? Do we think this closes #2419?\n",
"I hope so.\n"
] |
https://api.github.com/repos/psf/requests/issues/2419 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2419/labels{/name} | https://api.github.com/repos/psf/requests/issues/2419/comments | https://api.github.com/repos/psf/requests/issues/2419/events | https://github.com/psf/requests/issues/2419 | 55,033,747 | MDU6SXNzdWU1NTAzMzc0Nw== | 2,419 | UnicodeDecodeError installing via pip-3.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/858881?v=4",
"events_url": "https://api.github.com/users/TFenby/events{/privacy}",
"followers_url": "https://api.github.com/users/TFenby/followers",
"following_url": "https://api.github.com/users/TFenby/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 3 | 2015-01-21T15:32:05Z | 2021-09-08T23:04:52Z | 2015-05-03T15:08:23Z | NONE | resolved | So here's a weird one. I have a Docker container based on debian:stable where I install python3 and python3-pip, and when trying to install requests from a requirements.txt file I get the following:
```
Downloading/unpacking requests (from -r /tmp/requirements/xxx.txt (line 2))
Running setup.py egg_info for package ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2419/reactions"
} | https://api.github.com/repos/psf/requests/issues/2419/timeline | null | completed | null | null | false | [
"This is a duplicate of an old error that was fixed. Can you confirm that the version of requests is pinned to something in the 2.x line but is not 2.5.1?\n",
"#2196 is the already fixed issue for reference.\n",
"I've tried it with no version pinned, pinned to 2.5.1, and pinned to 2.5.0.\nThe thing that I don't... |
https://api.github.com/repos/psf/requests/issues/2418 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2418/labels{/name} | https://api.github.com/repos/psf/requests/issues/2418/comments | https://api.github.com/repos/psf/requests/issues/2418/events | https://github.com/psf/requests/issues/2418 | 54,997,272 | MDU6SXNzdWU1NDk5NzI3Mg== | 2,418 | Data argument introduced too early in Quickstart guide | {
"avatar_url": "https://avatars.githubusercontent.com/u/3679615?v=4",
"events_url": "https://api.github.com/users/alfonsomhc/events{/privacy}",
"followers_url": "https://api.github.com/users/alfonsomhc/followers",
"following_url": "https://api.github.com/users/alfonsomhc/following{/other_user}",
"gists_url":... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 8 | 2015-01-21T09:45:56Z | 2021-09-08T23:05:53Z | 2015-03-15T18:39:54Z | NONE | resolved | I'm following the quick start guide in:
http://docs.python-requests.org/en/latest/user/quickstart/
I got confused when reading the section "Custom Headers" because the example code features the data argument, which hasn't been introduced in the guide yet (it is the next section "More complicated POST requests" that des... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2418/reactions"
} | https://api.github.com/repos/psf/requests/issues/2418/timeline | null | completed | null | null | false | [
"Agreed, this should be reworked. Marking as contributor friendly.\n",
"Why not just leave out the data argument in the Custom Headers section? That section is clearly not meant to explain the usage of data argument. It is being discussed later on in the \"More complicated POST requests\" section. What do you guy... |
https://api.github.com/repos/psf/requests/issues/2417 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2417/labels{/name} | https://api.github.com/repos/psf/requests/issues/2417/comments | https://api.github.com/repos/psf/requests/issues/2417/events | https://github.com/psf/requests/issues/2417 | 54,903,649 | MDU6SXNzdWU1NDkwMzY0OQ== | 2,417 | pylint friendly | {
"avatar_url": "https://avatars.githubusercontent.com/u/5856387?v=4",
"events_url": "https://api.github.com/users/DavidHwu/events{/privacy}",
"followers_url": "https://api.github.com/users/DavidHwu/followers",
"following_url": "https://api.github.com/users/DavidHwu/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 11 | 2015-01-20T16:21:35Z | 2021-09-08T05:00:40Z | 2015-01-20T16:51:45Z | NONE | resolved | Kindly request that requests be more pylint compliant. When evaluating which package to use, this comes up with a score of -154.
## Global evaluation
Your code has been rated at -154.92/10 (previous run: -154.91/10, -0.00)
Errors:
Davids-MacBook-Pro-2:~ dhwu$ pylint -E /Users/dhwu/Desktop/Evals/HTTP\ Libs/requests-... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2417/reactions"
} | https://api.github.com/repos/psf/requests/issues/2417/timeline | null | completed | null | null | false | [
"Opening this kind of issue is exactly the kind of thing that is likely to get you some very negative comments indeed. =) Offering criticism without offering to help improve it is extremely bad manners. It's worse when the criticism is of the form \"Your project doesn't live up to my personal standard <x>\" as this... |
https://api.github.com/repos/psf/requests/issues/2416 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2416/labels{/name} | https://api.github.com/repos/psf/requests/issues/2416/comments | https://api.github.com/repos/psf/requests/issues/2416/events | https://github.com/psf/requests/issues/2416 | 54,884,915 | MDU6SXNzdWU1NDg4NDkxNQ== | 2,416 | Cookie header isn't passed when redirected | {
"avatar_url": "https://avatars.githubusercontent.com/u/1026154?v=4",
"events_url": "https://api.github.com/users/Fizzadar/events{/privacy}",
"followers_url": "https://api.github.com/users/Fizzadar/followers",
"following_url": "https://api.github.com/users/Fizzadar/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 5 | 2015-01-20T13:50:37Z | 2021-09-08T23:06:04Z | 2015-01-22T14:24:32Z | NONE | resolved | The `Cookie` header isn't sent to redirected URL's like other headers is:
```
# Requests version = 2.5.1
ipdb> response.request.headers
{'CustomHeader': 'this_still_works!'}
ipdb> response.history[0].request.headers
{'CustomHeader': 'this_still_works!', 'Cookie': 'token=top_secret_token; email="dev@dev.com";'}
```
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1026154?v=4",
"events_url": "https://api.github.com/users/Fizzadar/events{/privacy}",
"followers_url": "https://api.github.com/users/Fizzadar/followers",
"following_url": "https://api.github.com/users/Fizzadar/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/2416/reactions"
} | https://api.github.com/repos/psf/requests/issues/2416/timeline | null | completed | null | null | false | [
"There isn't enough information to even begin to debug this. You're clearly being redirected.\n- Are you being redirected to new domain (or sub-domain)? (e.g., from `example.com` to `sub.example.com` or `example.org`)\n- Are you being redirected from `http://` to `https://`?\n- Where does the cookie come from?\n -... |
https://api.github.com/repos/psf/requests/issues/2415 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2415/labels{/name} | https://api.github.com/repos/psf/requests/issues/2415/comments | https://api.github.com/repos/psf/requests/issues/2415/events | https://github.com/psf/requests/pull/2415 | 54,830,688 | MDExOlB1bGxSZXF1ZXN0Mjc2NDY0Njc= | 2,415 | Move noncebit to the only place it is used | {
"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_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 3 | 2015-01-20T00:51:27Z | 2021-09-08T09:01:00Z | 2015-01-27T18:22:53Z | CONTRIBUTOR | resolved | Since we only allow for "auth" qop-value, hardcode it
Fixes #2408
I want to add tests but I'm not sure a good way to write them. =(
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2415/reactions"
} | https://api.github.com/repos/psf/requests/issues/2415/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2415.diff",
"html_url": "https://github.com/psf/requests/pull/2415",
"merged_at": "2015-01-27T18:22:53Z",
"patch_url": "https://github.com/psf/requests/pull/2415.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2415"
} | true | [
"I merged the changes into my auth.py and it worked fine, both for my servers which offer qop=\"auth\" and for those which offer qop=\"auth,auth-int\".\nFrom my point of view the issue #2408 is fixed by this commit.\n",
"Testing this is a nightmare, it's super stateful and you have to patch time and all sorts of ... |
https://api.github.com/repos/psf/requests/issues/2414 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2414/labels{/name} | https://api.github.com/repos/psf/requests/issues/2414/comments | https://api.github.com/repos/psf/requests/issues/2414/events | https://github.com/psf/requests/issues/2414 | 54,724,438 | MDU6SXNzdWU1NDcyNDQzOA== | 2,414 | Environment http_proxy will cover the Session property s.proxies | {
"avatar_url": "https://avatars.githubusercontent.com/u/1917483?v=4",
"events_url": "https://api.github.com/users/syjiangrui/events{/privacy}",
"followers_url": "https://api.github.com/users/syjiangrui/followers",
"following_url": "https://api.github.com/users/syjiangrui/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 2 | 2015-01-19T04:05:17Z | 2021-09-08T23:06:10Z | 2015-01-19T08:58:29Z | NONE | resolved | When I use a proxy in my code I find a problem. In the code below
``` python
s = requests.Session()
s.proxies = {'http':'127.0.0.1:3128'}
r = s.get("http://www.apple.com")
```
If I set environmet var http_proxy='http://192.168.1.100:3128' then the request will use environment proxy rather than the proxy I have set in... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2414/reactions"
} | https://api.github.com/repos/psf/requests/issues/2414/timeline | null | completed | null | null | false | [
"Possible duplicate of #2109\n",
"Nope, it's a definite duplicate of #2018.\n"
] |
https://api.github.com/repos/psf/requests/issues/2413 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2413/labels{/name} | https://api.github.com/repos/psf/requests/issues/2413/comments | https://api.github.com/repos/psf/requests/issues/2413/events | https://github.com/psf/requests/pull/2413 | 54,724,003 | MDExOlB1bGxSZXF1ZXN0Mjc1ODM4OTQ= | 2,413 | Check that filenames are unicode or bytes | {
"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_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | {
"closed_at": "2015-04-06T01:57:33Z",
"closed_issues": 4,
"created_at": "2015-01-18T20:07:00Z",
"creator": {
"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... | 4 | 2015-01-19T03:54:01Z | 2021-09-08T09:00:59Z | 2015-01-27T18:23:18Z | CONTRIBUTOR | resolved | Instead of only checking one or another type of string-like object that we
accept, let's be able to check both.
Fixes #2411
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2413/reactions"
} | https://api.github.com/repos/psf/requests/issues/2413/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2413.diff",
"html_url": "https://github.com/psf/requests/pull/2413",
"merged_at": "2015-01-27T18:23:18Z",
"patch_url": "https://github.com/psf/requests/pull/2413.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2413"
} | true | [
"Why are we not just using `basestring`?\n",
"@Lukasa This is what I get for working on this way too late last night.\n\n@arthurdarcet thanks. Done.\n",
"Thanks! LGTM. :cake:\n",
"@Lukasa fwiw, I edited the commit message on my commit and retitled the PR to be more accurate descriptions of what's happening. T... |
https://api.github.com/repos/psf/requests/issues/2412 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2412/labels{/name} | https://api.github.com/repos/psf/requests/issues/2412/comments | https://api.github.com/repos/psf/requests/issues/2412/events | https://github.com/psf/requests/pull/2412 | 54,722,570 | MDExOlB1bGxSZXF1ZXN0Mjc1ODMwOTA= | 2,412 | Remove entirely unnecessary and unused bits from requests.compat | {
"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_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | {
"closed_at": "2015-04-06T01:57:33Z",
"closed_issues": 4,
"created_at": "2015-01-18T20:07:00Z",
"creator": {
"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... | 2 | 2015-01-19T03:17:36Z | 2021-09-08T09:00:58Z | 2015-01-27T18:24:25Z | CONTRIBUTOR | resolved | A tiny refactor I noticed while looking into a separate bug.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2412/reactions"
} | https://api.github.com/repos/psf/requests/issues/2412/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2412.diff",
"html_url": "https://github.com/psf/requests/pull/2412",
"merged_at": "2015-01-27T18:24:25Z",
"patch_url": "https://github.com/psf/requests/pull/2412.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2412"
} | true | [
"Fine by me. :cake:\n",
"Hmmm, interesting.\n"
] |
https://api.github.com/repos/psf/requests/issues/2411 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2411/labels{/name} | https://api.github.com/repos/psf/requests/issues/2411/comments | https://api.github.com/repos/psf/requests/issues/2411/events | https://github.com/psf/requests/issues/2411 | 54,706,715 | MDU6SXNzdWU1NDcwNjcxNQ== | 2,411 | Requests 2.5.1 doesn't recognize unicode filenames for uploads | {
"avatar_url": "https://avatars.githubusercontent.com/u/80012?v=4",
"events_url": "https://api.github.com/users/sjagoe/events{/privacy}",
"followers_url": "https://api.github.com/users/sjagoe/followers",
"following_url": "https://api.github.com/users/sjagoe/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 19 | 2015-01-18T19:21:13Z | 2021-09-08T23:05:43Z | 2015-01-27T18:23:18Z | NONE | resolved | After merge of https://github.com/kennethreitz/requests/pull/2379, to allow filenames to be `int` types, unicode filenames are no longer recognized under Python 2.
This checks that the filename is a `builtin` `str`, which has different behaviour on Python 2 and Python 3:
`requests/utils.py:118: if name and isinsta... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2411/reactions"
} | https://api.github.com/repos/psf/requests/issues/2411/timeline | null | completed | null | null | false | [
"In fact, I have not tried this yet, but I think it will make writing code compatible with Python 2 and Python 3 much more difficult. In working around the Python 2 issue by encoding the unicode filename, it is likely that a Python 3 issue will be introduced. This is going to require version specific encoding handl... |
https://api.github.com/repos/psf/requests/issues/2410 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2410/labels{/name} | https://api.github.com/repos/psf/requests/issues/2410/comments | https://api.github.com/repos/psf/requests/issues/2410/events | https://github.com/psf/requests/issues/2410 | 54,652,674 | MDU6SXNzdWU1NDY1MjY3NA== | 2,410 | urllib3 exceptions | {
"avatar_url": "https://avatars.githubusercontent.com/u/80876?v=4",
"events_url": "https://api.github.com/users/edrahn/events{/privacy}",
"followers_url": "https://api.github.com/users/edrahn/followers",
"following_url": "https://api.github.com/users/edrahn/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2015-01-17T06:26:33Z | 2021-09-08T23:06:11Z | 2015-01-17T14:42:51Z | NONE | resolved | Traceback (most recent call last):
File "./dlcharts.py", line 111, in <module>
content = get_url(url)
File "/home/ed/projects/equalog/src/web.py", line 118, in get_url
referrer=referrer)
File "/home/ed/projects/equalog/src/web.py", line 81, in get_content
content = response.content
File "/usr/lib/py... | {
"avatar_url": "https://avatars.githubusercontent.com/u/80876?v=4",
"events_url": "https://api.github.com/users/edrahn/events{/privacy}",
"followers_url": "https://api.github.com/users/edrahn/followers",
"following_url": "https://api.github.com/users/edrahn/following{/other_user}",
"gists_url": "https://api.... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2410/reactions"
} | https://api.github.com/repos/psf/requests/issues/2410/timeline | null | completed | null | null | false | [
"What version of requests are you using? This should have been patched in 2.4.0.\n",
"I'm not sure what version it was. I was using the system package instead of my virtaulenv one, and that fixed it. Most likey diferent versions.\n"
] |
https://api.github.com/repos/psf/requests/issues/2409 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2409/labels{/name} | https://api.github.com/repos/psf/requests/issues/2409/comments | https://api.github.com/repos/psf/requests/issues/2409/events | https://github.com/psf/requests/issues/2409 | 54,500,918 | MDU6SXNzdWU1NDUwMDkxOA== | 2,409 | Consecutive requests with Session() raises 404 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1877650?v=4",
"events_url": "https://api.github.com/users/RossLote/events{/privacy}",
"followers_url": "https://api.github.com/users/RossLote/followers",
"following_url": "https://api.github.com/users/RossLote/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 42 | 2015-01-15T20:38:19Z | 2021-09-08T01:21:19Z | 2018-06-19T18:23:11Z | NONE | resolved | In [1]: import requests
In [2]: s = requests.Session()
In [3]: s.get('https://www.flavourly.com/start-subscription/12/', verify=False)
Out[3]: <Response [200]>
In [4]: s.get('https://www.flavourly.com/start-subscription/12/', verify=False)
Out[4]: <Response [404]>
Is it me or is this a bug? I've checked an... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2409/reactions"
} | https://api.github.com/repos/psf/requests/issues/2409/timeline | null | completed | null | null | false | [
"I don't think it's a bug, I think it's because of cookies. Flavourly doesn't seem to like the cookies we're sending back. Try checking the difference between the value of `s.cookies` after the first request, once in something where you don't see the 'bug', and once in a version where you do.\n",
"In fact, I thin... |
https://api.github.com/repos/psf/requests/issues/2408 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2408/labels{/name} | https://api.github.com/repos/psf/requests/issues/2408/comments | https://api.github.com/repos/psf/requests/issues/2408/events | https://github.com/psf/requests/issues/2408 | 54,311,142 | MDU6SXNzdWU1NDMxMTE0Mg== | 2,408 | Wrong digest header creation when server has qop="auth,auth-int" | {
"avatar_url": "https://avatars.githubusercontent.com/u/10529974?v=4",
"events_url": "https://api.github.com/users/berndschultze/events{/privacy}",
"followers_url": "https://api.github.com/users/berndschultze/followers",
"following_url": "https://api.github.com/users/berndschultze/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 7 | 2015-01-14T11:21:32Z | 2021-09-08T23:06:03Z | 2015-01-27T18:22:53Z | NONE | resolved | I always get "401 unauthorized" when trying to log in to a server which writes qop="auth,auth-int" in its answer. The problem doesn't exist with Curl.
I debugged the requests code and probably found the problem in auth.py. The function build_digest_header in class HTTPDigestAuth calculates
noncebit = "%s:%s:%s:%s:%... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2408/reactions"
} | https://api.github.com/repos/psf/requests/issues/2408/timeline | null | completed | null | null | false | [
"We do not use `qop=auth-int`, we don't support it. When given multiple `qop` values like that in an auth challenge we're allowed to select one, and we have: `auth`.\n\nYou're right, however, about the fix. If we've chosen `auth` that's what we should use in our calculation. The simplest fix should be to pull the c... |
https://api.github.com/repos/psf/requests/issues/2407 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2407/labels{/name} | https://api.github.com/repos/psf/requests/issues/2407/comments | https://api.github.com/repos/psf/requests/issues/2407/events | https://github.com/psf/requests/issues/2407 | 54,189,745 | MDU6SXNzdWU1NDE4OTc0NQ== | 2,407 | there is a bug when filename contains a non-ascii character | {
"avatar_url": "https://avatars.githubusercontent.com/u/4251771?v=4",
"events_url": "https://api.github.com/users/mushanshitiancai/events{/privacy}",
"followers_url": "https://api.github.com/users/mushanshitiancai/followers",
"following_url": "https://api.github.com/users/mushanshitiancai/following{/other_user... | [] | closed | true | null | [] | null | 2 | 2015-01-13T12:51:34Z | 2021-09-08T23:06:12Z | 2015-01-13T13:07:00Z | NONE | resolved | I ues python 2.7.9 and requests 2.5.1
when I do like this:
```
files = {'file1':('中文','hello')}
r = requests.post('http://test',files=files)
```
the request is like this(copy from fiddler):
```
Content-Disposition: form-data; name="file1"; filename*=utf-8''%E4%B8%AD%E6%96%87
```
I think the format of filename is wr... | {
"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/2407/reactions"
} | https://api.github.com/repos/psf/requests/issues/2407/timeline | null | completed | null | null | false | [
"in requests\\packages\\urllib3\\fields.py\n\n```\ndef format_header_param(name, value):\n if not any(ch in value for ch in '\"\\\\\\r\\n'):\n result = '%s=\"%s\"' % (name, value)\n try:\n result.encode('ascii')\n except UnicodeEncodeError:\n pass\n else:\n ... |
https://api.github.com/repos/psf/requests/issues/2406 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2406/labels{/name} | https://api.github.com/repos/psf/requests/issues/2406/comments | https://api.github.com/repos/psf/requests/issues/2406/events | https://github.com/psf/requests/issues/2406 | 54,140,897 | MDU6SXNzdWU1NDE0MDg5Nw== | 2,406 | Unusable `requests` in main and forked processes (`rq` worker script) | {
"avatar_url": "https://avatars.githubusercontent.com/u/104093?v=4",
"events_url": "https://api.github.com/users/ducu/events{/privacy}",
"followers_url": "https://api.github.com/users/ducu/followers",
"following_url": "https://api.github.com/users/ducu/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 33 | 2015-01-13T01:52:32Z | 2021-09-08T15:00:53Z | 2015-01-15T09:50:52Z | NONE | resolved | This is a follow up from https://github.com/kennethreitz/requests/issues/2399#issuecomment-69675695
As stated there, this is a problem which has to do with `requests` being used in both a main process and forked processes -- the `rq` worker script. If the network goes down even for a short while, `requests` raises few... | {
"avatar_url": "https://avatars.githubusercontent.com/u/104093?v=4",
"events_url": "https://api.github.com/users/ducu/events{/privacy}",
"followers_url": "https://api.github.com/users/ducu/followers",
"following_url": "https://api.github.com/users/ducu/following{/other_user}",
"gists_url": "https://api.githu... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2406/reactions"
} | https://api.github.com/repos/psf/requests/issues/2406/timeline | null | completed | null | null | false | [
"Does requests misbehave if you pull the link down without forking? That is, if you have a single ordinary script, no forking or workers, using requests, does it hang if you run `ifconfig en0 down` in the same way?\n",
"Nope, only when forking. \n\nIf you call `count_words_at_url` in a single process for loop it ... |
https://api.github.com/repos/psf/requests/issues/2405 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2405/labels{/name} | https://api.github.com/repos/psf/requests/issues/2405/comments | https://api.github.com/repos/psf/requests/issues/2405/events | https://github.com/psf/requests/issues/2405 | 54,111,802 | MDU6SXNzdWU1NDExMTgwMg== | 2,405 | x509 Certificate | {
"avatar_url": "https://avatars.githubusercontent.com/u/505939?v=4",
"events_url": "https://api.github.com/users/kvarga/events{/privacy}",
"followers_url": "https://api.github.com/users/kvarga/followers",
"following_url": "https://api.github.com/users/kvarga/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 5 | 2015-01-12T21:50:24Z | 2021-09-08T23:06:13Z | 2015-01-12T22:25:22Z | NONE | resolved | Is there any support for x509 certificate authentication with requests? I can't seem to find any examples and would much prefer to use requests.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/505939?v=4",
"events_url": "https://api.github.com/users/kvarga/events{/privacy}",
"followers_url": "https://api.github.com/users/kvarga/followers",
"following_url": "https://api.github.com/users/kvarga/following{/other_user}",
"gists_url": "https://api... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2405/reactions"
} | https://api.github.com/repos/psf/requests/issues/2405/timeline | null | completed | null | null | false | [
"By which you mean TLS authentication? Yes, it's enabled by default.\n",
"I apologise, I may have misread. Do you mean TLS _client_ certificates?\n",
"Yeah, sorry. I'm piecing together some horrible documentation from our vendor. The example app they gave is corrupted so awaiting that back. The language from do... |
https://api.github.com/repos/psf/requests/issues/2404 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2404/labels{/name} | https://api.github.com/repos/psf/requests/issues/2404/comments | https://api.github.com/repos/psf/requests/issues/2404/events | https://github.com/psf/requests/issues/2404 | 53,957,330 | MDU6SXNzdWU1Mzk1NzMzMA== | 2,404 | requests removes characters from valid url | {
"avatar_url": "https://avatars.githubusercontent.com/u/4533323?v=4",
"events_url": "https://api.github.com/users/NikolaiT/events{/privacy}",
"followers_url": "https://api.github.com/users/NikolaiT/followers",
"following_url": "https://api.github.com/users/NikolaiT/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2015-01-10T12:52:12Z | 2021-09-08T23:06:13Z | 2015-01-10T13:10:21Z | NONE | resolved | Requests strips the question mark when a hash tag follows. urlopen doesn't do it. Why?
Recreate bug with:
``` python
#!/usr/bin/python3
from urllib.request import urlopen
from requests import get
url = 'http://incolumitas.com?#param=value'
native = urlopen(url)
req = get(url)
assert native.url == req.url, '{} vs... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4533323?v=4",
"events_url": "https://api.github.com/users/NikolaiT/events{/privacy}",
"followers_url": "https://api.github.com/users/NikolaiT/followers",
"following_url": "https://api.github.com/users/NikolaiT/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/2404/reactions"
} | https://api.github.com/repos/psf/requests/issues/2404/timeline | null | completed | null | null | false | [
"The question mark indicates the beginning of the query portion of the URL. The octothorpe indicates the beginning of the fragment portion of the URL. We conclude that you have an empty query string and normalise it by removing the section entirely.\n\nIf the octothorpe is intended to be part of the query string yo... |
https://api.github.com/repos/psf/requests/issues/2403 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2403/labels{/name} | https://api.github.com/repos/psf/requests/issues/2403/comments | https://api.github.com/repos/psf/requests/issues/2403/events | https://github.com/psf/requests/issues/2403 | 53,785,849 | MDU6SXNzdWU1Mzc4NTg0OQ== | 2,403 | Provide a way for all existing connections to be discarded | {
"avatar_url": "https://avatars.githubusercontent.com/u/116235?v=4",
"events_url": "https://api.github.com/users/cameron314/events{/privacy}",
"followers_url": "https://api.github.com/users/cameron314/followers",
"following_url": "https://api.github.com/users/cameron314/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 6 | 2015-01-08T18:49:58Z | 2021-09-08T23:06:14Z | 2015-01-08T21:21:44Z | NONE | resolved | As I gather from various web searches, there's currently no way to manage the underlying TCP connections directly, since they're supposed to "just work" and be auto-recycled, etc. However, I have found one use case where this is not enough, and the sanest way to make it work would be to instruct `requests` to discard a... | {
"avatar_url": "https://avatars.githubusercontent.com/u/116235?v=4",
"events_url": "https://api.github.com/users/cameron314/events{/privacy}",
"followers_url": "https://api.github.com/users/cameron314/followers",
"following_url": "https://api.github.com/users/cameron314/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/2403/reactions"
} | https://api.github.com/repos/psf/requests/issues/2403/timeline | null | completed | null | null | false | [
"Hi there! Thanks for this detailed feature request.\n\nBefore we go too far I want to nail down exactly what's going on. Requests only re-uses connections at the scope of a single `Session` object. Given that you're calling `requests.get`, you should _not_ be seeing any connection re-use of any kind. We don't keep... |
https://api.github.com/repos/psf/requests/issues/2402 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2402/labels{/name} | https://api.github.com/repos/psf/requests/issues/2402/comments | https://api.github.com/repos/psf/requests/issues/2402/events | https://github.com/psf/requests/issues/2402 | 53,700,951 | MDU6SXNzdWU1MzcwMDk1MQ== | 2,402 | Allow a 'verbose' flag for raise_for_status() | {
"avatar_url": "https://avatars.githubusercontent.com/u/1808790?v=4",
"events_url": "https://api.github.com/users/mrname/events{/privacy}",
"followers_url": "https://api.github.com/users/mrname/followers",
"following_url": "https://api.github.com/users/mrname/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2015-01-08T00:33:59Z | 2018-09-06T12:19:50Z | 2015-01-09T21:13:47Z | NONE | resolved | raise_for_status() is super awesome, but a lot of the time, the error code and message is not informative enough to assist with debgugging when an exception is raised. It would be nice to have a verbose flag for raise_for_status that would also print the response body, where more details are often included. I would be ... | {
"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": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/psf/requests/issues/2402/reactions"
} | https://api.github.com/repos/psf/requests/issues/2402/timeline | null | completed | null | null | false | [
"If you do:\n\n``` py\nimport requests\n\nr = requests.get(url)\n\ntry:\n r.raise_for_status()\nexcept requests.exceptions.HTTPError as error:\n print(error)\n print(error.response.text)\n```\n\nWe don't print the body (and likely won't add it, even as a flag) for several reasons:\n- It may not exist (and ... |
https://api.github.com/repos/psf/requests/issues/2401 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2401/labels{/name} | https://api.github.com/repos/psf/requests/issues/2401/comments | https://api.github.com/repos/psf/requests/issues/2401/events | https://github.com/psf/requests/issues/2401 | 53,515,560 | MDU6SXNzdWU1MzUxNTU2MA== | 2,401 | Problems in SSL communication | {
"avatar_url": "https://avatars.githubusercontent.com/u/10159045?v=4",
"events_url": "https://api.github.com/users/tesande/events{/privacy}",
"followers_url": "https://api.github.com/users/tesande/followers",
"following_url": "https://api.github.com/users/tesande/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 3 | 2015-01-06T13:41:58Z | 2021-09-08T23:00:46Z | 2015-01-06T14:09:04Z | NONE | resolved | Hi again!
This issue is related to the closed issue #2383
I have now investigated further. I have tried a different client agains the server, and this communication works fine. I have used wireshark to see how the handshake goes. With the java client things works out fine, but when using requests, the connection term... | {
"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/2401/reactions"
} | https://api.github.com/repos/psf/requests/issues/2401/timeline | null | completed | null | null | false | [
"requests can and does use whatever version of OpenSSL Python is compiled against. There is no bug in requests from what I can tell and the SSLAdapter in `requests_toolbelt` just works for me on both OpenSSL 1.0.1 and 0.9.8. If you need help with your code, please post your question on [StackOverflow](https://stack... |
https://api.github.com/repos/psf/requests/issues/2400 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2400/labels{/name} | https://api.github.com/repos/psf/requests/issues/2400/comments | https://api.github.com/repos/psf/requests/issues/2400/events | https://github.com/psf/requests/issues/2400 | 53,473,702 | MDU6SXNzdWU1MzQ3MzcwMg== | 2,400 | Using requests session with pool_block=True blocks indefinitely for name resolution errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/1521409?v=4",
"events_url": "https://api.github.com/users/sinank/events{/privacy}",
"followers_url": "https://api.github.com/users/sinank/followers",
"following_url": "https://api.github.com/users/sinank/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2015-01-06T02:26:42Z | 2021-09-08T23:05:46Z | 2015-04-07T13:42:49Z | NONE | resolved | I am using a requests session pool in my code since we make a large number of HTTP requests.
We recently ran into an issue where temporary name resolution errors blocked the process from making any more HTTP requests since the pool was full.
I have pasted a quick script to reproduce the issue below.
```
from requests... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2400/reactions"
} | https://api.github.com/repos/psf/requests/issues/2400/timeline | null | completed | null | null | false | [
"Why aren't you using grequests for this?\n",
"@sigmavirus24 Thanks for the suggestion. Will look it up.\nDoes using grequests allow connection pooling? I briefly looked at it right now and it does not look to be as feature rich as the requests library.\nWe make a ton of HTTP requests and connection pooling is im... |
https://api.github.com/repos/psf/requests/issues/2399 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2399/labels{/name} | https://api.github.com/repos/psf/requests/issues/2399/comments | https://api.github.com/repos/psf/requests/issues/2399/events | https://github.com/psf/requests/issues/2399 | 53,460,187 | MDU6SXNzdWU1MzQ2MDE4Nw== | 2,399 | [Proposed Enhancement] Consume remainder of socket in Response.close | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 20 | 2015-01-05T23:11:00Z | 2021-09-08T23:06:13Z | 2015-01-13T02:44:59Z | CONTRIBUTOR | resolved | Earlier today I was speaking with @ducu on [IRC](https://botbot.me/freenode/python-requests/2015-01-05/?msg=28835010&page=1) about a problem they're having using `rq` and `requests`. My intuition (which is really all I have to work with about this problem) is that all of the content on the response is not being consume... | {
"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/2399/reactions"
} | https://api.github.com/repos/psf/requests/issues/2399/timeline | null | completed | null | null | false | [
"That's not a bad idea. Some notes:\n1. `response.content` may take a very long time to return if timeouts aren't configured. Closing shouldn't hang.\n2. `Response.content` may throw exceptions.\n\nWe need to decide how we're dealing with these problems.\n",
"Thank you for helping with this!\n\nTrying to clarify ... |
https://api.github.com/repos/psf/requests/issues/2398 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2398/labels{/name} | https://api.github.com/repos/psf/requests/issues/2398/comments | https://api.github.com/repos/psf/requests/issues/2398/events | https://github.com/psf/requests/issues/2398 | 53,357,804 | MDU6SXNzdWU1MzM1NzgwNA== | 2,398 | Clarify InsecureRequestWarning and verify=True in docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/109467?v=4",
"events_url": "https://api.github.com/users/rsyring/events{/privacy}",
"followers_url": "https://api.github.com/users/rsyring/followers",
"following_url": "https://api.github.com/users/rsyring/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2015-01-05T02:05:53Z | 2021-09-08T23:06:14Z | 2015-01-05T02:36:36Z | NONE | resolved | The docs:
http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification
say:
> By default, verify is set to True. Option verify only applies to host certs.
If my HTTPS connection is being verified by default, why am I also seeing a InsecureRequestWarning? Clarifying this situation and updating the... | {
"avatar_url": "https://avatars.githubusercontent.com/u/109467?v=4",
"events_url": "https://api.github.com/users/rsyring/events{/privacy}",
"followers_url": "https://api.github.com/users/rsyring/followers",
"following_url": "https://api.github.com/users/rsyring/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/2398/reactions"
} | https://api.github.com/repos/psf/requests/issues/2398/timeline | null | completed | null | null | false | [
"> If my HTTPS connection is being verified by default, why am I also seeing a InsecureRequestWarning? Clarifying this situation and updating the docs with more info would be helpful IMO.\n\nI don't know why. Can you give us any details to help you?\n",
"> I don't know why. Can you give us any details to help you... |
https://api.github.com/repos/psf/requests/issues/2397 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2397/labels{/name} | https://api.github.com/repos/psf/requests/issues/2397/comments | https://api.github.com/repos/psf/requests/issues/2397/events | https://github.com/psf/requests/issues/2397 | 53,324,502 | MDU6SXNzdWU1MzMyNDUwMg== | 2,397 | how can I get the "exception code" | {
"avatar_url": "https://avatars.githubusercontent.com/u/9110611?v=4",
"events_url": "https://api.github.com/users/tdyhacker/events{/privacy}",
"followers_url": "https://api.github.com/users/tdyhacker/followers",
"following_url": "https://api.github.com/users/tdyhacker/following{/other_user}",
"gists_url": "h... | [
{
"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 | 2015-01-04T04:06:28Z | 2021-09-08T23:06:47Z | 2015-01-04T04:10:22Z | NONE | resolved | I am using "requests (2.5.1)" .now I want to catch the exception and return an dict with some exception message,the dict I will return is as following:
```
{
"status_code": 61, # exception code,
"msg": "error msg",
}
```
but now I can't get the error status_code and error message,I try to use
```
except re... | {
"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/2397/reactions"
} | https://api.github.com/repos/psf/requests/issues/2397/timeline | null | completed | null | null | false | [
"Questions belong on [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests).\n"
] |
https://api.github.com/repos/psf/requests/issues/2396 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2396/labels{/name} | https://api.github.com/repos/psf/requests/issues/2396/comments | https://api.github.com/repos/psf/requests/issues/2396/events | https://github.com/psf/requests/pull/2396 | 53,232,433 | MDExOlB1bGxSZXF1ZXN0MjY3NDc4NDU= | 2,396 | Improving format (whitespace related PEP8). | {
"avatar_url": "https://avatars.githubusercontent.com/u/3359485?v=4",
"events_url": "https://api.github.com/users/rtzll/events{/privacy}",
"followers_url": "https://api.github.com/users/rtzll/followers",
"following_url": "https://api.github.com/users/rtzll/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 1 | 2015-01-02T00:11:24Z | 2021-09-08T09:01:02Z | 2015-01-02T00:31:02Z | NONE | resolved | A few instances of to much or to few whitespace.
| {
"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/2396/reactions"
} | https://api.github.com/repos/psf/requests/issues/2396/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2396.diff",
"html_url": "https://github.com/psf/requests/pull/2396",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2396.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2396"
} | true | [
"requests does not follow PEP8. Kenneth disagrees with many of the suggestions. You can read more on #1543, #1964, and #2298 \n"
] |
https://api.github.com/repos/psf/requests/issues/2395 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2395/labels{/name} | https://api.github.com/repos/psf/requests/issues/2395/comments | https://api.github.com/repos/psf/requests/issues/2395/events | https://github.com/psf/requests/pull/2395 | 53,212,239 | MDExOlB1bGxSZXF1ZXN0MjY3NDAzMzI= | 2,395 | Changing year in all copyright information | {
"avatar_url": "https://avatars.githubusercontent.com/u/240368?v=4",
"events_url": "https://api.github.com/users/shrayasr/events{/privacy}",
"followers_url": "https://api.github.com/users/shrayasr/followers",
"following_url": "https://api.github.com/users/shrayasr/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2015-01-01T03:36:18Z | 2021-09-08T09:01:03Z | 2015-01-01T08:28:11Z | CONTRIBUTOR | resolved | :tada: :tada:
Happy new year! Thanks for this awesome library :)
:tada: :tada:
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2395/reactions"
} | https://api.github.com/repos/psf/requests/issues/2395/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2395.diff",
"html_url": "https://github.com/psf/requests/pull/2395",
"merged_at": "2015-01-01T08:28:11Z",
"patch_url": "https://github.com/psf/requests/pull/2395.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2395"
} | true | [
":tada: :balloon: :cake:\n\nThanks so much!\n",
":) Hope you had a good one!\n"
] |
https://api.github.com/repos/psf/requests/issues/2394 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2394/labels{/name} | https://api.github.com/repos/psf/requests/issues/2394/comments | https://api.github.com/repos/psf/requests/issues/2394/events | https://github.com/psf/requests/issues/2394 | 53,193,747 | MDU6SXNzdWU1MzE5Mzc0Nw== | 2,394 | verify is sticky in Session | {
"avatar_url": "https://avatars.githubusercontent.com/u/4239113?v=4",
"events_url": "https://api.github.com/users/slowaak/events{/privacy}",
"followers_url": "https://api.github.com/users/slowaak/followers",
"following_url": "https://api.github.com/users/slowaak/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2014-12-31T17:23:52Z | 2021-09-08T23:06:48Z | 2014-12-31T17:25:40Z | NONE | resolved | I'm using Session.request to do GET from a HTTPS URL where the the server side certificate may be invalid. For testing purposes, if the certificate is invalid, I want to retry the GET with 'verify=False'. I'm reusing the Session for the retry, but the second request also fails even though I specify 'verify=False' in ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2394/reactions"
} | https://api.github.com/repos/psf/requests/issues/2394/timeline | null | completed | null | null | false | [
"This is a duplicate of #2255.\n"
] |
https://api.github.com/repos/psf/requests/issues/2393 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2393/labels{/name} | https://api.github.com/repos/psf/requests/issues/2393/comments | https://api.github.com/repos/psf/requests/issues/2393/events | https://github.com/psf/requests/pull/2393 | 52,945,755 | MDExOlB1bGxSZXF1ZXN0MjY2MTAxMjk= | 2,393 | Attempt to quote anyway if unquoting fails | {
"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_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | {
"closed_at": "2015-04-06T01:57:33Z",
"closed_issues": 4,
"created_at": "2015-01-18T20:07:00Z",
"creator": {
"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... | 9 | 2014-12-27T02:06:03Z | 2021-09-08T09:00:59Z | 2015-01-27T18:24:34Z | CONTRIBUTOR | resolved | Fixes #2356
TODO
- [x] Add test
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2393/reactions"
} | https://api.github.com/repos/psf/requests/issues/2393/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2393.diff",
"html_url": "https://github.com/psf/requests/pull/2393",
"merged_at": "2015-01-27T18:24:34Z",
"patch_url": "https://github.com/psf/requests/pull/2393.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2393"
} | true | [
"Looks fine, modulo a test. =)\n",
"where does the list of safe characters come from? maybe this could be pulled into a named var for clarity?\n",
"## It comes from the RFCs\n\nSent from my Android device with K-9 Mail. Please excuse my brevity.\n",
"Update?\n",
"Update: forgotten. I've been really busy lat... |
https://api.github.com/repos/psf/requests/issues/2392 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2392/labels{/name} | https://api.github.com/repos/psf/requests/issues/2392/comments | https://api.github.com/repos/psf/requests/issues/2392/events | https://github.com/psf/requests/issues/2392 | 52,934,168 | MDU6SXNzdWU1MjkzNDE2OA== | 2,392 | requests.exceptions.ReadTimeout is not raised when response is chunked | {
"avatar_url": "https://avatars.githubusercontent.com/u/1444666?v=4",
"events_url": "https://api.github.com/users/nickjoyce-wf/events{/privacy}",
"followers_url": "https://api.github.com/users/nickjoyce-wf/followers",
"following_url": "https://api.github.com/users/nickjoyce-wf/following{/other_user}",
"gists... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2013-11-17T11:29:34Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
... | 5 | 2014-12-26T18:19:10Z | 2018-01-12T23:43:42Z | null | NONE | null | https://gist.github.com/nickjoyce-wf/c536f2573ef124115f86
When a request has a timeout param supplied and the response is chunked but does not return enough data in time, `requests.exceptions.ReadTimeout` should be raised.
``` shell
$ mkvirtualenv test
(test)$ pip install requests werkzeug
(test)$ python server.py
``... | 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/2392/reactions"
} | https://api.github.com/repos/psf/requests/issues/2392/timeline | null | null | null | null | false | [
"Just to be really clear, the bug here is that exception we're raising is wrong. We're raising a `ConnectionError`, not a `ReadTimeoutError`.\n",
"At this point though, people are almost certainly wrapping their code in except blocks for `ConnectionError` but most likely not in [`ReadTimeout`](https://github.com/... |
https://api.github.com/repos/psf/requests/issues/2391 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2391/labels{/name} | https://api.github.com/repos/psf/requests/issues/2391/comments | https://api.github.com/repos/psf/requests/issues/2391/events | https://github.com/psf/requests/issues/2391 | 52,846,724 | MDU6SXNzdWU1Mjg0NjcyNA== | 2,391 | Using python-nss for SSL | {
"avatar_url": "https://avatars.githubusercontent.com/u/1172008?v=4",
"events_url": "https://api.github.com/users/mrniranjan/events{/privacy}",
"followers_url": "https://api.github.com/users/mrniranjan/followers",
"following_url": "https://api.github.com/users/mrniranjan/following{/other_user}",
"gists_url":... | [
{
"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 | 2014-12-25T04:13:48Z | 2021-09-08T23:06:14Z | 2014-12-25T09:12:44Z | NONE | resolved | For HTTPS urls where Ceritifcate verification is required, I would like to use certificates/keys stored in NSS database(Mozilla NSS), There is python-nss module which provides the interface to access the NSS Database.
Is there a way i can use requests module to use python-nss. Any hints on how to achieve this would b... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2391/reactions"
} | https://api.github.com/repos/psf/requests/issues/2391/timeline | null | completed | null | null | false | [
"Currently, requests cannot use python-nss directly. Assuming all you want to do is use the certificates and keys, you'll need to transform them into a `.pem` file that OpenSSL can read. That's extremely painful, I'm afraid, as OpenSSL does not let you pass it `.pem` files in memory.\n\nUnfortunately, enhancing req... |
https://api.github.com/repos/psf/requests/issues/2390 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2390/labels{/name} | https://api.github.com/repos/psf/requests/issues/2390/comments | https://api.github.com/repos/psf/requests/issues/2390/events | https://github.com/psf/requests/pull/2390 | 52,821,935 | MDExOlB1bGxSZXF1ZXN0MjY1NjA1OTQ= | 2,390 | Clean up cookie docstrings, document cookie jar. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2014-12-24T14:35:19Z | 2021-09-08T09:01:03Z | 2014-12-24T15:15:37Z | MEMBER | resolved | Following on from [a Stack Overflow question](https://stackoverflow.com/questions/27586779/requests-inability-to-handle-two-cookies-with-same-name-different-domain), this PR extends our cookie documentation [here](http://docs.python-requests.org/en/latest/api/#cookies) to document the cookie jar itself. This should mak... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2390/reactions"
} | https://api.github.com/repos/psf/requests/issues/2390/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2390.diff",
"html_url": "https://github.com/psf/requests/pull/2390",
"merged_at": "2014-12-24T15:15:37Z",
"patch_url": "https://github.com/psf/requests/pull/2390.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2390"
} | true | [
"A couple comments. I'm also wondering if there would be use in the toolbelt for a class that extends this so that you can do \n\n```\ns.cookies['cookie-name', 'domain', 'path']\n```\n\nIf you use the custom cookie-jar. I do and don't like it. Alternatively, we could just include the recipe for the user in the docu... |
https://api.github.com/repos/psf/requests/issues/2389 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2389/labels{/name} | https://api.github.com/repos/psf/requests/issues/2389/comments | https://api.github.com/repos/psf/requests/issues/2389/events | https://github.com/psf/requests/pull/2389 | 52,755,390 | MDExOlB1bGxSZXF1ZXN0MjY1MTk3OTU= | 2,389 | Fix bug in renegotiating a nonce with the server | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 5 | 2014-12-23T16:43:36Z | 2021-09-08T09:01:06Z | 2014-12-23T17:40:35Z | CONTRIBUTOR | resolved | If a session runs long enough (without constant activity) then the server can
expire the nonce the session has negotiated. If that happens the session will
get a new 401 response which we were immediately returning to the user. A user
would then have to essentially reinitialize session.auth each time they get an
unexpe... | {
"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/2389/reactions"
} | https://api.github.com/repos/psf/requests/issues/2389/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2389.diff",
"html_url": "https://github.com/psf/requests/pull/2389",
"merged_at": "2014-12-23T17:40:35Z",
"patch_url": "https://github.com/psf/requests/pull/2389.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2389"
} | true | [
"LGTM. :cake:\n",
"@Lukasa I'm just waiting for @Jaypipes to verify this fixes their issues.\n",
"@sigmavirus24 I have now verified that this fixes the issue I was seeing. Thanks very much! :)\n",
"Cool. @Lukasa I'm going to cut 2.5.1 with this because it's a rather serious bug. (I have to wonder if it could ... |
https://api.github.com/repos/psf/requests/issues/2388 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2388/labels{/name} | https://api.github.com/repos/psf/requests/issues/2388/comments | https://api.github.com/repos/psf/requests/issues/2388/events | https://github.com/psf/requests/pull/2388 | 52,699,213 | MDExOlB1bGxSZXF1ZXN0MjY0ODc0MTc= | 2,388 | Handle empty chunks | {
"avatar_url": "https://avatars.githubusercontent.com/u/1743810?v=4",
"events_url": "https://api.github.com/users/neosab/events{/privacy}",
"followers_url": "https://api.github.com/users/neosab/followers",
"following_url": "https://api.github.com/users/neosab/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2013-11-17T11:29:34Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
... | 9 | 2014-12-22T23:19:34Z | 2021-09-08T07:00:55Z | 2015-06-05T12:33:56Z | NONE | resolved | Empty chunk in request body could prematurely signal end of chunked
transmission. As a result, the terminating zero-size chunk sent by
'requests' can be interpretted as bad request by the recepient. I
have used the same logic used by httplib to handle such cases.
Please review this and comment.
| {
"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/2388/reactions"
} | https://api.github.com/repos/psf/requests/issues/2388/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2388.diff",
"html_url": "https://github.com/psf/requests/pull/2388",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2388.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2388"
} | true | [
"Thanks for this!\n\nThe logic doesn't look quite right. Here, if we get an empty section from a generator, we stop sending the chunked body altogether. That doesn't seem like the correct logic to me. We should really do one of two things:\n1. Throw an exception. This means that users need to not send us empty chun... |
https://api.github.com/repos/psf/requests/issues/2387 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2387/labels{/name} | https://api.github.com/repos/psf/requests/issues/2387/comments | https://api.github.com/repos/psf/requests/issues/2387/events | https://github.com/psf/requests/issues/2387 | 52,582,146 | MDU6SXNzdWU1MjU4MjE0Ng== | 2,387 | Request https url via http proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/3884436?v=4",
"events_url": "https://api.github.com/users/RafTim/events{/privacy}",
"followers_url": "https://api.github.com/users/RafTim/followers",
"following_url": "https://api.github.com/users/RafTim/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2014-12-21T01:06:24Z | 2021-09-08T23:06:48Z | 2014-12-21T20:30:50Z | NONE | resolved | I recently tried to make a connection to a https url via a http proxy which doesn't support the 'connect' method (Crawlera http://scrapinghub.com/faq#https).
I'm using the following code:
import requests
proxies = {"http": "http://USER:PASS@paygo.crawlera.com:8010/",
{"https:": "http://USER:PASS@paygo.c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2387/reactions"
} | https://api.github.com/repos/psf/requests/issues/2387/timeline | null | completed | null | null | false | [
"A HTTP proxy that does not support the CONNECT verb cannot transport a HTTPS request.\n",
"According to that proxy:\n\"... configure your HTTP client to use a HTTP proxy even for HTTPS URLs. However, not many clients support this for privacy reasons that don't apply to web crawling. cURL doesn't support it, but ... |
https://api.github.com/repos/psf/requests/issues/2386 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2386/labels{/name} | https://api.github.com/repos/psf/requests/issues/2386/comments | https://api.github.com/repos/psf/requests/issues/2386/events | https://github.com/psf/requests/issues/2386 | 52,570,106 | MDU6SXNzdWU1MjU3MDEwNg== | 2,386 | SSL verification fails with proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/614673?v=4",
"events_url": "https://api.github.com/users/peterjeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/peterjeschke/followers",
"following_url": "https://api.github.com/users/peterjeschke/following{/other_user}",
"gists_... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 136589914,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwxMzY1ODk5MTQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20Info"
}
] | closed | true | null | [] | null | 11 | 2014-12-20T17:14:49Z | 2021-09-08T22:00:53Z | 2015-08-31T09:43:00Z | NONE | resolved | Using this code:
```
import requests
requests.get('https://github.com')
```
Throws the following exception:
```
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/requests/api.py", line 55, in get
return request('get', url, **kwargs)
File "/usr/lib... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2386/reactions"
} | https://api.github.com/repos/psf/requests/issues/2386/timeline | null | completed | null | null | false | [
"Does the URL to your proxy begin with `https://`? That will cause us to try a TLS handshake with that proxy, which obviously fails as that proxy isn't authoritative for that domain. If this is the case, try setting the protocol to `http://`.\n",
"It does start with https://, but setting it to http:// doesn't hel... |
https://api.github.com/repos/psf/requests/issues/2385 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2385/labels{/name} | https://api.github.com/repos/psf/requests/issues/2385/comments | https://api.github.com/repos/psf/requests/issues/2385/events | https://github.com/psf/requests/issues/2385 | 52,506,296 | MDU6SXNzdWU1MjUwNjI5Ng== | 2,385 | POST to url with unicode character | {
"avatar_url": "https://avatars.githubusercontent.com/u/1793789?v=4",
"events_url": "https://api.github.com/users/burdiyan/events{/privacy}",
"followers_url": "https://api.github.com/users/burdiyan/followers",
"following_url": "https://api.github.com/users/burdiyan/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2014-12-19T17:14:07Z | 2021-09-08T23:06:49Z | 2014-12-21T15:41:52Z | NONE | resolved | Hello,
I have this code for making POST request to url with unicode character. I tried to replace `í` to `%C3%AD` but python is still telling me: `UnicodeEncodeError: 'ascii' codec can't encode character '\xf3' in position 1771: ordinal not in range(128)`
```
# coding=UTF-8
import requests
url = u'http://www.madridm... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1793789?v=4",
"events_url": "https://api.github.com/users/burdiyan/events{/privacy}",
"followers_url": "https://api.github.com/users/burdiyan/followers",
"following_url": "https://api.github.com/users/burdiyan/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/2385/reactions"
} | https://api.github.com/repos/psf/requests/issues/2385/timeline | null | completed | null | null | false | [
"I did the following on python 2.7 and 3.4 and had no problems\n\n``` python\nurl = u'http://www.madridmovilidad.es/localizador-vehículo.aspx?idioma=es'\npayload = {'veh_matricula': '5555HWS'}\nrequests.get(url)\nrequests.post(url, data=payload)\n```\n\nCould you provide the entire stacktrace? I suspect this is act... |
https://api.github.com/repos/psf/requests/issues/2384 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2384/labels{/name} | https://api.github.com/repos/psf/requests/issues/2384/comments | https://api.github.com/repos/psf/requests/issues/2384/events | https://github.com/psf/requests/pull/2384 | 52,464,722 | MDExOlB1bGxSZXF1ZXN0MjYzNjA1Nzk= | 2,384 | set charset in content type if UTF-8 data was encoded | {
"avatar_url": "https://avatars.githubusercontent.com/u/3083638?v=4",
"events_url": "https://api.github.com/users/bm371613/events{/privacy}",
"followers_url": "https://api.github.com/users/bm371613/followers",
"following_url": "https://api.github.com/users/bm371613/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2014-12-19T09:47:50Z | 2021-09-08T09:01:07Z | 2014-12-19T10:26:32Z | NONE | resolved | Content type `'application/x-www-form-urlencoded'`, that is automatically provided by requests sometimes, should actually be `'application/x-www-form-urlencoded; charset=UTF-8'` if provided data is UTF-8.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2384/reactions"
} | https://api.github.com/repos/psf/requests/issues/2384/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2384.diff",
"html_url": "https://github.com/psf/requests/pull/2384",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2384.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2384"
} | true | [
"This is incorrect behaviour, I'm afraid.\n\nThe `charset` parameter is only defined for documents of type `text/*`. That does not apply to `application/x-www-form-urlencoded`. Therefore, sending `charset` would be a specification violation.\n\nOur behaviour is consistent with the W3C HTML5 specification, which say... |
https://api.github.com/repos/psf/requests/issues/2383 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2383/labels{/name} | https://api.github.com/repos/psf/requests/issues/2383/comments | https://api.github.com/repos/psf/requests/issues/2383/events | https://github.com/psf/requests/issues/2383 | 52,218,518 | MDU6SXNzdWU1MjIxODUxOA== | 2,383 | Force use of tls with requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/10159045?v=4",
"events_url": "https://api.github.com/users/tesande/events{/privacy}",
"followers_url": "https://api.github.com/users/tesande/followers",
"following_url": "https://api.github.com/users/tesande/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 8 | 2014-12-17T09:34:16Z | 2021-09-08T23:06:49Z | 2014-12-18T23:19:41Z | NONE | resolved | Hi !
I have used requests successfully for calling some rest resources.
I have called these resources in our staging environment, and things has worked well.
Now I've tried to call the resources in our test environment, but receives the error SSL3_GET_RECORD:decryption failed or bad record mac.
I recon there is 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/2383/reactions"
} | https://api.github.com/repos/psf/requests/issues/2383/timeline | null | completed | null | null | false | [
"By the way, I've seen the advanced usage documentation (http://docs.python-requests.org/en/latest/user/advanced/), and tried to modify the Ssl3HttpAdapter to be a TLS Adapter. \nI use s = requests.Session() s.mount to mount the adapter. In the mount command, I have both tried the rest resource url and the root url... |
https://api.github.com/repos/psf/requests/issues/2382 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2382/labels{/name} | https://api.github.com/repos/psf/requests/issues/2382/comments | https://api.github.com/repos/psf/requests/issues/2382/events | https://github.com/psf/requests/pull/2382 | 52,083,753 | MDExOlB1bGxSZXF1ZXN0MjYxMjg3MzQ= | 2,382 | catch exception more specifically | {
"avatar_url": "https://avatars.githubusercontent.com/u/3482660?v=4",
"events_url": "https://api.github.com/users/daftshady/events{/privacy}",
"followers_url": "https://api.github.com/users/daftshady/followers",
"following_url": "https://api.github.com/users/daftshady/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2014-12-16T08:04:53Z | 2021-09-08T09:01:08Z | 2014-12-16T09:19:50Z | CONTRIBUTOR | resolved | Because `raise_for_status` only raises `HTTPError`, I think it's better to catch `HTTPError` which is a subclass of `RequestException`. Please review this.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2382/reactions"
} | https://api.github.com/repos/psf/requests/issues/2382/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2382.diff",
"html_url": "https://github.com/psf/requests/pull/2382",
"merged_at": "2014-12-16T09:19:50Z",
"patch_url": "https://github.com/psf/requests/pull/2382.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2382"
} | true | [
"Agreed! Thanks for this! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/2381 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2381/labels{/name} | https://api.github.com/repos/psf/requests/issues/2381/comments | https://api.github.com/repos/psf/requests/issues/2381/events | https://github.com/psf/requests/pull/2381 | 51,953,876 | MDExOlB1bGxSZXF1ZXN0MjYwNDk4MzI= | 2,381 | Fix a typo in a comment | {
"avatar_url": "https://avatars.githubusercontent.com/u/5542943?v=4",
"events_url": "https://api.github.com/users/namlede/events{/privacy}",
"followers_url": "https://api.github.com/users/namlede/followers",
"following_url": "https://api.github.com/users/namlede/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 4 | 2014-12-15T06:37:31Z | 2021-09-08T09:01:08Z | 2014-12-15T07:59:47Z | CONTRIBUTOR | resolved | I just fixed a minor typo: "throws" is misspelled as "thows".
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2381/reactions"
} | https://api.github.com/repos/psf/requests/issues/2381/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2381.diff",
"html_url": "https://github.com/psf/requests/pull/2381",
"merged_at": "2014-12-15T07:59:47Z",
"patch_url": "https://github.com/psf/requests/pull/2381.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2381"
} | true | [
"Thanks for this! :cake:\n",
"I would make a joke about how omitting random letters is cool, but it wouldn't be funy. \n\nThanks @namlede \n",
"Your wecome.\n",
":+1: \n"
] |
https://api.github.com/repos/psf/requests/issues/2380 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2380/labels{/name} | https://api.github.com/repos/psf/requests/issues/2380/comments | https://api.github.com/repos/psf/requests/issues/2380/events | https://github.com/psf/requests/pull/2380 | 51,925,675 | MDExOlB1bGxSZXF1ZXN0MjYwMzY3Nzk= | 2,380 | Added a save method to Response objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/6031925?v=4",
"events_url": "https://api.github.com/users/syndbg/events{/privacy}",
"followers_url": "https://api.github.com/users/syndbg/followers",
"following_url": "https://api.github.com/users/syndbg/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2014-12-14T17:46:51Z | 2021-09-08T09:01:09Z | 2014-12-14T17:55:50Z | NONE | resolved | Added an easy way to save content on the File System.
Should I write a test for this? I didn't find a test for `iter_content` so that's why I skipped testing `save`.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2380/reactions"
} | https://api.github.com/repos/psf/requests/issues/2380/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2380.diff",
"html_url": "https://github.com/psf/requests/pull/2380",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2380.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2380"
} | true | [
"Thanks for this @syndbg! Unfortunately, we're in feature freeze, so we won't be accepting this patch. Sorry, and thanks for the work!\n",
"No problems, @Lukasa !\n\nCan I help you somehow? I'm assuming a feature freeze is applied to fix bugs. \n",
"If you see any open bugs you'd like to work on, feel free, we ... |
https://api.github.com/repos/psf/requests/issues/2379 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2379/labels{/name} | https://api.github.com/repos/psf/requests/issues/2379/comments | https://api.github.com/repos/psf/requests/issues/2379/events | https://github.com/psf/requests/pull/2379 | 51,816,271 | MDExOlB1bGxSZXF1ZXN0MjU5Nzk3NzQ= | 2,379 | utils.guess_filename fails if the given parameter looks like a file object but has a non-string name attribute | {
"avatar_url": "https://avatars.githubusercontent.com/u/973454?v=4",
"events_url": "https://api.github.com/users/arthurdarcet/events{/privacy}",
"followers_url": "https://api.github.com/users/arthurdarcet/followers",
"following_url": "https://api.github.com/users/arthurdarcet/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 13 | 2014-12-12T15:16:43Z | 2021-09-08T09:01:02Z | 2014-12-13T19:49:04Z | CONTRIBUTOR | resolved | A cherrypy uploaded file behave like a regular file, except that its name attribute is an int and passing it directly to requests fails because of that
(not sure if i should add myself to AUTHORS for this?)
| {
"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/2379/reactions"
} | https://api.github.com/repos/psf/requests/issues/2379/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2379.diff",
"html_url": "https://github.com/psf/requests/pull/2379",
"merged_at": "2014-12-13T19:49:04Z",
"patch_url": "https://github.com/psf/requests/pull/2379.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2379"
} | true | [
"I'm +0 on this if only because no one else has found this before and it would seem to be a bigger problem otherwise. It seems entirely harmless, but CherryPy seems to be an outlier in how it behaves here. Perhaps this is more appropriately a bug in CherryPy\n",
"Yeah, that's weird. Why would its name attribute b... |
https://api.github.com/repos/psf/requests/issues/2378 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2378/labels{/name} | https://api.github.com/repos/psf/requests/issues/2378/comments | https://api.github.com/repos/psf/requests/issues/2378/events | https://github.com/psf/requests/issues/2378 | 51,786,762 | MDU6SXNzdWU1MTc4Njc2Mg== | 2,378 | readlines (without generators) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5049737?v=4",
"events_url": "https://api.github.com/users/femtotrader/events{/privacy}",
"followers_url": "https://api.github.com/users/femtotrader/followers",
"following_url": "https://api.github.com/users/femtotrader/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2014-12-12T09:40:28Z | 2021-09-08T23:06:50Z | 2014-12-12T16:21:22Z | NONE | resolved | Hello,
I'm moving some Python code from `urlopen` to `requests` (because it will be easier for me to add a db cache (SQLite) mechanism using requests-cache)
The code I want to modify looks like
```
with urlopen(url) as resp:
lines = resp.readlines()
```
I don't find any equivalent to `readlines()`
Any ... | {
"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/2378/reactions"
} | https://api.github.com/repos/psf/requests/issues/2378/timeline | null | completed | null | null | false | [
"We will not be providing a `readlines` method. This is most certainly a bug in requests-cache and one I haven't seen or heard of in [CacheControl](https://github.com/ionrock/cachecontrol) which is our recommended caching library.\n\nFor what it's worth you can do:\n\n``` python\nimport requests\n\nwith requests.ge... |
https://api.github.com/repos/psf/requests/issues/2377 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2377/labels{/name} | https://api.github.com/repos/psf/requests/issues/2377/comments | https://api.github.com/repos/psf/requests/issues/2377/events | https://github.com/psf/requests/issues/2377 | 51,670,274 | MDU6SXNzdWU1MTY3MDI3NA== | 2,377 | Set Cookie does not work properly with HTTP 302 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10153173?v=4",
"events_url": "https://api.github.com/users/antoniofelleca/events{/privacy}",
"followers_url": "https://api.github.com/users/antoniofelleca/followers",
"following_url": "https://api.github.com/users/antoniofelleca/following{/other_user}",
... | [] | closed | true | null | [] | null | 8 | 2014-12-11T10:31:05Z | 2021-09-08T23:06:49Z | 2014-12-18T23:22:51Z | NONE | resolved | Python Requests 2.4.3
Python 3.4 - windows 7 (64 bit)
Scenario:
Performing this request:
GET on URL: http://fantacalcio.repubblica.it/login.phpSSID=exjlkfpnaqaqpzqrrrzxjehfxpravrhdvjzjrkqpkraqdpee
I send this Header:
{'Pragma': 'max-age=0', 'Origin': 'https://login.kataweb.it', 'User-Agent': 'Mozilla/5.0 (Windows NT... | {
"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/2377/reactions"
} | https://api.github.com/repos/psf/requests/issues/2377/timeline | null | completed | null | null | false | [
"Can you run your code and then do this please?\n\n``` python\nfor h in r.history:\n print h.status_code\n print h.headers\n print h.request.headers\n```\n",
"## Your problem is that you're specifying the Host header. We special case cookie parsing when you do that.\n\nSent from my Android device with K-... |
https://api.github.com/repos/psf/requests/issues/2376 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2376/labels{/name} | https://api.github.com/repos/psf/requests/issues/2376/comments | https://api.github.com/repos/psf/requests/issues/2376/events | https://github.com/psf/requests/issues/2376 | 51,559,396 | MDU6SXNzdWU1MTU1OTM5Ng== | 2,376 | AttributeError: 'module' object has no attribute 'python_implementation' | {
"avatar_url": "https://avatars.githubusercontent.com/u/914786?v=4",
"events_url": "https://api.github.com/users/reddypdl/events{/privacy}",
"followers_url": "https://api.github.com/users/reddypdl/followers",
"following_url": "https://api.github.com/users/reddypdl/following{/other_user}",
"gists_url": "https... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 136589914,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwxMzY1ODk5MTQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20Info"
}
] | closed | true | null | [] | null | 2 | 2014-12-10T13:44:15Z | 2021-09-08T23:06:50Z | 2014-12-11T07:22:59Z | NONE | resolved | ```
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> req = requests.request('GET', 'http://httpbin.org/get')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/symbol/py... | {
"avatar_url": "https://avatars.githubusercontent.com/u/914786?v=4",
"events_url": "https://api.github.com/users/reddypdl/events{/privacy}",
"followers_url": "https://api.github.com/users/reddypdl/followers",
"following_url": "https://api.github.com/users/reddypdl/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/2376/reactions"
} | https://api.github.com/repos/psf/requests/issues/2376/timeline | null | completed | null | null | false | [
"@reddypdl can you do `python -c 'import platform; print(platform.python_implementation())'`, if not can you tell us how you built this version of Python? The `platform` module is a standard library module and `platform.python_implementation()` has been around since Python 2.3 so if this is a real version of Python... |
https://api.github.com/repos/psf/requests/issues/2375 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2375/labels{/name} | https://api.github.com/repos/psf/requests/issues/2375/comments | https://api.github.com/repos/psf/requests/issues/2375/events | https://github.com/psf/requests/pull/2375 | 51,382,319 | MDExOlB1bGxSZXF1ZXN0MjU3MTYxMjc= | 2,375 | Copy pip's import machinery wholesale | {
"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_... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 39 | 2014-12-09T02:58:42Z | 2021-09-08T09:01:00Z | 2015-01-09T20:38:31Z | CONTRIBUTOR | resolved | Fedora and Debian have both recently added symlinks to their distributions of requests so people can do `from requests.packages import urllib3` but they seem to still rewrite our import statements. So the following situation is possible:
- User registers adapter for custom scheme
- User does the following:
``` pyt... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2375/reactions"
} | https://api.github.com/repos/psf/requests/issues/2375/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2375.diff",
"html_url": "https://github.com/psf/requests/pull/2375",
"merged_at": "2015-01-09T20:38:31Z",
"patch_url": "https://github.com/psf/requests/pull/2375.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2375"
} | true | [
"I don't really see why this is our problem. Debian/downstream have introduced this bug, why are we the ones fixing it?\n",
"The reason pip did this is primarily because while it annoys me to no end what the downstream re-distributors do I felt that ultimately it was better for the end-users if we made sure this ... |
https://api.github.com/repos/psf/requests/issues/2374 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2374/labels{/name} | https://api.github.com/repos/psf/requests/issues/2374/comments | https://api.github.com/repos/psf/requests/issues/2374/events | https://github.com/psf/requests/pull/2374 | 51,348,660 | MDExOlB1bGxSZXF1ZXN0MjU2OTQ3NTI= | 2,374 | Updated the broken link to twitter streaming API documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/3087430?v=4",
"events_url": "https://api.github.com/users/krvc/events{/privacy}",
"followers_url": "https://api.github.com/users/krvc/followers",
"following_url": "https://api.github.com/users/krvc/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 1 | 2014-12-08T20:34:47Z | 2021-09-08T09:01:09Z | 2014-12-08T23:46:08Z | CONTRIBUTOR | resolved | The existing link to Twitter streaming API is broken in the Requests documentation. Updated the link with the working URL.
| {
"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/2374/reactions"
} | https://api.github.com/repos/psf/requests/issues/2374/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2374.diff",
"html_url": "https://github.com/psf/requests/pull/2374",
"merged_at": "2014-12-08T23:46:08Z",
"patch_url": "https://github.com/psf/requests/pull/2374.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2374"
} | true | [
"Thanks @krvc \n"
] |
https://api.github.com/repos/psf/requests/issues/2373 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2373/labels{/name} | https://api.github.com/repos/psf/requests/issues/2373/comments | https://api.github.com/repos/psf/requests/issues/2373/events | https://github.com/psf/requests/pull/2373 | 51,332,370 | MDExOlB1bGxSZXF1ZXN0MjU2ODQ2NzY= | 2,373 | Enable GitHub syntax highlighting on README | {
"avatar_url": "https://avatars.githubusercontent.com/u/416575?v=4",
"events_url": "https://api.github.com/users/frewsxcv/events{/privacy}",
"followers_url": "https://api.github.com/users/frewsxcv/followers",
"following_url": "https://api.github.com/users/frewsxcv/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2014-12-08T18:04:33Z | 2021-09-08T09:01:10Z | 2014-12-08T18:40:45Z | 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/2373/reactions"
} | https://api.github.com/repos/psf/requests/issues/2373/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2373.diff",
"html_url": "https://github.com/psf/requests/pull/2373",
"merged_at": "2014-12-08T18:40:44Z",
"patch_url": "https://github.com/psf/requests/pull/2373.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2373"
} | true | [
":+1: \n",
"reStructuredText on GitHub is so weird. Thanks @frewsxcv \n"
] | |
https://api.github.com/repos/psf/requests/issues/2372 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2372/labels{/name} | https://api.github.com/repos/psf/requests/issues/2372/comments | https://api.github.com/repos/psf/requests/issues/2372/events | https://github.com/psf/requests/issues/2372 | 51,270,385 | MDU6SXNzdWU1MTI3MDM4NQ== | 2,372 | "import requests" is very slow on python2 when ndg-httpsclient and pyasn1 are available | {
"avatar_url": "https://avatars.githubusercontent.com/u/1496354?v=4",
"events_url": "https://api.github.com/users/douardda/events{/privacy}",
"followers_url": "https://api.github.com/users/douardda/followers",
"following_url": "https://api.github.com/users/douardda/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 5 | 2014-12-08T08:55:23Z | 2021-09-08T23:06:51Z | 2014-12-08T15:34:54Z | NONE | resolved | Juste after upgrading my laptop to jessie, I discovered a problem with python requests on py2. For the record, I've created a Debian bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772506
But to summerize the problem (in a fresh jessie docker container):
In a fresh virtualenv (on a jessie box):
```
(tst... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1496354?v=4",
"events_url": "https://api.github.com/users/douardda/events{/privacy}",
"followers_url": "https://api.github.com/users/douardda/followers",
"following_url": "https://api.github.com/users/douardda/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/2372/reactions"
} | https://api.github.com/repos/psf/requests/issues/2372/timeline | null | completed | null | null | false | [
"Your debian bug report blames OpenSSL, and shows that the time is lost in yacc. This suggests to me that it should only happen the first time: parsing shouldn't be required on initialization after the first time. Is that right, or does it happen consistently?\n",
"It happens consistently (otherwise it would not ... |
https://api.github.com/repos/psf/requests/issues/2371 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2371/labels{/name} | https://api.github.com/repos/psf/requests/issues/2371/comments | https://api.github.com/repos/psf/requests/issues/2371/events | https://github.com/psf/requests/issues/2371 | 51,049,181 | MDU6SXNzdWU1MTA0OTE4MQ== | 2,371 | requests has poor performance streaming large binary responses | {
"avatar_url": "https://avatars.githubusercontent.com/u/772?v=4",
"events_url": "https://api.github.com/users/alex/events{/privacy}",
"followers_url": "https://api.github.com/users/alex/followers",
"following_url": "https://api.github.com/users/alex/following{/other_user}",
"gists_url": "https://api.github.c... | [
{
"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"
}
] | closed | true | null | [] | null | 40 | 2014-12-05T00:37:40Z | 2021-09-08T04:00:55Z | 2016-04-16T04:14:55Z | MEMBER | resolved | https://github.com/alex/http-client-bench contains the benchmarks I used.
The results are something like:
| | requests/http | socket |
| --- | --- | --- |
| CPython | 12MB/s | 200MB/s |
| PyPy | 80MB/s | 300MB/s |
| Go | 150MB/s | n/a |
requests imposes a considerable overhead compared to a socket, particularly on ... | {
"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/2371/reactions"
} | https://api.github.com/repos/psf/requests/issues/2371/timeline | null | completed | null | null | false | [
"That overhead is unexpectedly large. However, avoiding it might be tricky.\n\nThe big problem is that we do quite a lot of processing per chunk. That's all the way down the stack: requests, urllib3 and httplib. It would be extremely interesting to see where the time is being spent to work out who is causing the in... |
https://api.github.com/repos/psf/requests/issues/2370 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2370/labels{/name} | https://api.github.com/repos/psf/requests/issues/2370/comments | https://api.github.com/repos/psf/requests/issues/2370/events | https://github.com/psf/requests/issues/2370 | 50,959,784 | MDU6SXNzdWU1MDk1OTc4NA== | 2,370 | question of urlencode | {
"avatar_url": "https://avatars.githubusercontent.com/u/924733?v=4",
"events_url": "https://api.github.com/users/wangcc/events{/privacy}",
"followers_url": "https://api.github.com/users/wangcc/followers",
"following_url": "https://api.github.com/users/wangcc/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2014-12-04T10:36:47Z | 2021-09-08T23:06:52Z | 2014-12-04T10:41:29Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/924733?v=4",
"events_url": "https://api.github.com/users/wangcc/events{/privacy}",
"followers_url": "https://api.github.com/users/wangcc/followers",
"following_url": "https://api.github.com/users/wangcc/following{/other_user}",
"gists_url": "https://api... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2370/reactions"
} | https://api.github.com/repos/psf/requests/issues/2370/timeline | null | completed | null | null | false | [
"Hey @wangcc I expect you resolved whatever problem you had. In the future, please don't delete the description of the issue, even if you filed it on the wrong project. Issues that have had their content edited out are confusing and unhelpful to most people.\n"
] | |
https://api.github.com/repos/psf/requests/issues/2369 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2369/labels{/name} | https://api.github.com/repos/psf/requests/issues/2369/comments | https://api.github.com/repos/psf/requests/issues/2369/events | https://github.com/psf/requests/pull/2369 | 50,913,544 | MDExOlB1bGxSZXF1ZXN0MjU0NjQ2MDE= | 2,369 | Set connection timeouts for HTTPS proxy attempts. | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2014-12-04T00:33:48Z | 2021-09-08T09:01:10Z | 2014-12-04T02:57:41Z | CONTRIBUTOR | resolved | Fixes #2336
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2369/reactions"
} | https://api.github.com/repos/psf/requests/issues/2369/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2369.diff",
"html_url": "https://github.com/psf/requests/pull/2369",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2369.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2369"
} | true | [
"@kevinburke Wrong repo. ;) Merge to urllib3 first, then we'll take the fix.\n",
"Sorry, that wasn't clear, it's been a long day (just got off a flight, LHR -> SFO).\n\nWhat I meant was: we'll bring in a whole urllib3 when we move to the next release, so we shouldn't merge an individual fix.\n"
] |
https://api.github.com/repos/psf/requests/issues/2368 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2368/labels{/name} | https://api.github.com/repos/psf/requests/issues/2368/comments | https://api.github.com/repos/psf/requests/issues/2368/events | https://github.com/psf/requests/issues/2368 | 50,911,684 | MDU6SXNzdWU1MDkxMTY4NA== | 2,368 | api.dribbble.com SSL certificate does not validate | {
"avatar_url": "https://avatars.githubusercontent.com/u/1097349?v=4",
"events_url": "https://api.github.com/users/joealcorn/events{/privacy}",
"followers_url": "https://api.github.com/users/joealcorn/followers",
"following_url": "https://api.github.com/users/joealcorn/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 9 | 2014-12-04T00:09:04Z | 2021-09-08T23:06:53Z | 2014-12-04T14:38:21Z | CONTRIBUTOR | resolved | Built something with dribbble's API recently and noticed this.
This very may well be the fault of dribbble, but I don't know enough to diagnose. It works in browsers and curl, so it seems something's up with requests.
ssllabs shows the cert presented as a wildcard certificate https://www.ssllabs.com/ssltest/analyze.ht... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2368/reactions"
} | https://api.github.com/repos/psf/requests/issues/2368/timeline | null | completed | null | null | false | [
"(Pdb) self.sock.getpeercert()\n{'notAfter': 'Mar 26 12:00:00 2015 GMT', 'subjectAltName': (('DNS', 'dribbble.com'), ('DNS', 'www.dribbble.com')), 'subject': ((('businessCategory', u'Private Organization'),), (('1.3.6.1.4.1.311.60.2.1.3', u'US'),), (('1.3.6.1.4.1.311.60.2.1.2', u'Massachusetts'),), (('serialNumber'... |
https://api.github.com/repos/psf/requests/issues/2367 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2367/labels{/name} | https://api.github.com/repos/psf/requests/issues/2367/comments | https://api.github.com/repos/psf/requests/issues/2367/events | https://github.com/psf/requests/issues/2367 | 50,891,603 | MDU6SXNzdWU1MDg5MTYwMw== | 2,367 | requests.post() issues a GET with verify=False on insecure ssl environment | {
"avatar_url": "https://avatars.githubusercontent.com/u/1216869?v=4",
"events_url": "https://api.github.com/users/kevinlondon/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinlondon/followers",
"following_url": "https://api.github.com/users/kevinlondon/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2014-12-03T20:54:47Z | 2021-09-08T23:06:53Z | 2014-12-03T21:52:49Z | NONE | resolved | I did a search to see if I could find any similar issues prior to filing the bug. It seems like something within the way urllib3 is behaving, in particular, but I'm not sure.
I have an API endpoint where GET is disabled so only POST and OPTIONS are valid methods. It works fine when I interact with it when it's hosted ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1216869?v=4",
"events_url": "https://api.github.com/users/kevinlondon/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinlondon/followers",
"following_url": "https://api.github.com/users/kevinlondon/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/2367/reactions"
} | https://api.github.com/repos/psf/requests/issues/2367/timeline | null | completed | null | null | false | [
"What is the output of `resp.history`. It's plausible you're being redirected and the status code we're getting is causing us to switch the request to a `GET` (as we should be).\n",
"Ah, okay. Thank you for the pointer. In history was a Response [301] and I traced it to the fact that nginx was redirecting me from... |
https://api.github.com/repos/psf/requests/issues/2366 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2366/labels{/name} | https://api.github.com/repos/psf/requests/issues/2366/comments | https://api.github.com/repos/psf/requests/issues/2366/events | https://github.com/psf/requests/issues/2366 | 50,789,806 | MDU6SXNzdWU1MDc4OTgwNg== | 2,366 | redirected request with a wrong host header | {
"avatar_url": "https://avatars.githubusercontent.com/u/860837?v=4",
"events_url": "https://api.github.com/users/hakulat/events{/privacy}",
"followers_url": "https://api.github.com/users/hakulat/followers",
"following_url": "https://api.github.com/users/hakulat/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 13 | 2014-12-03T06:43:23Z | 2021-09-08T23:05:54Z | 2014-12-18T08:45:06Z | NONE | resolved | for example:
r = requests.get(url, allow_redirects=True, headers={"Host":"www.baidu.com"})
first response is:
302 with location: http://www.abc.com/index.html
then the followed request is also with the Host of www.baidu.com, for 302 location is a abs Request-URI, should not the request with the host of www.abc.com?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2366/reactions"
} | https://api.github.com/repos/psf/requests/issues/2366/timeline | null | completed | null | null | false | [
"Hi @wttang \n\nFor the most part, we actively discourage users from specifying they're own `Host` header. Because we discourage users from handling their own `Host` header, we do not remove it on redirect because 99% of the time there's no need for us to do so. By specifying this header yourself and not handling r... |
https://api.github.com/repos/psf/requests/issues/2365 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2365/labels{/name} | https://api.github.com/repos/psf/requests/issues/2365/comments | https://api.github.com/repos/psf/requests/issues/2365/events | https://github.com/psf/requests/pull/2365 | 50,590,904 | MDExOlB1bGxSZXF1ZXN0MjUzMDYzNzM= | 2,365 | Release v2.5.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 6 | 2014-12-01T23:04:05Z | 2021-09-08T09:01:11Z | 2014-12-01T23:22:17Z | CONTRIBUTOR | resolved | TODO:
- [x] Tag release
- [x] Upload to PyPI
- [x] Create release on GitHub
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2365/reactions"
} | https://api.github.com/repos/psf/requests/issues/2365/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2365.diff",
"html_url": "https://github.com/psf/requests/pull/2365",
"merged_at": "2014-12-01T23:22:17Z",
"patch_url": "https://github.com/psf/requests/pull/2365.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2365"
} | true | [
":cake: LGTM.\n\nReady when you are @kennethreitz.\n",
":shipit: \n",
"@kennethreitz wanted to get this out today and added both of us to PyPI as maintainers so I'm going to wrap this up right now.\n",
"- [Tag](https://github.com/kennethreitz/requests/releases/tag/v2.5.0)\n- [Release](https://github.com/kenne... |
https://api.github.com/repos/psf/requests/issues/2364 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2364/labels{/name} | https://api.github.com/repos/psf/requests/issues/2364/comments | https://api.github.com/repos/psf/requests/issues/2364/events | https://github.com/psf/requests/issues/2364 | 50,590,618 | MDU6SXNzdWU1MDU5MDYxOA== | 2,364 | ConnectionError: ('Connection aborted.', BadStatusLine(""''''")) on Windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/410872?v=4",
"events_url": "https://api.github.com/users/greedo/events{/privacy}",
"followers_url": "https://api.github.com/users/greedo/followers",
"following_url": "https://api.github.com/users/greedo/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 31 | 2014-12-01T23:00:53Z | 2018-10-20T11:29:28Z | 2015-07-20T14:55:07Z | NONE | resolved | I am encountering this error when making a PUT request on Windows only, It works fine on *nix.
```
requests.put(
https://upload.com,
timeout=None,
headers={
'Content-Length': 28689538,
'Content-Range': 'bytes: 0-28689538/28689538',
... | {
"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/2364/reactions"
} | https://api.github.com/repos/psf/requests/issues/2364/timeline | null | completed | null | null | false | [
"`BadStatusLine` is an exception coming out of the bowels of `httplib`, and it suggests that the data it receives doesn't make any sense. If I had to guess, I'd say that the obvious error is related to the TLS connection you're making. It would be interesting to see a packet capture (from tcpdump or wireshark) of t... |
https://api.github.com/repos/psf/requests/issues/2363 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2363/labels{/name} | https://api.github.com/repos/psf/requests/issues/2363/comments | https://api.github.com/repos/psf/requests/issues/2363/events | https://github.com/psf/requests/pull/2363 | 50,586,064 | MDExOlB1bGxSZXF1ZXN0MjUzMDQwMjM= | 2,363 | Update tests to work offline | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2014-12-01T22:25:44Z | 2021-09-08T09:01:11Z | 2014-12-03T04:46:10Z | CONTRIBUTOR | resolved | There are still some that we cannot force to work offline but this improves a lot of things.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2363/reactions"
} | https://api.github.com/repos/psf/requests/issues/2363/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2363.diff",
"html_url": "https://github.com/psf/requests/pull/2363",
"merged_at": "2014-12-03T04:46:10Z",
"patch_url": "https://github.com/psf/requests/pull/2363.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2363"
} | true | [
"Some of the tests you port to `httpbin()` use `http` and others use `https`, is that significant?\n",
"@alex those tests that were using https didn't seem to have any necessity to rely on https. They were likely written by me and I just write `'https://httpbin.org'` everytime I want to talk to httpbin by force o... |
https://api.github.com/repos/psf/requests/issues/2362 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2362/labels{/name} | https://api.github.com/repos/psf/requests/issues/2362/comments | https://api.github.com/repos/psf/requests/issues/2362/events | https://github.com/psf/requests/issues/2362 | 50,566,424 | MDU6SXNzdWU1MDU2NjQyNA== | 2,362 | Reduce bus factor | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 12 | 2014-12-01T19:51:59Z | 2021-09-08T23:06:51Z | 2014-12-08T17:03:13Z | CONTRIBUTOR | resolved | Keys to the kingdom for @Lukasa and @sigmavirus24.
This includes....
- [ ] DNSimple collab access]
- [x] PyPi collab access
I think that's it...
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2362/reactions"
} | https://api.github.com/repos/psf/requests/issues/2362/timeline | null | completed | null | null | false | [
"What about ci.kennethreitz.org\n",
"@kevinburke hmm, i suppose so . \n",
"Op on the IRC channel as well\n",
"@kevinburke if someone tells me what command to type in, i'll do it lol\n",
"I'm not sure we need op on the channel. I've never seen any problems arise in there. \n\n```\n/msg ChanServ FLAGS #python... |
https://api.github.com/repos/psf/requests/issues/2361 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2361/labels{/name} | https://api.github.com/repos/psf/requests/issues/2361/comments | https://api.github.com/repos/psf/requests/issues/2361/events | https://github.com/psf/requests/issues/2361 | 50,513,357 | MDU6SXNzdWU1MDUxMzM1Nw== | 2,361 | Combining pool_block == True with head blocks | {
"avatar_url": "https://avatars.githubusercontent.com/u/5834577?v=4",
"events_url": "https://api.github.com/users/ARF1/events{/privacy}",
"followers_url": "https://api.github.com/users/ARF1/followers",
"following_url": "https://api.github.com/users/ARF1/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 1 | 2014-12-01T11:23:57Z | 2021-09-08T23:05:46Z | 2015-04-07T14:10:08Z | NONE | resolved | I am using requests to read redirection targets from 302 responses for a list of urls.
The core function is:
```
def getRedirect(url):
print('requesting: %s' % url)
request = reqsSess.head(url)
print('done: %s' % url)
request.raise_for_status()
location = request.headers['location']
request.cl... | {
"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/2361/reactions"
} | https://api.github.com/repos/psf/requests/issues/2361/timeline | null | completed | null | null | false | [
"Additional observations:\n\nWith `connection_limit = 1` and `pool_block=True`, about 6-8 (changing) `requesting: url...` statements are printed. Wireshark shows only a single DNS request and response. **No http requests of any kind are transmitted.**\n\nWith `connection_limit = 2` and `pool_block=True`, exactly 11... |
https://api.github.com/repos/psf/requests/issues/2360 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2360/labels{/name} | https://api.github.com/repos/psf/requests/issues/2360/comments | https://api.github.com/repos/psf/requests/issues/2360/events | https://github.com/psf/requests/pull/2360 | 50,474,384 | MDExOlB1bGxSZXF1ZXN0MjUyNDEyMDM= | 2,360 | dummy commit | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2014-11-30T23:02:02Z | 2021-09-08T09:01:11Z | 2014-11-30T23:36:43Z | CONTRIBUTOR | resolved | testing whether ci.kennethreitz.org is working again
| {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/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/2360/reactions"
} | https://api.github.com/repos/psf/requests/issues/2360/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2360.diff",
"html_url": "https://github.com/psf/requests/pull/2360",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2360.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2360"
} | true | [
"looks like it is!\n"
] |
https://api.github.com/repos/psf/requests/issues/2359 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2359/labels{/name} | https://api.github.com/repos/psf/requests/issues/2359/comments | https://api.github.com/repos/psf/requests/issues/2359/events | https://github.com/psf/requests/issues/2359 | 50,243,267 | MDU6SXNzdWU1MDI0MzI2Nw== | 2,359 | Charset detection in text() can be pathologically slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/1546674?v=4",
"events_url": "https://api.github.com/users/marcocova/events{/privacy}",
"followers_url": "https://api.github.com/users/marcocova/followers",
"following_url": "https://api.github.com/users/marcocova/following{/other_user}",
"gists_url": "h... | [
{
"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"
}
] | closed | true | null | [] | null | 10 | 2014-11-27T01:00:37Z | 2021-09-03T00:10:52Z | 2015-04-07T13:43:51Z | NONE | resolved | When calling `response.text()` and no encoding was set or determined, requests relies on `chardet` to detect the encoding:
``` python
@property
def apparent_encoding(self):
"""The apparent encoding, provided by the chardet library"""
return chardet.detect(self.content)['encoding']
```
Unfortun... | {
"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/2359/reactions"
} | https://api.github.com/repos/psf/requests/issues/2359/timeline | null | completed | null | null | false | [
"We're aware of this. Do you have a proposal to replace it with something better?\n",
"How about using <a href=https://pypi.python.org/pypi/cchardet/> cChardet </a>? \n",
"We can't vendor anything that uses C extensions, so no @rsnair2 we can't use cChardet\n",
"Couldn't it be the solution in @marcocova's cas... |
https://api.github.com/repos/psf/requests/issues/2358 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2358/labels{/name} | https://api.github.com/repos/psf/requests/issues/2358/comments | https://api.github.com/repos/psf/requests/issues/2358/events | https://github.com/psf/requests/issues/2358 | 50,116,861 | MDU6SXNzdWU1MDExNjg2MQ== | 2,358 | about GET request | {
"avatar_url": "https://avatars.githubusercontent.com/u/1115526?v=4",
"events_url": "https://api.github.com/users/snowleung/events{/privacy}",
"followers_url": "https://api.github.com/users/snowleung/followers",
"following_url": "https://api.github.com/users/snowleung/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 2 | 2014-11-26T04:22:25Z | 2021-09-08T23:06:55Z | 2014-11-26T04:30:33Z | NONE | resolved | In requests, GET request need "params = request_body", but POST (or ohter) request need "data=request_body",
so
i think about is let the request data together.
i know HTTP BODY and URL params need a different handler, but we can let this handler in send_request function (means use URL or BODY).
and
it's there any "de... | {
"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/2358/reactions"
} | https://api.github.com/repos/psf/requests/issues/2358/timeline | null | completed | null | null | false | [
"Nothing prevents you from using both `params` and `data` simultaneously. I'm not sure I understand what you're asking. Regardless, it seems as though you're asking a question and this is not a forum it is an issue tracker. Questions belong on [StackOverflow](https://stackoverflow.com/questions/tagged/python-reques... |
https://api.github.com/repos/psf/requests/issues/2357 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2357/labels{/name} | https://api.github.com/repos/psf/requests/issues/2357/comments | https://api.github.com/repos/psf/requests/issues/2357/events | https://github.com/psf/requests/pull/2357 | 50,109,917 | MDExOlB1bGxSZXF1ZXN0MjUwNTY1Mzg= | 2,357 | work around for dealing with a multipart/related multipart upload instea... | {
"avatar_url": "https://avatars.githubusercontent.com/u/64289?v=4",
"events_url": "https://api.github.com/users/netjunki/events{/privacy}",
"followers_url": "https://api.github.com/users/netjunki/followers",
"following_url": "https://api.github.com/users/netjunki/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2014-11-26T02:13:25Z | 2021-09-08T09:01:13Z | 2014-11-26T02:23:35Z | NONE | resolved | ...d of a multipart/form-data. Was trying to integrate file upload support for the HipChat v2 API with will and discovered that requests can't deal with the type of multipart request their upload api requires.
https://www.hipchat.com/docs/apiv2/method/share_file_with_room
I think this approach is a complete mess... b... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2357/reactions"
} | https://api.github.com/repos/psf/requests/issues/2357/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2357.diff",
"html_url": "https://github.com/psf/requests/pull/2357",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2357.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2357"
} | true | [
"Hey @netjunki,\n\nWe're not expanding the API any longer. Requests is under a feature freeze unless Kenneth blesses it for inclusion (which is rare and highly unlikely). You could probably subclass the `MultipartEncoder` from the requests-toolbelt and achieve what you're looking for here pretty easily.\n\nThanks f... |
https://api.github.com/repos/psf/requests/issues/2356 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2356/labels{/name} | https://api.github.com/repos/psf/requests/issues/2356/comments | https://api.github.com/repos/psf/requests/issues/2356/events | https://github.com/psf/requests/issues/2356 | 50,071,109 | MDU6SXNzdWU1MDA3MTEwOQ== | 2,356 | Requests unable to follow/retrieve links with percent in url | {
"avatar_url": "https://avatars.githubusercontent.com/u/1652853?v=4",
"events_url": "https://api.github.com/users/suhaasprasad/events{/privacy}",
"followers_url": "https://api.github.com/users/suhaasprasad/followers",
"following_url": "https://api.github.com/users/suhaasprasad/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 3 | 2014-11-25T19:15:39Z | 2021-09-08T23:06:02Z | 2015-01-27T18:24:34Z | NONE | resolved | A simple requests.get(url) doesn't work for the following:
http://bit.ly/1x5vKWM
http://bit.ly/1yPgqvg
http://style.shoedazzle.com/dmg/3AE3B8?dzcode=FBT&dzcontent=FBT_SDZ_CPM_Q414&pid=112768085&aid=285880402&cid=0&publisher=%ppublisher=!;&placement=%pplacement=!;
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2356/reactions"
} | https://api.github.com/repos/psf/requests/issues/2356/timeline | null | completed | null | null | false | [
"This bug is exactly the same as #1360, with one key difference: here, the server isn't percent-encoding percent signs. This is not valid HTTP, and we're totally allowed to fail here according to RFC 7231:\n\n> Note: Some recipients attempt to recover from Location fields that are not valid URI references. This sp... |
https://api.github.com/repos/psf/requests/issues/2355 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2355/labels{/name} | https://api.github.com/repos/psf/requests/issues/2355/comments | https://api.github.com/repos/psf/requests/issues/2355/events | https://github.com/psf/requests/pull/2355 | 49,961,012 | MDExOlB1bGxSZXF1ZXN0MjQ5NzU1NTc= | 2,355 | Unix domain sockets | {
"avatar_url": "https://avatars.githubusercontent.com/u/305268?v=4",
"events_url": "https://api.github.com/users/msabramo/events{/privacy}",
"followers_url": "https://api.github.com/users/msabramo/followers",
"following_url": "https://api.github.com/users/msabramo/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2014-11-25T00:18:28Z | 2021-09-08T09:01:14Z | 2014-11-25T02:09:42Z | CONTRIBUTOR | resolved | This adds support for unix domain sockets by using a slightly modified version of the unix domain socket adapter from the [docker-py](https://github.com/docker/docker-py) project:
https://github.com/docker/docker-py/blob/master/docker/unixconn/unixconn.py
The modifications are to make the adapter more usable in a gre... | {
"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/2355/reactions"
} | https://api.github.com/repos/psf/requests/issues/2355/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2355.diff",
"html_url": "https://github.com/psf/requests/pull/2355",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2355.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2355"
} | true | [
"Probably if `requests` had this, docker-py and other projects might be able to make use of it and not have to maintain their own versions. I wonder if @shin- could use this in docker-py.\n",
"Very nice @msabramo \n",
"So the fundamental thing to remember about requests is that it is an HTTP library which means... |
https://api.github.com/repos/psf/requests/issues/2354 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2354/labels{/name} | https://api.github.com/repos/psf/requests/issues/2354/comments | https://api.github.com/repos/psf/requests/issues/2354/events | https://github.com/psf/requests/issues/2354 | 49,920,234 | MDU6SXNzdWU0OTkyMDIzNA== | 2,354 | is there any way to make requests waiting for ajax to respond? | {
"avatar_url": "https://avatars.githubusercontent.com/u/2675621?v=4",
"events_url": "https://api.github.com/users/Casyfill/events{/privacy}",
"followers_url": "https://api.github.com/users/Casyfill/followers",
"following_url": "https://api.github.com/users/Casyfill/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2014-11-24T17:48:44Z | 2021-09-08T23:06:55Z | 2014-11-24T17:51:34Z | NONE | resolved | a site (http://echo.msk.ru/) is responding to the request in a second. However, with a simple request.get I cant put a hand on the site content. For sure, I can use selenium for that, but is there any simple way to make requests wait for answer?
thanks in advance
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2354/reactions"
} | https://api.github.com/repos/psf/requests/issues/2354/timeline | null | completed | null | null | false | [
"requests does not wait for AJAX because it doesn't read HTML. You need something that will read the HTML of the site to learn where the Javascript is, then obtain it and execute it. requests is not built to do that, though it could be a _component_ of doing it.\n\nMy recommendation would be to use the browser deve... |
https://api.github.com/repos/psf/requests/issues/2353 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2353/labels{/name} | https://api.github.com/repos/psf/requests/issues/2353/comments | https://api.github.com/repos/psf/requests/issues/2353/events | https://github.com/psf/requests/pull/2353 | 49,849,592 | MDExOlB1bGxSZXF1ZXN0MjQ5MTA2MjI= | 2,353 | url was already parsed, don't urlparse twice | {
"avatar_url": "https://avatars.githubusercontent.com/u/375744?v=4",
"events_url": "https://api.github.com/users/mattrobenolt/events{/privacy}",
"followers_url": "https://api.github.com/users/mattrobenolt/followers",
"following_url": "https://api.github.com/users/mattrobenolt/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 3 | 2014-11-24T01:54:56Z | 2021-09-08T09:01:12Z | 2014-11-30T19:11:52Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2353/reactions"
} | https://api.github.com/repos/psf/requests/issues/2353/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2353.diff",
"html_url": "https://github.com/psf/requests/pull/2353",
"merged_at": "2014-11-30T19:11:52Z",
"patch_url": "https://github.com/psf/requests/pull/2353.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2353"
} | true | [
"I think this is safe to take. @sigmavirus24?\n",
"Looks safe to me\n",
"cool :)\n"
] | |
https://api.github.com/repos/psf/requests/issues/2352 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2352/labels{/name} | https://api.github.com/repos/psf/requests/issues/2352/comments | https://api.github.com/repos/psf/requests/issues/2352/events | https://github.com/psf/requests/issues/2352 | 49,789,576 | MDU6SXNzdWU0OTc4OTU3Ng== | 2,352 | Clarity on docs regarding debugging | {
"avatar_url": "https://avatars.githubusercontent.com/u/651797?v=4",
"events_url": "https://api.github.com/users/foxx/events{/privacy}",
"followers_url": "https://api.github.com/users/foxx/followers",
"following_url": "https://api.github.com/users/foxx/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 17 | 2014-11-22T13:08:47Z | 2021-09-08T23:06:56Z | 2014-11-23T22:46:19Z | NONE | resolved | As spending about 10 minutes figuring out how to log raw request/responses in requests, I eventually came across the following [SO article](http://stackoverflow.com/questions/10588644/how-can-i-see-the-entire-http-request-thats-being-sent-by-my-python-application), which references an obscure part of the [documentation... | {
"avatar_url": "https://avatars.githubusercontent.com/u/651797?v=4",
"events_url": "https://api.github.com/users/foxx/events{/privacy}",
"followers_url": "https://api.github.com/users/foxx/followers",
"following_url": "https://api.github.com/users/foxx/following{/other_user}",
"gists_url": "https://api.githu... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2352/reactions"
} | https://api.github.com/repos/psf/requests/issues/2352/timeline | null | completed | null | null | false | [
"Using the search functionality with the phrase \"logging\" helped me find the section of the docs that details how to enable logging. I for one would rather not have the same content copied and pasted in the documentation because that provides two places where it would need to be updated and they will easily fall ... |
https://api.github.com/repos/psf/requests/issues/2351 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2351/labels{/name} | https://api.github.com/repos/psf/requests/issues/2351/comments | https://api.github.com/repos/psf/requests/issues/2351/events | https://github.com/psf/requests/pull/2351 | 49,689,412 | MDExOlB1bGxSZXF1ZXN0MjQ4MzYwMjc= | 2,351 | Added ability to use list of proxies for each scheme. Proxies are randomly selected. | {
"avatar_url": "https://avatars.githubusercontent.com/u/955888?v=4",
"events_url": "https://api.github.com/users/lexapi/events{/privacy}",
"followers_url": "https://api.github.com/users/lexapi/followers",
"following_url": "https://api.github.com/users/lexapi/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 4 | 2014-11-21T12:15:25Z | 2021-09-08T09:01:13Z | 2014-11-25T03:06:12Z | NONE | resolved | Basic Usage:
``` python
import requests
r = requests.Session()
p = {'http':['proxy1.com:81', 'proxy2:82', 'proxy2:82'], 'https': 'proxy4.com'}
r.proxies = p
print r.get('http://ya.ru')
print r.get('http://google.com')
print requests.get('http://ya.ru', proxies=p)
print r.get('https://www.google.ru')
print requests... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2351/reactions"
} | https://api.github.com/repos/psf/requests/issues/2351/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2351.diff",
"html_url": "https://github.com/psf/requests/pull/2351",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2351.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2351"
} | true | [
"I'm not sure I understand how this is supposed to work.\n",
"Currently, we are can use only one proxy for scheme, but some sites have limits on the number of requests from 1 IP (per second, minutes, etc)\nIf we make a spider for the site - we will have big problems (\nThis function allows you to immediately set ... |
https://api.github.com/repos/psf/requests/issues/2350 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2350/labels{/name} | https://api.github.com/repos/psf/requests/issues/2350/comments | https://api.github.com/repos/psf/requests/issues/2350/events | https://github.com/psf/requests/issues/2350 | 49,639,244 | MDU6SXNzdWU0OTYzOTI0NA== | 2,350 | JSONP support | {
"avatar_url": "https://avatars.githubusercontent.com/u/9846444?v=4",
"events_url": "https://api.github.com/users/gtlhc/events{/privacy}",
"followers_url": "https://api.github.com/users/gtlhc/followers",
"following_url": "https://api.github.com/users/gtlhc/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 1 | 2014-11-21T00:58:18Z | 2021-09-08T23:06:56Z | 2014-11-21T01:17:30Z | NONE | resolved | Add JSONP support for the Response:
code:
jp=r.content
qi=jp.index('(')
callback=jp[:qi]
data=jp[qi+1:-1]
return callback,data
usage:
r.jsonp.callback #string
r.jsonp.data #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/2350/reactions"
} | https://api.github.com/repos/psf/requests/issues/2350/timeline | null | completed | null | null | false | [
"We're not accepting new features any longer unless there's an extremely compelling usecase. Thanks for the suggestion though! \n"
] |
https://api.github.com/repos/psf/requests/issues/2349 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2349/labels{/name} | https://api.github.com/repos/psf/requests/issues/2349/comments | https://api.github.com/repos/psf/requests/issues/2349/events | https://github.com/psf/requests/pull/2349 | 49,179,140 | MDExOlB1bGxSZXF1ZXN0MjQ1ODc5MDE= | 2,349 | Properly serialize RecentlyUsedContainers for cache | {
"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_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 3 | 2014-11-18T04:18:55Z | 2021-09-08T09:01:12Z | 2014-11-30T19:12:43Z | CONTRIBUTOR | resolved | RecentlyUsedContainers are threadsafe so they require a lock and as such
cannot be serialized with pickle directly. To handle it, we need to
convert it to a dictionary first and then back when deserializing.
Fixes #2345
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2349/reactions"
} | https://api.github.com/repos/psf/requests/issues/2349/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2349.diff",
"html_url": "https://github.com/psf/requests/pull/2349",
"merged_at": "2014-11-30T19:12:43Z",
"patch_url": "https://github.com/psf/requests/pull/2349.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2349"
} | true | [
"looks good! any way to add a test exposing this issue?\n",
"> any way to add a test exposing this issue?\n\nBesides the test that failed in the first place? Jenkins isn't running for a reason only @kennethreitz can determine. Had @Lukasa or I been running the tests locally before approving PRs, it probably would... |
https://api.github.com/repos/psf/requests/issues/2348 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2348/labels{/name} | https://api.github.com/repos/psf/requests/issues/2348/comments | https://api.github.com/repos/psf/requests/issues/2348/events | https://github.com/psf/requests/pull/2348 | 49,072,887 | MDExOlB1bGxSZXF1ZXN0MjQ1MjY5NDc= | 2,348 | Docs: Add more section labels for referencing | {
"avatar_url": "https://avatars.githubusercontent.com/u/434495?v=4",
"events_url": "https://api.github.com/users/danmichaelo/events{/privacy}",
"followers_url": "https://api.github.com/users/danmichaelo/followers",
"following_url": "https://api.github.com/users/danmichaelo/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2014-11-17T10:42:33Z | 2021-09-08T09:01:12Z | 2014-11-30T19:12:04Z | CONTRIBUTOR | resolved | so sections can be linked from other projects using Intersphinx
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2348/reactions"
} | https://api.github.com/repos/psf/requests/issues/2348/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2348.diff",
"html_url": "https://github.com/psf/requests/pull/2348",
"merged_at": "2014-11-30T19:12:04Z",
"patch_url": "https://github.com/psf/requests/pull/2348.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2348"
} | true | [
"thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/2347 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2347/labels{/name} | https://api.github.com/repos/psf/requests/issues/2347/comments | https://api.github.com/repos/psf/requests/issues/2347/events | https://github.com/psf/requests/issues/2347 | 49,035,544 | MDU6SXNzdWU0OTAzNTU0NA== | 2,347 | feature request: add a timeout to DNS lookups | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 5 | 2014-11-17T04:24:41Z | 2021-09-08T23:06:58Z | 2014-11-17T05:45:05Z | CONTRIBUTOR | resolved | I don't think it's possible. But it would be nice.
Currently if:
1. you set your DNS resolvers to something that's not listening on port 53, eg 123.123.123.123
2. you try to make a request with a timeout
The request will use the system timeout, usually upwards of 2 minutes.
It would be nice to be able to attach a ti... | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | {
"+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/2347/reactions"
} | https://api.github.com/repos/psf/requests/issues/2347/timeline | null | completed | null | null | false | [
"in theory you could run the socket.connect() in a thread and time it out\n",
"Given that requests doesn't handle sockets itself, I think this is a feature you should be requesting in urllib3. Before you open an issue there, I wonder if @shazow would care to express their opinion here first.\n",
"I would love t... |
https://api.github.com/repos/psf/requests/issues/2346 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2346/labels{/name} | https://api.github.com/repos/psf/requests/issues/2346/comments | https://api.github.com/repos/psf/requests/issues/2346/events | https://github.com/psf/requests/issues/2346 | 49,033,987 | MDU6SXNzdWU0OTAzMzk4Nw== | 2,346 | Uploading Binary Files Without Reading Into RAM | {
"avatar_url": "https://avatars.githubusercontent.com/u/7476821?v=4",
"events_url": "https://api.github.com/users/tuntapovski/events{/privacy}",
"followers_url": "https://api.github.com/users/tuntapovski/followers",
"following_url": "https://api.github.com/users/tuntapovski/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2014-11-17T04:08:38Z | 2021-09-08T23:06:58Z | 2014-11-17T04:42:53Z | NONE | resolved | hi there.
i try to upload a file via this:
http://docs.python-requests.org/en/latest/user/advanced/#post-multiple-multipart-encoded-files
but it does seem to read it into ram first. because i get memory errors on my low ram vps.
it would be good if it would have worked like this:
http://docs.python-requests.org/en/... | {
"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/2346/reactions"
} | https://api.github.com/repos/psf/requests/issues/2346/timeline | null | completed | null | null | false | [
"If you look at http://docs.python-requests.org/en/latest/user/quickstart/#post-a-multipart-encoded-file you'll see that we mention this limitation and recommend [requests-toolbelt](/sigmavirus24/requests-toolbelt). There's documentation on that project and it should be simple to use. Any problems encountered while... |
https://api.github.com/repos/psf/requests/issues/2345 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2345/labels{/name} | https://api.github.com/repos/psf/requests/issues/2345/comments | https://api.github.com/repos/psf/requests/issues/2345/events | https://github.com/psf/requests/issues/2345 | 48,994,009 | MDU6SXNzdWU0ODk5NDAwOQ== | 2,345 | Using RecentlyUsedContainer for session cache breaks pickling | {
"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_... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 5 | 2014-11-16T15:52:15Z | 2021-09-08T23:06:55Z | 2014-11-30T19:12:43Z | CONTRIBUTOR | resolved | The changes in 387c8f8 have broken the ability to pickle a Session object.
Possible solutions:
- Re-implement `RecentlyUsedContainer` to not use threading locks
- Do not attempt to pickle the session redirect cache (personally, I prefer this one)
Reasons this wasn't caught earlier:
- Jenkins has magically stopped wor... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2345/reactions"
} | https://api.github.com/repos/psf/requests/issues/2345/timeline | null | completed | null | null | false | [
"Note to @kennethreitz, we **can not** do a release until we fix this.\n",
"So we can't just remove `redirect_cache` from the list of `__attrs__`, it breaks the tests. So ... I'm thinking we have to special case how we serialize a `RecentlyUsedContainer`. We can call `dict` on the cache, but to repopulate it, we ... |
https://api.github.com/repos/psf/requests/issues/2344 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2344/labels{/name} | https://api.github.com/repos/psf/requests/issues/2344/comments | https://api.github.com/repos/psf/requests/issues/2344/events | https://github.com/psf/requests/pull/2344 | 48,938,522 | MDExOlB1bGxSZXF1ZXN0MjQ0OTY0MzQ= | 2,344 | Partially addresses Issue #1572 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7707694?v=4",
"events_url": "https://api.github.com/users/ContinuousFunction/events{/privacy}",
"followers_url": "https://api.github.com/users/ContinuousFunction/followers",
"following_url": "https://api.github.com/users/ContinuousFunction/following{/othe... | [] | closed | true | null | [] | null | 12 | 2014-11-16T00:59:29Z | 2021-09-08T09:01:07Z | 2014-12-17T04:49:50Z | CONTRIBUTOR | resolved | Addresses the LocationParseError but not the DecodeError from kennethreitz#1572. When running
test_requests.py, I got an error in test_session_pickling which resulted in a TypeError. I'm not sure of the reason for the TypeError but I have commented out that test.
| {
"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/2344/reactions"
} | https://api.github.com/repos/psf/requests/issues/2344/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2344.diff",
"html_url": "https://github.com/psf/requests/pull/2344",
"merged_at": "2014-12-17T04:49:50Z",
"patch_url": "https://github.com/psf/requests/pull/2344.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2344"
} | true | [
"Why have we commented out a test here?\n",
"@Lukasa it's a test failure on master apparently. Besides that, I'm -1 on this. A `LocationParseError` happens long before a connection is even attempted. This should be an `InvalidURL` error\n",
"Also the test failure was introduced sometime since 122c92e59002cad20c... |
https://api.github.com/repos/psf/requests/issues/2343 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2343/labels{/name} | https://api.github.com/repos/psf/requests/issues/2343/comments | https://api.github.com/repos/psf/requests/issues/2343/events | https://github.com/psf/requests/pull/2343 | 48,936,444 | MDExOlB1bGxSZXF1ZXN0MjQ0OTU1MDU= | 2,343 | Partially addresses Issue #1572 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7707694?v=4",
"events_url": "https://api.github.com/users/ContinuousFunction/events{/privacy}",
"followers_url": "https://api.github.com/users/ContinuousFunction/followers",
"following_url": "https://api.github.com/users/ContinuousFunction/following{/othe... | [] | closed | true | null | [] | null | 1 | 2014-11-15T23:23:58Z | 2021-09-08T09:01:14Z | 2014-11-15T23:56:42Z | CONTRIBUTOR | resolved | Addresses the LocationParseError but not the DecodeError from kennethreitz#1572. When running
test_requests.py, I got an error in test_session_pickling which resulted in a TypeError. I'm not sure of the reason for the TypeError but I have commented out that test.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/7707694?v=4",
"events_url": "https://api.github.com/users/ContinuousFunction/events{/privacy}",
"followers_url": "https://api.github.com/users/ContinuousFunction/followers",
"following_url": "https://api.github.com/users/ContinuousFunction/following{/othe... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2343/reactions"
} | https://api.github.com/repos/psf/requests/issues/2343/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2343.diff",
"html_url": "https://github.com/psf/requests/pull/2343",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2343.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2343"
} | true | [
"My branch is 96 commits ahead and 142 commits behind. Will close until I figure out the problem.\n"
] |
https://api.github.com/repos/psf/requests/issues/2342 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2342/labels{/name} | https://api.github.com/repos/psf/requests/issues/2342/comments | https://api.github.com/repos/psf/requests/issues/2342/events | https://github.com/psf/requests/issues/2342 | 48,837,799 | MDU6SXNzdWU0ODgzNzc5OQ== | 2,342 | chardet ImportError: cannot import name universaldetector | {
"avatar_url": "https://avatars.githubusercontent.com/u/9618138?v=4",
"events_url": "https://api.github.com/users/ivankoster/events{/privacy}",
"followers_url": "https://api.github.com/users/ivankoster/followers",
"following_url": "https://api.github.com/users/ivankoster/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 3 | 2014-11-14T20:46:58Z | 2021-09-08T23:06:59Z | 2014-11-14T21:28:32Z | NONE | resolved | Hello,
When I try to retrieve the text attribute from a request, i get the following error:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 175, in on_load
File ".\sublime_plugin.py", line 154, in run_timed_function
File ".\sublime_plugin.py", line 174, in <lambda>
File ".\SublimeYouComplet... | {
"avatar_url": "https://avatars.githubusercontent.com/u/9618138?v=4",
"events_url": "https://api.github.com/users/ivankoster/events{/privacy}",
"followers_url": "https://api.github.com/users/ivankoster/followers",
"following_url": "https://api.github.com/users/ivankoster/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/2342/reactions"
} | https://api.github.com/repos/psf/requests/issues/2342/timeline | null | completed | null | null | false | [
"This is simply because you're using requests inside a sublime package and sublime has it's own weird Python that it ships with (if I remember correctly).\n",
"Ah thanks for the insight.\nI expected something like that, because it would affect too many people otherwise.\nI do know the encoding beforehand so I've ... |
https://api.github.com/repos/psf/requests/issues/2341 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2341/labels{/name} | https://api.github.com/repos/psf/requests/issues/2341/comments | https://api.github.com/repos/psf/requests/issues/2341/events | https://github.com/psf/requests/issues/2341 | 48,812,889 | MDU6SXNzdWU0ODgxMjg4OQ== | 2,341 | "keep-alive" over a HTTP/1.0 request issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/642052?v=4",
"events_url": "https://api.github.com/users/laurento/events{/privacy}",
"followers_url": "https://api.github.com/users/laurento/followers",
"following_url": "https://api.github.com/users/laurento/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2014-11-14T17:00:38Z | 2021-09-08T23:06:58Z | 2014-11-15T14:27:36Z | NONE | resolved | Debugging a nasty "300: Bad request" error I noticed an invalid behaviour when requests-2.4 is used in combination with HTTP/1.0.
Tring to reproduce the issue this is what I found...
``` python
import httplib
import requests
# Workaround for the IncompleteRead issue.
# See http://bugs.python.org/issue14044
httplib.H... | {
"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/2341/reactions"
} | https://api.github.com/repos/psf/requests/issues/2341/timeline | null | completed | null | null | false | [
"Sorry, this is a bit unclear to me. Are you explicitly setting the version string on all `HTTPConnection`s? You can override the `Connection: keep-alive` header, like so\n\n``` pycon\nPython 2.7.8 (default, Oct 19 2014, 16:03:53)\n[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin\nType \"help\", \"c... |
https://api.github.com/repos/psf/requests/issues/2340 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2340/labels{/name} | https://api.github.com/repos/psf/requests/issues/2340/comments | https://api.github.com/repos/psf/requests/issues/2340/events | https://github.com/psf/requests/issues/2340 | 48,777,189 | MDU6SXNzdWU0ODc3NzE4OQ== | 2,340 | ImportError: cannot import name 'certs' | {
"avatar_url": "https://avatars.githubusercontent.com/u/7079544?v=4",
"events_url": "https://api.github.com/users/davyria/events{/privacy}",
"followers_url": "https://api.github.com/users/davyria/followers",
"following_url": "https://api.github.com/users/davyria/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2014-11-14T11:41:59Z | 2021-09-08T23:06:57Z | 2014-11-15T14:20:41Z | NONE | resolved | I'm having this error for the last 2 days. It seems a problem with python requests library, but I've re-installed it several times with no luck.
```
Traceback (most recent call last):
File "project-src/bla-blah/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "project-src\env\lib\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/2340/reactions"
} | https://api.github.com/repos/psf/requests/issues/2340/timeline | null | completed | null | null | false | [
"As discussed on your [StackOverflow question](https://stackoverflow.com/questions/26928672/importerror-cannot-import-name-certs?noredirect=1#comment42433284_26928672), we concluded this is not a bug. Thanks @davyria \n",
"It happens to me exactly the same after installing the latest Windows update. It is the onl... |
https://api.github.com/repos/psf/requests/issues/2339 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2339/labels{/name} | https://api.github.com/repos/psf/requests/issues/2339/comments | https://api.github.com/repos/psf/requests/issues/2339/events | https://github.com/psf/requests/issues/2339 | 48,704,429 | MDU6SXNzdWU0ODcwNDQyOQ== | 2,339 | Create a response object from archived string or file HTTP responses. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1725327?v=4",
"events_url": "https://api.github.com/users/recrm/events{/privacy}",
"followers_url": "https://api.github.com/users/recrm/followers",
"following_url": "https://api.github.com/users/recrm/following{/other_user}",
"gists_url": "https://api.g... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
}
] | closed | true | null | [] | null | 3 | 2014-11-13T22:56:56Z | 2021-09-08T23:06:59Z | 2014-11-14T14:20:49Z | NONE | resolved | So I'm working with warc files. Warc files are a storage medium for saving and archiving websites, so they contain plenty (possibly thousands) of text HTTP request / response pairs. I need a way to parse these responses into usable objects.
Extracting the text of the HTTP response from the warc file is easy enough, bu... | {
"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/2339/reactions"
} | https://api.github.com/repos/psf/requests/issues/2339/timeline | null | completed | null | null | false | [
"This feature really belongs in another library altogether. The problem is that the HTTP parsing logic in requests is in `httplib`, which is well down our stack and outside our control. This means we can't pull it out into common code.\n\n_However_, @dstufft has been working on a formal HTTP parsing library which m... |
https://api.github.com/repos/psf/requests/issues/2338 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2338/labels{/name} | https://api.github.com/repos/psf/requests/issues/2338/comments | https://api.github.com/repos/psf/requests/issues/2338/events | https://github.com/psf/requests/issues/2338 | 48,663,828 | MDU6SXNzdWU0ODY2MzgyOA== | 2,338 | Proxy not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/9723897?v=4",
"events_url": "https://api.github.com/users/dmorri/events{/privacy}",
"followers_url": "https://api.github.com/users/dmorri/followers",
"following_url": "https://api.github.com/users/dmorri/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 45 | 2014-11-13T17:13:41Z | 2021-09-05T00:06:57Z | 2014-11-17T08:48:58Z | NONE | resolved | This code will work on my personal laptop, but then when I move to a windows server where we have to use a proxy to access the outside world, I get a 407 error. I added the proxies to this (just like I have setup in my Internet explorer settings that work). Any ideas?
import requests
proxies = {
"http": "10.51.1.1... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2338/reactions"
} | https://api.github.com/repos/psf/requests/issues/2338/timeline | null | completed | null | null | false | [
"The error here is extremely clear: _407 Proxy Authentication Required_.\n\nYou need to send some user credentials to the proxy. The real risk here is that the proxy is a Windows domain auth proxy, in which case this will be extremely difficult.\n",
"Yep. Clear. But here is the deal. I do NOT have to send in any ... |
https://api.github.com/repos/psf/requests/issues/2337 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2337/labels{/name} | https://api.github.com/repos/psf/requests/issues/2337/comments | https://api.github.com/repos/psf/requests/issues/2337/events | https://github.com/psf/requests/issues/2337 | 48,650,926 | MDU6SXNzdWU0ODY1MDkyNg== | 2,337 | [MISTAKE] POST requests are executed like GET | {
"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 | 4 | 2014-11-13T15:44:01Z | 2021-09-08T23:06:52Z | 2014-11-13T18:51:18Z | NONE | resolved | Hi,
Seems like always POST requests are executed as GET. All examples that I found seems to match my way of using `requests.post()`, but still no POST request is executed.
My `requests` version is '2.2.1', my python version is `2.7.6`
Here is code snippet:
----------------------- Python code start -----------------... | 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/2337/reactions"
} | https://api.github.com/repos/psf/requests/issues/2337/timeline | null | completed | null | null | false | [
"What does 'executed as a GET' mean?\n\nA POST request is signaled by sending a request line that looks like this:\n\n```\nPOST / HTTP/1.1\n```\n\nWe're definitely doing that correctly. You're going to have to be more specific about what you think is wrong.\n",
"I suspect you're being redirected. Try passing `all... |
https://api.github.com/repos/psf/requests/issues/2336 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2336/labels{/name} | https://api.github.com/repos/psf/requests/issues/2336/comments | https://api.github.com/repos/psf/requests/issues/2336/events | https://github.com/psf/requests/issues/2336 | 48,629,128 | MDU6SXNzdWU0ODYyOTEyOA== | 2,336 | Timeout for connecting to proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/716339?v=4",
"events_url": "https://api.github.com/users/glaslos/events{/privacy}",
"followers_url": "https://api.github.com/users/glaslos/followers",
"following_url": "https://api.github.com/users/glaslos/following{/other_user}",
"gists_url": "https://... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 38 | 2014-11-13T12:10:06Z | 2021-09-08T17:05:23Z | 2015-03-02T09:49:24Z | NONE | resolved | I provided a bogus proxy, set a very short timeout and expected requests to fail very fast. Unfortunately the opposite happened. Is this behavior intentional? As far as I can tell there is no way to set a timeout for the proxy connection.
``` Python
time python -c "import requests; print requests.__version__; requests... | {
"avatar_url": "https://avatars.githubusercontent.com/u/716339?v=4",
"events_url": "https://api.github.com/users/glaslos/events{/privacy}",
"followers_url": "https://api.github.com/users/glaslos/followers",
"following_url": "https://api.github.com/users/glaslos/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/2336/reactions"
} | https://api.github.com/repos/psf/requests/issues/2336/timeline | null | completed | null | null | false | [
"That's an interesting question. @kevinburke, got any idea?\n",
"A guess without looking at anything is that the ProxyManager doesn't apply the timeout to connections to the proxy.\n",
"Will take a look when I get an computer\n\nOn Thursday, November 13, 2014, Ian Cordasco notifications@github.com\nwrote:\n\n> ... |
https://api.github.com/repos/psf/requests/issues/2335 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2335/labels{/name} | https://api.github.com/repos/psf/requests/issues/2335/comments | https://api.github.com/repos/psf/requests/issues/2335/events | https://github.com/psf/requests/issues/2335 | 48,597,173 | MDU6SXNzdWU0ODU5NzE3Mw== | 2,335 | Cannot install anything depending on requests using pip 1.1 / Python 3.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/140276?v=4",
"events_url": "https://api.github.com/users/koterpillar/events{/privacy}",
"followers_url": "https://api.github.com/users/koterpillar/followers",
"following_url": "https://api.github.com/users/koterpillar/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 4 | 2014-11-13T04:34:34Z | 2021-09-08T23:07:00Z | 2014-11-13T14:42:22Z | NONE | resolved | Using stock Debian Wheezy configuration of Python 3.2 and pip 1.1, I can't install anything dependant on `requests`. For example, on a clean install:
```
# pip-3.2 install docker-py
...
Downloading/unpacking requests>=2.2.1 (from docker-py>=0.4.0->docker-forklift)
Downloading requests-2.4.3.tar.gz (438Kb): 438Kb dow... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2335/reactions"
} | https://api.github.com/repos/psf/requests/issues/2335/timeline | null | completed | null | null | false | [
"Requests does not support Python 3.2, so I'm not really surprised by this.\n\nThat said, we can easily remove _this particular problem_. That makes no guarantees that requests works on Python 3.2, however, it's not part of our CI system and we don't test on the platform.\n",
"We do not support Python 3.2 but in ... |
https://api.github.com/repos/psf/requests/issues/2334 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2334/labels{/name} | https://api.github.com/repos/psf/requests/issues/2334/comments | https://api.github.com/repos/psf/requests/issues/2334/events | https://github.com/psf/requests/issues/2334 | 48,540,996 | MDU6SXNzdWU0ODU0MDk5Ng== | 2,334 | HTTPDigestAuth on session not thread-safe | {
"avatar_url": "https://avatars.githubusercontent.com/u/9700216?v=4",
"events_url": "https://api.github.com/users/achorrath/events{/privacy}",
"followers_url": "https://api.github.com/users/achorrath/followers",
"following_url": "https://api.github.com/users/achorrath/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 12 | 2014-11-12T17:56:21Z | 2021-09-08T18:00:53Z | 2016-04-16T04:15:15Z | NONE | resolved | HTTPDigestAuth is not thread-safe when used on a session object. This script demonstrates the problem:
``` python
import Queue
import sys
import threading
import requests
s = requests.Session()
s.auth = requests.auth.HTTPDigestAuth('user', 'passwd')
def tprint(astr):
t = threading.current_thread().name
sys.... | {
"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/2334/reactions"
} | https://api.github.com/repos/psf/requests/issues/2334/timeline | null | completed | null | null | false | [
"Session's aren't threadsafe so I'm not sure I understand why this is suprising.\n",
"This is surprising because \"thread-safe\" is listed as one of the features of Requests, and there is nothing in the documentation to indicate that parts of it are not thread-safe.\n",
"+1 with achorrath, I faced this issue an... |
https://api.github.com/repos/psf/requests/issues/2333 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2333/labels{/name} | https://api.github.com/repos/psf/requests/issues/2333/comments | https://api.github.com/repos/psf/requests/issues/2333/events | https://github.com/psf/requests/pull/2333 | 48,523,557 | MDExOlB1bGxSZXF1ZXN0MjQzMDA1MDk= | 2,333 | Fix HTTPDigestAuth not to treat non-file as a file | {
"avatar_url": "https://avatars.githubusercontent.com/u/53781?v=4",
"events_url": "https://api.github.com/users/akitada/events{/privacy}",
"followers_url": "https://api.github.com/users/akitada/followers",
"following_url": "https://api.github.com/users/akitada/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2014-11-12T15:35:12Z | 2021-09-08T09:01:17Z | 2014-11-12T15:53:32Z | CONTRIBUTOR | resolved | Ensure pos is set to None when the body is not a file
so that HTTPDigestAuth detects the type of the body correctly.
| {
"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/2333/reactions"
} | https://api.github.com/repos/psf/requests/issues/2333/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2333.diff",
"html_url": "https://github.com/psf/requests/pull/2333",
"merged_at": "2014-11-12T15:53:32Z",
"patch_url": "https://github.com/psf/requests/pull/2333.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2333"
} | true | [
":sparkles: :cake: :sparkles: Thanks @akitada !!!\n"
] |
https://api.github.com/repos/psf/requests/issues/2332 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2332/labels{/name} | https://api.github.com/repos/psf/requests/issues/2332/comments | https://api.github.com/repos/psf/requests/issues/2332/events | https://github.com/psf/requests/pull/2332 | 48,518,978 | MDExOlB1bGxSZXF1ZXN0MjQyOTc2MTg= | 2,332 | Add overriding Content-Length | {
"avatar_url": "https://avatars.githubusercontent.com/u/2456311?v=4",
"events_url": "https://api.github.com/users/asnelzin/events{/privacy}",
"followers_url": "https://api.github.com/users/asnelzin/followers",
"following_url": "https://api.github.com/users/asnelzin/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2014-11-12T14:58:25Z | 2021-09-08T09:01:17Z | 2014-11-12T17:34:48Z | CONTRIBUTOR | resolved | This is related to https://github.com/kennethreitz/requests/issues/2329
Just implemented @Lukasa's solution and added test.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2332/reactions"
} | https://api.github.com/repos/psf/requests/issues/2332/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2332.diff",
"html_url": "https://github.com/psf/requests/pull/2332",
"merged_at": "2014-11-12T17:34:48Z",
"patch_url": "https://github.com/psf/requests/pull/2332.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2332"
} | true | [
"LGTM. I'm happy to take this. :cake: Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/2331 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2331/labels{/name} | https://api.github.com/repos/psf/requests/issues/2331/comments | https://api.github.com/repos/psf/requests/issues/2331/events | https://github.com/psf/requests/issues/2331 | 48,497,928 | MDU6SXNzdWU0ODQ5NzkyOA== | 2,331 | 401 does not prevent ConnectionError: [Errno 104] Connection reset by peer | {
"avatar_url": "https://avatars.githubusercontent.com/u/6807917?v=4",
"events_url": "https://api.github.com/users/suonto/events{/privacy}",
"followers_url": "https://api.github.com/users/suonto/followers",
"following_url": "https://api.github.com/users/suonto/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2014-11-12T11:02:05Z | 2021-09-08T23:07:02Z | 2014-11-12T14:35:41Z | NONE | resolved | The following code behaviour is not logical in a specific case:
response = requests.post(url, data=yielding_function())
If the server sends error in prepare, for example 401 before processing data, then in the client requests will raise:
ConnectionError [Errno 104] Connection reset by peer
In my opinion, the proper... | {
"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/2331/reactions"
} | https://api.github.com/repos/psf/requests/issues/2331/timeline | null | completed | null | null | false | [
"Thanks for raising this!\n\nUnfortunately, this bug lives a long way down the stack, in `httplib`. Specifically, `httplib` never checks the socket to see if there is any data to read before sending the body.\n\nWhat you've actually stumbled upon, however, is one of the trickiest parts of HTTP/1.1: how do we know w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.