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/1729 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1729/labels{/name} | https://api.github.com/repos/psf/requests/issues/1729/comments | https://api.github.com/repos/psf/requests/issues/1729/events | https://github.com/psf/requests/pull/1729 | 22,241,564 | MDExOlB1bGxSZXF1ZXN0OTc0NDcxOA== | 1,729 | Fix for #1728 | {
"avatar_url": "https://avatars.githubusercontent.com/u/187133?v=4",
"events_url": "https://api.github.com/users/gazpachoking/events{/privacy}",
"followers_url": "https://api.github.com/users/gazpachoking/followers",
"following_url": "https://api.github.com/users/gazpachoking/following{/other_user}",
"gists_... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 44501305,
"name": "Not Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTMwNQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Not%20Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 4 | 2013-11-07T02:59:28Z | 2021-09-08T23:07:28Z | 2013-12-04T12:44:25Z | CONTRIBUTOR | resolved | This is how I think things should be fixed if we are okay with adding the cookiejar to `PreparedRequest`s. What do you guys think?
| {
"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/1729/reactions"
} | https://api.github.com/repos/psf/requests/issues/1729/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1729.diff",
"html_url": "https://github.com/psf/requests/pull/1729",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1729.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1729"
} | true | [
"I want to have a discussion on #1728 before we merge this. =)\n\nI'll make some comments inline on the diff anyway though.\n",
"@Lukasa if I take over the rest of this PR (to address our feedback) would we be comfortable getting it into 2.1? I feel like this addresses a real concern and I think you were in agree... |
https://api.github.com/repos/psf/requests/issues/1728 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1728/labels{/name} | https://api.github.com/repos/psf/requests/issues/1728/comments | https://api.github.com/repos/psf/requests/issues/1728/events | https://github.com/psf/requests/issues/1728 | 22,236,614 | MDU6SXNzdWUyMjIzNjYxNA== | 1,728 | Request cookies should not be persisted to session | {
"avatar_url": "https://avatars.githubusercontent.com/u/187133?v=4",
"events_url": "https://api.github.com/users/gazpachoking/events{/privacy}",
"followers_url": "https://api.github.com/users/gazpachoking/followers",
"following_url": "https://api.github.com/users/gazpachoking/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 13 | 2013-11-07T00:37:30Z | 2021-09-09T00:28:29Z | 2013-12-05T22:26:58Z | CONTRIBUTOR | resolved | After the fix for #1630, cookies sent with a request are now incorrectly persisted to the session.
Specifically, problem lies here: https://github.com/kennethreitz/requests/blob/1511dfa637643bae5b6111a20ecb80ec9ae26032/requests/sessions.py#L330
Removing that breaks the test case for #1630 though, still investigating ... | {
"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/1728/reactions"
} | https://api.github.com/repos/psf/requests/issues/1728/timeline | null | completed | null | null | false | [
"Wrote up a test case for this, investigating a proper solution with no other regressions.\n",
"Oh yes. I remember this problem. In the redirect handler, we need to add the cookies set by set-cookie responses to our requests, but we have lost access to the original cookiejar, as we only have the prepared request ... |
https://api.github.com/repos/psf/requests/issues/1727 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1727/labels{/name} | https://api.github.com/repos/psf/requests/issues/1727/comments | https://api.github.com/repos/psf/requests/issues/1727/events | https://github.com/psf/requests/issues/1727 | 22,182,982 | MDU6SXNzdWUyMjE4Mjk4Mg== | 1,727 | Proxy configuration is not re-evaluated on redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/23448?v=4",
"events_url": "https://api.github.com/users/rassie/events{/privacy}",
"followers_url": "https://api.github.com/users/rassie/followers",
"following_url": "https://api.github.com/users/rassie/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 9 | 2013-11-06T09:43:40Z | 2021-09-08T23:08:09Z | 2014-09-12T13:28:08Z | NONE | resolved | `requests.get` will fail if a URL which falls under `no_proxy` policy is redirected to an URL for which a proxy is mandatory.
| {
"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/1727/reactions"
} | https://api.github.com/repos/psf/requests/issues/1727/timeline | null | completed | null | null | false | [
"Yep, that's definitely right. Good spot! Thanks for raising this issue! :cake:\n",
"@sigmavirus24 I really want to add a regression test for this, but we have essentially got no testing infrasrtucture for proxies. Do you have any bright ideas/will Betamax help with this, or do I need to look into spinning up an... |
https://api.github.com/repos/psf/requests/issues/1726 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1726/labels{/name} | https://api.github.com/repos/psf/requests/issues/1726/comments | https://api.github.com/repos/psf/requests/issues/1726/events | https://github.com/psf/requests/pull/1726 | 22,071,405 | MDExOlB1bGxSZXF1ZXN0OTY1MjUzNg== | 1,726 | Update urllib3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/717901?v=4",
"events_url": "https://api.github.com/users/t-8ch/events{/privacy}",
"followers_url": "https://api.github.com/users/t-8ch/followers",
"following_url": "https://api.github.com/users/t-8ch/following{/other_user}",
"gists_url": "https://api.gi... | [
{
"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 | 6 | 2013-11-04T18:57:04Z | 2021-09-08T23:06:15Z | 2013-11-04T21:55:58Z | CONTRIBUTOR | resolved | ... and use the opportunity to add myself to `AUTHORS.rst`
| {
"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/1726/reactions"
} | https://api.github.com/repos/psf/requests/issues/1726/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1726.diff",
"html_url": "https://github.com/psf/requests/pull/1726",
"merged_at": "2013-11-04T21:55:58Z",
"patch_url": "https://github.com/psf/requests/pull/1726.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1726"
} | true | [
"LGTM. Always happy to take new urllib3 code!\n",
":sparkles: :cake: :sparkles:\n",
"@t-8ch how were you not already in the AUTHORS.rst file? This is an unacceptable oversight and I'm glad you remedied it.\n",
"@sigmavirus24 To be honest, there are only a handful of contributions codewise (directly to request... |
https://api.github.com/repos/psf/requests/issues/1725 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1725/labels{/name} | https://api.github.com/repos/psf/requests/issues/1725/comments | https://api.github.com/repos/psf/requests/issues/1725/events | https://github.com/psf/requests/pull/1725 | 22,059,443 | MDExOlB1bGxSZXF1ZXN0OTY0NTc0Nw== | 1,725 | Fix ssl_wrap_socket AttributeError on python2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/51503?v=4",
"events_url": "https://api.github.com/users/mtorromeo/events{/privacy}",
"followers_url": "https://api.github.com/users/mtorromeo/followers",
"following_url": "https://api.github.com/users/mtorromeo/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2013-11-04T15:50:18Z | 2021-09-08T23:06:07Z | 2013-11-04T16:00:27Z | CONTRIBUTOR | resolved | Importing requests on python2 raises an AttributeError in pyopenssl.py
```
Python 2.7.5 (default, Sep 6 2013, 09:55:21)
[GCC 4.8.1 20130725 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
Traceback (most recent call last):
File "<stdin>", line 1, i... | {
"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/1725/reactions"
} | https://api.github.com/repos/psf/requests/issues/1725/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1725.diff",
"html_url": "https://github.com/psf/requests/pull/1725",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1725.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1725"
} | true | [
"Thanks for this! Unfortunately, this bug is in [urllib3](https://github.com/shazow/urllib3). We include an exact copy of urllib3 in Requests, so we don't accept fixes for it here. Can you propose this fix over there please?\n",
"Sorry, it seems to have been fixed urllib3 already and was reported in #1705 (my sea... |
https://api.github.com/repos/psf/requests/issues/1724 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1724/labels{/name} | https://api.github.com/repos/psf/requests/issues/1724/comments | https://api.github.com/repos/psf/requests/issues/1724/events | https://github.com/psf/requests/pull/1724 | 22,041,291 | MDExOlB1bGxSZXF1ZXN0OTYzNjQ2NA== | 1,724 | Fixed #1723 | {
"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... | [
{
"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 | 6 | 2013-11-04T09:37:00Z | 2021-09-08T23:06:19Z | 2013-11-04T21:58:12Z | CONTRIBUTOR | resolved | I'm unsure that using unicode to `method` is expectable behavior or not.
but this pull request will fix #1723
| {
"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/1724/reactions"
} | https://api.github.com/repos/psf/requests/issues/1724/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1724.diff",
"html_url": "https://github.com/psf/requests/pull/1724",
"merged_at": "2013-11-04T21:58:12Z",
"patch_url": "https://github.com/psf/requests/pull/1724.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1724"
} | true | [
"Unicode to method is expected behaviour in Python 3. This fix looks good to me. :+1:\n",
"@daftshady please use pytest's capabilities to add a test that should only ever fail on Python 2.x please.\n",
"Also, please move this logic into the Session object's `request` method. Someone could just as easily create ... |
https://api.github.com/repos/psf/requests/issues/1723 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1723/labels{/name} | https://api.github.com/repos/psf/requests/issues/1723/comments | https://api.github.com/repos/psf/requests/issues/1723/events | https://github.com/psf/requests/issues/1723 | 22,035,557 | MDU6SXNzdWUyMjAzNTU1Nw== | 1,723 | Unicode method names cause UnicodeDecodeError for some requests in Python 2.7.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/746123?v=4",
"events_url": "https://api.github.com/users/hwkns/events{/privacy}",
"followers_url": "https://api.github.com/users/hwkns/followers",
"following_url": "https://api.github.com/users/hwkns/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 5 | 2013-11-04T05:38:31Z | 2021-09-09T00:34:24Z | 2013-11-04T21:58:12Z | NONE | resolved | The following example works fine:
```
files = {u'file': open(u'/usr/bin/diff', u'rb')}
response = requests.request(method='POST', url=u'http://httpbin.org/post', files=files)
```
But the following example (using `method=u'POST'` instead of `method='POST'`) produces a UnicodeDecodeError:
```
files = {u'file': open(u'... | {
"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/1723/reactions"
} | https://api.github.com/repos/psf/requests/issues/1723/timeline | null | completed | null | null | false | [
"Thanks for raising this issue! It looks like @daftshady is already taking a pass at fixing this, so let's see what gets produced. =)\n",
"Thanks for the quick response! I just found some relevant history from 6 months ago:\n\nhttps://github.com/kennethreitz/requests/issues/1252#issuecomment-17875143\n\nAt that ... |
https://api.github.com/repos/psf/requests/issues/1722 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1722/labels{/name} | https://api.github.com/repos/psf/requests/issues/1722/comments | https://api.github.com/repos/psf/requests/issues/1722/events | https://github.com/psf/requests/pull/1722 | 22,032,030 | MDExOlB1bGxSZXF1ZXN0OTYzMjIzMw== | 1,722 | Fix documentation typo. | {
"avatar_url": "https://avatars.githubusercontent.com/u/23411?v=4",
"events_url": "https://api.github.com/users/schinckel/events{/privacy}",
"followers_url": "https://api.github.com/users/schinckel/followers",
"following_url": "https://api.github.com/users/schinckel/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2013-11-04T01:59:41Z | 2021-09-08T22:01:02Z | 2013-11-04T02:16:22Z | CONTRIBUTOR | resolved | Fairly sure that 'vert' should be 'cert' :)
| {
"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/1722/reactions"
} | https://api.github.com/repos/psf/requests/issues/1722/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1722.diff",
"html_url": "https://github.com/psf/requests/pull/1722",
"merged_at": "2013-11-04T02:16:22Z",
"patch_url": "https://github.com/psf/requests/pull/1722.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1722"
} | true | [
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1721 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1721/labels{/name} | https://api.github.com/repos/psf/requests/issues/1721/comments | https://api.github.com/repos/psf/requests/issues/1721/events | https://github.com/psf/requests/issues/1721 | 21,988,883 | MDU6SXNzdWUyMTk4ODg4Mw== | 1,721 | Method to determine stream size pre-decoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/438648?v=4",
"events_url": "https://api.github.com/users/pwaller/events{/privacy}",
"followers_url": "https://api.github.com/users/pwaller/followers",
"following_url": "https://api.github.com/users/pwaller/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2013-11-01T22:41:51Z | 2021-09-09T00:34:24Z | 2013-11-02T09:36:38Z | NONE | resolved | I would like to know the amount of data transferred over the wire for accounting purposes when streaming large compressed files.
Currently, I do:
```
req = requests.get(url, stream=True)
```
followed by `req.iter_content()`. Unfortunately the server doesn't respond with anything telling me the length and looking at ... | {
"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/1721/reactions"
} | https://api.github.com/repos/psf/requests/issues/1721/timeline | null | completed | null | null | false | [
"Apologies if this is a bogus issue, I just realised this is in the urllib3 package, just close this if I should report it there and there is no other solution you're aware of.\n",
"I think the right thing to do here is what you've done, which is raise an issue on `urllib3`. With that in mind, we'll close this. T... |
https://api.github.com/repos/psf/requests/issues/1720 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1720/labels{/name} | https://api.github.com/repos/psf/requests/issues/1720/comments | https://api.github.com/repos/psf/requests/issues/1720/events | https://github.com/psf/requests/pull/1720 | 21,948,071 | MDExOlB1bGxSZXF1ZXN0OTU5MjQyMA== | 1,720 | Chardet -> charade. | {
"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 | 0 | 2013-11-01T09:20:53Z | 2021-09-08T22:01:02Z | 2013-11-01T09:21:01Z | MEMBER | resolved | {
"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/1720/reactions"
} | https://api.github.com/repos/psf/requests/issues/1720/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1720.diff",
"html_url": "https://github.com/psf/requests/pull/1720",
"merged_at": "2013-11-01T09:21:01Z",
"patch_url": "https://github.com/psf/requests/pull/1720.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1720"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1719 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1719/labels{/name} | https://api.github.com/repos/psf/requests/issues/1719/comments | https://api.github.com/repos/psf/requests/issues/1719/events | https://github.com/psf/requests/issues/1719 | 21,947,799 | MDU6SXNzdWUyMTk0Nzc5OQ== | 1,719 | Response.text documentation does not mention chardet is bundled | {
"avatar_url": "https://avatars.githubusercontent.com/u/681203?v=4",
"events_url": "https://api.github.com/users/tazle/events{/privacy}",
"followers_url": "https://api.github.com/users/tazle/followers",
"following_url": "https://api.github.com/users/tazle/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 4 | 2013-11-01T09:12:32Z | 2021-09-09T00:34:20Z | 2013-11-17T11:28:01Z | NONE | resolved | Currently Response.text documentation mentions that chardet module is used to auto-detect response encoding if the module is available. This should probably be revised, since apparently chardet is bundled with requests itself. It might also be sensible to mention that chardet is painfully slow, and to describe the prop... | {
"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/1719/reactions"
} | https://api.github.com/repos/psf/requests/issues/1719/timeline | null | completed | null | null | false | [
"I agree that we should replace that section of the docs, especially as it's wrong: we use [sigmavirus24/charade](https://github.com/sigmavirus24/charade), not chardet. I've got that change made already.\n\nI'm not sure that we should include a discussion of the speed of `charade` in the documentation. Yes, it's sl... |
https://api.github.com/repos/psf/requests/issues/1718 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1718/labels{/name} | https://api.github.com/repos/psf/requests/issues/1718/comments | https://api.github.com/repos/psf/requests/issues/1718/events | https://github.com/psf/requests/issues/1718 | 21,897,996 | MDU6SXNzdWUyMTg5Nzk5Ng== | 1,718 | handles Retry-After header in 503 Service Unavailable | {
"avatar_url": "https://avatars.githubusercontent.com/u/548435?v=4",
"events_url": "https://api.github.com/users/SmartLayer/events{/privacy}",
"followers_url": "https://api.github.com/users/SmartLayer/followers",
"following_url": "https://api.github.com/users/SmartLayer/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 6 | 2013-10-31T14:07:38Z | 2021-09-08T08:00:40Z | 2013-10-31T14:13:25Z | NONE | resolved | I had to write a wrapper to reqeust so that 503 Service Unavailable, if followed with Retry-After header to retry in given seconds. Can it be handled by the library by option?
Guess this is too abstract to be filed as an issue, because there are many other case you may wish to retry with an interval (unlike using requ... | {
"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/1718/reactions"
} | https://api.github.com/repos/psf/requests/issues/1718/timeline | null | completed | null | null | false | [
"Your message definitely made the mailing list. I'm going to close this issue, and respond on the list.\n",
"Is there an archive for the mailing list so I can look at it around the above dates?",
"There does not appear to be: that list is basically defunct anyway.",
"A search of requests source for Retry-Afte... |
https://api.github.com/repos/psf/requests/issues/1717 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1717/labels{/name} | https://api.github.com/repos/psf/requests/issues/1717/comments | https://api.github.com/repos/psf/requests/issues/1717/events | https://github.com/psf/requests/pull/1717 | 21,856,678 | MDExOlB1bGxSZXF1ZXN0OTU0MjA3NQ== | 1,717 | loosen URL handling for non-native URL schemes | {
"avatar_url": "https://avatars.githubusercontent.com/u/101?v=4",
"events_url": "https://api.github.com/users/jvantuyl/events{/privacy}",
"followers_url": "https://api.github.com/users/jvantuyl/followers",
"following_url": "https://api.github.com/users/jvantuyl/following{/other_user}",
"gists_url": "https://... | [
{
"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 | 17 | 2013-10-30T20:33:27Z | 2021-09-08T23:11:08Z | 2013-11-15T09:33:03Z | CONTRIBUTOR | resolved | Requests supports adding other URL schemes by mounting an adapter for them. For
schemes that have unfamiliar URLs, requests currently prevents the request from ever reaching the adapter, making it impossible to extend requests with sometimes convenient extensions. This change allows requests to detect this and gives th... | {
"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/1717/reactions"
} | https://api.github.com/repos/psf/requests/issues/1717/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1717.diff",
"html_url": "https://github.com/psf/requests/pull/1717",
"merged_at": "2013-11-15T09:33:03Z",
"patch_url": "https://github.com/psf/requests/pull/1717.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1717"
} | true | [
"This is the re-opened version of #1710.\n",
"Hrm. The build failed, though it looks like it may have been a transient connection error with httpbin?\n",
"Yeah, just a transient problem. As discussed previously, I'm generally happy with this kind of change. It's up to @sigmavirus24 and @kennethreitz to agree/d... |
https://api.github.com/repos/psf/requests/issues/1716 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1716/labels{/name} | https://api.github.com/repos/psf/requests/issues/1716/comments | https://api.github.com/repos/psf/requests/issues/1716/events | https://github.com/psf/requests/pull/1716 | 21,814,609 | MDExOlB1bGxSZXF1ZXN0OTUxOTEwNw== | 1,716 | Make redirection urls lowercase and ensure percent escapes are digits. | {
"avatar_url": "https://avatars.githubusercontent.com/u/71184?v=4",
"events_url": "https://api.github.com/users/adriaant/events{/privacy}",
"followers_url": "https://api.github.com/users/adriaant/followers",
"following_url": "https://api.github.com/users/adriaant/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2013-10-30T10:02:08Z | 2021-09-08T22:01:01Z | 2013-10-30T10:09:08Z | NONE | resolved | https://github.com/kennethreitz/requests/issues/1715
and
https://github.com/kennethreitz/requests/issues/1714
| {
"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/1716/reactions"
} | https://api.github.com/repos/psf/requests/issues/1716/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1716.diff",
"html_url": "https://github.com/psf/requests/pull/1716",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1716.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1716"
} | true | [
"Closing this pull request because neither #1714 nor #1715 are bugs. =) Thanks for the effort though!\n"
] |
https://api.github.com/repos/psf/requests/issues/1715 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1715/labels{/name} | https://api.github.com/repos/psf/requests/issues/1715/comments | https://api.github.com/repos/psf/requests/issues/1715/events | https://github.com/psf/requests/issues/1715 | 21,813,945 | MDU6SXNzdWUyMTgxMzk0NQ== | 1,715 | Redirection breaks on oddly cased protocols | {
"avatar_url": "https://avatars.githubusercontent.com/u/71184?v=4",
"events_url": "https://api.github.com/users/adriaant/events{/privacy}",
"followers_url": "https://api.github.com/users/adriaant/followers",
"following_url": "https://api.github.com/users/adriaant/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 6 | 2013-10-30T09:47:26Z | 2021-09-09T00:34:25Z | 2013-10-30T10:07:15Z | NONE | resolved | Sample url:
```
http://apiservices.krxd.net/click_tracker/track?kx_event_uid=irs-h88b&kx_pixelname=zorg-sp1&clk=http://ib.adnxs.com/clktrb?id=126549
```
This monstrosity actually redirects to:
```
Https://zorg.ditzo.nl?utm_source=Startpagina_Zorg&utm_campaign=zorg&utm_medium=TXT&utm_content=txt01 [302]
```
Suggeste... | {
"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/1715/reactions"
} | https://api.github.com/repos/psf/requests/issues/1715/timeline | null | completed | null | null | false | [
"What version of Requests are you using? I'm fairly sure we fixed this a while ago.\n",
"Yeah, we definitely did. The 2.0 release contains a fix that should fix your particular problem, and that fix was subsequently refined in 2.0.1.\n",
"It's in the latest code, I've issued a pull request.\n",
"2.0.1 does br... |
https://api.github.com/repos/psf/requests/issues/1714 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1714/labels{/name} | https://api.github.com/repos/psf/requests/issues/1714/comments | https://api.github.com/repos/psf/requests/issues/1714/events | https://github.com/psf/requests/issues/1714 | 21,813,327 | MDU6SXNzdWUyMTgxMzMyNw== | 1,714 | isalnum() in utils.py should be isdigit() | {
"avatar_url": "https://avatars.githubusercontent.com/u/71184?v=4",
"events_url": "https://api.github.com/users/adriaant/events{/privacy}",
"followers_url": "https://api.github.com/users/adriaant/followers",
"following_url": "https://api.github.com/users/adriaant/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 11 | 2013-10-30T09:33:07Z | 2021-09-09T00:34:25Z | 2013-10-30T19:18:44Z | NONE | resolved | "f4".isalnum() # True
"f4".isdigit() # False
unquote_unreserved() will now break in `c = chr(int(h, 16))` if there's, for example, a "%es" in a url.
| {
"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/1714/reactions"
} | https://api.github.com/repos/psf/requests/issues/1714/timeline | null | completed | null | null | false | [
"Why would there ever be a \"%es\" in a URL?\n",
"Sadly, some doubleclick.net links are odd urls. Example I came across: \n\n```\nhttp://ad-emea.doubleclick.net/clk;192366622;48236574;p?http://nl.hotels.com/?rffrid=ola.hcom.nl.%esid!.%epid!.%ecid!\n```\n",
"That's not an odd URL, that's a totally invalid URL. Y... |
https://api.github.com/repos/psf/requests/issues/1713 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1713/labels{/name} | https://api.github.com/repos/psf/requests/issues/1713/comments | https://api.github.com/repos/psf/requests/issues/1713/events | https://github.com/psf/requests/pull/1713 | 21,761,667 | MDExOlB1bGxSZXF1ZXN0OTQ4OTAxOA== | 1,713 | Fixed #1711 | {
"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... | [
{
"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"
}
] | closed | true | null | [] | null | 25 | 2013-10-29T14:49:12Z | 2021-09-08T23:06:13Z | 2013-12-04T01:33:33Z | CONTRIBUTOR | resolved | I think i missed the point that cookies can be Dict or CookieJar.
This fix will work for MozillaCookieJar.
| {
"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/1713/reactions"
} | https://api.github.com/repos/psf/requests/issues/1713/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1713.diff",
"html_url": "https://github.com/psf/requests/pull/1713",
"merged_at": "2013-12-04T01:33:33Z",
"patch_url": "https://github.com/psf/requests/pull/1713.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1713"
} | true | [
"Looks good to me. Thanks for reacting to this so fast! :cake:\n",
"I think there is no proper test case when `CookieJar` is provided as params.(And it's the reason that i missed that point before :( )\nI added tase case that fails without this patch.\nThanks.\n",
"I thought @gazpachoking or I had commented the... |
https://api.github.com/repos/psf/requests/issues/1712 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1712/labels{/name} | https://api.github.com/repos/psf/requests/issues/1712/comments | https://api.github.com/repos/psf/requests/issues/1712/events | https://github.com/psf/requests/pull/1712 | 21,760,545 | MDExOlB1bGxSZXF1ZXN0OTQ4ODMzOA== | 1,712 | Fixed #1711 | {
"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 | 3 | 2013-10-29T14:33:35Z | 2021-09-08T22:01:01Z | 2013-10-29T14:37:55Z | CONTRIBUTOR | resolved | I think i missed the point that `cookies` can be `Dict or CookieJar`.
This fix will work for `MozillaCookieJar`.
| {
"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... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1712/reactions"
} | https://api.github.com/repos/psf/requests/issues/1712/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1712.diff",
"html_url": "https://github.com/psf/requests/pull/1712",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1712.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1712"
} | true | [
"This diff is confusing the hell out of me. You've got a change in your commit (`sessions.pyL76`) that already exists in master. Did you rebase a whole ton of commits?\n",
"ah, sorry.\nI will make another clean pull request.\n",
"(That change came from #1696, for those who are interested)\n"
] |
https://api.github.com/repos/psf/requests/issues/1711 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1711/labels{/name} | https://api.github.com/repos/psf/requests/issues/1711/comments | https://api.github.com/repos/psf/requests/issues/1711/events | https://github.com/psf/requests/issues/1711 | 21,753,302 | MDU6SXNzdWUyMTc1MzMwMg== | 1,711 | Regression 2.0.1: Using MozillaCookieJar does not work | {
"avatar_url": "https://avatars.githubusercontent.com/u/165325?v=4",
"events_url": "https://api.github.com/users/abn/events{/privacy}",
"followers_url": "https://api.github.com/users/abn/followers",
"following_url": "https://api.github.com/users/abn/following{/other_user}",
"gists_url": "https://api.github.c... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
... | closed | true | null | [] | null | 4 | 2013-10-29T12:27:21Z | 2021-09-08T23:10:52Z | 2013-12-04T01:33:33Z | NONE | resolved | Could not find an issue raised for this, not sure if this was an expected change either. This is reproducible on master.
Existing code fails on update to `requests-2.0.1`. The cause seems to be triggered by the change at https://github.com/kennethreitz/requests/commit/012f0334ce43fe23044fc58e4246a804db88650d#diff-28e6... | {
"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/1711/reactions"
} | https://api.github.com/repos/psf/requests/issues/1711/timeline | null | completed | null | null | false | [
"Mm, good spot. I think we should try to do something smarter here. Thanks for raising this issue! :cake:\n",
"@abn can you try out the code here: https://github.com/kennethreitz/requests/pull/1713\n",
"@sigmavirus24 https://github.com/kennethreitz/requests/pull/1713 works for me.\n",
"Thanks for dobule check... |
https://api.github.com/repos/psf/requests/issues/1710 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1710/labels{/name} | https://api.github.com/repos/psf/requests/issues/1710/comments | https://api.github.com/repos/psf/requests/issues/1710/events | https://github.com/psf/requests/pull/1710 | 21,745,080 | MDExOlB1bGxSZXF1ZXN0OTQ3OTc1OQ== | 1,710 | loosen URL handling for non-native URL schemes | {
"avatar_url": "https://avatars.githubusercontent.com/u/101?v=4",
"events_url": "https://api.github.com/users/jvantuyl/events{/privacy}",
"followers_url": "https://api.github.com/users/jvantuyl/followers",
"following_url": "https://api.github.com/users/jvantuyl/following{/other_user}",
"gists_url": "https://... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501249,
"name": "Needs BDFL Input",
"node_id": "MDU6TGFiZWw0NDUwMTI0OQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input"
}
] | closed | true | null | [] | null | 24 | 2013-10-29T09:29:42Z | 2021-09-08T23:07:16Z | 2013-10-30T17:17:26Z | CONTRIBUTOR | resolved | Requests supports adding other URL schemes by mounting an adapter for them. For
schemes that have unfamiliar URLs, requests currently prevents the request from ever reaching the adapter, making it impossible to extend requests with sometimes convenient extensions. This change allows requests to detect this and gives ... | {
"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/1710/reactions"
} | https://api.github.com/repos/psf/requests/issues/1710/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1710.diff",
"html_url": "https://github.com/psf/requests/pull/1710",
"merged_at": "2013-10-30T17:17:26Z",
"patch_url": "https://github.com/psf/requests/pull/1710.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1710"
} | true | [
"FYI, I'm waiting to release requests-file until the latest release of requests is compatible with it. Hopefully this change isn't too controversial, as I'd love to be able to release it ASAP.\n",
"Closed and reopened to get a rebuild.\n\nThe code changes here look totally fine to me, so in principle this is acc... |
https://api.github.com/repos/psf/requests/issues/1709 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1709/labels{/name} | https://api.github.com/repos/psf/requests/issues/1709/comments | https://api.github.com/repos/psf/requests/issues/1709/events | https://github.com/psf/requests/pull/1709 | 21,704,214 | MDExOlB1bGxSZXF1ZXN0OTQ1NzI3Ng== | 1,709 | Fix for AppEngine | {
"avatar_url": "https://avatars.githubusercontent.com/u/171470?v=4",
"events_url": "https://api.github.com/users/samhug/events{/privacy}",
"followers_url": "https://api.github.com/users/samhug/followers",
"following_url": "https://api.github.com/users/samhug/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 4 | 2013-10-28T17:04:34Z | 2021-09-08T11:00:48Z | 2013-10-28T17:40:52Z | CONTRIBUTOR | resolved | Google AppEngine does not allow you to import netrc because netrc import pwd.
This patch moves the import from the top of the module to inside the function get_netrc_auth where the function body was already wrapped in a try catch.
| {
"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/1709/reactions"
} | https://api.github.com/repos/psf/requests/issues/1709/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1709.diff",
"html_url": "https://github.com/psf/requests/pull/1709",
"merged_at": "2013-10-28T17:40:52Z",
"patch_url": "https://github.com/psf/requests/pull/1709.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1709"
} | true | [
"I am strongly +0 on this. Requests does not support Google App Engine, and there has never been any expectation that it will function correctly on GAE. I'm not opposed to this change, because it's minor and should have no functional effect, but I equally do not want to begin to establish a tradition of establishin... |
https://api.github.com/repos/psf/requests/issues/1708 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1708/labels{/name} | https://api.github.com/repos/psf/requests/issues/1708/comments | https://api.github.com/repos/psf/requests/issues/1708/events | https://github.com/psf/requests/pull/1708 | 21,643,425 | MDExOlB1bGxSZXF1ZXN0OTQzMDAyNQ== | 1,708 | close files in setup.py | {
"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": "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 | 2 | 2013-10-26T23:43:11Z | 2021-09-08T22:01:01Z | 2013-10-28T17:31:59Z | MEMBER | resolved | otherwise python3.4 warns
| {
"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/1708/reactions"
} | https://api.github.com/repos/psf/requests/issues/1708/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1708.diff",
"html_url": "https://github.com/psf/requests/pull/1708",
"merged_at": "2013-10-28T17:31:59Z",
"patch_url": "https://github.com/psf/requests/pull/1708.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1708"
} | true | [
":+1: :+1: :cake:\n",
"Looks good to me. Thanks! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1707 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1707/labels{/name} | https://api.github.com/repos/psf/requests/issues/1707/comments | https://api.github.com/repos/psf/requests/issues/1707/events | https://github.com/psf/requests/pull/1707 | 21,631,752 | MDExOlB1bGxSZXF1ZXN0OTQyNTc2Ng== | 1,707 | Modified the tests so that they use py.test convention | {
"avatar_url": "https://avatars.githubusercontent.com/u/3527191?v=4",
"events_url": "https://api.github.com/users/canibanoglu/events{/privacy}",
"followers_url": "https://api.github.com/users/canibanoglu/followers",
"following_url": "https://api.github.com/users/canibanoglu/following{/other_user}",
"gists_ur... | [
{
"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 | 2 | 2013-10-26T10:43:14Z | 2021-09-08T21:01:20Z | 2013-10-28T17:32:09Z | NONE | resolved | Also fixed the test `test_prepared_from_session` which always return true but I believe the test means to check to equality of the two values.
Fought hard to not modify some test strings to introduce some classical music humor.
| {
"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/1707/reactions"
} | https://api.github.com/repos/psf/requests/issues/1707/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1707.diff",
"html_url": "https://github.com/psf/requests/pull/1707",
"merged_at": "2013-10-28T17:32:09Z",
"patch_url": "https://github.com/psf/requests/pull/1707.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1707"
} | true | [
":+1: :sparkles: :heart: :cake: :fireworks: \n",
"Very nice, looks great to me! Thanks! :cookie:\n"
] |
https://api.github.com/repos/psf/requests/issues/1706 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1706/labels{/name} | https://api.github.com/repos/psf/requests/issues/1706/comments | https://api.github.com/repos/psf/requests/issues/1706/events | https://github.com/psf/requests/pull/1706 | 21,630,739 | MDExOlB1bGxSZXF1ZXN0OTQyNTQzMQ== | 1,706 | restoring pull request fixing #1623 | {
"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 | 2013-10-26T09:20:13Z | 2021-09-08T22:01:00Z | 2013-10-28T17:32:21Z | CONTRIBUTOR | resolved | Because i thought it will not be merged, i checkout-ed auth.py in my another pull request.
As for that pull request is merged, my previous fix of auth.py to add 'MD5-sess' is deleted in master branch.
https://github.com/kennethreitz/requests/commit/3501ea463432400c77479dddedab3b7af967b618
(it's original commit)
Sorry f... | {
"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/1706/reactions"
} | https://api.github.com/repos/psf/requests/issues/1706/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1706.diff",
"html_url": "https://github.com/psf/requests/pull/1706",
"merged_at": "2013-10-28T17:32:21Z",
"patch_url": "https://github.com/psf/requests/pull/1706.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1706"
} | true | [
"Yeah, it would probably be best if we put this back. =P Thanks! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1705 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1705/labels{/name} | https://api.github.com/repos/psf/requests/issues/1705/comments | https://api.github.com/repos/psf/requests/issues/1705/events | https://github.com/psf/requests/issues/1705 | 21,628,100 | MDU6SXNzdWUyMTYyODEwMA== | 1,705 | Latest version broken? (pyopenssl 0.13) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1297754?v=4",
"events_url": "https://api.github.com/users/pythonmobile/events{/privacy}",
"followers_url": "https://api.github.com/users/pythonmobile/followers",
"following_url": "https://api.github.com/users/pythonmobile/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 13 | 2013-10-26T05:18:46Z | 2021-09-09T00:28:18Z | 2013-10-26T08:17:40Z | NONE | resolved | Seems like the release was done against pyopenssl 0.11 whereas the latest version is pyopenssl 0.13. With pyopenssl 0.13, pip install requests broke on debian 7.2. I could fix it by just moving to pyopenssl 0.11. (Not sure it works, it did install)
http://i.imgur.com/O0llHOB.png
| {
"avatar_url": "https://avatars.githubusercontent.com/u/6292?v=4",
"events_url": "https://api.github.com/users/shazow/events{/privacy}",
"followers_url": "https://api.github.com/users/shazow/followers",
"following_url": "https://api.github.com/users/shazow/following{/other_user}",
"gists_url": "https://api.g... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1705/reactions"
} | https://api.github.com/repos/psf/requests/issues/1705/timeline | null | completed | null | null | false | [
"Thanks for saving us again @shazow and @t-8ch.\n\nAlso, cross repo automatic issue closing? Very cool.\n",
"Thanks guys. I manually patched urllib3 and it works from requests. But requests : both the pip and git version is still broken with the same error. \n",
"Here is another problem:\n\n> > > requests.get(\... |
https://api.github.com/repos/psf/requests/issues/1704 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1704/labels{/name} | https://api.github.com/repos/psf/requests/issues/1704/comments | https://api.github.com/repos/psf/requests/issues/1704/events | https://github.com/psf/requests/issues/1704 | 21,615,673 | MDU6SXNzdWUyMTYxNTY3Mw== | 1,704 | requests.delete not actually deleting | {
"avatar_url": "https://avatars.githubusercontent.com/u/5777642?v=4",
"events_url": "https://api.github.com/users/zhuffman/events{/privacy}",
"followers_url": "https://api.github.com/users/zhuffman/followers",
"following_url": "https://api.github.com/users/zhuffman/following{/other_user}",
"gists_url": "http... | [
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
"name": "Fixed",
"node_id": "MDU6TGFiZWw2Nzc2MDMxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Fixed"
}
] | closed | true | null | [] | {
"closed_at": "2014-12-25T16:11:40Z",
"closed_issues": 1,
"created_at": "2013-11-17T19:21:14Z",
"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/Luka... | 19 | 2013-10-25T20:53:38Z | 2021-09-09T00:34:15Z | 2013-11-25T19:40:35Z | NONE | resolved | A little bit of background: My name is Zach Huffman, I'm a software developer at AppFirst, Inc. We do systems monitoring and we have a suite of automated tests written in Python that we run our product through before new releases. One of the primary forms our clients' data takes is a log file, which can be remotely mon... | {
"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/1704/reactions"
} | https://api.github.com/repos/psf/requests/issues/1704/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nIt genuinely looks fine to me, testing using [httpbin](http://httpbin.org/). My suggestion is that you use Wireshark to compare the two requests and see what's changed.\n",
"Have you tried comparing the two `Request` objects to see if there's any difference between the two? You ... |
https://api.github.com/repos/psf/requests/issues/1703 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1703/labels{/name} | https://api.github.com/repos/psf/requests/issues/1703/comments | https://api.github.com/repos/psf/requests/issues/1703/events | https://github.com/psf/requests/issues/1703 | 21,576,662 | MDU6SXNzdWUyMTU3NjY2Mg== | 1,703 | proxy with authentication fails in requests 2.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/314468?v=4",
"events_url": "https://api.github.com/users/borisnieuwenhuis/events{/privacy}",
"followers_url": "https://api.github.com/users/borisnieuwenhuis/followers",
"following_url": "https://api.github.com/users/borisnieuwenhuis/following{/other_user}... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
... | closed | true | null | [] | null | 11 | 2013-10-25T08:30:03Z | 2021-09-09T00:28:33Z | 2013-12-05T23:05:28Z | NONE | resolved | It seems new version broke proxy with authentication when using proxy_url of the form http://username:password@proxy_url
test script output from version 1.2.3
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): obproxy.telegraaf.net
send: 'GET http://nu.nl HTTP/1.1\r\nHost: www.cleafs.nl\r... | {
"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/1703/reactions"
} | https://api.github.com/repos/psf/requests/issues/1703/timeline | null | completed | null | null | false | [
"It actually only broke it for HTTP proxies, HTTPS proxies work fine. =)\n\nI'm currently considering a fix in urllib3, which you can see at shazow/urllib3#271. In the meantime, you can apply the `HTTPProxyAuth` auth handler, which will do the right thing.\n",
"after some googling I found the\nauth = HTTPProxyAut... |
https://api.github.com/repos/psf/requests/issues/1702 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1702/labels{/name} | https://api.github.com/repos/psf/requests/issues/1702/comments | https://api.github.com/repos/psf/requests/issues/1702/events | https://github.com/psf/requests/pull/1702 | 21,549,132 | MDExOlB1bGxSZXF1ZXN0OTM4MjAxNw== | 1,702 | Improve the PreparedRequest docs. | {
"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 | 2 | 2013-10-24T20:24:11Z | 2021-09-08T23:01:04Z | 2013-10-28T17:34:07Z | MEMBER | resolved | In response to some of the discussion in #1698. Looking for review from @sigmavirus24. =)
| {
"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/1702/reactions"
} | https://api.github.com/repos/psf/requests/issues/1702/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1702.diff",
"html_url": "https://github.com/psf/requests/pull/1702",
"merged_at": "2013-10-28T17:34:07Z",
"patch_url": "https://github.com/psf/requests/pull/1702.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1702"
} | true | [
"OMG YES!\n\nYou really need to stop doing that indenting though, it's horrible :)\n",
"Heh, sure. Happy with a single run-on line in future?\n"
] |
https://api.github.com/repos/psf/requests/issues/1701 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1701/labels{/name} | https://api.github.com/repos/psf/requests/issues/1701/comments | https://api.github.com/repos/psf/requests/issues/1701/events | https://github.com/psf/requests/issues/1701 | 21,541,572 | MDU6SXNzdWUyMTU0MTU3Mg== | 1,701 | POST 301 turns into GET | {
"avatar_url": "https://avatars.githubusercontent.com/u/198255?v=4",
"events_url": "https://api.github.com/users/longlho/events{/privacy}",
"followers_url": "https://api.github.com/users/longlho/followers",
"following_url": "https://api.github.com/users/longlho/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2013-10-24T18:25:33Z | 2021-09-09T00:34:26Z | 2013-10-24T18:35:23Z | NONE | resolved | I was trying to POST a request to a RESTful service and was having this issue:
The service is automatically redirecting all request from `http` to `https`
```
2013-10-24 14:16:54,190 - DEBUG - connectionpool.py:_make_request:414 - "POST /api/v1/account/login HTTP/1.1" 301 0
2013-10-24 14:16:54,191 - INFO - connectionp... | {
"avatar_url": "https://avatars.githubusercontent.com/u/198255?v=4",
"events_url": "https://api.github.com/users/longlho/events{/privacy}",
"followers_url": "https://api.github.com/users/longlho/followers",
"following_url": "https://api.github.com/users/longlho/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/1701/reactions"
} | https://api.github.com/repos/psf/requests/issues/1701/timeline | null | completed | null | null | false | [
"Sorry I was being stupid, that's a RFC standard, closing!\n"
] |
https://api.github.com/repos/psf/requests/issues/1700 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1700/labels{/name} | https://api.github.com/repos/psf/requests/issues/1700/comments | https://api.github.com/repos/psf/requests/issues/1700/events | https://github.com/psf/requests/pull/1700 | 21,524,295 | MDExOlB1bGxSZXF1ZXN0OTM2NzgzOQ== | 1,700 | v2.0.1 | {
"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 | 3 | 2013-10-24T14:01:45Z | 2021-09-08T23:01:10Z | 2013-10-24T14:29:12Z | CONTRIBUTOR | resolved | TODO:
- [x] get :+1: from @lukasa and @sigmavirus24
- [x] update changelog
Fixes #1659
| {
"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/1700/reactions"
} | https://api.github.com/repos/psf/requests/issues/1700/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1700.diff",
"html_url": "https://github.com/psf/requests/pull/1700",
"merged_at": "2013-10-24T14:29:11Z",
"patch_url": "https://github.com/psf/requests/pull/1700.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1700"
} | true | [
"/cc @Lukasa @sigmavirus24 \n",
"Generally happy with this. There's a bit of work to do to update the changelog and confirm we haven't done anything backward incompatible. I'll do that tonight [from this](https://github.com/kennethreitz/requests/compare/v2.0...master) unless one of you two wants to take it on ear... |
https://api.github.com/repos/psf/requests/issues/1699 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1699/labels{/name} | https://api.github.com/repos/psf/requests/issues/1699/comments | https://api.github.com/repos/psf/requests/issues/1699/events | https://github.com/psf/requests/pull/1699 | 21,522,949 | MDExOlB1bGxSZXF1ZXN0OTM2NzA4Mg== | 1,699 | Latest Mozilla Certs | {
"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 | 1 | 2013-10-24T13:41:19Z | 2021-09-08T21:01:20Z | 2013-10-24T13:44:26Z | CONTRIBUTOR | resolved | generated via https://github.com/tiran/extract-nss-root-certs
| {
"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/1699/reactions"
} | https://api.github.com/repos/psf/requests/issues/1699/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1699.diff",
"html_url": "https://github.com/psf/requests/pull/1699",
"merged_at": "2013-10-24T13:44:26Z",
"patch_url": "https://github.com/psf/requests/pull/1699.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1699"
} | true | [
"http://ci.kennethreitz.org/job/ca-bundle/\n"
] |
https://api.github.com/repos/psf/requests/issues/1698 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1698/labels{/name} | https://api.github.com/repos/psf/requests/issues/1698/comments | https://api.github.com/repos/psf/requests/issues/1698/events | https://github.com/psf/requests/issues/1698 | 21,503,819 | MDU6SXNzdWUyMTUwMzgxOQ== | 1,698 | Prepared requests don't work with session | {
"avatar_url": "https://avatars.githubusercontent.com/u/104090?v=4",
"events_url": "https://api.github.com/users/drsm79/events{/privacy}",
"followers_url": "https://api.github.com/users/drsm79/followers",
"following_url": "https://api.github.com/users/drsm79/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 11 | 2013-10-24T06:49:52Z | 2021-09-09T00:34:25Z | 2013-10-29T18:30:04Z | NONE | resolved | If I make a prepared request like:
```
prepped = requests.Request('GET', my_url, params={}).prepare()
```
It doesn't have certain attributes set (cookies, auth, files, data, params from experiment...). If I then pass this prepared request in to a session.prepare_request() it fails because those attributes aren't in t... | {
"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/1698/reactions"
} | https://api.github.com/repos/psf/requests/issues/1698/timeline | null | completed | null | null | false | [
"Heh, you're so close to the right flow.\n\n`Session.prepare_request()` doesn't expect a `PreparedRequest` object, it expects a `Request` object. So the expected flow is:\n\n``` python\ns = requests.Session()\nprepped = s.prepare_request(requests.Request('GET', my_url, params={}))\nr = s.send(prepped)\n```\n",
"I... |
https://api.github.com/repos/psf/requests/issues/1697 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1697/labels{/name} | https://api.github.com/repos/psf/requests/issues/1697/comments | https://api.github.com/repos/psf/requests/issues/1697/events | https://github.com/psf/requests/pull/1697 | 21,418,126 | MDExOlB1bGxSZXF1ZXN0OTMwOTcxOA== | 1,697 | Deleted the extra word in PreparedRequest.prepare's docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/3527191?v=4",
"events_url": "https://api.github.com/users/canibanoglu/events{/privacy}",
"followers_url": "https://api.github.com/users/canibanoglu/followers",
"following_url": "https://api.github.com/users/canibanoglu/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2013-10-22T21:18:17Z | 2021-09-08T23:01:17Z | 2013-10-22T21:19:47Z | NONE | resolved | My second PR in a night, I must be on a roll! Just one question, should I have added my name to AUTHORS in this branch as well or is it good as it is?
| {
"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/1697/reactions"
} | https://api.github.com/repos/psf/requests/issues/1697/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1697.diff",
"html_url": "https://github.com/psf/requests/pull/1697",
"merged_at": "2013-10-22T21:19:47Z",
"patch_url": "https://github.com/psf/requests/pull/1697.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1697"
} | true | [
"Awesome again, thanks! This is one I can go ahead and merge straight away, so I will.\n\nFor now assume that both PRs will be merged. In the unlikely event that they won't, we'll come back and make sure your name gets added. =)\n\nThanks so much again! :cake: :cookie:\n",
"Perfect, thanks a lot for all your help... |
https://api.github.com/repos/psf/requests/issues/1696 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1696/labels{/name} | https://api.github.com/repos/psf/requests/issues/1696/comments | https://api.github.com/repos/psf/requests/issues/1696/events | https://github.com/psf/requests/pull/1696 | 21,416,435 | MDExOlB1bGxSZXF1ZXN0OTMwODc0Mw== | 1,696 | Removed extra extra parentheses in SessionRedirectMixin.resolve_redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/3527191?v=4",
"events_url": "https://api.github.com/users/canibanoglu/events{/privacy}",
"followers_url": "https://api.github.com/users/canibanoglu/followers",
"following_url": "https://api.github.com/users/canibanoglu/following{/other_user}",
"gists_ur... | [
{
"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 | 2 | 2013-10-22T20:51:27Z | 2021-09-08T21:01:19Z | 2013-10-24T11:10:14Z | NONE | resolved | First contribution, half expecting to see that I screwed something up. Thanks a lot @Lukasa for your assistance in IRC.
| {
"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/1696/reactions"
} | https://api.github.com/repos/psf/requests/issues/1696/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1696.diff",
"html_url": "https://github.com/psf/requests/pull/1696",
"merged_at": "2013-10-24T11:10:14Z",
"patch_url": "https://github.com/psf/requests/pull/1696.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1696"
} | true | [
"Looks excellent to me. Thanks so much! :cake:\n",
":+1: This is a no brainer\n\nGood work @canibanoglu \n"
] |
https://api.github.com/repos/psf/requests/issues/1695 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1695/labels{/name} | https://api.github.com/repos/psf/requests/issues/1695/comments | https://api.github.com/repos/psf/requests/issues/1695/events | https://github.com/psf/requests/pull/1695 | 21,283,781 | MDExOlB1bGxSZXF1ZXN0OTIzOTY5NA== | 1,695 | Add bit to docs about iter_content | {
"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 | 1 | 2013-10-20T17:33:01Z | 2021-09-08T21:01:19Z | 2013-10-21T08:31:50Z | CONTRIBUTOR | resolved | We keep seeing issues on the tracker and on StackOverflow where people are using `r.raw.read` to get the streamed content. The docs don't ever explicitly say they shouldn't do this so I added an addendum to recommend that they instead use `iter_content` instead. A recipe for saving that content to a file is also provid... | {
"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/1695/reactions"
} | https://api.github.com/repos/psf/requests/issues/1695/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1695.diff",
"html_url": "https://github.com/psf/requests/pull/1695",
"merged_at": "2013-10-21T08:31:50Z",
"patch_url": "https://github.com/psf/requests/pull/1695.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1695"
} | true | [
"LGTM. =)\n"
] |
https://api.github.com/repos/psf/requests/issues/1694 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1694/labels{/name} | https://api.github.com/repos/psf/requests/issues/1694/comments | https://api.github.com/repos/psf/requests/issues/1694/events | https://github.com/psf/requests/issues/1694 | 21,279,985 | MDU6SXNzdWUyMTI3OTk4NQ== | 1,694 | The img on the main page is not showing properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/3696393?v=4",
"events_url": "https://api.github.com/users/yasoob/events{/privacy}",
"followers_url": "https://api.github.com/users/yasoob/followers",
"following_url": "https://api.github.com/users/yasoob/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 5 | 2013-10-20T13:24:08Z | 2021-09-09T00:34:20Z | 2013-11-17T11:33:08Z | CONTRIBUTOR | resolved | The http://ci.kennethreitz.org/buildStatus/icon?job=requests-trunk img is not being displayed. When I open it in the browser it says
> Service Unavailable
> The service is temporarily unavailable. Please try again later.
Am I missing something ?
| {
"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/1694/reactions"
} | https://api.github.com/repos/psf/requests/issues/1694/timeline | null | completed | null | null | false | [
"Looks like it's 404ing. @kennethreitz?\n",
"[This link](http://ci.kennethreitz.org/job/requests-trunk/badge/icon) seems to work best.\n",
"@sigmavirus24 that one doesn't work when there's a referrer.\n",
"might just turn it off.\n",
"it's a weird behavior with GitHub's CDN.\n"
] |
https://api.github.com/repos/psf/requests/issues/1693 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1693/labels{/name} | https://api.github.com/repos/psf/requests/issues/1693/comments | https://api.github.com/repos/psf/requests/issues/1693/events | https://github.com/psf/requests/pull/1693 | 21,275,673 | MDExOlB1bGxSZXF1ZXN0OTIzNjkxOQ== | 1,693 | Add clarification to MissingSchema error | {
"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": ... | [
{
"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 | 6 | 2013-10-20T07:48:29Z | 2021-09-08T11:00:50Z | 2013-10-24T14:35:40Z | CONTRIBUTOR | resolved | Just a short bit that suggests a possible fix to the problem
| {
"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/1693/reactions"
} | https://api.github.com/repos/psf/requests/issues/1693/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1693.diff",
"html_url": "https://github.com/psf/requests/pull/1693",
"merged_at": "2013-10-24T14:35:40Z",
"patch_url": "https://github.com/psf/requests/pull/1693.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1693"
} | true | [
"LGTM. Thanks! :cake:\n",
"Since we're working on Python 2.6+ which supports `str#format` wouldn't it be easier to do\n\n``` python\nraise MissingSchema(\"Invalid URL {0!r}: No schema supplied. \"\n \"Perhaps you meant http://{0}?\".format(url))\n```\n\nThen there's no reason to use `(url, url)... |
https://api.github.com/repos/psf/requests/issues/1692 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1692/labels{/name} | https://api.github.com/repos/psf/requests/issues/1692/comments | https://api.github.com/repos/psf/requests/issues/1692/events | https://github.com/psf/requests/issues/1692 | 21,271,593 | MDU6SXNzdWUyMTI3MTU5Mw== | 1,692 | Requests Session problem, it does not handle headers automatically. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5435164?v=4",
"events_url": "https://api.github.com/users/4n0n1mo/events{/privacy}",
"followers_url": "https://api.github.com/users/4n0n1mo/followers",
"following_url": "https://api.github.com/users/4n0n1mo/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2013-10-20T00:46:08Z | 2021-09-09T00:34:28Z | 2013-10-20T01:12:03Z | NONE | resolved | I must add some headers to POST, and remove some headers to GET.
For example, if I do not use:
s.headers.update({'Content-Length':''})
s.headers.update({'Content-Type':''})
before the POST, it will not post correctly.
Also if I have Content-Type and Content-Length in my headers, GET will not work properly.
I'm manu... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5435164?v=4",
"events_url": "https://api.github.com/users/4n0n1mo/events{/privacy}",
"followers_url": "https://api.github.com/users/4n0n1mo/followers",
"following_url": "https://api.github.com/users/4n0n1mo/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/1692/reactions"
} | https://api.github.com/repos/psf/requests/issues/1692/timeline | null | completed | null | null | false | [
"What data are you trying to post and to what service? You should never be setting the `Content-Length` header since we handle those for you. You should only set the `Content-Type` when you're actually posting some data but this sounds like the server you're trying to use is broken or you have other things set that... |
https://api.github.com/repos/psf/requests/issues/1691 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1691/labels{/name} | https://api.github.com/repos/psf/requests/issues/1691/comments | https://api.github.com/repos/psf/requests/issues/1691/events | https://github.com/psf/requests/issues/1691 | 21,260,008 | MDU6SXNzdWUyMTI2MDAwOA== | 1,691 | Add possibility to specify IPv4 or IPv6? | {
"avatar_url": "https://avatars.githubusercontent.com/u/3799674?v=4",
"events_url": "https://api.github.com/users/Fludizz/events{/privacy}",
"followers_url": "https://api.github.com/users/Fludizz/followers",
"following_url": "https://api.github.com/users/Fludizz/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 12 | 2013-10-19T10:10:49Z | 2021-08-24T18:55:13Z | 2013-10-19T10:21:23Z | NONE | resolved | I noticed that request by default uses IPv6 if a host is capable of it. However, requests seems to lack the ability to force it to use either IPv6 or IPv4. Would it be possible to add an option that allows one to manually select the protocol?
| {
"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": 7,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/psf/requests/issues/1691/reactions"
} | https://api.github.com/repos/psf/requests/issues/1691/timeline | null | completed | null | null | false | [
"That feature is handled way way down in the standard library, not even exposed by httplib, so isn't something we can easily provide access to. It's also phenomenally special-case, which makes us reluctant to add it to the library. However, if you really need to you can handle it yourself:\n\n``` python\nimport soc... |
https://api.github.com/repos/psf/requests/issues/1690 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1690/labels{/name} | https://api.github.com/repos/psf/requests/issues/1690/comments | https://api.github.com/repos/psf/requests/issues/1690/events | https://github.com/psf/requests/issues/1690 | 21,250,285 | MDU6SXNzdWUyMTI1MDI4NQ== | 1,690 | Support for bandwidth throttling | {
"avatar_url": "https://avatars.githubusercontent.com/u/719373?v=4",
"events_url": "https://api.github.com/users/shrredd/events{/privacy}",
"followers_url": "https://api.github.com/users/shrredd/followers",
"following_url": "https://api.github.com/users/shrredd/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2013-10-18T23:03:01Z | 2021-09-09T00:34:27Z | 2013-10-19T19:12:49Z | NONE | resolved | Are there plans to allow limiting the amount of available bandwidth in streaming mode? This would be useful in particular when uploading or downloading several large files simultaneously. Being able to specify a global cap or at least a cap at the individual request level would prevent streams from sucking all availabl... | {
"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/1690/reactions"
} | https://api.github.com/repos/psf/requests/issues/1690/timeline | null | completed | null | null | false | [
"There are no plans for such and I believe it is currently completely untenable. There is no support like this in any other library like requests that I know of and the place to add anything like this would be in shazow/urllib3. I'm not even entirely certain it would be possible to do in urllib3, especially since I... |
https://api.github.com/repos/psf/requests/issues/1689 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1689/labels{/name} | https://api.github.com/repos/psf/requests/issues/1689/comments | https://api.github.com/repos/psf/requests/issues/1689/events | https://github.com/psf/requests/pull/1689 | 21,233,523 | MDExOlB1bGxSZXF1ZXN0OTIxNjQxNA== | 1,689 | Use builtin_str for all auto-set header values. | {
"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 | 0 | 2013-10-18T17:35:07Z | 2021-09-08T21:01:18Z | 2013-10-24T14:38:52Z | MEMBER | resolved | This resolves #1688.
| {
"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/1689/reactions"
} | https://api.github.com/repos/psf/requests/issues/1689/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1689.diff",
"html_url": "https://github.com/psf/requests/pull/1689",
"merged_at": "2013-10-24T14:38:52Z",
"patch_url": "https://github.com/psf/requests/pull/1689.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1689"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/1688 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1688/labels{/name} | https://api.github.com/repos/psf/requests/issues/1688/comments | https://api.github.com/repos/psf/requests/issues/1688/events | https://github.com/psf/requests/issues/1688 | 21,194,790 | MDU6SXNzdWUyMTE5NDc5MA== | 1,688 | Problem POST'ing png file because of UnicodeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/136000?v=4",
"events_url": "https://api.github.com/users/louiedinh/events{/privacy}",
"followers_url": "https://api.github.com/users/louiedinh/followers",
"following_url": "https://api.github.com/users/louiedinh/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2013-10-18T00:46:38Z | 2021-09-09T00:00:58Z | 2013-10-24T14:38:52Z | NONE | resolved | Here is the code I'm using:
``` python
files = {'file': (upload_handle.upload_token.key, open("test.png", "rb"))}
resp = requests.post(url, files=files)
```
This raises the error:
```
UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 140: invalid start byte
```
This problem is caused by the fact t... | {
"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/1688/reactions"
} | https://api.github.com/repos/psf/requests/issues/1688/timeline | null | completed | null | null | false | [
"Yep, that's a crass little bug. Thanks so much for pointing it out! I'll go through the headers we set and make sure we don't do this anywhere else. =)\n"
] |
https://api.github.com/repos/psf/requests/issues/1687 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1687/labels{/name} | https://api.github.com/repos/psf/requests/issues/1687/comments | https://api.github.com/repos/psf/requests/issues/1687/events | https://github.com/psf/requests/issues/1687 | 21,193,539 | MDU6SXNzdWUyMTE5MzUzOQ== | 1,687 | Custom Sphinx theme | {
"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": ... | [
{
"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"
},
{
"color": "0b02e1",
"default": false,
"description": null... | closed | true | null | [] | null | 5 | 2013-10-18T00:05:21Z | 2021-09-09T00:34:27Z | 2013-10-24T14:41:51Z | CONTRIBUTOR | resolved | It would be really cool if Requests had its own theme for Sphinx (or moved off of Sphinx ..?) with a design to match.
(I'm not offering to do this, haha... would be a good chance for someone in the community though ?)
| {
"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/1687/reactions"
} | https://api.github.com/repos/psf/requests/issues/1687/timeline | null | completed | null | null | false | [
"We already do: http://docs.python-requests.org/en/latest/\n",
"@kevinburke I'm quite baffled by this. How do we not already have a custom theme? Certainly we share it with Flask and the other Flask related projects that use it (and anyone else who decides to use it contrary the license) but this is not a standar... |
https://api.github.com/repos/psf/requests/issues/1686 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1686/labels{/name} | https://api.github.com/repos/psf/requests/issues/1686/comments | https://api.github.com/repos/psf/requests/issues/1686/events | https://github.com/psf/requests/issues/1686 | 21,179,239 | MDU6SXNzdWUyMTE3OTIzOQ== | 1,686 | problem with downloading when http_proxy set | {
"avatar_url": "https://avatars.githubusercontent.com/u/18865?v=4",
"events_url": "https://api.github.com/users/smoser/events{/privacy}",
"followers_url": "https://api.github.com/users/smoser/followers",
"following_url": "https://api.github.com/users/smoser/following{/other_user}",
"gists_url": "https://api.... | [] | 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 | 15 | 2013-10-17T19:40:19Z | 2021-09-09T00:28:32Z | 2013-12-05T23:09:40Z | NONE | resolved | We originally hit this under ubuntu bug http://pad.lv/1240652 .
Running 'go-requests' (see below) like this:
```
$ url="http://cloud-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img"
$ http_proxy=http://localhost:3128/ python go-requests.py $url out.img
```
results in a hang and... | {
"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/1686/reactions"
} | https://api.github.com/repos/psf/requests/issues/1686/timeline | null | completed | null | null | false | [
"Hmm, good spot. The answer is that I don't know, I'll try to dig into this over the weekend.\n",
"Might I ask a couple questions?\n1. Why make two requests? \n2. Why read from the first and then close it?\n3. Why not use `Response#iter_content`? \n4. Does the code ever reach the second request?\n5. Where does th... |
https://api.github.com/repos/psf/requests/issues/1685 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1685/labels{/name} | https://api.github.com/repos/psf/requests/issues/1685/comments | https://api.github.com/repos/psf/requests/issues/1685/events | https://github.com/psf/requests/issues/1685 | 21,168,649 | MDU6SXNzdWUyMTE2ODY0OQ== | 1,685 | Possible Memory Leak | {
"avatar_url": "https://avatars.githubusercontent.com/u/70234?v=4",
"events_url": "https://api.github.com/users/philip-goh/events{/privacy}",
"followers_url": "https://api.github.com/users/philip-goh/followers",
"following_url": "https://api.github.com/users/philip-goh/following{/other_user}",
"gists_url": "... | [
{
"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 | 54 | 2013-10-17T17:03:10Z | 2021-09-05T00:06:47Z | 2016-04-16T04:18:33Z | NONE | resolved | I have a very simple program that periodically retrieves an image from an IP camera. I've noticed that the working set of this program grows monotonically. I've written a small program that reproduces the issue.
``` python
import requests
from memory_profiler import profile
@profile
def lol():
print "sending req... | {
"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/1685/reactions"
} | https://api.github.com/repos/psf/requests/issues/1685/timeline | null | completed | null | null | false | [
"Thanks for raising this and providing so much detail!\n\nTell me, do you ever see the memory usage go down at any point?\n",
"I've not seen memory usage go down. I was wondering if it had to do with Python's garbage collector and perhaps it just hasn't had an opportunity to kick in, so I added a call to `gc.coll... |
https://api.github.com/repos/psf/requests/issues/1684 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1684/labels{/name} | https://api.github.com/repos/psf/requests/issues/1684/comments | https://api.github.com/repos/psf/requests/issues/1684/events | https://github.com/psf/requests/pull/1684 | 21,166,858 | MDExOlB1bGxSZXF1ZXN0OTE3OTk1Mw== | 1,684 | Raise error instead of using invalid user-supplied content-type | {
"avatar_url": "https://avatars.githubusercontent.com/u/52205?v=4",
"events_url": "https://api.github.com/users/dandavison/events{/privacy}",
"followers_url": "https://api.github.com/users/dandavison/followers",
"following_url": "https://api.github.com/users/dandavison/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 4 | 2013-10-17T16:38:46Z | 2021-09-08T21:01:18Z | 2013-10-18T08:06:35Z | NONE | resolved | #### Problem
When making a POST request with the `files` argument, one should not specify the `'content-type'` header. This is because internally, requests forms the content-type header with a boundary string matching that used in the body; if this boundary string is not present in the header then there will be a serv... | {
"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/1684/reactions"
} | https://api.github.com/repos/psf/requests/issues/1684/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1684.diff",
"html_url": "https://github.com/psf/requests/pull/1684",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1684.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1684"
} | true | [
"I generally lean towards the side of allowing the user to shoot himself in the foot if they so desire. \n\nThe question is: did this behavior surprise you?\n",
"> The question is: did this behavior surprise you?\n\nThat's not the question I would ask. I see this question a lot on \nStackOverflow. I usually admon... |
https://api.github.com/repos/psf/requests/issues/1683 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1683/labels{/name} | https://api.github.com/repos/psf/requests/issues/1683/comments | https://api.github.com/repos/psf/requests/issues/1683/events | https://github.com/psf/requests/issues/1683 | 21,164,834 | MDU6SXNzdWUyMTE2NDgzNA== | 1,683 | models.text Behaviour (encoding choice) | {
"avatar_url": "https://avatars.githubusercontent.com/u/713089?v=4",
"events_url": "https://api.github.com/users/glebourgeois/events{/privacy}",
"followers_url": "https://api.github.com/users/glebourgeois/followers",
"following_url": "https://api.github.com/users/glebourgeois/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2013-10-17T16:07:01Z | 2021-09-09T00:10:06Z | 2014-02-17T14:41:54Z | NONE | resolved | I have a question about the models module behaviour, around the **text** method.
When no encoding is given, there is an encoding detection, which is a good thing :
```
if self.encoding is None:
encoding = self.apparent_encoding
```
When an encoding is given, first try use it for decoding :
```
try:
con... | {
"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/1683/reactions"
} | https://api.github.com/repos/psf/requests/issues/1683/timeline | null | completed | null | null | false | [
"With the caveat that I hope you understand this would not solve your issue because we aren't catching that SystemError, I actually think this wouldn't be a bad idea if `charade` weren't painfully slow. If you'd like to make charade faster, then by all means we could do this, but I think the primary concern would b... |
https://api.github.com/repos/psf/requests/issues/1682 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1682/labels{/name} | https://api.github.com/repos/psf/requests/issues/1682/comments | https://api.github.com/repos/psf/requests/issues/1682/events | https://github.com/psf/requests/issues/1682 | 21,140,696 | MDU6SXNzdWUyMTE0MDY5Ng== | 1,682 | Wrongly declared UTF-7 webpage makes requests crashing | {
"avatar_url": "https://avatars.githubusercontent.com/u/713089?v=4",
"events_url": "https://api.github.com/users/glebourgeois/events{/privacy}",
"followers_url": "https://api.github.com/users/glebourgeois/followers",
"following_url": "https://api.github.com/users/glebourgeois/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 3 | 2013-10-17T09:12:49Z | 2021-09-09T00:34:29Z | 2013-10-18T08:32:00Z | NONE | resolved | Example webpage : http://www.patisserielidy.com/
**HTTP headers** :
```
HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/5.3.26
X-Pingback: http://www.patisserielidy.com/xmlrpc.php
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-7
```
**Declared encoding** :
```
<meta http-equiv="Content-Type" cont... | {
"avatar_url": "https://avatars.githubusercontent.com/u/713089?v=4",
"events_url": "https://api.github.com/users/glebourgeois/events{/privacy}",
"followers_url": "https://api.github.com/users/glebourgeois/followers",
"following_url": "https://api.github.com/users/glebourgeois/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/1682/reactions"
} | https://api.github.com/repos/psf/requests/issues/1682/timeline | null | completed | null | null | false | [
"As a quick workaround for this case, you can either set `Response.encoding` to the correct encoding, or set it to `None` if you want us to guess.\n\nI'll have a think about whether we should do something smarter here, but it doesn't help that an unexpected exception is being thrown by the stdlib.\n",
"So if you ... |
https://api.github.com/repos/psf/requests/issues/1681 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1681/labels{/name} | https://api.github.com/repos/psf/requests/issues/1681/comments | https://api.github.com/repos/psf/requests/issues/1681/events | https://github.com/psf/requests/pull/1681 | 21,133,258 | MDExOlB1bGxSZXF1ZXN0OTE2MjI4MA== | 1,681 | Test6 | {
"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 | 0 | 2013-10-17T05:28:15Z | 2021-09-08T21:01:18Z | 2013-10-17T06:33:49Z | 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/1681/reactions"
} | https://api.github.com/repos/psf/requests/issues/1681/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1681.diff",
"html_url": "https://github.com/psf/requests/pull/1681",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1681.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1681"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1680 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1680/labels{/name} | https://api.github.com/repos/psf/requests/issues/1680/comments | https://api.github.com/repos/psf/requests/issues/1680/events | https://github.com/psf/requests/pull/1680 | 21,133,166 | MDExOlB1bGxSZXF1ZXN0OTE2MjIyOA== | 1,680 | Test5 | {
"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 | 0 | 2013-10-17T05:22:47Z | 2021-09-08T21:01:17Z | 2013-10-17T05:31:35Z | 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/1680/reactions"
} | https://api.github.com/repos/psf/requests/issues/1680/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1680.diff",
"html_url": "https://github.com/psf/requests/pull/1680",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1680.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1680"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1679 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1679/labels{/name} | https://api.github.com/repos/psf/requests/issues/1679/comments | https://api.github.com/repos/psf/requests/issues/1679/events | https://github.com/psf/requests/pull/1679 | 21,133,120 | MDExOlB1bGxSZXF1ZXN0OTE2MjIxMQ== | 1,679 | Test4 | {
"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 | 0 | 2013-10-17T05:20:31Z | 2021-09-08T21:01:17Z | 2013-10-17T05:31:38Z | 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/1679/reactions"
} | https://api.github.com/repos/psf/requests/issues/1679/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1679.diff",
"html_url": "https://github.com/psf/requests/pull/1679",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1679.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1679"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1678 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1678/labels{/name} | https://api.github.com/repos/psf/requests/issues/1678/comments | https://api.github.com/repos/psf/requests/issues/1678/events | https://github.com/psf/requests/pull/1678 | 21,133,039 | MDExOlB1bGxSZXF1ZXN0OTE2MjE2OA== | 1,678 | Test 3 | {
"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 | 0 | 2013-10-17T05:15:50Z | 2021-09-08T21:01:16Z | 2013-10-17T05:31:40Z | 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/1678/reactions"
} | https://api.github.com/repos/psf/requests/issues/1678/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1678.diff",
"html_url": "https://github.com/psf/requests/pull/1678",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1678.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1678"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1677 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1677/labels{/name} | https://api.github.com/repos/psf/requests/issues/1677/comments | https://api.github.com/repos/psf/requests/issues/1677/events | https://github.com/psf/requests/pull/1677 | 21,132,842 | MDExOlB1bGxSZXF1ZXN0OTE2MjA4Mw== | 1,677 | Test2 | {
"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 | 0 | 2013-10-17T05:06:58Z | 2021-09-08T21:01:16Z | 2013-10-17T05:31:42Z | 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/1677/reactions"
} | https://api.github.com/repos/psf/requests/issues/1677/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1677.diff",
"html_url": "https://github.com/psf/requests/pull/1677",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1677.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1677"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1676 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1676/labels{/name} | https://api.github.com/repos/psf/requests/issues/1676/comments | https://api.github.com/repos/psf/requests/issues/1676/events | https://github.com/psf/requests/pull/1676 | 21,132,802 | MDExOlB1bGxSZXF1ZXN0OTE2MjA2OA== | 1,676 | test pull request | {
"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 | 1 | 2013-10-17T05:05:07Z | 2021-09-08T21:01:16Z | 2013-10-17T05:32:02Z | 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/1676/reactions"
} | https://api.github.com/repos/psf/requests/issues/1676/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1676.diff",
"html_url": "https://github.com/psf/requests/pull/1676",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1676.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1676"
} | true | [
"hmm\n"
] | |
https://api.github.com/repos/psf/requests/issues/1675 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1675/labels{/name} | https://api.github.com/repos/psf/requests/issues/1675/comments | https://api.github.com/repos/psf/requests/issues/1675/events | https://github.com/psf/requests/pull/1675 | 21,110,303 | MDExOlB1bGxSZXF1ZXN0OTE1Mjg0Ng== | 1,675 | fix doc for redirction and history | {
"avatar_url": "https://avatars.githubusercontent.com/u/670302?v=4",
"events_url": "https://api.github.com/users/houqp/events{/privacy}",
"followers_url": "https://api.github.com/users/houqp/followers",
"following_url": "https://api.github.com/users/houqp/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2013-10-16T21:05:02Z | 2021-09-08T21:01:15Z | 2013-10-16T21:10:31Z | CONTRIBUTOR | resolved | In current version of requests, allow_redirect is disabled by default
only for HEAD 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/1675/reactions"
} | https://api.github.com/repos/psf/requests/issues/1675/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1675.diff",
"html_url": "https://github.com/psf/requests/pull/1675",
"merged_at": "2013-10-16T21:10:31Z",
"patch_url": "https://github.com/psf/requests/pull/1675.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1675"
} | true | [
"Looks good to me, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/1674 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1674/labels{/name} | https://api.github.com/repos/psf/requests/issues/1674/comments | https://api.github.com/repos/psf/requests/issues/1674/events | https://github.com/psf/requests/issues/1674 | 21,060,166 | MDU6SXNzdWUyMTA2MDE2Ng== | 1,674 | "č" - UTF-8 UnicodeDecodeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/152635?v=4",
"events_url": "https://api.github.com/users/jkatzer/events{/privacy}",
"followers_url": "https://api.github.com/users/jkatzer/followers",
"following_url": "https://api.github.com/users/jkatzer/following{/other_user}",
"gists_url": "https://... | [
{
"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 | 14 | 2013-10-16T04:46:54Z | 2021-09-09T00:10:08Z | 2014-02-11T16:55:21Z | NONE | resolved | Traceback (most recent call last):
File "pysnap/get_snaps.py", line 37, in
if not s.login().get('logged'):
File "/Users/jason/github-random/pysnap/pysnap/pysnap.py", line 71, in login
result = r.json()
File "/Users/jason/github-random/pysnap/venv/lib/python2.7/site-packages/requests/models.py", line 650, in json
retur... | {
"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/1674/reactions"
} | https://api.github.com/repos/psf/requests/issues/1674/timeline | null | completed | null | null | false | [
"What version of requests are you using? Using requests 2.0 in both Python 2.7 and Python 3.3 I can happily get the json version of this issue and call `r.json()`, no problems.\n",
"Context, (the original) pysnap seems to be a snapchat api wrapper that is no longer on GitHub or PyPI. I'd be interested to see what... |
https://api.github.com/repos/psf/requests/issues/1673 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1673/labels{/name} | https://api.github.com/repos/psf/requests/issues/1673/comments | https://api.github.com/repos/psf/requests/issues/1673/events | https://github.com/psf/requests/pull/1673 | 21,005,645 | MDExOlB1bGxSZXF1ZXN0OTA5NDE5MQ== | 1,673 | fixed typo | {
"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 | 0 | 2013-10-15T09:35:23Z | 2021-09-08T23:07:31Z | 2013-10-15T09:47:55Z | CONTRIBUTOR | resolved | fixed typo in models.py
| {
"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/1673/reactions"
} | https://api.github.com/repos/psf/requests/issues/1673/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1673.diff",
"html_url": "https://github.com/psf/requests/pull/1673",
"merged_at": "2013-10-15T09:47:55Z",
"patch_url": "https://github.com/psf/requests/pull/1673.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1673"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/1672 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1672/labels{/name} | https://api.github.com/repos/psf/requests/issues/1672/comments | https://api.github.com/repos/psf/requests/issues/1672/events | https://github.com/psf/requests/issues/1672 | 20,977,198 | MDU6SXNzdWUyMDk3NzE5OA== | 1,672 | Unknown problem with sessions | {
"avatar_url": "https://avatars.githubusercontent.com/u/5435164?v=4",
"events_url": "https://api.github.com/users/4n0n1mo/events{/privacy}",
"followers_url": "https://api.github.com/users/4n0n1mo/followers",
"following_url": "https://api.github.com/users/4n0n1mo/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 12 | 2013-10-14T19:39:35Z | 2021-09-09T00:34:29Z | 2013-10-16T10:45:07Z | NONE | resolved | I'm using session to POST in a page to login, the problem is, most of time it works, and a few times it doesn't, the response headers comes different even if the request headers are exactly the same.
What should be the problem, that two identical request headers obtain two different responses?
Is it a persistance err... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5435164?v=4",
"events_url": "https://api.github.com/users/4n0n1mo/events{/privacy}",
"followers_url": "https://api.github.com/users/4n0n1mo/followers",
"following_url": "https://api.github.com/users/4n0n1mo/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/1672/reactions"
} | https://api.github.com/repos/psf/requests/issues/1672/timeline | null | completed | null | null | false | [
"Almost certainly not.\n\nFirstly, why are you expecting the response headers to be the same? The server is free to change them whenever it likes. Secondly, are you sure you aren't being logged in?\n",
"There's two different responses for the exactly same request, when the login is successfully, it returns a spec... |
https://api.github.com/repos/psf/requests/issues/1671 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1671/labels{/name} | https://api.github.com/repos/psf/requests/issues/1671/comments | https://api.github.com/repos/psf/requests/issues/1671/events | https://github.com/psf/requests/issues/1671 | 20,972,128 | MDU6SXNzdWUyMDk3MjEyOA== | 1,671 | Certificate name checking does not honor the Host header | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382374?v=4",
"events_url": "https://api.github.com/users/rshipp/events{/privacy}",
"followers_url": "https://api.github.com/users/rshipp/followers",
"following_url": "https://api.github.com/users/rshipp/following{/other_user}",
"gists_url": "https://ap... | [
{
"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 | 2013-10-14T18:04:46Z | 2021-09-08T23:06:06Z | 2015-01-19T09:25:07Z | NONE | resolved | When verifying SSL certificates, requests only uses information from the URL string passed to `get()`, and ignores the HTTP Host header (passed in with the optional `headers` argument). This causes a failure in my case because the URL I am using is actually a local IP address. (If I use the domain name, it resolves to ... | {
"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/1671/reactions"
} | https://api.github.com/repos/psf/requests/issues/1671/timeline | null | completed | null | null | false | [
"@sigmavirus24 Should we be filing this under our long list of \"Do we trust the Host: header\" bugs?\n",
"@Lukasa I think so. My concern is that we keep special-casing areas of the library around this and I really really hate that.\n",
"Agreed. We need a better way of getting host information. Perhaps a proper... |
https://api.github.com/repos/psf/requests/issues/1670 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1670/labels{/name} | https://api.github.com/repos/psf/requests/issues/1670/comments | https://api.github.com/repos/psf/requests/issues/1670/events | https://github.com/psf/requests/issues/1670 | 20,934,865 | MDU6SXNzdWUyMDkzNDg2NQ== | 1,670 | Improve third-party docs | {
"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": "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 | 1 | 2013-10-13T22:58:18Z | 2021-09-08T23:04:50Z | 2015-05-03T15:10:27Z | CONTRIBUTOR | resolved | e.g. https://pypi.python.org/pypi/trequests
| {
"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/1670/reactions"
} | https://api.github.com/repos/psf/requests/issues/1670/timeline | null | completed | null | null | false | [
"I don't quite understand. Document third party adapters/libraries/etc.?\n"
] |
https://api.github.com/repos/psf/requests/issues/1669 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1669/labels{/name} | https://api.github.com/repos/psf/requests/issues/1669/comments | https://api.github.com/repos/psf/requests/issues/1669/events | https://github.com/psf/requests/pull/1669 | 20,923,780 | MDExOlB1bGxSZXF1ZXN0OTA1MjM0OQ== | 1,669 | [WIP] Better chunked handling. | {
"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... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 44501305,
"name": "Not Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTMwNQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Not%20Ready%20To%20Merge"
},
{
"color": "fef2c0",
"default": false,
"d... | closed | true | null | [] | null | 11 | 2013-10-13T08:59:50Z | 2021-09-08T23:07:23Z | 2013-12-05T22:36:10Z | MEMBER | resolved | Following #1642, I think we should treat urllib3's pooled connections better when we manage them ourselves. This PR provides the following extra functionality:
- Clean up connections when we hit problems during chunked upload, rather than leaking them.
- Return connections to the pool when a chunked upload is successfu... | {
"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/1669/reactions"
} | https://api.github.com/repos/psf/requests/issues/1669/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1669.diff",
"html_url": "https://github.com/psf/requests/pull/1669",
"merged_at": "2013-12-05T22:36:10Z",
"patch_url": "https://github.com/psf/requests/pull/1669.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1669"
} | true | [
"Ideally the streaming bit should be a feature of urllib3. Otherwise you're just circumventing half of what urllib3 does, so there's not much semantics to obey—you're working directly with httplib objects. :) For returning the connection, urllib3 will do the right thing if it's closed IIRC.\n",
"Hmm, are you inte... |
https://api.github.com/repos/psf/requests/issues/1668 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1668/labels{/name} | https://api.github.com/repos/psf/requests/issues/1668/comments | https://api.github.com/repos/psf/requests/issues/1668/events | https://github.com/psf/requests/issues/1668 | 20,920,210 | MDU6SXNzdWUyMDkyMDIxMA== | 1,668 | Requests eats up entire CPU and occasionally closes the stream early | {
"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 | 2013-10-13T01:30:49Z | 2021-09-09T00:10:12Z | 2014-02-03T10:46:36Z | CONTRIBUTOR | resolved | ``` python
import requests
expected = 11424397 # whatever size the file should be
for i in range(0, 100):
size = 0
print "Downloading %d..." % i
r = requests.get("http://somehost.com/bigfile.mp4", stream=True)
while True:
d = r.raw.read(1024 * 1024)
if not d: break
size += len... | {
"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/1668/reactions"
} | https://api.github.com/repos/psf/requests/issues/1668/timeline | null | completed | null | null | false | [
"Additional details:\n- OSX\n- Same thing happens with iter_content\n- Requests version: 2.0.0\n",
"Taking a look at this, I can't reproduce in an interactive interpreter. I'll try with a script, but I'm going to get the size of this file first.\n\nDownloading `http://download.fedoraproject.org/pub/fedora/linux/... |
https://api.github.com/repos/psf/requests/issues/1667 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1667/labels{/name} | https://api.github.com/repos/psf/requests/issues/1667/comments | https://api.github.com/repos/psf/requests/issues/1667/events | https://github.com/psf/requests/pull/1667 | 20,916,515 | MDExOlB1bGxSZXF1ZXN0OTA0OTM0OQ== | 1,667 | Second time lucky for json related fixes. | {
"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... | [
{
"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/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 | 5 | 2013-10-12T20:06:22Z | 2021-09-08T23:08:21Z | 2013-10-12T21:15:30Z | MEMBER | resolved | Following discussion on #1665. =)
| {
"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/1667/reactions"
} | https://api.github.com/repos/psf/requests/issues/1667/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1667.diff",
"html_url": "https://github.com/psf/requests/pull/1667",
"merged_at": "2013-10-12T21:15:30Z",
"patch_url": "https://github.com/psf/requests/pull/1667.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1667"
} | true | [
":+1: :+1: :cake: :cactus: :cake: :+1: :+1: :all_the_emoji:\n",
"(I created a new label just for this PR)\n",
"Awesome new label. Time to apply it to ALL THE THINGS. =D\n",
"all the sparkle cake sparkles\n",
"I can't wait to have CI working again. But, one must have his priorities in line. \n\n/me off to pl... |
https://api.github.com/repos/psf/requests/issues/1666 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1666/labels{/name} | https://api.github.com/repos/psf/requests/issues/1666/comments | https://api.github.com/repos/psf/requests/issues/1666/events | https://github.com/psf/requests/pull/1666 | 20,915,689 | MDExOlB1bGxSZXF1ZXN0OTA0OTAzNw== | 1,666 | Throw exceptions for json() with no content. | {
"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... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501249,
"name": "Needs BDFL Input",
"node_id": "MDU6TGFiZWw0NDUwMTI0OQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input"
},
{
"color": "eb6420",
"default": false,
"descrip... | closed | true | null | [] | null | 2 | 2013-10-12T19:11:03Z | 2021-09-08T23:01:18Z | 2013-10-12T20:04:42Z | MEMBER | resolved | This is a follow-up to #1665. This is a breaking API change, but can probably be put in a minor release (e.g. 2.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/1666/reactions"
} | https://api.github.com/repos/psf/requests/issues/1666/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1666.diff",
"html_url": "https://github.com/psf/requests/pull/1666",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1666.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1666"
} | true | [
"I'd rather discuss this a bit more on #1665 before merging this. I think there may be a better solution then adding another exception class.\n",
"We have a new, better plan, thanks to @sigmavirus24.\n"
] |
https://api.github.com/repos/psf/requests/issues/1665 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1665/labels{/name} | https://api.github.com/repos/psf/requests/issues/1665/comments | https://api.github.com/repos/psf/requests/issues/1665/events | https://github.com/psf/requests/issues/1665 | 20,914,754 | MDU6SXNzdWUyMDkxNDc1NA== | 1,665 | Error in JSON decoding for Python 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/289492?v=4",
"events_url": "https://api.github.com/users/MaddieM4/events{/privacy}",
"followers_url": "https://api.github.com/users/MaddieM4/followers",
"following_url": "https://api.github.com/users/MaddieM4/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 18 | 2013-10-12T18:06:15Z | 2021-09-08T23:07:59Z | 2013-10-13T08:34:24Z | NONE | resolved | In the unit tests for a server project, I'm using requests to pull down data from the server and verify that it's correct. This data is in JSON format, so it seems only natural to use r.json() to decode the data.
Unfortunately, while this works for Python 2.X, it doesn't seem to work for Python 3, giving the following... | {
"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/1665/reactions"
} | https://api.github.com/repos/psf/requests/issues/1665/timeline | null | completed | null | null | false | [
"Hi there!\n\nCan you print `response.encoding` for me?\n",
"Wow, that is a seriously impressive response time!\n\nI tried this with and without encoding data in the header. If my server uses Content-type \"application/json\", then the response encoding is None. If I send it as \"application/json; charset=utf-8\"... |
https://api.github.com/repos/psf/requests/issues/1664 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1664/labels{/name} | https://api.github.com/repos/psf/requests/issues/1664/comments | https://api.github.com/repos/psf/requests/issues/1664/events | https://github.com/psf/requests/issues/1664 | 20,866,596 | MDU6SXNzdWUyMDg2NjU5Ng== | 1,664 | access socket | {
"avatar_url": "https://avatars.githubusercontent.com/u/763209?v=4",
"events_url": "https://api.github.com/users/mrWodoo/events{/privacy}",
"followers_url": "https://api.github.com/users/mrWodoo/followers",
"following_url": "https://api.github.com/users/mrWodoo/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2013-10-11T12:49:28Z | 2021-09-09T00:34:29Z | 2013-10-11T14:11:44Z | NONE | resolved | Hi, can I access earlier socket to make new POST request to same server, because I don't want to waste time to make connection with server so
server.com
GET /index.php
server.com
POST /somewhere/in/www.php
param=value¶m=value
I want to be able to make POST as soon as possible, so I don't want to close connection... | {
"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/1664/reactions"
} | https://api.github.com/repos/psf/requests/issues/1664/timeline | null | completed | null | null | false | [
"so it would look like this\n\ndef callback( session, response ):\n session.getSocket().post( '/path', headers=headers, data=postData )\n",
"Hi there! Thanks for raising this issue!\n\nFirstly, you've opened this question in two places, here and Stack Overflow. Stack Overflow was the correct location for this ... |
https://api.github.com/repos/psf/requests/issues/1663 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1663/labels{/name} | https://api.github.com/repos/psf/requests/issues/1663/comments | https://api.github.com/repos/psf/requests/issues/1663/events | https://github.com/psf/requests/issues/1663 | 20,849,964 | MDU6SXNzdWUyMDg0OTk2NA== | 1,663 | Test failures | {
"avatar_url": "https://avatars.githubusercontent.com/u/656294?v=4",
"events_url": "https://api.github.com/users/Arfrever/events{/privacy}",
"followers_url": "https://api.github.com/users/Arfrever/followers",
"following_url": "https://api.github.com/users/Arfrever/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 9 | 2013-10-11T04:28:20Z | 2021-09-09T00:34:23Z | 2013-10-11T06:46:36Z | NONE | resolved | Requests fails 2 tests with all versions of Python (2.6, 2.7, 3.1, 3.2, 3.3).
This bug occurs in Requests 2.0.0 and trunk.
These tests do not exist in Requests 1.2.3.
Result for Requests trunk:
```
$ python2.7 test_requests.py
..EE..................................................................................
====... | {
"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/1663/reactions"
} | https://api.github.com/repos/psf/requests/issues/1663/timeline | null | completed | null | null | false | [
"Thanks for raising this!\n\nWe've known about these test failures for a while. They're actually upstream of us: Kenneth hasn't gotten around to pushing a new version of httpbin, which has an endpoint these tests rely on. We're expecting them to pass once he does. =)\n",
"In fact if you run httpbin locally and po... |
https://api.github.com/repos/psf/requests/issues/1662 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1662/labels{/name} | https://api.github.com/repos/psf/requests/issues/1662/comments | https://api.github.com/repos/psf/requests/issues/1662/events | https://github.com/psf/requests/pull/1662 | 20,839,217 | MDExOlB1bGxSZXF1ZXN0OTAwNzk3Ng== | 1,662 | Adding myself to AUTHORS.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/26339?v=4",
"events_url": "https://api.github.com/users/voberoi/events{/privacy}",
"followers_url": "https://api.github.com/users/voberoi/followers",
"following_url": "https://api.github.com/users/voberoi/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 7 | 2013-10-10T22:14:33Z | 2021-09-08T21:01:15Z | 2013-10-10T22:45:14Z | CONTRIBUTOR | resolved | Taking a page out of @mattspitz's book.
https://github.com/kennethreitz/requests/pull/1439
# dreamsdocometrue!
| {
"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/1662/reactions"
} | https://api.github.com/repos/psf/requests/issues/1662/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1662.diff",
"html_url": "https://github.com/psf/requests/pull/1662",
"merged_at": "2013-10-10T22:45:14Z",
"patch_url": "https://github.com/psf/requests/pull/1662.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1662"
} | true | [
"I should add, this is partly in jest since I know @mattspitz.\n\nMy contribution is probably not as substantial as others', in which case #dreamsdonotcometrueaseasilyasihoped.\n",
"if anyone has submitted as much as a typo fix, their name should be appended.\n",
"Love it.\n",
"Hi, @voberoi!\n\nIt is a [Dream... |
https://api.github.com/repos/psf/requests/issues/1661 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1661/labels{/name} | https://api.github.com/repos/psf/requests/issues/1661/comments | https://api.github.com/repos/psf/requests/issues/1661/events | https://github.com/psf/requests/pull/1661 | 20,827,683 | MDExOlB1bGxSZXF1ZXN0OTAwMTA2Ng== | 1,661 | Increasing super_len compatibilty to include BytesIO and cStringIO objects. | {
"avatar_url": "https://avatars.githubusercontent.com/u/164067?v=4",
"events_url": "https://api.github.com/users/mattspitz/events{/privacy}",
"followers_url": "https://api.github.com/users/mattspitz/followers",
"following_url": "https://api.github.com/users/mattspitz/following{/other_user}",
"gists_url": "ht... | [
{
"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"
}
] | closed | true | null | [] | null | 2 | 2013-10-10T18:57:41Z | 2021-09-08T21:01:15Z | 2013-10-10T19:11:14Z | CONTRIBUTOR | resolved | Added a check for 'getvalue' attr, calling it to retrieve the length if we can.
We also try/except the fileno() call, which can throw
io.UnsupportedOperation for BytesIO because, well, they're not files.
And a unit 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/1661/reactions"
} | https://api.github.com/repos/psf/requests/issues/1661/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1661.diff",
"html_url": "https://github.com/psf/requests/pull/1661",
"merged_at": "2013-10-10T19:11:14Z",
"patch_url": "https://github.com/psf/requests/pull/1661.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1661"
} | true | [
"Looks good to me! Add yourself to the AUTHORS file and then wait for Kenneth to get some time to take a look. =)\n\nThanks so much! :cake:\n",
"Added! Thank you!\n\n:crocodile: \n"
] |
https://api.github.com/repos/psf/requests/issues/1660 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1660/labels{/name} | https://api.github.com/repos/psf/requests/issues/1660/comments | https://api.github.com/repos/psf/requests/issues/1660/events | https://github.com/psf/requests/pull/1660 | 20,752,225 | MDExOlB1bGxSZXF1ZXN0ODk1ODg2Ng== | 1,660 | Parse cookies when users set custom Host header | {
"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 | 2013-10-09T16:04:35Z | 2021-09-09T00:01:23Z | 2013-11-06T19:19:31Z | CONTRIBUTOR | resolved | TODO:
- [ ] Add test to ensure this doesn't regress
| {
"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/1660/reactions"
} | https://api.github.com/repos/psf/requests/issues/1660/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1660.diff",
"html_url": "https://github.com/psf/requests/pull/1660",
"merged_at": "2013-11-06T19:19:31Z",
"patch_url": "https://github.com/psf/requests/pull/1660.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1660"
} | true | [
"This pull request has the Lukasa seal of approval.\n",
"Now we need minion seals.\n",
"I really hate how much code this adds, but it looks appropriate. \n"
] |
https://api.github.com/repos/psf/requests/issues/1659 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1659/labels{/name} | https://api.github.com/repos/psf/requests/issues/1659/comments | https://api.github.com/repos/psf/requests/issues/1659/events | https://github.com/psf/requests/issues/1659 | 20,710,948 | MDU6SXNzdWUyMDcxMDk0OA== | 1,659 | Update SSL Certs | {
"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 | {
"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 | 64 | 2013-10-08T22:14:49Z | 2021-09-09T00:34:27Z | 2013-10-24T14:29:11Z | CONTRIBUTOR | resolved | We really need to automate this and have an official workflow and policy for security releases.
Fixes #1655
### TODO:
- [x] Automate CA Bundle generation
- [ ] Establish documented security policy
### See Also:
- [PEP 453 Security Considerations](http://www.python.org/dev/peps/pep-0453/#security-considerations)
- [ke... | {
"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/1659/reactions"
} | https://api.github.com/repos/psf/requests/issues/1659/timeline | null | completed | null | null | false | [
":+1:\n",
"#1460\n",
"Is the right thing to do here just to rewrite cURL's Perl script that converts the Mozilla text file into a .pem file? I took a look and it shouldn't be too awful to do.\n",
"the problem with mozilla's cert list is that it includes all of the blacklisted certs. We need to automate the re... |
https://api.github.com/repos/psf/requests/issues/1658 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1658/labels{/name} | https://api.github.com/repos/psf/requests/issues/1658/comments | https://api.github.com/repos/psf/requests/issues/1658/events | https://github.com/psf/requests/pull/1658 | 20,697,012 | MDExOlB1bGxSZXF1ZXN0ODkyNzYwNA== | 1,658 | False -> True typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/17761?v=4",
"events_url": "https://api.github.com/users/randymorris/events{/privacy}",
"followers_url": "https://api.github.com/users/randymorris/followers",
"following_url": "https://api.github.com/users/randymorris/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2013-10-08T18:21:42Z | 2021-09-08T21:01:14Z | 2013-10-08T18:36:12Z | CONTRIBUTOR | resolved | Copy/paste fail on my part. Worried too much about the formatting and not enough about the content. My apologies.
| {
"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/1658/reactions"
} | https://api.github.com/repos/psf/requests/issues/1658/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1658.diff",
"html_url": "https://github.com/psf/requests/pull/1658",
"merged_at": "2013-10-08T18:36:12Z",
"patch_url": "https://github.com/psf/requests/pull/1658.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1658"
} | true | [
"Thanks again for this!\n"
] |
https://api.github.com/repos/psf/requests/issues/1657 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1657/labels{/name} | https://api.github.com/repos/psf/requests/issues/1657/comments | https://api.github.com/repos/psf/requests/issues/1657/events | https://github.com/psf/requests/pull/1657 | 20,647,891 | MDExOlB1bGxSZXF1ZXN0ODkwMjgyNg== | 1,657 | Honor session hooks | {
"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 | 17 | 2013-10-08T00:23:48Z | 2021-09-08T23:06:04Z | 2013-12-04T01:33:42Z | CONTRIBUTOR | resolved | Fixes #1655
TODO:
- [ ] ~~Add tests for `merge_hooks`~~
- [x] Add tests to ensure that Session hooks can be overridden by request hooks.
- [x] Fix logic so that there is no API braking change. Currently `merge_hooks` changes the behaviour of how hooks behave.
| {
"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/1657/reactions"
} | https://api.github.com/repos/psf/requests/issues/1657/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1657.diff",
"html_url": "https://github.com/psf/requests/pull/1657",
"merged_at": "2013-12-04T01:33:42Z",
"patch_url": "https://github.com/psf/requests/pull/1657.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1657"
} | true | [
"@Lukasa I assigned this to you for code review, but don't spend too much time on it yet. I've got work to do.\n",
"I'm debating whether `merge_hooks` itself actually needs to be tested directly. We're indirectly testing it through the two tests I added to make sure the behaviour of merging settings/hooks works.\... |
https://api.github.com/repos/psf/requests/issues/1656 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1656/labels{/name} | https://api.github.com/repos/psf/requests/issues/1656/comments | https://api.github.com/repos/psf/requests/issues/1656/events | https://github.com/psf/requests/pull/1656 | 20,633,165 | MDExOlB1bGxSZXF1ZXN0ODg5NDEyNg== | 1,656 | Update verbiage about streaming requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/17761?v=4",
"events_url": "https://api.github.com/users/randymorris/events{/privacy}",
"followers_url": "https://api.github.com/users/randymorris/followers",
"following_url": "https://api.github.com/users/randymorris/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2013-10-07T19:24:19Z | 2021-09-08T21:01:14Z | 2013-10-07T20:45:11Z | CONTRIBUTOR | resolved | The Twitter API is no longer used in the example.
| {
"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/1656/reactions"
} | https://api.github.com/repos/psf/requests/issues/1656/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1656.diff",
"html_url": "https://github.com/psf/requests/pull/1656",
"merged_at": "2013-10-07T20:45:11Z",
"patch_url": "https://github.com/psf/requests/pull/1656.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1656"
} | true | [
"This looks great, thanks so much! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1655 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1655/labels{/name} | https://api.github.com/repos/psf/requests/issues/1655/comments | https://api.github.com/repos/psf/requests/issues/1655/events | https://github.com/psf/requests/issues/1655 | 20,603,230 | MDU6SXNzdWUyMDYwMzIzMA== | 1,655 | Session hooks broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/27617?v=4",
"events_url": "https://api.github.com/users/mgax/events{/privacy}",
"followers_url": "https://api.github.com/users/mgax/followers",
"following_url": "https://api.github.com/users/mgax/following{/other_user}",
"gists_url": "https://api.github... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 7 | 2013-10-07T10:24:32Z | 2021-09-09T00:28:35Z | 2013-12-04T01:33:42Z | NONE | resolved | Request hooks are being [merged](https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L264) with session hooks; since both hook dicts have a list as the value, one simply overwrites the other.
| {
"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/1655/reactions"
} | https://api.github.com/repos/psf/requests/issues/1655/timeline | null | completed | null | null | false | [
"Great spot, thanks! We should improve our merging logic here.\n",
"I might take a crack at this in an hour or so\n",
"Hm. This has always been the behaviour of how per-request hooks work with session hooks but it isn't exactly intuitive. My concern is whether people are relying on this behaviour since the logi... |
https://api.github.com/repos/psf/requests/issues/1654 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1654/labels{/name} | https://api.github.com/repos/psf/requests/issues/1654/comments | https://api.github.com/repos/psf/requests/issues/1654/events | https://github.com/psf/requests/pull/1654 | 20,559,406 | MDExOlB1bGxSZXF1ZXN0ODg1OTAzMg== | 1,654 | Deprecation removal and other idiomatic updates | {
"avatar_url": "https://avatars.githubusercontent.com/u/494783?v=4",
"events_url": "https://api.github.com/users/riyadparvez/events{/privacy}",
"followers_url": "https://api.github.com/users/riyadparvez/followers",
"following_url": "https://api.github.com/users/riyadparvez/following{/other_user}",
"gists_url... | [
{
"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"
}
] | closed | true | null | [] | null | 15 | 2013-10-05T04:01:57Z | 2021-09-08T21:01:13Z | 2013-10-05T17:02:46Z | CONTRIBUTOR | resolved | Remove or replacing old codes with more modern idioms
1. Deprecated `BaseException`
2. `while 1:`
3. updated to `print()` function
| {
"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/1654/reactions"
} | https://api.github.com/repos/psf/requests/issues/1654/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1654.diff",
"html_url": "https://github.com/psf/requests/pull/1654",
"merged_at": "2013-10-05T17:02:46Z",
"patch_url": "https://github.com/psf/requests/pull/1654.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1654"
} | true | [
"These look pretty benign to me, I'm sure we'll take them. Thanks!\n",
"Your pull request does more than you claim. Either you need help with using git or you're trying to get some unnecessary changes into master via a back door. Please strip you print statement related commits from this PR.\n\nAlso I'm curious w... |
https://api.github.com/repos/psf/requests/issues/1653 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1653/labels{/name} | https://api.github.com/repos/psf/requests/issues/1653/comments | https://api.github.com/repos/psf/requests/issues/1653/events | https://github.com/psf/requests/pull/1653 | 20,550,892 | MDExOlB1bGxSZXF1ZXN0ODg1NDIwMg== | 1,653 | Python3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/494783?v=4",
"events_url": "https://api.github.com/users/riyadparvez/events{/privacy}",
"followers_url": "https://api.github.com/users/riyadparvez/followers",
"following_url": "https://api.github.com/users/riyadparvez/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2013-10-04T21:27:53Z | 2021-09-08T21:01:13Z | 2013-10-04T21:31:15Z | CONTRIBUTOR | resolved | Trying to use more Python 3 idioms
| {
"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/1653/reactions"
} | https://api.github.com/repos/psf/requests/issues/1653/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1653.diff",
"html_url": "https://github.com/psf/requests/pull/1653",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1653.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1653"
} | true | [
"We're not going to abandon python 2 anytime in the near future but thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/1652 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1652/labels{/name} | https://api.github.com/repos/psf/requests/issues/1652/comments | https://api.github.com/repos/psf/requests/issues/1652/events | https://github.com/psf/requests/pull/1652 | 20,519,536 | MDExOlB1bGxSZXF1ZXN0ODgzODQ4NA== | 1,652 | don't write "Transfer-Encoding: chunked" when Content-Length is set | {
"avatar_url": "https://avatars.githubusercontent.com/u/284023?v=4",
"events_url": "https://api.github.com/users/ysangkok/events{/privacy}",
"followers_url": "https://api.github.com/users/ysangkok/followers",
"following_url": "https://api.github.com/users/ysangkok/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 7 | 2013-10-04T13:00:53Z | 2021-09-08T07:00:43Z | 2013-10-04T19:42:11Z | NONE | resolved | this commit fixes #1648
| {
"avatar_url": "https://avatars.githubusercontent.com/u/284023?v=4",
"events_url": "https://api.github.com/users/ysangkok/events{/privacy}",
"followers_url": "https://api.github.com/users/ysangkok/followers",
"following_url": "https://api.github.com/users/ysangkok/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/1652/reactions"
} | https://api.github.com/repos/psf/requests/issues/1652/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1652.diff",
"html_url": "https://github.com/psf/requests/pull/1652",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1652.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1652"
} | true | [
"This looks fine to me. You could potentially just use `if` instead of `elif` here: might be slightly cleaner. @sigmavirus24, thoughts?\n",
"I'm so -1 on this and the issue that I can't even begin to explain. We have always maintained that sending your own `Content-Length` header was a bad idea and should never b... |
https://api.github.com/repos/psf/requests/issues/1651 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1651/labels{/name} | https://api.github.com/repos/psf/requests/issues/1651/comments | https://api.github.com/repos/psf/requests/issues/1651/events | https://github.com/psf/requests/pull/1651 | 20,501,548 | MDExOlB1bGxSZXF1ZXN0ODgzMDczMw== | 1,651 | Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError. | {
"avatar_url": "https://avatars.githubusercontent.com/u/507637?v=4",
"events_url": "https://api.github.com/users/GrahamDumpleton/events{/privacy}",
"followers_url": "https://api.github.com/users/GrahamDumpleton/followers",
"following_url": "https://api.github.com/users/GrahamDumpleton/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2013-10-04T06:09:52Z | 2021-09-08T21:01:13Z | 2013-10-04T06:14:26Z | CONTRIBUTOR | resolved | Patch for issue #1650.
| {
"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/1651/reactions"
} | https://api.github.com/repos/psf/requests/issues/1651/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1651.diff",
"html_url": "https://github.com/psf/requests/pull/1651",
"merged_at": "2013-10-04T06:14:26Z",
"patch_url": "https://github.com/psf/requests/pull/1651.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1651"
} | true | [
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1650 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1650/labels{/name} | https://api.github.com/repos/psf/requests/issues/1650/comments | https://api.github.com/repos/psf/requests/issues/1650/events | https://github.com/psf/requests/issues/1650 | 20,501,527 | MDU6SXNzdWUyMDUwMTUyNw== | 1,650 | Requests doesn't catch requests.packages.urllib3.exceptions.ProxyError | {
"avatar_url": "https://avatars.githubusercontent.com/u/507637?v=4",
"events_url": "https://api.github.com/users/GrahamDumpleton/events{/privacy}",
"followers_url": "https://api.github.com/users/GrahamDumpleton/followers",
"following_url": "https://api.github.com/users/GrahamDumpleton/following{/other_user}",
... | [] | closed | true | null | [] | null | 3 | 2013-10-04T06:09:02Z | 2021-09-09T01:22:17Z | 2013-10-04T06:15:00Z | CONTRIBUTOR | resolved | Requests doesn't catch requests.packages.urllib3.exceptions.ProxyError and translate it into a requests module specific exception which derives from RequestException as it does for other errors originating from urllib3. This means if trying to catch any exception derived from RequestException so as to treat it speciall... | {
"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/1650/reactions"
} | https://api.github.com/repos/psf/requests/issues/1650/timeline | null | completed | null | null | false | [
"Simple test script is:\n\n```\nimport requests\n\nPROXY_HOST = 'http://localhost'\nPROXY_HTTP_PORT = 8080\n\nREMOTE_URL = 'http://www.python.org'\n\nproxies = { 'http': '%s:%s' % (PROXY_HOST, PROXY_HTTP_PORT) }\n\nresponse = requests.get(REMOTE_URL, proxies=proxies)\n\nprint(len(response.content))\n```\n\nWithout ... |
https://api.github.com/repos/psf/requests/issues/1649 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1649/labels{/name} | https://api.github.com/repos/psf/requests/issues/1649/comments | https://api.github.com/repos/psf/requests/issues/1649/events | https://github.com/psf/requests/pull/1649 | 20,493,242 | MDExOlB1bGxSZXF1ZXN0ODgyNzcxMA== | 1,649 | Minor doc updates | {
"avatar_url": "https://avatars.githubusercontent.com/u/836426?v=4",
"events_url": "https://api.github.com/users/dpursehouse/events{/privacy}",
"followers_url": "https://api.github.com/users/dpursehouse/followers",
"following_url": "https://api.github.com/users/dpursehouse/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2013-10-04T01:22:41Z | 2021-09-08T21:01:12Z | 2013-10-04T08:55:19Z | CONTRIBUTOR | resolved | - Improve wording of sentence describing proxy environment
variable setting.
- Mention that proxy URLs must include the scheme.
| {
"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/1649/reactions"
} | https://api.github.com/repos/psf/requests/issues/1649/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1649.diff",
"html_url": "https://github.com/psf/requests/pull/1649",
"merged_at": "2013-10-04T08:55:19Z",
"patch_url": "https://github.com/psf/requests/pull/1649.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1649"
} | true | [
"This is great, thanks! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1648 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1648/labels{/name} | https://api.github.com/repos/psf/requests/issues/1648/comments | https://api.github.com/repos/psf/requests/issues/1648/events | https://github.com/psf/requests/issues/1648 | 20,491,066 | MDU6SXNzdWUyMDQ5MTA2Ng== | 1,648 | Header "Transfer-Encoding: chunked" set even if Content-Length is provided which causes body to not actually get chunked | {
"avatar_url": "https://avatars.githubusercontent.com/u/284023?v=4",
"events_url": "https://api.github.com/users/ysangkok/events{/privacy}",
"followers_url": "https://api.github.com/users/ysangkok/followers",
"following_url": "https://api.github.com/users/ysangkok/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"
},
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
... | closed | true | null | [] | null | 52 | 2013-10-04T00:02:56Z | 2021-09-08T12:00:49Z | 2017-03-02T16:28:35Z | NONE | resolved | ## Test script
```
import requests
import time
def f():
yield b"lol"
time.sleep(2)
yield b"man"
requests.post('http://127.0.0.1:8801/', data=f(), headers={"Content-Length": 6})
```
## Actual result
Received on the server:
```
$ nc -p 8801 -l
POST / HTTP/1.1
Host: 127.0.0.1:8801
User-Agent: python-reque... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1648/reactions"
} | https://api.github.com/repos/psf/requests/issues/1648/timeline | null | completed | null | null | false | [
"I agree, we should pick one of those two options. =)\n",
"So commenting here as I should have done >6 hours ago:\n\n> If requests insists on doing chunked transfer encoding, it should disregard the content length and actually chunk the content (as it does if there is not Content-Length header given).\n\nYou're ... |
https://api.github.com/repos/psf/requests/issues/1647 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1647/labels{/name} | https://api.github.com/repos/psf/requests/issues/1647/comments | https://api.github.com/repos/psf/requests/issues/1647/events | https://github.com/psf/requests/issues/1647 | 20,486,357 | MDU6SXNzdWUyMDQ4NjM1Nw== | 1,647 | Special Character in Proxy Authentication | {
"avatar_url": "https://avatars.githubusercontent.com/u/3884349?v=4",
"events_url": "https://api.github.com/users/jus7forfun/events{/privacy}",
"followers_url": "https://api.github.com/users/jus7forfun/followers",
"following_url": "https://api.github.com/users/jus7forfun/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 15 | 2013-10-03T22:01:10Z | 2021-09-09T00:28:32Z | 2013-12-05T23:10:50Z | NONE | resolved | I have problem with special characters in proxy authentication:( @ in password field)
proxies = {
"http": "http://username:pass@example.com@proxy.example.com:3128/"
}
```
```
File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 347, in get
return self.request('GET', url, *_kwargs)
File "/us... | {
"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/1647/reactions"
} | https://api.github.com/repos/psf/requests/issues/1647/timeline | null | completed | null | null | false | [
"Looking at the code it doesn't seem to me that there's a problem here. Can you get Wireshark/tcpdump trace for this?\n",
"Oh, Sorry. complete Error:\n\n File \"test.py\", line 14, in <module>\n main()\n File \"test.py\", line 12, in main\n r = session.get(URL, proxies=proxies)\n File \"/usr/lib/python2.... |
https://api.github.com/repos/psf/requests/issues/1646 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1646/labels{/name} | https://api.github.com/repos/psf/requests/issues/1646/comments | https://api.github.com/repos/psf/requests/issues/1646/events | https://github.com/psf/requests/issues/1646 | 20,477,580 | MDU6SXNzdWUyMDQ3NzU4MA== | 1,646 | max_retries does not appear to apply to timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/329822?v=4",
"events_url": "https://api.github.com/users/Julian/events{/privacy}",
"followers_url": "https://api.github.com/users/Julian/followers",
"following_url": "https://api.github.com/users/Julian/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2013-10-03T19:30:16Z | 2021-09-09T01:22:18Z | 2013-10-03T19:59:50Z | NONE | resolved | This server
```
import time
request = 0
def application(environ, start):
start("200 OK", [])
global request
request += 1
if request >= 5:
return ["GOODBYE\n"]
time.sleep(1)
return ["HELLO\n"]
```
seems to fails immediately with:
```
session = requests.Session()
session.mount("http:/... | {
"avatar_url": "https://avatars.githubusercontent.com/u/329822?v=4",
"events_url": "https://api.github.com/users/Julian/events{/privacy}",
"followers_url": "https://api.github.com/users/Julian/followers",
"following_url": "https://api.github.com/users/Julian/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/1646/reactions"
} | https://api.github.com/repos/psf/requests/issues/1646/timeline | null | completed | null | null | false | [
"Definitely still a urllib3 bug. =) @shazow is playing silly buggers, I think. I've put a reproducible script in the urllib3 issue. So you don't feel like you're being messed around I'm going to leave this issue open, but I'm convinced it's upstream.\n",
"Thank you :)\n\n(For doing both of those things.)\n\nCheer... |
https://api.github.com/repos/psf/requests/issues/1645 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1645/labels{/name} | https://api.github.com/repos/psf/requests/issues/1645/comments | https://api.github.com/repos/psf/requests/issues/1645/events | https://github.com/psf/requests/issues/1645 | 20,414,986 | MDU6SXNzdWUyMDQxNDk4Ng== | 1,645 | Access to full HTTP Status Response | {
"avatar_url": "https://avatars.githubusercontent.com/u/385396?v=4",
"events_url": "https://api.github.com/users/Gillingham/events{/privacy}",
"followers_url": "https://api.github.com/users/Gillingham/followers",
"following_url": "https://api.github.com/users/Gillingham/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-10-02T19:04:04Z | 2021-09-09T01:22:18Z | 2013-10-02T19:06:12Z | NONE | resolved | I'm working with an API that returns the standard HTTP/1.1 400 status code, however it also stores it's error message in the text string following that in the header.
Right now it's unusable via requests since there seems to be no way to access that status text, only the status code.
| {
"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/1645/reactions"
} | https://api.github.com/repos/psf/requests/issues/1645/timeline | null | completed | null | null | false | [
"`Response.reason`\n"
] |
https://api.github.com/repos/psf/requests/issues/1644 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1644/labels{/name} | https://api.github.com/repos/psf/requests/issues/1644/comments | https://api.github.com/repos/psf/requests/issues/1644/events | https://github.com/psf/requests/issues/1644 | 20,405,761 | MDU6SXNzdWUyMDQwNTc2MQ== | 1,644 | Headers not sent when POST'ing generator | {
"avatar_url": "https://avatars.githubusercontent.com/u/284023?v=4",
"events_url": "https://api.github.com/users/ysangkok/events{/privacy}",
"followers_url": "https://api.github.com/users/ysangkok/followers",
"following_url": "https://api.github.com/users/ysangkok/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2013-10-02T16:29:09Z | 2021-09-09T01:22:18Z | 2013-10-02T17:41:49Z | NONE | resolved | ```
#!/usr/bin/env python3
import requests
def c():
yield b"a"
print(requests.post("http://localhost:8801/", data=c()).text, headers={"content-type": "application/x-www-form-urlencoded", "x-donkey": "balls"})
```
The server sees:
```
POST / HTTP/1.1
Host: localhost:8801
Accept-Encoding: gzip, deflate, compress
... | {
"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/1644/reactions"
} | https://api.github.com/repos/psf/requests/issues/1644/timeline | null | completed | null | null | false | [
"You're not sending the Headers in the request. Count your parentheses carefully, as I'll demonstrate by newlines:\n\n``` python\nprint(\n requests.post(\n \"http://localhost:8801/\", data=c()\n ).text, headers={\"content-type\": \"application/x-www-form-urlencoded\", \"x-donkey\": \"balls\"}\n)\n```\n... |
https://api.github.com/repos/psf/requests/issues/1643 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1643/labels{/name} | https://api.github.com/repos/psf/requests/issues/1643/comments | https://api.github.com/repos/psf/requests/issues/1643/events | https://github.com/psf/requests/pull/1643 | 20,400,908 | MDExOlB1bGxSZXF1ZXN0ODc3NjU5Ng== | 1,643 | fix: check 'cookie.value' before actions | {
"avatar_url": "https://avatars.githubusercontent.com/u/379644?v=4",
"events_url": "https://api.github.com/users/william-p/events{/privacy}",
"followers_url": "https://api.github.com/users/william-p/followers",
"following_url": "https://api.github.com/users/william-p/following{/other_user}",
"gists_url": "ht... | [
{
"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"
}
] | closed | true | null | [] | null | 9 | 2013-10-02T15:19:04Z | 2021-09-08T23:05:23Z | 2013-10-07T23:19:50Z | NONE | resolved | Just a small fix :)
| {
"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/1643/reactions"
} | https://api.github.com/repos/psf/requests/issues/1643/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1643.diff",
"html_url": "https://github.com/psf/requests/pull/1643",
"merged_at": "2013-10-07T23:19:50Z",
"patch_url": "https://github.com/psf/requests/pull/1643.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1643"
} | true | [
"Can you add a test to make sure this doesn't regress?\n",
"Yes of course, how i can do that ?\n",
"Can I get clarification here: is cookie.value `None`, or just the empty string?\n",
"In some situation cookie.value is `None` (i can't explain ...)\n\n```\nTraceback (most recent call last):\n File \"/home/che... |
https://api.github.com/repos/psf/requests/issues/1642 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1642/labels{/name} | https://api.github.com/repos/psf/requests/issues/1642/comments | https://api.github.com/repos/psf/requests/issues/1642/events | https://github.com/psf/requests/issues/1642 | 20,391,006 | MDU6SXNzdWUyMDM5MTAwNg== | 1,642 | Requests doesn't clean up on failed streaming uploads. | {
"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... | [
{
"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 | 2 | 2013-10-02T12:33:03Z | 2021-09-09T00:28:33Z | 2013-12-05T23:06:26Z | MEMBER | resolved | From [Reddit](http://www.reddit.com/r/Python/comments/1njuk5/python_for_network_engineers/ccjh56a):
> For instance, if you use it in a generator to stream content from a request and the connection dies, it doesn't clean up properly. You have to call close on the underlying socket but that's not done and it's not expos... | {
"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/1642/reactions"
} | https://api.github.com/repos/psf/requests/issues/1642/timeline | null | completed | null | null | false | [
"Yikes, this seems rather serious.\n",
"Fixed in 2.1.0 (hooray!).\n"
] |
https://api.github.com/repos/psf/requests/issues/1641 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1641/labels{/name} | https://api.github.com/repos/psf/requests/issues/1641/comments | https://api.github.com/repos/psf/requests/issues/1641/events | https://github.com/psf/requests/issues/1641 | 20,380,137 | MDU6SXNzdWUyMDM4MDEzNw== | 1,641 | Cannot send Single Key, Multiple value data in post because of the use of pythons dict. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1209874?v=4",
"events_url": "https://api.github.com/users/simonvc/events{/privacy}",
"followers_url": "https://api.github.com/users/simonvc/followers",
"following_url": "https://api.github.com/users/simonvc/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2013-10-02T08:17:52Z | 2021-09-09T01:22:19Z | 2013-10-02T08:25:18Z | NONE | resolved | Some Horrible APIs like Rightscales expect you to send the same key with multiple values. For example to set 2 security groups with rightscale you need to do the equivalent of:
curl ...
-d server[instance][security_group_hrefs][]=group1
-d server[instance][security_group_hrefs][]=group2
This isn't possible using t... | {
"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/1641/reactions"
} | https://api.github.com/repos/psf/requests/issues/1641/timeline | null | completed | null | null | false | [
"1. You can always provide your own post data.\n2. Support for this is built in :) \n\n```\nr = requests.post('http://httpbin.org/post', data={'a': [1,2,3]})\n```\n",
"Oh awesome, thanks for the quick response too! :+1: Thats worked for me.\n"
] |
https://api.github.com/repos/psf/requests/issues/1640 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1640/labels{/name} | https://api.github.com/repos/psf/requests/issues/1640/comments | https://api.github.com/repos/psf/requests/issues/1640/events | https://github.com/psf/requests/pull/1640 | 20,301,170 | MDExOlB1bGxSZXF1ZXN0ODcyNDgxNg== | 1,640 | Accept per-file headers in multipart file POST messages. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1808250?v=4",
"events_url": "https://api.github.com/users/abarnert/events{/privacy}",
"followers_url": "https://api.github.com/users/abarnert/followers",
"following_url": "https://api.github.com/users/abarnert/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 12 | 2013-10-01T00:09:08Z | 2021-09-08T23:11:11Z | 2013-10-07T23:21:16Z | CONTRIBUTOR | resolved | - Each file in the `files` argument can now be a 4-tuple, instead of
just a file, 2-tuple, or 3-tuple. If it is, the last value in the
tuple is a dictionary of extra headers.
- See [#1639](https://github.com/kennethreitz/requests/issues/1639) and [StackOverflow](http://stackoverflow.com/questions/19104924/how-to-ad... | {
"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/1640/reactions"
} | https://api.github.com/repos/psf/requests/issues/1640/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1640.diff",
"html_url": "https://github.com/psf/requests/pull/1640",
"merged_at": "2013-10-07T23:21:16Z",
"patch_url": "https://github.com/psf/requests/pull/1640.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1640"
} | true | [
"This would have to wait for 3.0 since it's a significant API change unless @kennethreitz or @Lukasa disagree.\n",
"This in principle looks great @abarnert, thanks so much!\n\nWe wouldn't need to wait until 3.0, because this change isn't backwards incompatible: adding the ability to pass a 4-tuple can be done in ... |
https://api.github.com/repos/psf/requests/issues/1639 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1639/labels{/name} | https://api.github.com/repos/psf/requests/issues/1639/comments | https://api.github.com/repos/psf/requests/issues/1639/events | https://github.com/psf/requests/issues/1639 | 20,300,788 | MDU6SXNzdWUyMDMwMDc4OA== | 1,639 | Support custom per-part headers in multipart upload | {
"avatar_url": "https://avatars.githubusercontent.com/u/662249?v=4",
"events_url": "https://api.github.com/users/dimaqq/events{/privacy}",
"followers_url": "https://api.github.com/users/dimaqq/followers",
"following_url": "https://api.github.com/users/dimaqq/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2013-09-30T23:58:05Z | 2021-09-09T01:22:19Z | 2013-10-01T08:07:31Z | NONE | resolved | As discussed on stackoverflow:
http://stackoverflow.com/questions/19104924/how-to-add-per-file-custom-header-to-multipart-upload-with-requests
A solution is proposed, something along these lines could be implemented in 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/1639/reactions"
} | https://api.github.com/repos/psf/requests/issues/1639/timeline | null | completed | null | null | false | [
"My solution on SO was a hack, to allow monkeypatching as little as possble. #1640 is a better solution to actually go upstream, and has a nicer API as well (the headers are just a fourth member of the file tuple, instead of turning the third member into a tuple of content-type and headers). Although I think it mig... |
https://api.github.com/repos/psf/requests/issues/1638 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1638/labels{/name} | https://api.github.com/repos/psf/requests/issues/1638/comments | https://api.github.com/repos/psf/requests/issues/1638/events | https://github.com/psf/requests/issues/1638 | 20,300,127 | MDU6SXNzdWUyMDMwMDEyNw== | 1,638 | Set-Cookie header parsing | {
"avatar_url": "https://avatars.githubusercontent.com/u/214840?v=4",
"events_url": "https://api.github.com/users/mtourne/events{/privacy}",
"followers_url": "https://api.github.com/users/mtourne/followers",
"following_url": "https://api.github.com/users/mtourne/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 31 | 2013-09-30T23:38:48Z | 2021-09-09T00:28:22Z | 2013-12-23T20:17:48Z | NONE | resolved | Hi,
I just upgraded from 0.8 to 2.0.0 and some of my code stopped working.
I have a cookie that looks like this :
Set-Cookie: clearance=xxxxxx; expires=Tue, 01-Oct-13 01:06:08 GMT; path=/; domain=.my_domain.com
with 0.8, r.cookies is set correctly, with 2.0.0 r.cookies is empty.
Interesting fact, if I remove the ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1638/reactions"
} | https://api.github.com/repos/psf/requests/issues/1638/timeline | null | completed | null | null | false | [
"> I also tested with 1.2.3 and it seems to have the same behavior.\n\nSame behaviour as what?\n",
"\"with 0.8, r.cookies is set correctly, with 2.0.0 r.cookies is empty.\"\n\n=> same behavior in 1.2.3 as 2.0.0\n",
"Do you have a website you can share with cookies with domains like that? I presume this is entir... |
https://api.github.com/repos/psf/requests/issues/1637 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1637/labels{/name} | https://api.github.com/repos/psf/requests/issues/1637/comments | https://api.github.com/repos/psf/requests/issues/1637/events | https://github.com/psf/requests/pull/1637 | 20,214,164 | MDExOlB1bGxSZXF1ZXN0ODY4NDA3NA== | 1,637 | Correctly lowercase a redirect scheme. | {
"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... | [
{
"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"
}
] | closed | true | null | [] | null | 1 | 2013-09-28T16:03:42Z | 2021-09-08T23:06:13Z | 2013-10-07T23:21:29Z | MEMBER | resolved | This resolves the problem from #1633.
| {
"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/1637/reactions"
} | https://api.github.com/repos/psf/requests/issues/1637/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1637.diff",
"html_url": "https://github.com/psf/requests/pull/1637",
"merged_at": "2013-10-07T23:21:29Z",
"patch_url": "https://github.com/psf/requests/pull/1637.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1637"
} | true | [
"LGTM\n"
] |
https://api.github.com/repos/psf/requests/issues/1636 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1636/labels{/name} | https://api.github.com/repos/psf/requests/issues/1636/comments | https://api.github.com/repos/psf/requests/issues/1636/events | https://github.com/psf/requests/pull/1636 | 20,213,080 | MDExOlB1bGxSZXF1ZXN0ODY4MzcxMw== | 1,636 | Don't send the full URL on CONNECT messages. | {
"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... | [
{
"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"
}
] | closed | true | null | [] | null | 4 | 2013-09-28T14:50:19Z | 2021-09-08T23:06:24Z | 2013-10-07T23:23:18Z | MEMBER | resolved | This should resolve the problem from #1631.
@atomontage, can you try testing with this version of Requests to confirm that it resolves your problem?
| {
"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/1636/reactions"
} | https://api.github.com/repos/psf/requests/issues/1636/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1636.diff",
"html_url": "https://github.com/psf/requests/pull/1636",
"merged_at": "2013-10-07T23:23:18Z",
"patch_url": "https://github.com/psf/requests/pull/1636.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1636"
} | true | [
"I had 'Response [599]' errors, have been breaking my head the last 2 days over this. Finally I was sure it was a bug in requests, then I just woke up and found this patch. It solves my https proxy issues, you've made my day, thanks!!\n",
"Glad to hear this was helpful! This should hopefully be in the next releas... |
https://api.github.com/repos/psf/requests/issues/1635 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1635/labels{/name} | https://api.github.com/repos/psf/requests/issues/1635/comments | https://api.github.com/repos/psf/requests/issues/1635/events | https://github.com/psf/requests/pull/1635 | 20,213,077 | MDExOlB1bGxSZXF1ZXN0ODY4MzcxMg== | 1,635 | Fixed #1630 and added test case. | {
"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... | [
{
"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"
}
] | closed | true | null | [] | null | 4 | 2013-09-28T14:50:12Z | 2021-09-08T23:07:27Z | 2013-10-07T23:22:49Z | CONTRIBUTOR | resolved | I've added logic for adding cookies to the Session cookie jar in `Session.request`.
| {
"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/1635/reactions"
} | https://api.github.com/repos/psf/requests/issues/1635/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1635.diff",
"html_url": "https://github.com/psf/requests/pull/1635",
"merged_at": "2013-10-07T23:22:49Z",
"patch_url": "https://github.com/psf/requests/pull/1635.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1635"
} | true | [
"This is an awesome start! The test failures aren't relevant to your work, so that's fine.\n\nI've made a note in the diff: if you go ahead and implement that I'll get Kenneth to take a look. =)\n",
"@Lukasa I pushed updated version, Thanks!\n",
"Awesome, that looks much better. I'll grab Kenneth and get him to... |
https://api.github.com/repos/psf/requests/issues/1634 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1634/labels{/name} | https://api.github.com/repos/psf/requests/issues/1634/comments | https://api.github.com/repos/psf/requests/issues/1634/events | https://github.com/psf/requests/issues/1634 | 20,211,631 | MDU6SXNzdWUyMDIxMTYzMQ== | 1,634 | Mimic CURLOPT_HTTPAUTH from curl | {
"avatar_url": "https://avatars.githubusercontent.com/u/71349?v=4",
"events_url": "https://api.github.com/users/thikonom/events{/privacy}",
"followers_url": "https://api.github.com/users/thikonom/followers",
"following_url": "https://api.github.com/users/thikonom/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 4 | 2013-09-28T12:42:57Z | 2021-09-09T01:22:20Z | 2013-09-28T15:19:16Z | NONE | resolved | I believe it'd be nice if we could have the option to define more than one authorisation methods in a request. It is useful in cases where one is not aware of the auth methods the servers supports.
The way it could work is by polling the server, finding out which methods it supports and picking the best one to proceed.... | {
"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/1634/reactions"
} | https://api.github.com/repos/psf/requests/issues/1634/timeline | null | completed | null | null | false | [
"I'm -1 on this personally but @Lukasa and @kennethreitz might have different opinions.\n",
"Yeah, I'm -1 on this as well. If you genuinely have to do this, you can just check the `Authorization` header on the original 401 and then follow up with the correct kind of Auth. =)\n",
"@Lukasa `WWW-Authenticate` you ... |
https://api.github.com/repos/psf/requests/issues/1633 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1633/labels{/name} | https://api.github.com/repos/psf/requests/issues/1633/comments | https://api.github.com/repos/psf/requests/issues/1633/events | https://github.com/psf/requests/issues/1633 | 20,199,883 | MDU6SXNzdWUyMDE5OTg4Mw== | 1,633 | 2.0.0 fails to handle some 307 redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/506087?v=4",
"events_url": "https://api.github.com/users/hackerfriendly/events{/privacy}",
"followers_url": "https://api.github.com/users/hackerfriendly/followers",
"following_url": "https://api.github.com/users/hackerfriendly/following{/other_user}",
"... | [] | closed | true | null | [] | null | 4 | 2013-09-27T22:55:24Z | 2021-09-09T00:34:30Z | 2013-10-11T11:06:24Z | NONE | resolved | Requests fails to handle the final 307 redirect at this URL. Instead of using the Location: supplied in the 307, it continually requests the previous location (until exceeding 30 redirects):
```
import requests
req = requests.get('http://ensembl.org/saccharomyces_cerevisiae/Location/View?r=II:5175-7175;contigviewbotto... | {
"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/1633/reactions"
} | https://api.github.com/repos/psf/requests/issues/1633/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nAs you suggest above but don't really commit to above, this has actually got nothing to do with the status code and everything to do with the URL. The redirects I get when I do this are as follows:\n\n```\n301 -> 'http://www.ensembl.org/saccharomyces_cerevisiae/Location/View?r=II:... |
https://api.github.com/repos/psf/requests/issues/1632 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1632/labels{/name} | https://api.github.com/repos/psf/requests/issues/1632/comments | https://api.github.com/repos/psf/requests/issues/1632/events | https://github.com/psf/requests/issues/1632 | 20,197,318 | MDU6SXNzdWUyMDE5NzMxOA== | 1,632 | Add helper method analogous to urllib.urlretrieve | {
"avatar_url": "https://avatars.githubusercontent.com/u/105314?v=4",
"events_url": "https://api.github.com/users/hickford/events{/privacy}",
"followers_url": "https://api.github.com/users/hickford/followers",
"following_url": "https://api.github.com/users/hickford/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2013-09-27T21:51:15Z | 2021-09-09T01:22:20Z | 2013-09-28T14:37:10Z | NONE | resolved | The method [`urllib.urlretrieve`](http://docs.python.org/2/library/urllib.html#urllib.urlretrieve) downloads a file from a URL and saves it to disk.
> Copy a network object denoted by a URL to a local file, if necessary. If the URL points to a local file, or a valid cached copy of the object exists, the object is not... | {
"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/1632/reactions"
} | https://api.github.com/repos/psf/requests/issues/1632/timeline | null | completed | null | null | false | [
"There is no such analogous method, and the core library shouldn't have one. =) Instead, it should make writing one easy, which it does:\n\n``` python\ndef urlretrieve(path, url):\n with open(path, 'wb') as f:\n r = requests.get(url, stream=True)\n r.raise_for_status() # Replace this with better e... |
https://api.github.com/repos/psf/requests/issues/1631 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1631/labels{/name} | https://api.github.com/repos/psf/requests/issues/1631/comments | https://api.github.com/repos/psf/requests/issues/1631/events | https://github.com/psf/requests/issues/1631 | 20,172,301 | MDU6SXNzdWUyMDE3MjMwMQ== | 1,631 | Requests 2.0 breaks POST requests made through HTTPS proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/453886?v=4",
"events_url": "https://api.github.com/users/atomontage/events{/privacy}",
"followers_url": "https://api.github.com/users/atomontage/followers",
"following_url": "https://api.github.com/users/atomontage/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2013-09-27T14:05:23Z | 2021-09-09T01:22:19Z | 2013-09-30T13:39:53Z | NONE | resolved | System configured HTTPS proxy, reported by urllib2.getproxies() as:
```
{'https' : 'https://10.1.1.1:3128'}
```
The target webserver is 2.2.2.2.
Requests 2.0 doing a POST through the system configured proxy:
```
requests.post('https://2.2.2.2:6666/test', verify=False)
```
The web server receives the POST as:
```
[... | {
"avatar_url": "https://avatars.githubusercontent.com/u/453886?v=4",
"events_url": "https://api.github.com/users/atomontage/events{/privacy}",
"followers_url": "https://api.github.com/users/atomontage/followers",
"following_url": "https://api.github.com/users/atomontage/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/1631/reactions"
} | https://api.github.com/repos/psf/requests/issues/1631/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nI believe this bug is a hangover from 1.X, when we didn't do HTTP CONNECT processing. Because we didn't do CONNECT, the proxy always needed the full url in the status line. Now that we do CONNECT, we should stop doing that for HTTPS requests. I'll prepare a pull request.\n",
"Pa... |
https://api.github.com/repos/psf/requests/issues/1630 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1630/labels{/name} | https://api.github.com/repos/psf/requests/issues/1630/comments | https://api.github.com/repos/psf/requests/issues/1630/events | https://github.com/psf/requests/issues/1630 | 20,158,932 | MDU6SXNzdWUyMDE1ODkzMg== | 1,630 | Cookies not persisted when set via functional API. | {
"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... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 7 | 2013-09-27T08:50:44Z | 2021-09-09T00:34:24Z | 2013-10-07T23:22:49Z | MEMBER | resolved | Cookies set as part of a call to `Session.request()` (or any of the top level methods that call it) are _not_ persisted, including on redirects.
Expected behaviour:
``` python
>>> s = requests.Session()
>>> r = s.get('http://httpbin.org/redirect/1', cookies={'Hi': 'There'})
>>> print r.request.headers['Cookie']
'hi=t... | {
"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/1630/reactions"
} | https://api.github.com/repos/psf/requests/issues/1630/timeline | null | completed | null | null | false | [
"In the hope of getting more contributors, I'm going to leave my diagnosis of the bug up here for a little while before I take a pass at fixing it.\n\nThe specific problem in this bug is that we don't add cookies on a prepared request to the Session unless they were set by the server. There are three possible scope... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.