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/2731
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2731/labels{/name}
https://api.github.com/repos/psf/requests/issues/2731/comments
https://api.github.com/repos/psf/requests/issues/2731/events
https://github.com/psf/requests/issues/2731
101,679,066
MDU6SXNzdWUxMDE2NzkwNjY=
2,731
content-length header value not available after get
{ "avatar_url": "https://avatars.githubusercontent.com/u/2753206?v=4", "events_url": "https://api.github.com/users/medington/events{/privacy}", "followers_url": "https://api.github.com/users/medington/followers", "following_url": "https://api.github.com/users/medington/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
3
2015-08-18T15:09:45Z
2021-09-08T22:00:58Z
2015-08-18T15:22:07Z
NONE
resolved
I'm unable to get content-length reliably with the requests library whereas urllib2 seems to retrieve the data consistently. Not sure if additional code is required or if the URL I'm hitting is problematic. Run this script and compare the results. I consistently get **None** from requests. Using the other test_url I c...
{ "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/2731/reactions" }
https://api.github.com/repos/psf/requests/issues/2731/timeline
null
completed
null
null
false
[ "Questions belong on [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests).\n\nThat said, have you checked to see if you're getting a chunked transfer-encoding?\n", "Sorry, my bad. I thought it might have been a legitimate issue since the results were inconsistent between runs even using the...
https://api.github.com/repos/psf/requests/issues/2730
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2730/labels{/name}
https://api.github.com/repos/psf/requests/issues/2730/comments
https://api.github.com/repos/psf/requests/issues/2730/events
https://github.com/psf/requests/pull/2730
101,205,225
MDExOlB1bGxSZXF1ZXN0NDI1MjQ5MDQ=
2,730
Fixed minor rendering issue in documentation code blocks
{ "avatar_url": "https://avatars.githubusercontent.com/u/6345?v=4", "events_url": "https://api.github.com/users/bmispelon/events{/privacy}", "followers_url": "https://api.github.com/users/bmispelon/followers", "following_url": "https://api.github.com/users/bmispelon/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
2
2015-08-15T19:59:00Z
2021-09-08T07:00:45Z
2015-08-15T20:02:06Z
CONTRIBUTOR
resolved
Some of the code blocks on the quickstart page had an issue where they were rendered as two separate `<pre>`, making them inconsitent with the others. Before: ![quickstart_ _requests_2 7 0_documentation_-_2015-08-15_21 51 01](https://cloud.githubusercontent.com/assets/6345/9290559/22c82672-4398-11e5-8e94-b5cbf2205709....
{ "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/2730/reactions" }
https://api.github.com/repos/psf/requests/issues/2730/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2730.diff", "html_url": "https://github.com/psf/requests/pull/2730", "merged_at": "2015-08-15T20:02:06Z", "patch_url": "https://github.com/psf/requests/pull/2730.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2730" }
true
[ ":sparkles: :cake: :sparkles: Thanks @bmispelon!\n", ":rabbit2: :racehorse: :tada: \n" ]
https://api.github.com/repos/psf/requests/issues/2729
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2729/labels{/name}
https://api.github.com/repos/psf/requests/issues/2729/comments
https://api.github.com/repos/psf/requests/issues/2729/events
https://github.com/psf/requests/pull/2729
101,195,999
MDExOlB1bGxSZXF1ZXN0NDI1MjM0MzU=
2,729
Add own name to "AUTHORS" after PR #2724
{ "avatar_url": "https://avatars.githubusercontent.com/u/354181?v=4", "events_url": "https://api.github.com/users/smiley/events{/privacy}", "followers_url": "https://api.github.com/users/smiley/followers", "following_url": "https://api.github.com/users/smiley/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
1
2015-08-15T18:20:47Z
2021-09-08T07:00:45Z
2015-08-15T18:42:21Z
CONTRIBUTOR
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/2729/reactions" }
https://api.github.com/repos/psf/requests/issues/2729/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2729.diff", "html_url": "https://github.com/psf/requests/pull/2729", "merged_at": "2015-08-15T18:42:21Z", "patch_url": "https://github.com/psf/requests/pull/2729.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2729" }
true
[ "\\o/\n" ]
https://api.github.com/repos/psf/requests/issues/2728
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2728/labels{/name}
https://api.github.com/repos/psf/requests/issues/2728/comments
https://api.github.com/repos/psf/requests/issues/2728/events
https://github.com/psf/requests/pull/2728
101,157,320
MDExOlB1bGxSZXF1ZXN0NDI1MTcxODY=
2,728
Docs: Fix links to `timeouts` section by using :ref:
{ "avatar_url": "https://avatars.githubusercontent.com/u/405124?v=4", "events_url": "https://api.github.com/users/lukasgraf/events{/privacy}", "followers_url": "https://api.github.com/users/lukasgraf/followers", "following_url": "https://api.github.com/users/lukasgraf/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
1
2015-08-15T10:11:50Z
2021-09-08T07:00:45Z
2015-08-15T13:24:20Z
CONTRIBUTOR
resolved
This fixes three links (from docstrings) to the [<`timeouts`>](http://docs.python-requests.org/en/latest/user/advanced/#timeouts) section by using `:ref:` instead of linking to `.html` files (which are only available when building docs locally, but not in the published docs on RTD). Fixes #2698
{ "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/2728/reactions" }
https://api.github.com/repos/psf/requests/issues/2728/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2728.diff", "html_url": "https://github.com/psf/requests/pull/2728", "merged_at": "2015-08-15T13:24:20Z", "patch_url": "https://github.com/psf/requests/pull/2728.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2728" }
true
[ "LGTM, thanks! :cake: :sparkles: :cake:\n" ]
https://api.github.com/repos/psf/requests/issues/2727
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2727/labels{/name}
https://api.github.com/repos/psf/requests/issues/2727/comments
https://api.github.com/repos/psf/requests/issues/2727/events
https://github.com/psf/requests/issues/2727
101,117,848
MDU6SXNzdWUxMDExMTc4NDg=
2,727
Add bitcoin donation info to README.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/1767769?v=4", "events_url": "https://api.github.com/users/DoWhileGeek/events{/privacy}", "followers_url": "https://api.github.com/users/DoWhileGeek/followers", "following_url": "https://api.github.com/users/DoWhileGeek/following{/other_user}", "gists_ur...
[]
closed
true
null
[]
null
3
2015-08-14T22:48:58Z
2021-09-08T21:00:50Z
2015-11-05T10:33:52Z
NONE
resolved
I would like to donate on a monthly basis, and I'm sure others do too. I'm not a particular fan of one time donations which you've recently added to the docs landing page. I would however love to make small, monthly, bitcoin donations.
{ "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/2727/reactions" }
https://api.github.com/repos/psf/requests/issues/2727/timeline
null
completed
null
null
false
[ "Looks like Requests already accepts (micro)donations [through Flattr](https://flattr.com/thing/442264/Requests), so you could use that for monthly donations. (But I'm not sure if you can manually set the amount you donate _specifically to requests_...)\n", "This is a structural problem we need to work out in a w...
https://api.github.com/repos/psf/requests/issues/2726
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2726/labels{/name}
https://api.github.com/repos/psf/requests/issues/2726/comments
https://api.github.com/repos/psf/requests/issues/2726/events
https://github.com/psf/requests/issues/2726
101,091,540
MDU6SXNzdWUxMDEwOTE1NDA=
2,726
Connection reset by peer on get requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/1319093?v=4", "events_url": "https://api.github.com/users/mkates/events{/privacy}", "followers_url": "https://api.github.com/users/mkates/followers", "following_url": "https://api.github.com/users/mkates/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
2
2015-08-14T19:57:46Z
2021-09-08T22:00:59Z
2015-08-15T15:00:30Z
NONE
resolved
In making a request to a third party resource, https://www.example.com, I am getting the following traceback: ``` python import requests; requests.get('http://www.example.com') Traceback (most recent call last): (......traceback.....) File "/Users/python3.4/site-packages/requests/adapters.py", line 415, in send ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1319093?v=4", "events_url": "https://api.github.com/users/mkates/events{/privacy}", "followers_url": "https://api.github.com/users/mkates/followers", "following_url": "https://api.github.com/users/mkates/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/2726/reactions" }
https://api.github.com/repos/psf/requests/issues/2726/timeline
null
completed
null
null
false
[ "Yeah, connection reset by peer means the remote peer doesn't like the TLS handshake much. It's difficult to know without tcpdumping what the problem is here. I don't see the problem on my end though: do you have PyOpenSSL installed?\n", "It was an issue with the SSL certificate on their site, which has since bee...
https://api.github.com/repos/psf/requests/issues/2725
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2725/labels{/name}
https://api.github.com/repos/psf/requests/issues/2725/comments
https://api.github.com/repos/psf/requests/issues/2725/events
https://github.com/psf/requests/issues/2725
101,046,018
MDU6SXNzdWUxMDEwNDYwMTg=
2,725
Requests.put blocking on Windows (Tika-Python)
{ "avatar_url": "https://avatars.githubusercontent.com/u/395887?v=4", "events_url": "https://api.github.com/users/chrismattmann/events{/privacy}", "followers_url": "https://api.github.com/users/chrismattmann/followers", "following_url": "https://api.github.com/users/chrismattmann/following{/other_user}", "gis...
[]
closed
true
null
[]
null
52
2015-08-14T16:22:14Z
2021-09-08T21:00:56Z
2015-10-24T14:37:16Z
NONE
resolved
Over in the [Apache Tika Python Port](http://github.com/chrismattmann/tika-python/) I'm noticing in [tika-python#44](http://github.com/chrismattmann/tika-python/issues/44) and in [tika-python#58](http://github.com/chrismattmann/tika-python/issues/58) some odd behavior with requests on Python 2.7.9. For whatever reason,...
{ "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/2725/reactions" }
https://api.github.com/repos/psf/requests/issues/2725/timeline
null
completed
null
null
false
[ "Any requests call that uploads a request body will send the entire body before attempting to read the response. That means that, if the remote end does not close that connection abruptly (throwing an Exception on our end), we'll block until the response has been entirely sent.\n\nSadly, we don't support the 100-co...
https://api.github.com/repos/psf/requests/issues/2724
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2724/labels{/name}
https://api.github.com/repos/psf/requests/issues/2724/comments
https://api.github.com/repos/psf/requests/issues/2724/events
https://github.com/psf/requests/pull/2724
101,023,200
MDExOlB1bGxSZXF1ZXN0NDI0NjIxMDk=
2,724
Add documentation in "More complicated POST requests" (Quickstart) to resolve #2686
{ "avatar_url": "https://avatars.githubusercontent.com/u/354181?v=4", "events_url": "https://api.github.com/users/smiley/events{/privacy}", "followers_url": "https://api.github.com/users/smiley/followers", "following_url": "https://api.github.com/users/smiley/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
2
2015-08-14T14:37:04Z
2021-09-08T07:00:46Z
2015-08-14T19:30:00Z
CONTRIBUTOR
resolved
As suggested in #2686, I added a snippet about `requests.post(json=...)` to [Quickstart#More complicated POST requests](http://docs.python-requests.org/en/latest/user/quickstart/#more-complicated-post-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/2724/reactions" }
https://api.github.com/repos/psf/requests/issues/2724/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2724.diff", "html_url": "https://github.com/psf/requests/pull/2724", "merged_at": "2015-08-14T19:30:00Z", "patch_url": "https://github.com/psf/requests/pull/2724.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2724" }
true
[ "\\o/ Beautiful, thankyou so much! :cake: :sparkles: \n", "Feel free to open a PR that adds you to AUTHORS as well. =)\n" ]
https://api.github.com/repos/psf/requests/issues/2722
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2722/labels{/name}
https://api.github.com/repos/psf/requests/issues/2722/comments
https://api.github.com/repos/psf/requests/issues/2722/events
https://github.com/psf/requests/issues/2722
100,882,226
MDU6SXNzdWUxMDA4ODIyMjY=
2,722
Proxies that depend on the URL
{ "avatar_url": "https://avatars.githubusercontent.com/u/192614?v=4", "events_url": "https://api.github.com/users/jasongrout/events{/privacy}", "followers_url": "https://api.github.com/users/jasongrout/followers", "following_url": "https://api.github.com/users/jasongrout/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
8
2015-08-13T22:19:04Z
2021-09-08T22:00:51Z
2015-09-06T03:02:41Z
CONTRIBUTOR
resolved
Currently the proxies dictionary supports only schemes as keys. In networks with multiple proxies, this may not be sufficient for picking the correct proxy. I propose that we allow scheme+hostname, hostname, and scheme (in that order) as keys, searched in that order. Changing this line, https://github.com/kennethrei...
{ "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/2722/reactions" }
https://api.github.com/repos/psf/requests/issues/2722/timeline
null
completed
null
null
false
[ "This might be a good idea, but I wonder how it plays out with the other proxy variables. This needs to be carefully considered. \n\nHow is this handled by other tools? `apt-get`, for instance?\n", "Good idea to look at apt. According to http://manpages.ubuntu.com/manpages/utopic/man5/apt.conf.5.html, apt suppor...
https://api.github.com/repos/psf/requests/issues/2721
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2721/labels{/name}
https://api.github.com/repos/psf/requests/issues/2721/comments
https://api.github.com/repos/psf/requests/issues/2721/events
https://github.com/psf/requests/pull/2721
100,845,057
MDExOlB1bGxSZXF1ZXN0NDIzODY2NDA=
2,721
Ignore empty fields in no_proxy env var
{ "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[ { "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}...
{ "closed_at": "2015-10-12T10:32:06Z", "closed_issues": 7, "created_at": "2015-04-29T13:03:39Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users...
3
2015-08-13T19:05:23Z
2021-09-08T06:00:56Z
2015-10-05T14:28:49Z
MEMBER
resolved
Resolves #2720.
{ "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/2721/reactions" }
https://api.github.com/repos/psf/requests/issues/2721/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2721.diff", "html_url": "https://github.com/psf/requests/pull/2721", "merged_at": "2015-10-05T14:28:49Z", "patch_url": "https://github.com/psf/requests/pull/2721.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2721" }
true
[ ":+1: looks good to me.\n", "@tlc would you like to test this before we merge it?\n", "I think this should go in to 2.8.0.\n" ]
https://api.github.com/repos/psf/requests/issues/2720
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2720/labels{/name}
https://api.github.com/repos/psf/requests/issues/2720/comments
https://api.github.com/repos/psf/requests/issues/2720/events
https://github.com/psf/requests/issues/2720
100,831,759
MDU6SXNzdWUxMDA4MzE3NTk=
2,720
Extra commas in NO_PROXY or no_proxy env var break all proxy requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/19436?v=4", "events_url": "https://api.github.com/users/tlc/events{/privacy}", "followers_url": "https://api.github.com/users/tlc/followers", "following_url": "https://api.github.com/users/tlc/following{/other_user}", "gists_url": "https://api.github.co...
[]
closed
true
null
[]
null
4
2015-08-13T18:04:41Z
2018-06-22T12:03:13Z
2015-10-05T14:28:49Z
NONE
off-topic
Using requests 2.7.0 via TwitterAPI, I successfully proxy requests by setting https_proxy in my environment. If either `no_proxy` or `NO_PROXY` is set to `,` or `foo.com,,bar.com` or `foo.com,`, I get: ``` WARNING:root:<class 'requests.exceptions.ConnectTimeout'> HTTPSConnectionPool(host='api.twitter.com', port=443):...
{ "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/2720/reactions" }
https://api.github.com/repos/psf/requests/issues/2720/timeline
null
completed
null
null
false
[ "Yup, this looks like a legitimate bug: our parsing of the `no_proxy` environment variable does not tolerate spaces.\n\nI think we can fix this up pretty easily.\n", "This should be fixed by #2721.\n", "Hey Guys, Here's quick solution for this PIP bug. simply Take HTTP_PROXY and HTTPS_PROXY env. vars and delete...
https://api.github.com/repos/psf/requests/issues/2719
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2719/labels{/name}
https://api.github.com/repos/psf/requests/issues/2719/comments
https://api.github.com/repos/psf/requests/issues/2719/events
https://github.com/psf/requests/issues/2719
100,798,164
MDU6SXNzdWUxMDA3OTgxNjQ=
2,719
Wrong enconding detection for text/* content types (ISO-8859-1)
{ "avatar_url": "https://avatars.githubusercontent.com/u/515021?v=4", "events_url": "https://api.github.com/users/theyoprst/events{/privacy}", "followers_url": "https://api.github.com/users/theyoprst/followers", "following_url": "https://api.github.com/users/theyoprst/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
2
2015-08-13T15:24:29Z
2021-09-08T23:00:41Z
2015-08-13T18:57:50Z
NONE
resolved
Hi. I've read the docs which refer to RFC 2616: > The "charset" parameter is used with some media types to define the character set (section 3.4) of the data. When no explicit charset parameter is provided by the sender, media subtypes of the "text" type are defined to have a default charset value of "ISO-8859-1" whe...
{ "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/2719/reactions" }
https://api.github.com/repos/psf/requests/issues/2719/timeline
null
completed
null
null
false
[ "Hi there! Thanks for this issue, you've done some exhaustive research!\n\nThis is a known issue: see #2086. The upshot of this is that we agree that the current behaviour is wrong. It should be noted that browsers aren't ignoring the heuristic. The heuristic explicitly points out that information from the body (e....
https://api.github.com/repos/psf/requests/issues/2718
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2718/labels{/name}
https://api.github.com/repos/psf/requests/issues/2718/comments
https://api.github.com/repos/psf/requests/issues/2718/events
https://github.com/psf/requests/issues/2718
100,718,932
MDU6SXNzdWUxMDA3MTg5MzI=
2,718
Passing a list with size one to request.get transforms list into single element
{ "avatar_url": "https://avatars.githubusercontent.com/u/9353824?v=4", "events_url": "https://api.github.com/users/hlnlwj/events{/privacy}", "followers_url": "https://api.github.com/users/hlnlwj/followers", "following_url": "https://api.github.com/users/hlnlwj/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
4
2015-08-13T08:59:23Z
2021-09-08T23:00:41Z
2015-08-13T13:55:20Z
NONE
resolved
Hello, I'm using Python 2.7.6 and requests (2.6.2). When I try to send a GET request with this payload : ``` python { 'event_parameter_2': datetime(2014, 3, 9, 6, 11, 35), 'event_parameter_3': [u'eligendi'], 'event_parameter_4': u'sc', } ``` The `event_parameter_3` field isn't a List type anymore, but a Str...
{ "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/2718/reactions" }
https://api.github.com/repos/psf/requests/issues/2718/timeline
null
completed
null
null
false
[ "Thanks for this report!\n\nYour summary is not quite accurate. The output that you are unhappy with in the first case is strictly formatted exactly the same as the output you _are_ happy with in the second case. The second case has multiple entries with the same name: the same number of entries as elements in the ...
https://api.github.com/repos/psf/requests/issues/2717
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2717/labels{/name}
https://api.github.com/repos/psf/requests/issues/2717/comments
https://api.github.com/repos/psf/requests/issues/2717/events
https://github.com/psf/requests/issues/2717
100,507,160
MDU6SXNzdWUxMDA1MDcxNjA=
2,717
"OverflowError: string longer than 2147483647 bytes" when trying requests.put
{ "avatar_url": "https://avatars.githubusercontent.com/u/12417391?v=4", "events_url": "https://api.github.com/users/EB123/events{/privacy}", "followers_url": "https://api.github.com/users/EB123/followers", "following_url": "https://api.github.com/users/EB123/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
33
2015-08-12T09:49:47Z
2020-11-10T14:53:32Z
2015-08-12T15:31:22Z
NONE
resolved
Hi, I'm trying to upload a file that weight about 3GB and I'm getting the following error: "OverflowError: string longer than 2147483647 bytes" If I understand correctly it seems like there's a 2GB limit? didnt manage to find any reference to such limiation or how to bypass it (if possible). The code i'm using 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/2717/reactions" }
https://api.github.com/repos/psf/requests/issues/2717/timeline
null
completed
null
null
false
[ "Rather than reading the entire file and sending it across in a single request, would it be possible for you to use chunked transfer encoding? http://docs.python-requests.org/en/latest/user/advanced/#chunk-encoded-requests\n", "This limitation is in `httplib`. You can easily avoid it by slightly changing your cod...
https://api.github.com/repos/psf/requests/issues/2716
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2716/labels{/name}
https://api.github.com/repos/psf/requests/issues/2716/comments
https://api.github.com/repos/psf/requests/issues/2716/events
https://github.com/psf/requests/issues/2716
99,878,720
MDU6SXNzdWU5OTg3ODcyMA==
2,716
Strange behavior when setting cookie value to None in the method-level parameter
{ "avatar_url": "https://avatars.githubusercontent.com/u/10273733?v=4", "events_url": "https://api.github.com/users/mcpwlk/events{/privacy}", "followers_url": "https://api.github.com/users/mcpwlk/followers", "following_url": "https://api.github.com/users/mcpwlk/following{/other_user}", "gists_url": "https://a...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" } ]
open
false
null
[]
null
4
2015-08-09T09:27:56Z
2015-08-28T17:36:50Z
null
NONE
null
After running the following code ``` s = requests.Session() s.cookies.update({'from-my': 'browser'}) r = s.get('http://httpbin.org/cookies', cookies={'another': 'cookie', 'from-my': None}) print r.text ``` the output is ``` { "cookies": { "from-my; another": "cookie" } } ``` I used Python 2.7.6 and requests...
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2716/reactions" }
https://api.github.com/repos/psf/requests/issues/2716/timeline
null
null
null
null
false
[ "Because I recently updated that section of the docs, I examined this behavior in order to make sure I didn't add incorrect/misleading documentation. \n\nI believe this is because the pattern of _\"Remove a Value From a Dict Parameter by setting it to `None`\"_ simply isn't being considered for cookies when [mergin...
https://api.github.com/repos/psf/requests/issues/2715
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2715/labels{/name}
https://api.github.com/repos/psf/requests/issues/2715/comments
https://api.github.com/repos/psf/requests/issues/2715/events
https://github.com/psf/requests/issues/2715
99,818,636
MDU6SXNzdWU5OTgxODYzNg==
2,715
Capitalize response reasons.
{ "avatar_url": "https://avatars.githubusercontent.com/u/717735?v=4", "events_url": "https://api.github.com/users/betolink/events{/privacy}", "followers_url": "https://api.github.com/users/betolink/followers", "following_url": "https://api.github.com/users/betolink/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
3
2015-08-08T17:21:10Z
2021-09-08T23:00:42Z
2015-08-08T17:25:33Z
NONE
resolved
This is a somewhat trivial thing, I ran into a "bug" while grouping responses by reason instead of status codes. This is of course a very particular case but just to be consistent it may be a good idea to have response.reason always be "NOT FOUND" instead of "Not Found", "Not found", "not found" etc.
{ "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/2715/reactions" }
https://api.github.com/repos/psf/requests/issues/2715/timeline
null
completed
null
null
false
[ "Generally speaking, reason phrases are not to be trusted when provided by the server. There is no requirement that they be the same as the status code: nothing's really wrong with sending `200 NO PROBLEM BOSS`, for example, aside from the fact that the spec says you shouldn't.\n\nFor that reason, you should not re...
https://api.github.com/repos/psf/requests/issues/2714
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2714/labels{/name}
https://api.github.com/repos/psf/requests/issues/2714/comments
https://api.github.com/repos/psf/requests/issues/2714/events
https://github.com/psf/requests/pull/2714
99,764,744
MDExOlB1bGxSZXF1ZXN0NDE5NDc2MDM=
2,714
[WIP] Add a custom requests cookie policy
{ "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": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
[ { "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url...
{ "closed_at": null, "closed_issues": 29, "created_at": "2013-11-17T11:29:34Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", ...
14
2015-08-08T03:16:16Z
2021-09-07T00:06:35Z
2017-02-10T17:21:45Z
CONTRIBUTOR
resolved
This ensures that we follow RFC 6265 Section 4.1.2.3 appropriately. If a cookie is returned without a domain attribute, we do not want to send it to subdomains. Closes #2576 --- Needs: - [ ] Tests - [ ] Documenting this breaking change - [ ] Porting to requests-toolbelt for early adopters - [ ] Backport to master 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/2714/reactions" }
https://api.github.com/repos/psf/requests/issues/2714/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2714.diff", "html_url": "https://github.com/psf/requests/pull/2714", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2714.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2714" }
true
[ "Actually, this isn't right. We probably need to just override `return_ok_domain`. This is too soon, since we only care about this for subdomains.\n", "Heh, I was just about to leave a code review comment to that effect until I saw your comment. This is definitely WIP, we should tag it as such. =)\n", "Yep. Aft...
https://api.github.com/repos/psf/requests/issues/2713
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2713/labels{/name}
https://api.github.com/repos/psf/requests/issues/2713/comments
https://api.github.com/repos/psf/requests/issues/2713/events
https://github.com/psf/requests/pull/2713
99,744,420
MDExOlB1bGxSZXF1ZXN0NDE5NDEwMjQ=
2,713
Docs: Clarify that method-level parameters are not persisted in sessions.
{ "avatar_url": "https://avatars.githubusercontent.com/u/405124?v=4", "events_url": "https://api.github.com/users/lukasgraf/events{/privacy}", "followers_url": "https://api.github.com/users/lukasgraf/followers", "following_url": "https://api.github.com/users/lukasgraf/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
5
2015-08-07T23:01:27Z
2021-09-08T07:00:46Z
2015-08-08T01:18:21Z
CONTRIBUTOR
resolved
This adds a paragraph to the **session docs** that clarifies the fact that **method-level parameters are not persisted across requests**, even when a session is being used (fixes #2488). As an example I used cookies, and included a pointer to the [Cookie utility functions](http://docs.python-requests.org/en/latest/api...
{ "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/2713/reactions" }
https://api.github.com/repos/psf/requests/issues/2713/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2713.diff", "html_url": "https://github.com/psf/requests/pull/2713", "merged_at": "2015-08-08T01:18:21Z", "patch_url": "https://github.com/psf/requests/pull/2713.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2713" }
true
[ "Eh, I'd rather not add a bunch of labels to one file just to be able to use _1_ in the docs.\n", "@sigmavirus24 got it, I'll remove all the ones except the one for the cookies section. Should I stick with the `api-` prefix or drop that as well?\n", "The api- prefix makes sense. Thanks.\n", "@sigmavirus24 upd...
https://api.github.com/repos/psf/requests/issues/2712
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2712/labels{/name}
https://api.github.com/repos/psf/requests/issues/2712/comments
https://api.github.com/repos/psf/requests/issues/2712/events
https://github.com/psf/requests/pull/2712
99,709,441
MDExOlB1bGxSZXF1ZXN0NDE5MjM0MDE=
2,712
Document use of sessions as context managers
{ "avatar_url": "https://avatars.githubusercontent.com/u/405124?v=4", "events_url": "https://api.github.com/users/lukasgraf/events{/privacy}", "followers_url": "https://api.github.com/users/lukasgraf/followers", "following_url": "https://api.github.com/users/lukasgraf/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
1
2015-08-07T19:07:15Z
2021-09-08T07:00:47Z
2015-08-07T20:41:21Z
CONTRIBUTOR
resolved
This adds some documentation on how to use sessions as **context managers** (fixes #2580). I also added a brief mention of **connection pooling** and its performance benefits. I still got one question though: Is instantiating [`Session`](https://github.com/kennethreitz/requests/blob/9b067db19e20226dcb3aa407605d30942d0...
{ "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/2712/reactions" }
https://api.github.com/repos/psf/requests/issues/2712/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2712.diff", "html_url": "https://github.com/psf/requests/pull/2712", "merged_at": "2015-08-07T20:41:21Z", "patch_url": "https://github.com/psf/requests/pull/2712.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2712" }
true
[ "This is great, thanks!\n\n:sparkles: :cake: :sparkles:\n" ]
https://api.github.com/repos/psf/requests/issues/2711
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2711/labels{/name}
https://api.github.com/repos/psf/requests/issues/2711/comments
https://api.github.com/repos/psf/requests/issues/2711/events
https://github.com/psf/requests/issues/2711
99,545,848
MDU6SXNzdWU5OTU0NTg0OA==
2,711
FR: Ability to enable raise_for_status for all requests on a Session object
{ "avatar_url": "https://avatars.githubusercontent.com/u/1811813?v=4", "events_url": "https://api.github.com/users/fgimian/events{/privacy}", "followers_url": "https://api.github.com/users/fgimian/followers", "following_url": "https://api.github.com/users/fgimian/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
2
2015-08-06T23:37:50Z
2021-09-08T22:00:54Z
2015-08-31T06:52:47Z
NONE
resolved
Hey there, Firstly, I absolutely adore requests, it's the reference library for Python and would like to thank you greatly for creating it. Today I found the little utility function raise_for_status which I think is very useful, but I think it's a little tedious having to call this for each request if this is the way...
{ "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/2711/reactions" }
https://api.github.com/repos/psf/requests/issues/2711/timeline
null
completed
null
null
false
[ "Sorry @fgimian, it looks like this got lost!\n\nGenerally I don't believe automating a single function call is a particularly good idea. The cost of doing that is that it makes it hard to tell from reading code exactly what exceptions a given call into Requests might raise, because they depend on the `Session` obj...
https://api.github.com/repos/psf/requests/issues/2710
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2710/labels{/name}
https://api.github.com/repos/psf/requests/issues/2710/comments
https://api.github.com/repos/psf/requests/issues/2710/events
https://github.com/psf/requests/issues/2710
99,530,104
MDU6SXNzdWU5OTUzMDEwNA==
2,710
guess_filename(obj) doesn't recognize werkzeug.datastructures.FileStorage
{ "avatar_url": "https://avatars.githubusercontent.com/u/10097486?v=4", "events_url": "https://api.github.com/users/shahzzzam/events{/privacy}", "followers_url": "https://api.github.com/users/shahzzzam/followers", "following_url": "https://api.github.com/users/shahzzzam/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
3
2015-08-06T21:37:14Z
2021-09-08T23:00:42Z
2015-08-10T22:28:22Z
NONE
resolved
This is my _first_ issue ever on any repo. So kindly forgive me if I'm asking a naive question or don't have enough information provided. I am currently working on an API in **Flask-Restful** on Client side and also have to consume the Server side API using **Requests** API. - So I was adding an image along with some ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/10097486?v=4", "events_url": "https://api.github.com/users/shahzzzam/events{/privacy}", "followers_url": "https://api.github.com/users/shahzzzam/followers", "following_url": "https://api.github.com/users/shahzzzam/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/2710/reactions" }
https://api.github.com/repos/psf/requests/issues/2710/timeline
null
completed
null
null
false
[ "> This is my first issue ever on any repo. So kindly forgive me if I'm asking a naive question or don't have enough information provided.\n\nWelcome! Thanks for getting started with us! :tada: :cake: :balloon: \n\nSo to your core question, the `guess_filename` function is a bit tricky. It basically does its best t...
https://api.github.com/repos/psf/requests/issues/2709
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2709/labels{/name}
https://api.github.com/repos/psf/requests/issues/2709/comments
https://api.github.com/repos/psf/requests/issues/2709/events
https://github.com/psf/requests/issues/2709
99,188,937
MDU6SXNzdWU5OTE4ODkzNw==
2,709
Problem sending POST data to a login form with the character "ñ" (With Curl Works)
{ "avatar_url": "https://avatars.githubusercontent.com/u/3330998?v=4", "events_url": "https://api.github.com/users/nguaman/events{/privacy}", "followers_url": "https://api.github.com/users/nguaman/followers", "following_url": "https://api.github.com/users/nguaman/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
7
2015-08-05T12:03:20Z
2021-09-08T23:00:43Z
2015-08-05T12:52:58Z
NONE
resolved
With curl works perfectly and I can Login. curl 'https://server.com/server.jsp?login' --data 'username=usernamex&PASSWORD=contrase%F1a' contrase%F1a15 means "contraseña15" but when I try to send the same content with request I recieve the password is incorrect. payload = 'username=usernamex&PASSWORD=contrase%F1a'...
{ "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/2709/reactions" }
https://api.github.com/repos/psf/requests/issues/2709/timeline
null
completed
null
null
false
[ "I also I try this\n\nimport urllib2, urllib\nurl = 'https://server.com/server.jsp?login'\ndata = urllib.urlencode({'USUARIO':'username','PASSWORD':'contrase%F1a15'})\nreq = urllib2.Request(url, data)\nresponse = urllib2.urlopen(req)\nd = response.read()\nprint d\n\nAnd Nothing. Only works when I send the request f...
https://api.github.com/repos/psf/requests/issues/2708
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2708/labels{/name}
https://api.github.com/repos/psf/requests/issues/2708/comments
https://api.github.com/repos/psf/requests/issues/2708/events
https://github.com/psf/requests/issues/2708
99,162,722
MDU6SXNzdWU5OTE2MjcyMg==
2,708
user-agent not sent in CONNECT makes the request fail (proxy is used)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1769773?v=4", "events_url": "https://api.github.com/users/sim0nx/events{/privacy}", "followers_url": "https://api.github.com/users/sim0nx/followers", "following_url": "https://api.github.com/users/sim0nx/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
false
null
[]
{ "closed_at": null, "closed_issues": 29, "created_at": "2024-05-19T18:29:04Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/fol...
15
2015-08-05T09:29:13Z
2024-05-20T14:36:16Z
2024-05-20T14:36:16Z
NONE
null
Hi, I am trying a simple get request to a https-url which goes through a proxy (http proxy). Now the issue is that this proxy blocks connection attempts which have no user-agent set, and for whatever reason requests does not set one in the CONNECT request and I cannot seem to force it to do so. Going through the same...
{ "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/followers", "following_url": "https://api.github.com/users/sethmlarson/following{/other_user}", "gists_u...
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/psf/requests/issues/2708/reactions" }
https://api.github.com/repos/psf/requests/issues/2708/timeline
null
completed
null
null
false
[ "Hey, that's weird.\n\nI suppose that makes a degree of sense though. Can you try this?\n\n``` python\nimport requests\nfrom requests.adapters import HTTPAdapter\n\nclass ProxyUAAdapter(HTTPAdapter):\n def proxy_headers(self, proxy):\n headers = super(ProxyUAAdapter, self).proxy_headers(proxy)\n he...
https://api.github.com/repos/psf/requests/issues/2707
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2707/labels{/name}
https://api.github.com/repos/psf/requests/issues/2707/comments
https://api.github.com/repos/psf/requests/issues/2707/events
https://github.com/psf/requests/issues/2707
99,147,163
MDU6SXNzdWU5OTE0NzE2Mw==
2,707
parse_header_links fails for momento link headers
{ "avatar_url": "https://avatars.githubusercontent.com/u/15092?v=4", "events_url": "https://api.github.com/users/jayvdb/events{/privacy}", "followers_url": "https://api.github.com/users/jayvdb/followers", "following_url": "https://api.github.com/users/jayvdb/following{/other_user}", "gists_url": "https://api....
[ { "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
4
2015-08-05T08:05:52Z
2021-09-08T15:00:45Z
2016-09-23T06:43:09Z
CONTRIBUTOR
resolved
The link header for http://ws-dl-05.cs.odu.edu/demo/index.php/Tyrion_Lannister is not being parsed correctly by `parse_header_links`, and that function doesnt look completely RFC 5988 compliant. ``` >>> r = requests.get('http://ws-dl-05.cs.odu.edu/demo/index.php/Tyrion_Lannister') >>> r.headers['link'] '<http://ws-dl-...
{ "avatar_url": "https://avatars.githubusercontent.com/u/15092?v=4", "events_url": "https://api.github.com/users/jayvdb/events{/privacy}", "followers_url": "https://api.github.com/users/jayvdb/followers", "following_url": "https://api.github.com/users/jayvdb/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/2707/reactions" }
https://api.github.com/repos/psf/requests/issues/2707/timeline
null
completed
null
null
false
[ "I'm not really surprised that the links parser isn't perfect. Contributions are welcome to improve it: otherwise, it'll go on our backlog until one of us has time to take a swing at doing it properly.\n", "And to be clear we explicitly aren't 5988 complaint because Kenneth decided he did not want to handle the c...
https://api.github.com/repos/psf/requests/issues/2706
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2706/labels{/name}
https://api.github.com/repos/psf/requests/issues/2706/comments
https://api.github.com/repos/psf/requests/issues/2706/events
https://github.com/psf/requests/pull/2706
99,069,689
MDExOlB1bGxSZXF1ZXN0NDE2MjE5NTQ=
2,706
Fix merge setting for not preserving original order of dict parameters
{ "avatar_url": "https://avatars.githubusercontent.com/u/10278601?v=4", "events_url": "https://api.github.com/users/ak1r4/events{/privacy}", "followers_url": "https://api.github.com/users/ak1r4/followers", "following_url": "https://api.github.com/users/ak1r4/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
13
2015-08-04T21:50:38Z
2021-09-08T07:00:44Z
2015-08-15T15:39:46Z
CONTRIBUTOR
resolved
Fix a bug introduced by https://github.com/kennethreitz/requests/pull/1921 Bug: the ordered dictionary (the default `dict_class`) is accidentally converted back to normal dictionary.
{ "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/2706/reactions" }
https://api.github.com/repos/psf/requests/issues/2706/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2706.diff", "html_url": "https://github.com/psf/requests/pull/2706", "merged_at": "2015-08-15T15:39:46Z", "patch_url": "https://github.com/psf/requests/pull/2706.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2706" }
true
[ "Can you explain how this is a bug? In what context do you expect order to preserved but it isn't?\n", "I think the bug here is that we don't use the chosen dict subclass, which means that an ordered dict might be lost. I think I'm tentatively +1 on this change.\n", "Based on the _test_ I'm guessing this affect...
https://api.github.com/repos/psf/requests/issues/2705
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2705/labels{/name}
https://api.github.com/repos/psf/requests/issues/2705/comments
https://api.github.com/repos/psf/requests/issues/2705/events
https://github.com/psf/requests/issues/2705
98,965,184
MDU6SXNzdWU5ODk2NTE4NA==
2,705
Using requests.get with unverified certificates
{ "avatar_url": "https://avatars.githubusercontent.com/u/3463456?v=4", "events_url": "https://api.github.com/users/jakubvojacek/events{/privacy}", "followers_url": "https://api.github.com/users/jakubvojacek/followers", "following_url": "https://api.github.com/users/jakubvojacek/following{/other_user}", "gists...
[]
closed
true
null
[]
null
4
2015-08-04T13:11:47Z
2021-09-08T23:00:43Z
2015-08-04T20:43:25Z
NONE
resolved
Hello, I am trying to use requests module to get & post our intranet websevice that has unverified certificates. We had no issues until the new version of python that actually does verify certificates by default. What is the correct way (or is it even supported) of doing so? What I am currently doing is that I get the...
{ "avatar_url": "https://avatars.githubusercontent.com/u/3463456?v=4", "events_url": "https://api.github.com/users/jakubvojacek/events{/privacy}", "followers_url": "https://api.github.com/users/jakubvojacek/followers", "following_url": "https://api.github.com/users/jakubvojacek/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/2705/reactions" }
https://api.github.com/repos/psf/requests/issues/2705/timeline
null
completed
null
null
false
[ "Thanks for raising this issue!\n\nThe correct form of the request is:\n\n``` python\nrequests.get('https://192.168.137.1:4443', verify='ca.crt')\n```\n\nThe `cert` keyword argument is for client certificates.\n", "Thank you, I just tested it, the code now looks as follows:\n\n```\nimport requests\nrequests.get('...
https://api.github.com/repos/psf/requests/issues/2704
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2704/labels{/name}
https://api.github.com/repos/psf/requests/issues/2704/comments
https://api.github.com/repos/psf/requests/issues/2704/events
https://github.com/psf/requests/pull/2704
98,964,102
MDExOlB1bGxSZXF1ZXN0NDE1Njc0Nzk=
2,704
Mention SNI being backported to Python2.7.9 in FAQ
{ "avatar_url": "https://avatars.githubusercontent.com/u/1011548?v=4", "events_url": "https://api.github.com/users/sYnfo/events{/privacy}", "followers_url": "https://api.github.com/users/sYnfo/followers", "following_url": "https://api.github.com/users/sYnfo/following{/other_user}", "gists_url": "https://api.g...
[]
closed
true
null
[]
null
2
2015-08-04T13:08:33Z
2021-09-08T07:00:47Z
2015-08-04T13:54:30Z
CONTRIBUTOR
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/2704/reactions" }
https://api.github.com/repos/psf/requests/issues/2704/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2704.diff", "html_url": "https://github.com/psf/requests/pull/2704", "merged_at": "2015-08-04T13:54:30Z", "patch_url": "https://github.com/psf/requests/pull/2704.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2704" }
true
[ "Thanks! \\o/\n", ":cake: :sparkles: :cake:\n" ]
https://api.github.com/repos/psf/requests/issues/2703
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2703/labels{/name}
https://api.github.com/repos/psf/requests/issues/2703/comments
https://api.github.com/repos/psf/requests/issues/2703/events
https://github.com/psf/requests/issues/2703
98,864,415
MDU6SXNzdWU5ODg2NDQxNQ==
2,703
Broken parsing of authenticated URI for Proxy
{ "avatar_url": "https://avatars.githubusercontent.com/u/1562904?v=4", "events_url": "https://api.github.com/users/kharmalord/events{/privacy}", "followers_url": "https://api.github.com/users/kharmalord/followers", "following_url": "https://api.github.com/users/kharmalord/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
8
2015-08-04T00:38:50Z
2021-09-08T21:00:49Z
2015-11-05T10:35:55Z
NONE
resolved
Opening issue (appears to be related to issue https://github.com/kennethreitz/requests/issues/1856) as this issue is still breaking for me. When I run the following it breaks: ``` py >>> import requests >>> url = "http://sitereview.bluecoat.com/rest/categorization" >>> data = {'url':'google.com'} >>> proxy = { "http"...
{ "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/2703/reactions" }
https://api.github.com/repos/psf/requests/issues/2703/timeline
null
completed
null
null
false
[ "What version of requests are you using?\n", "I am using version 2.5.1. I also tried it with the latest version in the pip repo's which I believe is version 2.7 Same issue on both versions.\n", "So it's definitely the case that requests doesn't handle this well. In the short term, try encoding the fragment to `...
https://api.github.com/repos/psf/requests/issues/2702
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2702/labels{/name}
https://api.github.com/repos/psf/requests/issues/2702/comments
https://api.github.com/repos/psf/requests/issues/2702/events
https://github.com/psf/requests/issues/2702
98,713,924
MDU6SXNzdWU5ODcxMzkyNA==
2,702
Allow to modify query parameters in authentication classes
{ "avatar_url": "https://avatars.githubusercontent.com/u/48936?v=4", "events_url": "https://api.github.com/users/thedrow/events{/privacy}", "followers_url": "https://api.github.com/users/thedrow/followers", "following_url": "https://api.github.com/users/thedrow/following{/other_user}", "gists_url": "https://a...
[]
closed
true
null
[]
null
1
2015-08-03T10:26:17Z
2021-09-08T23:00:44Z
2015-08-03T13:19:39Z
NONE
resolved
Some APIs like https://www.virustotal.com/en/documentation/private-api require you to pass the API key in a query parameter which is not possible at the moment because the request is prepared before the authentication class is applied. Using the following authentication class: ``` python class VirusTotalAuth(auth.Auth...
{ "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/2702/reactions" }
https://api.github.com/repos/psf/requests/issues/2702/timeline
null
completed
null
null
false
[ "> Which makes sense because you can't change a request's parameters after it has been prepared.\n\nYou can change a request's parameters. The current way to do so (since you're actually receiving a `PreparedRequest` instance) is to:\n1. Parse the url\n2. Change the parameters\n3. Unparse the url\n4. Set the `url` ...
https://api.github.com/repos/psf/requests/issues/2701
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2701/labels{/name}
https://api.github.com/repos/psf/requests/issues/2701/comments
https://api.github.com/repos/psf/requests/issues/2701/events
https://github.com/psf/requests/issues/2701
98,671,701
MDU6SXNzdWU5ODY3MTcwMQ==
2,701
Option to disable percent encoding disabled?
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.git...
[]
closed
true
null
[]
null
1
2015-08-03T04:59:27Z
2021-09-08T23:00:44Z
2015-08-03T13:12:28Z
NONE
resolved
Hi, I know it's not good practice to disable percent encoding, but the server I'm connecting to doesn't support it. There seemed to be an option using requests.defaults in an earlier version, but it seems to be gone now. Is there any way to disable percent encoding? Thanks.
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2701/reactions" }
https://api.github.com/repos/psf/requests/issues/2701/timeline
null
completed
null
null
false
[ "This has been discussed before in:\n- https://github.com/kennethreitz/requests/pull/757\n- https://github.com/kennethreitz/requests/issues/1454\n\nAnd I'm sure other issues (but those are just the first two that a search of the issues found). Our current behaviour suits easily more than 95% of our users and thus i...
https://api.github.com/repos/psf/requests/issues/2700
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2700/labels{/name}
https://api.github.com/repos/psf/requests/issues/2700/comments
https://api.github.com/repos/psf/requests/issues/2700/events
https://github.com/psf/requests/issues/2700
98,494,157
MDU6SXNzdWU5ODQ5NDE1Nw==
2,700
inclusion of timeout parameter on PUT causes error 14, 'Bad address'
{ "avatar_url": "https://avatars.githubusercontent.com/u/2319207?v=4", "events_url": "https://api.github.com/users/EliRibble/events{/privacy}", "followers_url": "https://api.github.com/users/EliRibble/followers", "following_url": "https://api.github.com/users/EliRibble/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
9
2015-08-01T00:51:46Z
2021-09-08T21:00:49Z
2015-11-05T10:36:12Z
NONE
resolved
Here's my minimal reproducing script: ``` python Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded. #!/usr/bin/env python import requests url = 'https://prod-vision-analysis.s3.amazonaws.com/3ad6c771-52aa-4a1a-b2b6-6cdb17068321-40-real?Signature=khZjzyCjahKuK7z0QFrLhdIP6iE%3D&Expires=143838...
{ "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/2700/reactions" }
https://api.github.com/repos/psf/requests/issues/2700/timeline
null
completed
null
null
false
[ "So I just ran your script as is and I get a 403, not a ConnectionError. So I guess authentication needs to succeed before this behaviour can be confirmed.\n", "Yeah, sorry, as mentioned it's a signed URL with a timeout. I'll generate a custom URL for this script that times out in like a year and repost\n", "Ok...
https://api.github.com/repos/psf/requests/issues/2699
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2699/labels{/name}
https://api.github.com/repos/psf/requests/issues/2699/comments
https://api.github.com/repos/psf/requests/issues/2699/events
https://github.com/psf/requests/issues/2699
98,258,031
MDU6SXNzdWU5ODI1ODAzMQ==
2,699
timeout=False puts the socket in non-blocking mode, causing weird errors.
{ "avatar_url": "https://avatars.githubusercontent.com/u/181693?v=4", "events_url": "https://api.github.com/users/offbyone/events{/privacy}", "followers_url": "https://api.github.com/users/offbyone/followers", "following_url": "https://api.github.com/users/offbyone/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
56
2015-07-30T20:33:15Z
2021-09-08T14:00:37Z
2016-11-15T17:10:14Z
NONE
resolved
I'm receiving a strange connection error using Requests 2.7.0 connecting to an HTTP service as part of an integration test. Below is the call stack when I call into `session.request` in the API (for reasons of NDA I can't provide the rest of the callstack). The error is below in full detail, but in short, send() in re...
{ "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/2699/reactions" }
https://api.github.com/repos/psf/requests/issues/2699/timeline
null
completed
null
null
false
[ "(Hi Chris!)\n\nWell this is weird. Are you passing any socket options?\n", "None explicitly, no, and I checked in pdb; the options are the `default_socket_options`\n", "Basically, I've bottomed out on my socket-related knowhow. This code works for other services, so it's certainly possible that it's something ...
https://api.github.com/repos/psf/requests/issues/2698
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2698/labels{/name}
https://api.github.com/repos/psf/requests/issues/2698/comments
https://api.github.com/repos/psf/requests/issues/2698/events
https://github.com/psf/requests/issues/2698
98,194,342
MDU6SXNzdWU5ODE5NDM0Mg==
2,698
404 for timeouts advanced documentation links
{ "avatar_url": "https://avatars.githubusercontent.com/u/131207?v=4", "events_url": "https://api.github.com/users/nilya/events{/privacy}", "followers_url": "https://api.github.com/users/nilya/followers", "following_url": "https://api.github.com/users/nilya/following{/other_user}", "gists_url": "https://api.gi...
[]
closed
true
null
[]
null
1
2015-07-30T15:12:40Z
2021-09-08T23:00:40Z
2015-08-15T13:24:20Z
NONE
resolved
Three files [in this search](https://github.com/kennethreitz/requests/search?l=python&q=<user/advanced.html#timeouts>&type=Code&utf8=✓) has links to `<user/advanced.html#timeouts>` which works good for documentation generated on the local machine. But on the http://docs.python-requests.org/ there is no ".html" in pages...
{ "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/2698/reactions" }
https://api.github.com/repos/psf/requests/issues/2698/timeline
null
completed
null
null
false
[ "We should be using `:ref:` in our docs, so sphinx will handle this for us. Thanks for catching this @nilya \n" ]
https://api.github.com/repos/psf/requests/issues/2697
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2697/labels{/name}
https://api.github.com/repos/psf/requests/issues/2697/comments
https://api.github.com/repos/psf/requests/issues/2697/events
https://github.com/psf/requests/issues/2697
97,925,783
MDU6SXNzdWU5NzkyNTc4Mw==
2,697
requests.get is partially ignoring proxies parameter?
{ "avatar_url": "https://avatars.githubusercontent.com/u/13555069?v=4", "events_url": "https://api.github.com/users/DelboyJay/events{/privacy}", "followers_url": "https://api.github.com/users/DelboyJay/followers", "following_url": "https://api.github.com/users/DelboyJay/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
1
2015-07-29T12:36:15Z
2021-09-08T22:00:55Z
2015-08-31T07:01:02Z
NONE
resolved
I have a problem with Requests 2.7.0 and proxies. If I use the following code without setting the *_PROXY environment variables the requests takes up to 2 minutes to get the information I'm requesting by it does work. If I then set the HTTP_PROXY and HTTPS_PROXY env variables it takes 2 seconds to complete. It should b...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2697/reactions" }
https://api.github.com/repos/psf/requests/issues/2697/timeline
null
completed
null
null
false
[ "This sounds like you're experiencing some kind of timeout in the standard library's `urllib.proxy_bypass()` method: specifically, you seem to be experiencing some _really_ long DNS timeouts.\n\nWe're not strictly ignoring the proxies parameter, but we're trying not to be too clever about it in the code: we basical...
https://api.github.com/repos/psf/requests/issues/2696
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2696/labels{/name}
https://api.github.com/repos/psf/requests/issues/2696/comments
https://api.github.com/repos/psf/requests/issues/2696/events
https://github.com/psf/requests/pull/2696
97,921,056
MDExOlB1bGxSZXF1ZXN0NDExMTQ5OTM=
2,696
Use debug instead of info to log new connection
{ "avatar_url": "https://avatars.githubusercontent.com/u/1469982?v=4", "events_url": "https://api.github.com/users/luca3m/events{/privacy}", "followers_url": "https://api.github.com/users/luca3m/followers", "following_url": "https://api.github.com/users/luca3m/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
1
2015-07-29T12:01:06Z
2021-09-08T07:00:48Z
2015-07-29T12:11:34Z
NONE
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2696/reactions" }
https://api.github.com/repos/psf/requests/issues/2696/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2696.diff", "html_url": "https://github.com/psf/requests/pull/2696", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2696.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2696" }
true
[ "This belongs on urllib3, not here.\n" ]
https://api.github.com/repos/psf/requests/issues/2695
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2695/labels{/name}
https://api.github.com/repos/psf/requests/issues/2695/comments
https://api.github.com/repos/psf/requests/issues/2695/events
https://github.com/psf/requests/issues/2695
97,892,445
MDU6SXNzdWU5Nzg5MjQ0NQ==
2,695
how to prepare response object
{ "avatar_url": "https://avatars.githubusercontent.com/u/8228290?v=4", "events_url": "https://api.github.com/users/aliraza0337/events{/privacy}", "followers_url": "https://api.github.com/users/aliraza0337/followers", "following_url": "https://api.github.com/users/aliraza0337/following{/other_user}", "gists_ur...
[]
closed
true
null
[]
null
1
2015-07-29T09:13:59Z
2021-09-08T23:00:45Z
2015-07-29T12:30:18Z
NONE
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2695/reactions" }
https://api.github.com/repos/psf/requests/issues/2695/timeline
null
completed
null
null
false
[ "The defect tracker is not the place to ask questions. Please use [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests) for questions.\n" ]
https://api.github.com/repos/psf/requests/issues/2694
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2694/labels{/name}
https://api.github.com/repos/psf/requests/issues/2694/comments
https://api.github.com/repos/psf/requests/issues/2694/events
https://github.com/psf/requests/issues/2694
97,889,789
MDU6SXNzdWU5Nzg4OTc4OQ==
2,694
Address family not supported by protocol
{ "avatar_url": "https://avatars.githubusercontent.com/u/1587290?v=4", "events_url": "https://api.github.com/users/Johnathon332/events{/privacy}", "followers_url": "https://api.github.com/users/Johnathon332/followers", "following_url": "https://api.github.com/users/Johnathon332/following{/other_user}", "gists...
[]
closed
true
null
[]
null
1
2015-07-29T08:56:27Z
2021-09-08T23:00:45Z
2015-07-29T12:37:10Z
NONE
resolved
I am getting the error when making a request to my web api hosted on another machine on IIS express, this is in order for me to debug my application, however when I run my python code I get the error requests.exceptions.ConnectionError: ('Connection aborted.', error(97, 'Address family not supported by protocol')) H...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2694/reactions" }
https://api.github.com/repos/psf/requests/issues/2694/timeline
null
completed
null
null
false
[ "Closing to centralize discussion on [StackOverflow](https://stackoverflow.com/questions/31695430/address-family-not-supported-by-protocol-making-request-to-webapi) given there is more detail in the question than was provided in the bug report.\n" ]
https://api.github.com/repos/psf/requests/issues/2693
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2693/labels{/name}
https://api.github.com/repos/psf/requests/issues/2693/comments
https://api.github.com/repos/psf/requests/issues/2693/events
https://github.com/psf/requests/issues/2693
97,859,950
MDU6SXNzdWU5Nzg1OTk1MA==
2,693
Double POST requests sent at the same time when a delay is encountered.
{ "avatar_url": "https://avatars.githubusercontent.com/u/11473261?v=4", "events_url": "https://api.github.com/users/itsHaddad/events{/privacy}", "followers_url": "https://api.github.com/users/itsHaddad/followers", "following_url": "https://api.github.com/users/itsHaddad/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
17
2015-07-29T04:54:45Z
2021-09-08T23:00:44Z
2015-08-03T02:24:53Z
NONE
resolved
I have a code that sends GET and POST requests every 10 seconds. But in case there is a delay, the POST requests line itself posts twice. I tried to debug this to the best of my ability and I couldn't but finalize that the library sends the requests twice, or it is something to do with TCP (but then the library should ...
{ "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/2693/reactions" }
https://api.github.com/repos/psf/requests/issues/2693/timeline
null
completed
null
null
false
[ "Just to clarify: can you confirm you're not getting redirected? Check `resp.history` to see if there's anything in it.\n", "Thank you for your answer sir. \n\nActually I don't really know about this, I just included the resp.history and source.history into my code and I am getting [] [] for a few loops already. ...
https://api.github.com/repos/psf/requests/issues/2692
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2692/labels{/name}
https://api.github.com/repos/psf/requests/issues/2692/comments
https://api.github.com/repos/psf/requests/issues/2692/events
https://github.com/psf/requests/pull/2692
97,590,677
MDExOlB1bGxSZXF1ZXN0NDA5NjY1NTA=
2,692
Dealing with removal of Authorization header on redirect and diff domain
{ "avatar_url": "https://avatars.githubusercontent.com/u/7142475?v=4", "events_url": "https://api.github.com/users/casahome2000/events{/privacy}", "followers_url": "https://api.github.com/users/casahome2000/followers", "following_url": "https://api.github.com/users/casahome2000/following{/other_user}", "gists...
[]
closed
true
null
[]
null
2
2015-07-28T01:07:29Z
2021-09-08T07:00:48Z
2015-07-28T02:34:36Z
NONE
resolved
for services that require Authorization in the header, all redirect calls to a different domain would result in a 403-Forbidden. Authorization should be preserved just as Authentication is.
{ "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/2692/reactions" }
https://api.github.com/repos/psf/requests/issues/2692/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2692.diff", "html_url": "https://github.com/psf/requests/pull/2692", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2692.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2692" }
true
[ "Sorry, we won't be accepting this. This is specifically written to fix a [vulnerability](http://www.cvedetails.com/cve/CVE-2015-2296/) that was reported to us recently. Without knowing your specific use-case I can't advise you on how to replicate the original behaviour, but if you post specifics to [our Q&A area](...
https://api.github.com/repos/psf/requests/issues/2691
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2691/labels{/name}
https://api.github.com/repos/psf/requests/issues/2691/comments
https://api.github.com/repos/psf/requests/issues/2691/events
https://github.com/psf/requests/issues/2691
97,143,126
MDU6SXNzdWU5NzE0MzEyNg==
2,691
Can't upload files bigger than 2GB (streaming upload)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13482613?v=4", "events_url": "https://api.github.com/users/tondy1/events{/privacy}", "followers_url": "https://api.github.com/users/tondy1/followers", "following_url": "https://api.github.com/users/tondy1/following{/other_user}", "gists_url": "https://a...
[]
closed
true
null
[]
null
10
2015-07-24T20:43:40Z
2021-09-08T12:00:48Z
2015-07-24T20:59:27Z
NONE
resolved
Tried this code and it works flawless with files < 2GB but as soon as I'm using files > 2GB it gives me an error. ``` python e = MultipartEncoder(fields=dict( file=(rfbase, open(filename, 'rb'), 'text/plain') )) m = MultipartEncoderMonitor(e, my_callback) uploadInfo = requests.request('POST', uplo...
{ "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/2691/reactions" }
https://api.github.com/repos/psf/requests/issues/2691/timeline
null
completed
null
null
false
[ "That's a bizarre error. It seems like Python 2 doesn't like having len() called on really large files.\n", "Seems like there's literally a requirement that `len()` not return anything that can't fit into an integer:\n\n``` python\n>>> class TestClass(object):\n... def __len__(self):\n... return 10000...
https://api.github.com/repos/psf/requests/issues/2690
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2690/labels{/name}
https://api.github.com/repos/psf/requests/issues/2690/comments
https://api.github.com/repos/psf/requests/issues/2690/events
https://github.com/psf/requests/issues/2690
97,054,690
MDU6SXNzdWU5NzA1NDY5MA==
2,690
Broken commit 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8
{ "avatar_url": "https://avatars.githubusercontent.com/u/35176?v=4", "events_url": "https://api.github.com/users/anatolyborodin/events{/privacy}", "followers_url": "https://api.github.com/users/anatolyborodin/followers", "following_url": "https://api.github.com/users/anatolyborodin/following{/other_user}", "g...
[]
closed
true
null
[]
null
4
2015-07-24T13:37:04Z
2021-08-27T00:08:22Z
2015-07-24T13:47:28Z
NONE
resolved
"git fsck" thinks [this commit](https://github.com/kennethreitz/requests/commit/5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8) is broken: ``` error in commit 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8: invalid author/committer line - bad time zone ``` ``` commit 5e6ecdad9f69b1ff789a17733b8edc6fd7091bd8 tree 0d1971c86d047f95...
{ "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/2690/reactions" }
https://api.github.com/repos/psf/requests/issues/2690/timeline
null
completed
null
null
false
[ "No it isn't possible to repair the history. That will change the SHA value of every commit after it and update the timestamps on ALL of them. It will invalidate every tag since that commit and it will cause far too many headaches.\n", "To be clear, it is _technically_ possible to repair this, also if repairing i...
https://api.github.com/repos/psf/requests/issues/2689
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2689/labels{/name}
https://api.github.com/repos/psf/requests/issues/2689/comments
https://api.github.com/repos/psf/requests/issues/2689/events
https://github.com/psf/requests/issues/2689
97,039,521
MDU6SXNzdWU5NzAzOTUyMQ==
2,689
convert requests command
{ "avatar_url": "https://avatars.githubusercontent.com/u/6317026?v=4", "events_url": "https://api.github.com/users/a4fr/events{/privacy}", "followers_url": "https://api.github.com/users/a4fr/followers", "following_url": "https://api.github.com/users/a4fr/following{/other_user}", "gists_url": "https://api.gith...
[ { "color": "fbca04", "default": false, "description": null, "id": 615414998, "name": "GAE Support", "node_id": "MDU6TGFiZWw2MTU0MTQ5OTg=", "url": "https://api.github.com/repos/psf/requests/labels/GAE%20Support" } ]
closed
true
null
[]
null
1
2015-07-24T12:11:49Z
2021-09-08T09:00:45Z
2015-07-24T12:52:45Z
NONE
resolved
I'm using `requests` module in my app but when i run it in google app engine, raise **SSL Connection** exception: ``` File "/base/data/home/apps/s~myapp/1.385939809966824449/lib/requests/adapters.py", line 429, in send raise SSLError(e, request=request) SSLError: Can't connect to HTTPS URL because the SSL module 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/2689/reactions" }
https://api.github.com/repos/psf/requests/issues/2689/timeline
null
completed
null
null
false
[ "Requests does not consider Google App Engine a supported platform at this time, so I'm afraid we can't help you here. I recommend asking your question on StackOverflow. =) Sorry!\n" ]
https://api.github.com/repos/psf/requests/issues/2688
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2688/labels{/name}
https://api.github.com/repos/psf/requests/issues/2688/comments
https://api.github.com/repos/psf/requests/issues/2688/events
https://github.com/psf/requests/issues/2688
96,968,182
MDU6SXNzdWU5Njk2ODE4Mg==
2,688
When path of requests contains non-ascii chars, it failed loading ca_certs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1819074?v=4", "events_url": "https://api.github.com/users/yyjdelete/events{/privacy}", "followers_url": "https://api.github.com/users/yyjdelete/followers", "following_url": "https://api.github.com/users/yyjdelete/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
28
2015-07-24T05:20:07Z
2021-09-05T00:07:01Z
2019-02-14T14:06:18Z
NONE
resolved
Tested with Python 3.4.3, requests2.6.0(Used by [wakatime](https://github.com/wakatime/wakatime)), windows 7 Also try with 2.7.0 ``` Traceback (most recent call last): File "cli.py", line 18, in <module> sys.exit(wakatime.main(sys.argv)) File "C:\Users\**\AppData\Roaming\Microsoft Corporation\Microsoft\xae Vis...
{ "avatar_url": "https://avatars.githubusercontent.com/u/3725578?v=4", "events_url": "https://api.github.com/users/Projjol-zz/events{/privacy}", "followers_url": "https://api.github.com/users/Projjol-zz/followers", "following_url": "https://api.github.com/users/Projjol-zz/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/2688/reactions" }
https://api.github.com/repos/psf/requests/issues/2688/timeline
null
completed
null
null
false
[ "OS language:zh-cn, default encoding: GBK\n", "Can you show me some sample code please? I want to see if you're using a unicode string or a byte string.\n", "Just an simple code\n\n``` python\n#!/usr/bin/env python\n#fileencoding: utf-8\n\nimport sys\nfrom packages import requests\n\nr = requests.get('https://w...
https://api.github.com/repos/psf/requests/issues/2687
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2687/labels{/name}
https://api.github.com/repos/psf/requests/issues/2687/comments
https://api.github.com/repos/psf/requests/issues/2687/events
https://github.com/psf/requests/issues/2687
96,840,115
MDU6SXNzdWU5Njg0MDExNQ==
2,687
Upgrade to urllib3 1.11 to fix connection pool exhaustion
{ "avatar_url": "https://avatars.githubusercontent.com/u/887132?v=4", "events_url": "https://api.github.com/users/rrva/events{/privacy}", "followers_url": "https://api.github.com/users/rrva/followers", "following_url": "https://api.github.com/users/rrva/following{/other_user}", "gists_url": "https://api.githu...
[]
closed
true
null
[]
null
5
2015-07-23T15:28:22Z
2021-09-08T23:00:46Z
2015-07-23T15:44:48Z
NONE
resolved
An important fix has been made to urllib3 which fixes http connection pool exhaustion when connections fail: https://github.com/shazow/urllib3/issues/644 Can you release a new version which uses urllib3 1.11 ?
{ "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/2687/reactions" }
https://api.github.com/repos/psf/requests/issues/2687/timeline
null
completed
null
null
false
[ "We plan to: see #2678.\n\nFor future reference, two of the three requests core developers are also urllib3 core developers. urllib3 does not sneakily release software without us noticing. ;)\n", "## I'm not a core developer on urllib3. :-P... Or is Kenneth?\n\nSent from my Android device with K-9 Mail. Please ex...
https://api.github.com/repos/psf/requests/issues/2686
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2686/labels{/name}
https://api.github.com/repos/psf/requests/issues/2686/comments
https://api.github.com/repos/psf/requests/issues/2686/events
https://github.com/psf/requests/issues/2686
96,485,548
MDU6SXNzdWU5NjQ4NTU0OA==
2,686
Misleading POST documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/186461?v=4", "events_url": "https://api.github.com/users/melbic/events{/privacy}", "followers_url": "https://api.github.com/users/melbic/followers", "following_url": "https://api.github.com/users/melbic/following{/other_user}", "gists_url": "https://api...
[ { "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" }, { "color": "fad8c7", "default": false, "descrip...
closed
true
null
[]
null
3
2015-07-22T06:32:15Z
2021-09-08T23:00:41Z
2015-08-14T19:30:04Z
NONE
resolved
The GitHub example at [#more-complicated-post-requests](http://docs.python-requests.org/en/latest/user/quickstart/#more-complicated-post-requests) is very misleading. It would be great to mention the `json` parameter. If you want to know what it does, you'll have to navigate all the way through until the `PreparedReque...
{ "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/2686/reactions" }
https://api.github.com/repos/psf/requests/issues/2686/timeline
null
completed
null
null
false
[ "The documentation should be something like:\n`:param json: (optional) json data, the passed in object gets serialized to json (json.dumps()) and the content type of the request is set to 'application/json'.`\n", "@melbic Yeah, sorry, that documentation was written before the `json` parameter was added.\n\nWould...
https://api.github.com/repos/psf/requests/issues/2685
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2685/labels{/name}
https://api.github.com/repos/psf/requests/issues/2685/comments
https://api.github.com/repos/psf/requests/issues/2685/events
https://github.com/psf/requests/issues/2685
96,444,600
MDU6SXNzdWU5NjQ0NDYwMA==
2,685
[Request] Simple argument to set an overall timeout for the request
{ "avatar_url": "https://avatars.githubusercontent.com/u/7551671?v=4", "events_url": "https://api.github.com/users/boolbag/events{/privacy}", "followers_url": "https://api.github.com/users/boolbag/followers", "following_url": "https://api.github.com/users/boolbag/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
1
2015-07-22T00:15:38Z
2021-09-08T23:00:47Z
2015-07-22T06:02:45Z
NONE
resolved
The `timeout` parameter is useful but does not provide a way to set an overall timeout for the request. But in keeping with _simple is beautiful_, it would be terrific if we could do: `requests.get(url, overall_timeout=10)` Thanks in advance for considering it. :)
{ "avatar_url": "https://avatars.githubusercontent.com/u/7551671?v=4", "events_url": "https://api.github.com/users/boolbag/events{/privacy}", "followers_url": "https://api.github.com/users/boolbag/followers", "following_url": "https://api.github.com/users/boolbag/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/2685/reactions" }
https://api.github.com/repos/psf/requests/issues/2685/timeline
null
completed
null
null
false
[ "As a workaround, the `@stopit.threading_timeoutable` seems to work.\n" ]
https://api.github.com/repos/psf/requests/issues/2684
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2684/labels{/name}
https://api.github.com/repos/psf/requests/issues/2684/comments
https://api.github.com/repos/psf/requests/issues/2684/events
https://github.com/psf/requests/issues/2684
96,443,817
MDU6SXNzdWU5NjQ0MzgxNw==
2,684
[Request] Simple argument to limit the size of a downloaded resource
{ "avatar_url": "https://avatars.githubusercontent.com/u/7551671?v=4", "events_url": "https://api.github.com/users/boolbag/events{/privacy}", "followers_url": "https://api.github.com/users/boolbag/followers", "following_url": "https://api.github.com/users/boolbag/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
6
2015-07-22T00:08:51Z
2021-09-08T23:00:46Z
2015-07-22T04:17:57Z
NONE
resolved
When we use `stream=True` to cap the size of the response, we lose all the bells and whistles of the response object once the response is consumed. For instance, we can no longer return the response to the caller then inspect `status_code`. In keeping with _simple is beautiful_, it would be terrific if we could do: `...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2684/reactions" }
https://api.github.com/repos/psf/requests/issues/2684/timeline
null
completed
null
null
false
[ "This is a duplicate of https://github.com/kennethreitz/requests/issues/2327\n\nPlease use GitHub's issue search before filing future feature requests.\n", "@sigmavirus24 the link you posted is interesting, but I don't see that it addresses:\n\n> For instance, we can no longer return the response to the caller th...
https://api.github.com/repos/psf/requests/issues/2683
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2683/labels{/name}
https://api.github.com/repos/psf/requests/issues/2683/comments
https://api.github.com/repos/psf/requests/issues/2683/events
https://github.com/psf/requests/issues/2683
96,283,765
MDU6SXNzdWU5NjI4Mzc2NQ==
2,683
monkey patch to fix the headers parse in python3
{ "avatar_url": "https://avatars.githubusercontent.com/u/7009837?v=4", "events_url": "https://api.github.com/users/littlezz/events{/privacy}", "followers_url": "https://api.github.com/users/littlezz/followers", "following_url": "https://api.github.com/users/littlezz/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
1
2015-07-21T10:34:29Z
2021-09-08T23:00:48Z
2015-07-21T11:20:33Z
NONE
resolved
python3 use latin-1 to decode the headers, if some Chinese encode by utf8, but decode by latin-1, it may contain `\x85` in the result. ``` python In [276]: '锅团子圣诞树.jpg'.encode('utf8').decode('latin1') Out[276]: 'é\x94\x85å\x9b¢å\xad\x90å\x9c£è¯\x9eæ\xa0\x91.jpg' In [278]: '\x85' in '锅团子圣诞树.jpg'.encode('utf8').d...
{ "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/2683/reactions" }
https://api.github.com/repos/psf/requests/issues/2683/timeline
null
completed
null
null
false
[ "I do not believe that we should monkeypatch the standard library in requests: that's an extremely dangerous practice. If it's a bug, it should be fixed upstream.\n\nThanks for the report! :cake:\n" ]
https://api.github.com/repos/psf/requests/issues/2682
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2682/labels{/name}
https://api.github.com/repos/psf/requests/issues/2682/comments
https://api.github.com/repos/psf/requests/issues/2682/events
https://github.com/psf/requests/issues/2682
96,279,849
MDU6SXNzdWU5NjI3OTg0OQ==
2,682
implement delayed retry support to failed requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/102495?v=4", "events_url": "https://api.github.com/users/ssbarnea/events{/privacy}", "followers_url": "https://api.github.com/users/ssbarnea/followers", "following_url": "https://api.github.com/users/ssbarnea/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
1
2015-07-21T10:15:02Z
2021-09-08T23:00:48Z
2015-07-21T11:30:38Z
CONTRIBUTOR
resolved
Currently requests library supports a retry mechanism where you can specify how many retries to make untill it will fail, which is great unless you have a downtime of the service of only few seconds. In order to make usage of requests more resilient to temporary errors we need an option to delay further retries, prefe...
{ "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": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/2682/reactions" }
https://api.github.com/repos/psf/requests/issues/2682/timeline
null
completed
null
null
false
[ "Thanks for the suggestion!\n\nThe supported way to do this in requests is to use a HTTP adapter. I notice you've spotted this but consider it to be a 'hack'. It's not: the requests project considers the HTTP adapter a first-class part of our interface.\n\nThe change is very simple:\n\n``` python\nfrom requests.ada...
https://api.github.com/repos/psf/requests/issues/2681
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2681/labels{/name}
https://api.github.com/repos/psf/requests/issues/2681/comments
https://api.github.com/repos/psf/requests/issues/2681/events
https://github.com/psf/requests/issues/2681
96,271,565
MDU6SXNzdWU5NjI3MTU2NQ==
2,681
pyopenssl: maximum recursion depth exceeded while calling a Python object
{ "avatar_url": "https://avatars.githubusercontent.com/u/291289?v=4", "events_url": "https://api.github.com/users/gsakkis/events{/privacy}", "followers_url": "https://api.github.com/users/gsakkis/followers", "following_url": "https://api.github.com/users/gsakkis/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
8
2015-07-21T09:32:18Z
2021-09-08T23:00:48Z
2015-07-21T11:19:02Z
NONE
resolved
I recently installed `requests[security]` to get rid of the [InsecurePlatformWarning](http://stackoverflow.com/a/29099439) and have been getting intermittent Runtime errors in pyopenssl. Here's a sample stacktrace: ``` Stacktrace (most recent call last): File "requests/sessions.py", line 465, in request resp = ...
{ "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/2681/reactions" }
https://api.github.com/repos/psf/requests/issues/2681/timeline
null
completed
null
null
false
[ "After a quick look at [WrappedSocket.recv()](https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/contrib/pyopenssl.py#L169), seems like converting recursion to iteration could fix it. If that's the case I could make a pull request.\n", "As you've spotted this is a urllib3 bug, so I'm c...
https://api.github.com/repos/psf/requests/issues/2680
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2680/labels{/name}
https://api.github.com/repos/psf/requests/issues/2680/comments
https://api.github.com/repos/psf/requests/issues/2680/events
https://github.com/psf/requests/pull/2680
95,865,840
MDExOlB1bGxSZXF1ZXN0NDAyOTk4NjY=
2,680
Fix docs for passing a list of values for a query string
{ "avatar_url": "https://avatars.githubusercontent.com/u/184212?v=4", "events_url": "https://api.github.com/users/peplin/events{/privacy}", "followers_url": "https://api.github.com/users/peplin/followers", "following_url": "https://api.github.com/users/peplin/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
1
2015-07-18T22:50:57Z
2021-09-08T07:00:48Z
2015-07-19T09:57:01Z
CONTRIBUTOR
resolved
The special `[]` notation at the end of the field name is not necessary to get a field to appear with multiple values in the query string.
{ "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/2680/reactions" }
https://api.github.com/repos/psf/requests/issues/2680/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2680.diff", "html_url": "https://github.com/psf/requests/pull/2680", "merged_at": "2015-07-19T09:57:01Z", "patch_url": "https://github.com/psf/requests/pull/2680.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2680" }
true
[ "Yeah, this is _mostly_ true. I'm going to merge this as-is @peplin, but I'd really love it if you'd follow up with another pull request that adds a paragraph about _why_ you might want to add the `[]` (namely, because many servers expect that notation).\n\nThanks so much for the contribution! :cake: :sparkles: :ca...
https://api.github.com/repos/psf/requests/issues/2679
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2679/labels{/name}
https://api.github.com/repos/psf/requests/issues/2679/comments
https://api.github.com/repos/psf/requests/issues/2679/events
https://github.com/psf/requests/pull/2679
95,835,189
MDExOlB1bGxSZXF1ZXN0NDAyOTM4Nzg=
2,679
Remove broken CaseInsensitiveDict repr test
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[]
closed
true
null
[]
{ "closed_at": "2015-10-12T10:32:06Z", "closed_issues": 7, "created_at": "2015-04-29T13:03:39Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users...
1
2015-07-18T15:48:09Z
2021-09-08T07:00:49Z
2015-07-18T15:48:26Z
CONTRIBUTOR
resolved
Fixes #2668 Supersedes #2669 Closes #2669
{ "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/2679/reactions" }
https://api.github.com/repos/psf/requests/issues/2679/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2679.diff", "html_url": "https://github.com/psf/requests/pull/2679", "merged_at": "2015-07-18T15:48:26Z", "patch_url": "https://github.com/psf/requests/pull/2679.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2679" }
true
[ "Was just about to do this myself. :cake:\n" ]
https://api.github.com/repos/psf/requests/issues/2678
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2678/labels{/name}
https://api.github.com/repos/psf/requests/issues/2678/comments
https://api.github.com/repos/psf/requests/issues/2678/events
https://github.com/psf/requests/pull/2678
95,835,082
MDExOlB1bGxSZXF1ZXN0NDAyOTM4NDQ=
2,678
Proposed 2.8.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[]
closed
true
{ "avatar_url": "https://avatars.githubusercontent.com/u/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
2015-07-18T15:45:52Z
2021-09-08T06:00:56Z
2015-10-05T14:09:41Z
CONTRIBUTOR
resolved
Includes - #2674 - #2567 - #2523 - #2706 - Bump for urllib3 Reminder to look at http://ci.kennethreitz.org/job/requests-pr/ for build status
{ "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/2678/reactions" }
https://api.github.com/repos/psf/requests/issues/2678/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2678.diff", "html_url": "https://github.com/psf/requests/pull/2678", "merged_at": "2015-10-05T14:09:41Z", "patch_url": "https://github.com/psf/requests/pull/2678.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2678" }
true
[ "So http://ci.kennethreitz.org/job/requests-pr/714/PYTHON=3.3/console is an interesting error. I'll work on tracking it down\n", "Here's hoping http://ci.sigmavir.us/job/requests-real/ picks up on this. @kennethreitz's CI is not picking up on the new commits.\n", "Ah, here we go: http://ci.kennethreitz.org/job/...
https://api.github.com/repos/psf/requests/issues/2677
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2677/labels{/name}
https://api.github.com/repos/psf/requests/issues/2677/comments
https://api.github.com/repos/psf/requests/issues/2677/events
https://github.com/psf/requests/issues/2677
95,668,523
MDU6SXNzdWU5NTY2ODUyMw==
2,677
can't use proxy-authorization in header
{ "avatar_url": "https://avatars.githubusercontent.com/u/13382211?v=4", "events_url": "https://api.github.com/users/matthew-summers/events{/privacy}", "followers_url": "https://api.github.com/users/matthew-summers/followers", "following_url": "https://api.github.com/users/matthew-summers/following{/other_user}"...
[]
closed
true
null
[]
null
2
2015-07-17T14:32:28Z
2021-09-08T23:00:50Z
2015-07-17T14:44:58Z
NONE
resolved
hi, i try to use Proxy-Authorization header with my request, but it doesn't appear in request headers. If i change header name to 'Proxy-Authorization1', for example, everything is ok, i can see it in output. ``` python proxy = {'http': 'http://ip:port/'} token = base64.encodestring('user:pass').strip() headers = {'P...
{ "avatar_url": "https://avatars.githubusercontent.com/u/13382211?v=4", "events_url": "https://api.github.com/users/matthew-summers/events{/privacy}", "followers_url": "https://api.github.com/users/matthew-summers/followers", "following_url": "https://api.github.com/users/matthew-summers/following{/other_user}"...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2677/reactions" }
https://api.github.com/repos/psf/requests/issues/2677/timeline
null
completed
null
null
false
[ "Well, in the sample code above you aren't actually telling requests which proxy to talk to. =)\n\nThis is easiest to do by using the username and password in the proxy URL, and then not providing the header at all:\n\n``` python\nproxy = {'http': 'http://user:pass@ip:port/'}\nr = requests.get('http://url', proxies...
https://api.github.com/repos/psf/requests/issues/2676
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2676/labels{/name}
https://api.github.com/repos/psf/requests/issues/2676/comments
https://api.github.com/repos/psf/requests/issues/2676/events
https://github.com/psf/requests/pull/2676
95,633,493
MDExOlB1bGxSZXF1ZXN0NDAyMTk4NTE=
2,676
Convert non-string header values to their string representation.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1142203?v=4", "events_url": "https://api.github.com/users/sunu/events{/privacy}", "followers_url": "https://api.github.com/users/sunu/followers", "following_url": "https://api.github.com/users/sunu/following{/other_user}", "gists_url": "https://api.gith...
[]
closed
true
null
[]
null
8
2015-07-17T10:46:30Z
2021-09-08T07:00:50Z
2015-07-18T15:26:20Z
NONE
resolved
Fixes https://github.com/kennethreitz/requests/issues/2675
{ "avatar_url": "https://avatars.githubusercontent.com/u/1142203?v=4", "events_url": "https://api.github.com/users/sunu/events{/privacy}", "followers_url": "https://api.github.com/users/sunu/followers", "following_url": "https://api.github.com/users/sunu/following{/other_user}", "gists_url": "https://api.gith...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2676/reactions" }
https://api.github.com/repos/psf/requests/issues/2676/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2676.diff", "html_url": "https://github.com/psf/requests/pull/2676", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2676.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2676" }
true
[ "The change you've made is in urllib3. @shazow may want this change, in which case we should accept it over at the main urllib3 repository. If he does not want it, we should instead move it into the requests code.\n", "-1 on having this in urllib3's urlopen, that's far too low-level to mangle user input. Requests...
https://api.github.com/repos/psf/requests/issues/2675
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2675/labels{/name}
https://api.github.com/repos/psf/requests/issues/2675/comments
https://api.github.com/repos/psf/requests/issues/2675/events
https://github.com/psf/requests/issues/2675
95,622,350
MDU6SXNzdWU5NTYyMjM1MA==
2,675
Using header with a float value in a request results in error on Python 3.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1142203?v=4", "events_url": "https://api.github.com/users/sunu/events{/privacy}", "followers_url": "https://api.github.com/users/sunu/followers", "following_url": "https://api.github.com/users/sunu/following{/other_user}", "gists_url": "https://api.gith...
[]
closed
true
null
[]
null
4
2015-07-17T09:33:39Z
2021-09-08T23:00:49Z
2015-07-18T15:24:21Z
NONE
resolved
I have an example below. This seems to be a bug in `http.client` as it doesn't convert floats to string representation. But as a workaround we can may be explicitly convert any floats in the header to string in [`urlopen`](https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/connectionpool.p...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1142203?v=4", "events_url": "https://api.github.com/users/sunu/events{/privacy}", "followers_url": "https://api.github.com/users/sunu/followers", "following_url": "https://api.github.com/users/sunu/following{/other_user}", "gists_url": "https://api.gith...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2675/reactions" }
https://api.github.com/repos/psf/requests/issues/2675/timeline
null
completed
null
null
false
[ "This feels like a reasonable feature request to me, I have no objections to casting non-string values to strings.\n", "@Lukasa Great! I'll submit a PR. Thanks for the quick response :)\n", "Actually we've already rejected similar bugs and pull requests in the past: https://github.com/kennethreitz/requests/issu...
https://api.github.com/repos/psf/requests/issues/2674
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2674/labels{/name}
https://api.github.com/repos/psf/requests/issues/2674/comments
https://api.github.com/repos/psf/requests/issues/2674/events
https://github.com/psf/requests/pull/2674
95,613,235
MDExOlB1bGxSZXF1ZXN0NDAyMTAxODA=
2,674
Catch and wrap ClosedPoolError
{ "avatar_url": "https://avatars.githubusercontent.com/u/954858?v=4", "events_url": "https://api.github.com/users/ArcTanSusan/events{/privacy}", "followers_url": "https://api.github.com/users/ArcTanSusan/followers", "following_url": "https://api.github.com/users/ArcTanSusan/following{/other_user}", "gists_url...
[]
closed
true
null
[]
{ "closed_at": "2015-10-12T10:32:06Z", "closed_issues": 7, "created_at": "2015-04-29T13:03:39Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users...
2
2015-07-17T08:33:52Z
2021-09-08T06:00:54Z
2015-10-05T14:09:46Z
CONTRIBUTOR
resolved
Partially resolves #1572: "urllib3 exceptions passing through requests API". #1572 Inspired from @Lukasa's previous 2605be11d82d42438ac7c3993810c955bde74cef. This is my first PR to requests library; feel free to give me feedback. I generally have a fast response time. Also, available on IRC and Twitter (@ArcTanSusan...
{ "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/2674/reactions" }
https://api.github.com/repos/psf/requests/issues/2674/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2674.diff", "html_url": "https://github.com/psf/requests/pull/2674", "merged_at": "2015-10-05T14:09:46Z", "patch_url": "https://github.com/psf/requests/pull/2674.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2674" }
true
[ "Aw no, we lost my awesome work?\n\n![image](https://cloud.githubusercontent.com/assets/1382556/8743585/e94a1910-2c67-11e5-9387-f09a00a9b26c.png)\n\nAll joking aside, this looks good to me, I'd be happy to merge it. However, it's an API change, so it _at least_ needs to go into 2.8.0 and may need to go into 3.0.0. ...
https://api.github.com/repos/psf/requests/issues/2673
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2673/labels{/name}
https://api.github.com/repos/psf/requests/issues/2673/comments
https://api.github.com/repos/psf/requests/issues/2673/events
https://github.com/psf/requests/issues/2673
95,485,672
MDU6SXNzdWU5NTQ4NTY3Mg==
2,673
Low-level exceptions leaking from Response.iter_content()
{ "avatar_url": "https://avatars.githubusercontent.com/u/1150978?v=4", "events_url": "https://api.github.com/users/jmoldow/events{/privacy}", "followers_url": "https://api.github.com/users/jmoldow/followers", "following_url": "https://api.github.com/users/jmoldow/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
1
2015-07-16T17:32:45Z
2021-09-08T23:00:50Z
2015-07-16T17:35:25Z
NONE
resolved
Up through v2.6.0, `Response.iter_content()`would catch all expected exceptions coming from `self.raw.stream()`, and wrap them in instances of various subclasses of `RequestException`. In v2.6.1, urllib3 was updated to 1.10.3, which has issue https://github.com/shazow/urllib3/issues/673 that causes `self.raw.stream()`...
{ "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/2673/reactions" }
https://api.github.com/repos/psf/requests/issues/2673/timeline
null
completed
null
null
false
[ "Requests will upgrade to the newest version of urllib3 when it is released. =)\n\nThanks for the report!\n" ]
https://api.github.com/repos/psf/requests/issues/2672
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2672/labels{/name}
https://api.github.com/repos/psf/requests/issues/2672/comments
https://api.github.com/repos/psf/requests/issues/2672/events
https://github.com/psf/requests/pull/2672
95,304,552
MDExOlB1bGxSZXF1ZXN0NDAwNzcxNTI=
2,672
Fix quickstart "Custom Headers" example intro
{ "avatar_url": "https://avatars.githubusercontent.com/u/1192314?v=4", "events_url": "https://api.github.com/users/petedmarsh/events{/privacy}", "followers_url": "https://api.github.com/users/petedmarsh/followers", "following_url": "https://api.github.com/users/petedmarsh/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
2
2015-07-15T22:31:06Z
2021-09-08T07:00:50Z
2015-07-16T01:51:07Z
CONTRIBUTOR
resolved
Previously this section prefaced an example with: ``` For example, we didn't specify our content-type ``` But, the actual example set a custom user-agent header on the request. This changes it to say "user-agent" instead which matches the given example.
{ "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/2672/reactions" }
https://api.github.com/repos/psf/requests/issues/2672/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2672.diff", "html_url": "https://github.com/psf/requests/pull/2672", "merged_at": "2015-07-16T01:51:07Z", "patch_url": "https://github.com/psf/requests/pull/2672.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2672" }
true
[ "Alternatively the example could be changed to actually set the content-type header instead of the user-agent header - either way I think they should be consistent :)\n", "Thanks @petedmarsh, I missed this when I changed the example from content-type to user-agent!\n" ]
https://api.github.com/repos/psf/requests/issues/2671
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2671/labels{/name}
https://api.github.com/repos/psf/requests/issues/2671/comments
https://api.github.com/repos/psf/requests/issues/2671/events
https://github.com/psf/requests/issues/2671
95,244,150
MDU6SXNzdWU5NTI0NDE1MA==
2,671
How to build requests with custom version OpenSSL?
{ "avatar_url": "https://avatars.githubusercontent.com/u/2422745?v=4", "events_url": "https://api.github.com/users/cecemel/events{/privacy}", "followers_url": "https://api.github.com/users/cecemel/followers", "following_url": "https://api.github.com/users/cecemel/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
1
2015-07-15T17:11:34Z
2021-09-08T23:00:51Z
2015-07-15T18:39:03Z
NONE
resolved
HI, what should I do to build/install requests with a custom build of OpenSSL? thx
{ "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/2671/reactions" }
https://api.github.com/repos/psf/requests/issues/2671/timeline
null
completed
null
null
false
[ "Questions belong on [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests).\n" ]
https://api.github.com/repos/psf/requests/issues/2670
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2670/labels{/name}
https://api.github.com/repos/psf/requests/issues/2670/comments
https://api.github.com/repos/psf/requests/issues/2670/events
https://github.com/psf/requests/pull/2670
95,237,125
MDExOlB1bGxSZXF1ZXN0NDAwNDI4NzU=
2,670
Re-enable Travis-CI builds
{ "avatar_url": "https://avatars.githubusercontent.com/u/15092?v=4", "events_url": "https://api.github.com/users/jayvdb/events{/privacy}", "followers_url": "https://api.github.com/users/jayvdb/followers", "following_url": "https://api.github.com/users/jayvdb/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
6
2015-07-15T16:36:35Z
2021-09-08T07:00:51Z
2015-07-15T16:42:19Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2670/reactions" }
https://api.github.com/repos/psf/requests/issues/2670/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2670.diff", "html_url": "https://github.com/psf/requests/pull/2670", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2670.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2670" }
true
[ "Ideally this isnt merged until #2668 is fixed.\n", "We will not be turning on Travis CI. ci.kennethreitz.org just needs a proper kick. /cc @kennethreitz \n", "The main repo doesnt need to enable Travis. This helps other developers testing on their forks.\n", "The main repo should be testing pull requests, wh...
https://api.github.com/repos/psf/requests/issues/2669
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2669/labels{/name}
https://api.github.com/repos/psf/requests/issues/2669/comments
https://api.github.com/repos/psf/requests/issues/2669/events
https://github.com/psf/requests/pull/2669
95,236,488
MDExOlB1bGxSZXF1ZXN0NDAwNDI2MDA=
2,669
Test CaseInsensitiveDict.__repr__ unordered
{ "avatar_url": "https://avatars.githubusercontent.com/u/15092?v=4", "events_url": "https://api.github.com/users/jayvdb/events{/privacy}", "followers_url": "https://api.github.com/users/jayvdb/followers", "following_url": "https://api.github.com/users/jayvdb/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
2
2015-07-15T16:34:07Z
2021-09-08T07:00:49Z
2015-07-18T15:48:26Z
CONTRIBUTOR
resolved
InsensitiveDict.**repr** does not order the members, which on Python 3 causes TestCaseInsensitiveDict.test_repr to fail. Fixes issue #2668
{ "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/2669/reactions" }
https://api.github.com/repos/psf/requests/issues/2669/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2669.diff", "html_url": "https://github.com/psf/requests/pull/2669", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2669.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2669" }
true
[ "We should just remove this test. As I said when it was added, there's no need to have it.\n", "I'm happy to remove this test rather than mess about with it.\n" ]
https://api.github.com/repos/psf/requests/issues/2668
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2668/labels{/name}
https://api.github.com/repos/psf/requests/issues/2668/comments
https://api.github.com/repos/psf/requests/issues/2668/events
https://github.com/psf/requests/issues/2668
95,235,853
MDU6SXNzdWU5NTIzNTg1Mw==
2,668
CaseInsensitiveDict.__repr__ is unordered
{ "avatar_url": "https://avatars.githubusercontent.com/u/15092?v=4", "events_url": "https://api.github.com/users/jayvdb/events{/privacy}", "followers_url": "https://api.github.com/users/jayvdb/followers", "following_url": "https://api.github.com/users/jayvdb/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
{ "closed_at": "2015-10-12T10:32:06Z", "closed_issues": 7, "created_at": "2015-04-29T13:03:39Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users...
1
2015-07-15T16:31:30Z
2021-09-08T23:00:49Z
2015-07-18T15:48:26Z
CONTRIBUTOR
resolved
CaseInsensitiveDict.**repr** uses dict, and therefore the results are unordered. However TestCaseInsensitiveDict.test_repr attempts to compare the **repr** with an ordered representation. This fails on Python 3.
{ "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/2668/reactions" }
https://api.github.com/repos/psf/requests/issues/2668/timeline
null
completed
null
null
false
[ "The alternative is to order the `__repr__`, but by what order..?\n" ]
https://api.github.com/repos/psf/requests/issues/2667
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2667/labels{/name}
https://api.github.com/repos/psf/requests/issues/2667/comments
https://api.github.com/repos/psf/requests/issues/2667/events
https://github.com/psf/requests/issues/2667
94,844,066
MDU6SXNzdWU5NDg0NDA2Ng==
2,667
insecure platform warning and failure
{ "avatar_url": "https://avatars.githubusercontent.com/u/563900?v=4", "events_url": "https://api.github.com/users/logicminds/events{/privacy}", "followers_url": "https://api.github.com/users/logicminds/followers", "following_url": "https://api.github.com/users/logicminds/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
1
2015-07-14T00:59:18Z
2021-09-08T23:00:51Z
2015-07-14T06:57:02Z
NONE
resolved
This might have something to do with the 2.4.0 release and using certi but I have no idea. Similar to #2255 I am seeing an issue with executing the samples on the readme. Why this happens with a non ssl request, I have no idea. ``` import requests r = requests.get('http://en.wikipedia.org/wiki/Monty_Python') /usr/l...
{ "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/2667/reactions" }
https://api.github.com/repos/psf/requests/issues/2667/timeline
null
completed
null
null
false
[ "Wikipedia redirects you to a HTTPS endpoint. If you check `r.url` you'll see you ended up at a HTTPS version of that page, which is how the insecure request was made. =)\n" ]
https://api.github.com/repos/psf/requests/issues/2666
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2666/labels{/name}
https://api.github.com/repos/psf/requests/issues/2666/comments
https://api.github.com/repos/psf/requests/issues/2666/events
https://github.com/psf/requests/pull/2666
94,710,706
MDExOlB1bGxSZXF1ZXN0Mzk4MDY3Nzk=
2,666
Adds extra tests for CaseInsensitiveDict
{ "avatar_url": "https://avatars.githubusercontent.com/u/29039?v=4", "events_url": "https://api.github.com/users/gvangool/events{/privacy}", "followers_url": "https://api.github.com/users/gvangool/followers", "following_url": "https://api.github.com/users/gvangool/following{/other_user}", "gists_url": "https:...
[]
closed
true
null
[]
null
4
2015-07-13T12:35:19Z
2021-09-08T07:00:51Z
2015-07-14T06:57:58Z
CONTRIBUTOR
resolved
This adds extra tstes for `requests.structures.CaseInsensitiveDict` - Test for NotImplemented in `__eq__` - Adds test for `copy()` - Adds test for `__repr__()`
{ "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/2666/reactions" }
https://api.github.com/repos/psf/requests/issues/2666/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2666.diff", "html_url": "https://github.com/psf/requests/pull/2666", "merged_at": "2015-07-14T06:57:58Z", "patch_url": "https://github.com/psf/requests/pull/2666.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2666" }
true
[ "@Lukasa how does this look to you? Looks fine to me. I don't mind a couple extra tests personally.\n", "I have one note, but I'm happy to add in extra tests.\n", "@Lukasa I believe I've addressed your concern for that :)\n", "Yeah, that looks good to me. \\o/\n" ]
https://api.github.com/repos/psf/requests/issues/2665
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2665/labels{/name}
https://api.github.com/repos/psf/requests/issues/2665/comments
https://api.github.com/repos/psf/requests/issues/2665/events
https://github.com/psf/requests/issues/2665
94,548,834
MDU6SXNzdWU5NDU0ODgzNA==
2,665
cookiejar_from_dict support SimpleCookie
{ "avatar_url": "https://avatars.githubusercontent.com/u/735150?v=4", "events_url": "https://api.github.com/users/spumer/events{/privacy}", "followers_url": "https://api.github.com/users/spumer/followers", "following_url": "https://api.github.com/users/spumer/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
8
2015-07-12T08:59:06Z
2021-09-08T23:00:51Z
2015-07-12T11:04:44Z
NONE
resolved
Hi there! :) I have a suggestion about support `http.cookies.SimpleCookie` by `requests.cookies.cookiejar_from_dict`. Example: ``` python import http.cookies import requests import requests.cookies cookie_str = 'Key1=Value1;Key2=Value2' # e.g can be obtain from cfg cookie = http.cookies.SimpleCookie(cookie_str) ...
{ "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/2665/reactions" }
https://api.github.com/repos/psf/requests/issues/2665/timeline
null
completed
null
null
false
[ "Have you tested your example code? It works fine for me...\n", "Yes, of course! Code works fine before you send first request. See the picture.\nIf you need I can send full report (.html doc) (rendered by mako lib).\n\nOn the screen you see Python\\lib\\http\\cookiejar.py : 1289\n![report_part](https://cloud.git...
https://api.github.com/repos/psf/requests/issues/2664
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2664/labels{/name}
https://api.github.com/repos/psf/requests/issues/2664/comments
https://api.github.com/repos/psf/requests/issues/2664/events
https://github.com/psf/requests/issues/2664
94,306,485
MDU6SXNzdWU5NDMwNjQ4NQ==
2,664
`PUT` to Amazon S3 is failing
{ "avatar_url": "https://avatars.githubusercontent.com/u/640792?v=4", "events_url": "https://api.github.com/users/avinassh/events{/privacy}", "followers_url": "https://api.github.com/users/avinassh/followers", "following_url": "https://api.github.com/users/avinassh/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
4
2015-07-10T13:23:10Z
2021-09-08T12:01:05Z
2015-07-10T16:11:51Z
NONE
resolved
I am trying to upload a file to Amazon S3 with Python Requests (Python is v2.7.9 and requests is v2.7). Following the curl command which works perfectly: ``` curl --request PUT --upload-file img.png https://mybucket-dev.s3.amazonaws.com/6b89e187-26fa-11e5-a04f-a45e60d45b53?Signature=Ow%3D&Expires=1436595966&AWSAccessK...
{ "avatar_url": "https://avatars.githubusercontent.com/u/640792?v=4", "events_url": "https://api.github.com/users/avinassh/events{/privacy}", "followers_url": "https://api.github.com/users/avinassh/followers", "following_url": "https://api.github.com/users/avinassh/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/2664/reactions" }
https://api.github.com/repos/psf/requests/issues/2664/timeline
null
completed
null
null
false
[ "Well, step 1 is to avoid sending `Expect: 100 Continue`. We don't handle them properly. Please also don't send your own `Content-Length` header: requests will do that for you.\n\nThe real problem is that I think your upload is going to be multipart/form-encoded, but curl is uploading the file directly. Try: `reque...
https://api.github.com/repos/psf/requests/issues/2663
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2663/labels{/name}
https://api.github.com/repos/psf/requests/issues/2663/comments
https://api.github.com/repos/psf/requests/issues/2663/events
https://github.com/psf/requests/pull/2663
94,246,369
MDExOlB1bGxSZXF1ZXN0Mzk2NjE1NzE=
2,663
Allow non-latin1 credentials
{ "avatar_url": "https://avatars.githubusercontent.com/u/41663?v=4", "events_url": "https://api.github.com/users/mar10/events{/privacy}", "followers_url": "https://api.github.com/users/mar10/followers", "following_url": "https://api.github.com/users/mar10/following{/other_user}", "gists_url": "https://api.git...
[]
closed
true
null
[]
null
8
2015-07-10T08:14:54Z
2021-09-08T07:00:51Z
2015-07-13T21:01:31Z
NONE
resolved
Referring to #1926 Maybe I am wrong, but my understanding was that header fields must be latin-1 encoded. This is awlays true for Basic Authentication headers, since base64 encoded strings consist of plain ascii. I would think however that `<username>:<password>` may contain special characters, as long as client and ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/41663?v=4", "events_url": "https://api.github.com/users/mar10/events{/privacy}", "followers_url": "https://api.github.com/users/mar10/followers", "following_url": "https://api.github.com/users/mar10/following{/other_user}", "gists_url": "https://api.git...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2663/reactions" }
https://api.github.com/repos/psf/requests/issues/2663/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2663.diff", "html_url": "https://github.com/psf/requests/pull/2663", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2663.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2663" }
true
[ "I _think_ I'm ok with this change. I think we need to confirm it functions as expected on Python 3, though.\n", "> I think we need to confirm it functions as expected on Python 3, though.\n\nDid you address _me_ with '_we_'?\n\nI guess there should be tests that pass username and passwords as binary strings, uni...
https://api.github.com/repos/psf/requests/issues/2662
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2662/labels{/name}
https://api.github.com/repos/psf/requests/issues/2662/comments
https://api.github.com/repos/psf/requests/issues/2662/events
https://github.com/psf/requests/pull/2662
93,715,972
MDExOlB1bGxSZXF1ZXN0Mzk0NDc2Njc=
2,662
fix some small spell problem
{ "avatar_url": "https://avatars.githubusercontent.com/u/6214861?v=4", "events_url": "https://api.github.com/users/mudongliang/events{/privacy}", "followers_url": "https://api.github.com/users/mudongliang/followers", "following_url": "https://api.github.com/users/mudongliang/following{/other_user}", "gists_ur...
[]
closed
true
null
[]
null
1
2015-07-08T07:12:00Z
2021-09-08T07:00:52Z
2015-07-08T07:23:32Z
NONE
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/2662/reactions" }
https://api.github.com/repos/psf/requests/issues/2662/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2662.diff", "html_url": "https://github.com/psf/requests/pull/2662", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2662.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2662" }
true
[ "Thanks for this @mudongliang!\n\nUnfortunately, neither of those is actually incorrect, they're just informal English.\n\n> (or branch off of it)\n\nTo \"branch off\" of something is to create a new branch from it. Thus, to \"branch off of it [master]\" is to create a new branch from the master branch.\n\n> Send a...
https://api.github.com/repos/psf/requests/issues/2661
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2661/labels{/name}
https://api.github.com/repos/psf/requests/issues/2661/comments
https://api.github.com/repos/psf/requests/issues/2661/events
https://github.com/psf/requests/pull/2661
92,902,034
MDExOlB1bGxSZXF1ZXN0MzkxODU4NjU=
2,661
Only pass useful timeouts to _get_conn
{ "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[ { "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}...
null
3
2015-07-03T16:04:53Z
2021-09-08T07:00:52Z
2015-07-04T20:19:37Z
MEMBER
resolved
So `_get_conn` doesn't use a urllib3 `Timeout` object, it only takes a float. It also only does stuff if `block` is `True`. Given that by default we use `block=False`, it won't do anything, so let's not use it. However, if someone changes that with a global constant they may want to be able to change this too, so let's...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2661/reactions" }
https://api.github.com/repos/psf/requests/issues/2661/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2661.diff", "html_url": "https://github.com/psf/requests/pull/2661", "merged_at": "2015-07-04T20:19:37Z", "patch_url": "https://github.com/psf/requests/pull/2661.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2661" }
true
[ "/cc @shazow \n", ":custard:\n", "LGTM\n" ]
https://api.github.com/repos/psf/requests/issues/2660
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2660/labels{/name}
https://api.github.com/repos/psf/requests/issues/2660/comments
https://api.github.com/repos/psf/requests/issues/2660/events
https://github.com/psf/requests/issues/2660
92,899,058
MDU6SXNzdWU5Mjg5OTA1OA==
2,660
HTTPAdapter timeout type error
{ "avatar_url": "https://avatars.githubusercontent.com/u/198012?v=4", "events_url": "https://api.github.com/users/gbishop/events{/privacy}", "followers_url": "https://api.github.com/users/gbishop/followers", "following_url": "https://api.github.com/users/gbishop/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
5
2015-07-03T15:44:22Z
2021-09-08T23:00:52Z
2015-07-09T17:37:28Z
NONE
resolved
At https://github.com/kennethreitz/requests/blob/master/requests/adapters.py#L378 you call conn._get_conn(timeout=timeout) The timeout object you pass is a Timeout but that internal method in urllib3 expects a float. This results in a type error about float + Timeout. A float works there but I wasn't sure which 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/2660/reactions" }
https://api.github.com/repos/psf/requests/issues/2660/timeline
null
completed
null
null
false
[ "Yeah, I think I spotted this before. I have no idea why we never fixed it, but it's definitely a bug.\n", "I found it while chasing the Connection pool is full warning on chunked\nposts. No parameter settings to HTTPAdaptor seem to help.\n\nOn Fri, Jul 3, 2015 at 11:55 AM, Cory Benfield notifications@github.com\...
https://api.github.com/repos/psf/requests/issues/2659
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2659/labels{/name}
https://api.github.com/repos/psf/requests/issues/2659/comments
https://api.github.com/repos/psf/requests/issues/2659/events
https://github.com/psf/requests/issues/2659
92,788,456
MDU6SXNzdWU5Mjc4ODQ1Ng==
2,659
Extend "verify" to accept directory argument
{ "avatar_url": "https://avatars.githubusercontent.com/u/4121436?v=4", "events_url": "https://api.github.com/users/staticglobal/events{/privacy}", "followers_url": "https://api.github.com/users/staticglobal/followers", "following_url": "https://api.github.com/users/staticglobal/following{/other_user}", "gists...
[]
closed
true
null
[]
null
9
2015-07-03T04:32:03Z
2021-09-08T21:00:46Z
2015-11-07T21:39:41Z
NONE
resolved
On my systems I exclusively work with collections of CA certificates stored as individual files in a single directory (with appropriate c_rehash symlinks) rather than the large monolithic "CA BUNDLE" file with every cert concatenated inside. Most *nix distributions provide both. A directory of certs at /etc/ssl/certs...
{ "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/2659/reactions" }
https://api.github.com/repos/psf/requests/issues/2659/timeline
null
completed
null
null
false
[ "I like this.\n", "Alright, cool, let's do it.\n", "I think this is an issue for `urllib3` -- if I understand correctly (and it's very possible I don't!), when `requests` wants to send a request, it [asks for an `adapter`](https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L567) -- that a...
https://api.github.com/repos/psf/requests/issues/2658
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2658/labels{/name}
https://api.github.com/repos/psf/requests/issues/2658/comments
https://api.github.com/repos/psf/requests/issues/2658/events
https://github.com/psf/requests/issues/2658
92,743,662
MDU6SXNzdWU5Mjc0MzY2Mg==
2,658
Docs inconsistent with code when it comes to params
{ "avatar_url": "https://avatars.githubusercontent.com/u/1186534?v=4", "events_url": "https://api.github.com/users/djha-skin/events{/privacy}", "followers_url": "https://api.github.com/users/djha-skin/followers", "following_url": "https://api.github.com/users/djha-skin/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
2
2015-07-02T21:53:13Z
2021-09-08T23:00:52Z
2015-07-02T23:19:37Z
NONE
resolved
The docs say that if you want to include a list in parameters, you have to append `[]` to the key name: > In order to pass a list of items as a value you must mark the key as referring to a list like string by > appending [] to the key: > > ``` > >>> payload = {'key1': 'value1', 'key2[]': ['value2', 'value3']} > >>> ...
{ "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/2658/reactions" }
https://api.github.com/repos/psf/requests/issues/2658/timeline
null
completed
null
null
false
[ "You need to inspect `to_key_val_list` to get the full description. `to_key_val_list` will take a dictionary like `{'foo': 'bar', 'biz': 'baz'}` and turn it into `[('foo', 'bar'), ('biz', 'baz')]` (although the order may not be preserved. Alternatively, if `data` in this case is already of the latter form, it'll ju...
https://api.github.com/repos/psf/requests/issues/2657
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2657/labels{/name}
https://api.github.com/repos/psf/requests/issues/2657/comments
https://api.github.com/repos/psf/requests/issues/2657/events
https://github.com/psf/requests/issues/2657
91,725,046
MDU6SXNzdWU5MTcyNTA0Ng==
2,657
Requests with german umlauts go failed
{ "avatar_url": "https://avatars.githubusercontent.com/u/236668?v=4", "events_url": "https://api.github.com/users/OlafRadicke/events{/privacy}", "followers_url": "https://api.github.com/users/OlafRadicke/followers", "following_url": "https://api.github.com/users/OlafRadicke/following{/other_user}", "gists_url...
[]
closed
true
null
[]
null
4
2015-06-29T07:37:07Z
2021-09-08T23:00:53Z
2015-06-29T09:50:13Z
NONE
resolved
Hi, I get trouble with german umlauts in my json requests. An example: > ^C[or@prag ~]$ python3 > Python 3.4.1 (default, Nov 3 2014, 14:38:10) > [GCC 4.9.1 20140930 (Red Hat 4.9.1-11)] on linux > Type "help", "copyright", "credits" or "license" for more information. > > > > > import requests > > > > request_uri = "...
{ "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/2657/reactions" }
https://api.github.com/repos/psf/requests/issues/2657/timeline
null
completed
null
null
false
[ "I think it's just that your request is wrong. When you use the `data` keyword we send the data as application/x-www-form-urlencoded data, not as JSON. Try using the `json` keyword, like this:\n\n``` python\nimport requests\nrequest_uri = \"http://127.0.0.1:5984/kochrezepte/pesto_alla_genovese_4\"\njson_doc = '{\"t...
https://api.github.com/repos/psf/requests/issues/2656
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2656/labels{/name}
https://api.github.com/repos/psf/requests/issues/2656/comments
https://api.github.com/repos/psf/requests/issues/2656/events
https://github.com/psf/requests/pull/2656
91,671,789
MDExOlB1bGxSZXF1ZXN0Mzg3MzcyMzA=
2,656
Allow get_netrc_auth to raise parse/permission errors to caller
{ "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
5
2015-06-29T02:18:17Z
2021-09-08T07:00:53Z
2015-06-29T07:24:21Z
CONTRIBUTOR
resolved
If the netrc file exists but cannot be parsed or read, get_netrc_auth silently fails. Add a new argument `ignore_errors` which when set to False will cause any parse/permission errors to be raised to the caller. The default value is True, which means the default behavior is unchanged. Fixes #2654 Change-Id: I7436aa...
{ "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/2656/reactions" }
https://api.github.com/repos/psf/requests/issues/2656/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2656.diff", "html_url": "https://github.com/psf/requests/pull/2656", "merged_at": "2015-06-29T07:24:21Z", "patch_url": "https://github.com/psf/requests/pull/2656.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2656" }
true
[ "With a badly formed netrc file, `netrc.netrc` fails:\n\n```\n>>> from netrc import netrc\n>>> netrc()\nTraceback (most recent call last):\n File \"<stdin>\", line 1, in <module>\n File \"/usr/lib/python2.7/netrc.py\", line 32, in __init__\n self._parse(file, fp)\n File \"/usr/lib/python2.7/netrc.py\", line 9...
https://api.github.com/repos/psf/requests/issues/2655
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2655/labels{/name}
https://api.github.com/repos/psf/requests/issues/2655/comments
https://api.github.com/repos/psf/requests/issues/2655/events
https://github.com/psf/requests/pull/2655
91,611,905
MDExOlB1bGxSZXF1ZXN0Mzg3Mjc1ODM=
2,655
Handle complex redirect URIs on Python 3
{ "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
6
2015-06-28T15:58:44Z
2021-09-08T06:01:07Z
2015-09-01T08:32:21Z
MEMBER
resolved
Resolves #2653. This is one of those annoying changes that's almost impossible to test because of the sheer complexity of our redirect handling code. This also doesn't make it any simpler, sadly. As to what version we merge this into, I proposed it against the master branch. I don't think it belongs in 3.0.0 (`resolv...
{ "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/2655/reactions" }
https://api.github.com/repos/psf/requests/issues/2655/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2655.diff", "html_url": "https://github.com/psf/requests/pull/2655", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2655.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2655" }
true
[ "The tests fail miserably on this :(\n\nOne way to fix the failing tests is to either change `unquote_unreserved` to call split with a `b'%'`, or to immediately decode the URL to `utf-8`, e.g.,\n\n``` py\nif is_py3 and isinstance(url, str):\n url = url.encode('latin1').decode('utf8')\n```\n\nPersonally, I'd like...
https://api.github.com/repos/psf/requests/issues/2654
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2654/labels{/name}
https://api.github.com/repos/psf/requests/issues/2654/comments
https://api.github.com/repos/psf/requests/issues/2654/events
https://github.com/psf/requests/issues/2654
91,610,831
MDU6SXNzdWU5MTYxMDgzMQ==
2,654
utils.get_netrc_auth silently fails when netrc exists but fails to parse
{ "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...
[ { "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
[]
{ "closed_at": "2015-10-12T10:32:06Z", "closed_issues": 7, "created_at": "2015-04-29T13:03:39Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users...
2
2015-06-28T15:44:22Z
2021-09-08T23:00:53Z
2015-06-29T07:24:21Z
CONTRIBUTOR
resolved
My .netrc contains a line for the github auth, [like this](https://gist.github.com/wikimatze/9790374). It turns out that `netrc.netrc()` doesn't like that: ``` >>> from netrc import netrc >>> netrc() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/System/Library/Frameworks/Python.fra...
{ "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/2654/reactions" }
https://api.github.com/repos/psf/requests/issues/2654/timeline
null
completed
null
null
false
[ "Yeah, this is tricky. You can see the reason we added this logic in #449.\n\nGiven that you're using the function explicitly, maybe the best option is to add a kwarg to `get_netrc_auth` that allows it to be used in an explodey way (when users like yourself want to be explicit), but that allows us to continue to us...
https://api.github.com/repos/psf/requests/issues/2653
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2653/labels{/name}
https://api.github.com/repos/psf/requests/issues/2653/comments
https://api.github.com/repos/psf/requests/issues/2653/events
https://github.com/psf/requests/issues/2653
91,461,009
MDU6SXNzdWU5MTQ2MTAwOQ==
2,653
.htaccesss redirect to non ASCII folder does not work
{ "avatar_url": "https://avatars.githubusercontent.com/u/1542137?v=4", "events_url": "https://api.github.com/users/gerritsangel/events{/privacy}", "followers_url": "https://api.github.com/users/gerritsangel/followers", "following_url": "https://api.github.com/users/gerritsangel/following{/other_user}", "gists...
[]
closed
true
null
[]
null
17
2015-06-27T12:51:51Z
2021-09-08T13:05:41Z
2016-12-09T21:17:02Z
NONE
resolved
Hello, I have the following setup on a shared hoster: - Apache 2.2.15 - A Japanese language .みんな (.minna; xn--q9jyb4c) IDN domain. - A blog which is in the subfolder ブログ (blog) - A redirect in the .htaccess file like this: `Redirect /index.html /ブログ/` So I usually open the domain http://test.みんな and the server redire...
{ "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/2653/reactions" }
https://api.github.com/repos/psf/requests/issues/2653/timeline
null
completed
null
null
false
[ "Is that error output from response.content or response.text? If it's text, can you show me response.content please?\n", "Could you also show us\n\n``` py\nprint(response.request.url)\nprint(response.history)\nfor resp in response.history:\n print('---')\n print('Request URI: {}'.format(resp.request.url))\n...
https://api.github.com/repos/psf/requests/issues/2652
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2652/labels{/name}
https://api.github.com/repos/psf/requests/issues/2652/comments
https://api.github.com/repos/psf/requests/issues/2652/events
https://github.com/psf/requests/issues/2652
90,935,727
MDU6SXNzdWU5MDkzNTcyNw==
2,652
Documentation of verify parameter inconsistent with examples on stackoverflow
{ "avatar_url": "https://avatars.githubusercontent.com/u/2481775?v=4", "events_url": "https://api.github.com/users/nmgeek/events{/privacy}", "followers_url": "https://api.github.com/users/nmgeek/followers", "following_url": "https://api.github.com/users/nmgeek/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
2
2015-06-25T11:32:03Z
2021-09-08T22:00:51Z
2015-09-01T01:34:11Z
NONE
resolved
requests is a very nice replacement for ugly code you would write using urllib and urllib2. After converting my code to requests and testing extensively I found a glitch when packaging my code with pyinstaller (I guess the same thing happens with py2exe). When connecting to https sites requests apparently depends upo...
{ "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/2652/reactions" }
https://api.github.com/repos/psf/requests/issues/2652/timeline
null
completed
null
null
false
[ "@nmgeek You may want to take a look at http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification where it is documented: 'You can pass verify the path to a CA_BUNDLE file with certificates of trusted CAs.'\n\nThis really could use an example though.\n", "@t-8ch is right, this _is_ documented...
https://api.github.com/repos/psf/requests/issues/2651
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2651/labels{/name}
https://api.github.com/repos/psf/requests/issues/2651/comments
https://api.github.com/repos/psf/requests/issues/2651/events
https://github.com/psf/requests/issues/2651
90,806,236
MDU6SXNzdWU5MDgwNjIzNg==
2,651
Cannot make URL query string with a parameter without a value
{ "avatar_url": "https://avatars.githubusercontent.com/u/1110390?v=4", "events_url": "https://api.github.com/users/agilevic/events{/privacy}", "followers_url": "https://api.github.com/users/agilevic/followers", "following_url": "https://api.github.com/users/agilevic/following{/other_user}", "gists_url": "http...
[ { "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": "eb6420", "default": false, "description": null...
closed
true
null
[]
null
34
2015-06-24T23:35:06Z
2021-02-08T02:01:02Z
2015-11-05T17:59:07Z
NONE
resolved
URL query string may contain a parameter, which has no value i.e. http://host/path/?foo or http://host/path/?a=1&foo. Currently Requests does not provide support for that. ``` In [68]: d Out[68]: {'a': 1, 'foo': None} In [69]: tl Out[69]: [('a', 1), ('foo',)] In [70]: RequestEncodingMixin._encode_params(d) Out[70]:...
{ "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": 4, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 4, "url": "https://api.github.com/repos/psf/requests/issues/2651/reactions" }
https://api.github.com/repos/psf/requests/issues/2651/timeline
null
completed
null
null
false
[ "I can see some value in this. For API reasons it could only ever work with the 'list of tuples' approach, but I'd be ok with us adding support for this. @sigmavirus24?\n", "I don't think we use it (yet) but it seems that [urllib3 uses `urlencode`](https://github.com/kennethreitz/requests/blob/8b5e457b756b2ab4c02...
https://api.github.com/repos/psf/requests/issues/2650
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2650/labels{/name}
https://api.github.com/repos/psf/requests/issues/2650/comments
https://api.github.com/repos/psf/requests/issues/2650/events
https://github.com/psf/requests/pull/2650
90,304,864
MDExOlB1bGxSZXF1ZXN0MzgzMDU2MjQ=
2,650
Display content as part of HTTP error messages
{ "avatar_url": "https://avatars.githubusercontent.com/u/1921476?v=4", "events_url": "https://api.github.com/users/kuldeeprishi/events{/privacy}", "followers_url": "https://api.github.com/users/kuldeeprishi/followers", "following_url": "https://api.github.com/users/kuldeeprishi/following{/other_user}", "gists...
[]
closed
true
null
[]
null
2
2015-06-23T06:46:48Z
2021-09-08T07:00:53Z
2015-06-23T07:05:43Z
NONE
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/2650/reactions" }
https://api.github.com/repos/psf/requests/issues/2650/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2650.diff", "html_url": "https://github.com/psf/requests/pull/2650", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2650.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2650" }
true
[ "Unlike #2648 I think this is a not a good idea.\n\nThe content of a message is potentially extremely large or unbounded. It should not appear in tracebacks. Additionally, if you've set `stream=True` because you're expecting a large response in any form then the body may not have been downloaded yet, in which case ...
https://api.github.com/repos/psf/requests/issues/2649
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2649/labels{/name}
https://api.github.com/repos/psf/requests/issues/2649/comments
https://api.github.com/repos/psf/requests/issues/2649/events
https://github.com/psf/requests/issues/2649
90,273,302
MDU6SXNzdWU5MDI3MzMwMg==
2,649
Requests seems to stucks when using with futures.ThreadPoolExecutor
{ "avatar_url": "https://avatars.githubusercontent.com/u/10950287?v=4", "events_url": "https://api.github.com/users/sezginriggs/events{/privacy}", "followers_url": "https://api.github.com/users/sezginriggs/followers", "following_url": "https://api.github.com/users/sezginriggs/following{/other_user}", "gists_u...
[ { "color": "f7c6c7", "default": false, "description": null, "id": 167537670, "name": "Propose Close", "node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=", "url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close" }, { "color": "fef2c0", "default": false, "description": ...
closed
true
null
[]
null
24
2015-06-23T03:07:29Z
2021-09-07T00:06:25Z
2017-07-30T00:22:47Z
NONE
resolved
Hello, I'm using Python 2.7.9 with futures (3.0.3) and requests (2.7.0) on Debian (also tested on Win8 and results are same). The problem is, Requests doesn't timeout and stucks, so it seems my threads never finish their jobs and stops processing queue. I'm trying to make a multi-threaded web crawler and I'm fetchin...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/psf/requests/issues/2649/reactions" }
https://api.github.com/repos/psf/requests/issues/2649/timeline
null
completed
null
null
false
[ "Have you tried [requests-futures](/ross/requests-futures)? If not, could you reproduce this with requests-futures?\n", "Additionally, is it possible for us to obtain a traceback of where we're getting stuck? I want to know if we're getting stuck during the connection phase (in which case it's our fault) or if we...
https://api.github.com/repos/psf/requests/issues/2648
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2648/labels{/name}
https://api.github.com/repos/psf/requests/issues/2648/comments
https://api.github.com/repos/psf/requests/issues/2648/events
https://github.com/psf/requests/pull/2648
90,205,820
MDExOlB1bGxSZXF1ZXN0MzgyNzMxNjE=
2,648
Display URL as part of HTTP error messages
{ "avatar_url": "https://avatars.githubusercontent.com/u/305268?v=4", "events_url": "https://api.github.com/users/msabramo/events{/privacy}", "followers_url": "https://api.github.com/users/msabramo/followers", "following_url": "https://api.github.com/users/msabramo/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
2
2015-06-22T20:33:10Z
2021-09-08T07:00:53Z
2015-06-22T21:16:28Z
CONTRIBUTOR
resolved
It seems convenient to include the URL in the error message in case you get an unexpected error. E.g.: ``` In [1]: import requests In [2]: resp = requests.get('http://www.google.com/eofdfdfdfdfd') In [3]: resp Out[3]: <Response [404]> In [4]: resp.raise_for_status() ------------------------------------------------...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/2648/reactions" }
https://api.github.com/repos/psf/requests/issues/2648/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2648.diff", "html_url": "https://github.com/psf/requests/pull/2648", "merged_at": "2015-06-22T21:16:28Z", "patch_url": "https://github.com/psf/requests/pull/2648.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2648" }
true
[ "Seems reasonable enough to me. I'm happy to take this. @sigmavirus24?\n", "Seems like a good UX improvement to me. :+1: \n" ]
https://api.github.com/repos/psf/requests/issues/2647
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2647/labels{/name}
https://api.github.com/repos/psf/requests/issues/2647/comments
https://api.github.com/repos/psf/requests/issues/2647/events
https://github.com/psf/requests/pull/2647
90,021,155
MDExOlB1bGxSZXF1ZXN0MzgyMDI1MDU=
2,647
Update AUTHORS.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/1743810?v=4", "events_url": "https://api.github.com/users/neosab/events{/privacy}", "followers_url": "https://api.github.com/users/neosab/followers", "following_url": "https://api.github.com/users/neosab/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
3
2015-06-22T06:09:58Z
2021-09-08T07:00:54Z
2015-06-22T07:08:49Z
NONE
resolved
For #2631
{ "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/2647/reactions" }
https://api.github.com/repos/psf/requests/issues/2647/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2647.diff", "html_url": "https://github.com/psf/requests/pull/2647", "merged_at": "2015-06-22T07:08:49Z", "patch_url": "https://github.com/psf/requests/pull/2647.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2647" }
true
[ "\\o/ :cake: :sparkles: :cake:\n", ":joy: Thanks @Lukasa \n", "WOOOT\n" ]
https://api.github.com/repos/psf/requests/issues/2646
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2646/labels{/name}
https://api.github.com/repos/psf/requests/issues/2646/comments
https://api.github.com/repos/psf/requests/issues/2646/events
https://github.com/psf/requests/pull/2646
89,917,567
MDExOlB1bGxSZXF1ZXN0MzgxODQ5Mzg=
2,646
Add release notes for PR 2631
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[]
closed
true
null
[]
null
2
2015-06-21T14:22:24Z
2021-09-08T07:00:54Z
2015-06-21T15:15:17Z
CONTRIBUTOR
resolved
/cc @neosab @Lukasa
{ "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/2646/reactions" }
https://api.github.com/repos/psf/requests/issues/2646/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2646.diff", "html_url": "https://github.com/psf/requests/pull/2646", "merged_at": "2015-06-21T15:15:17Z", "patch_url": "https://github.com/psf/requests/pull/2646.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2646" }
true
[ ":cake: :sparkles:\n", "Thanks @sigmavirus24 \n" ]
https://api.github.com/repos/psf/requests/issues/2645
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2645/labels{/name}
https://api.github.com/repos/psf/requests/issues/2645/comments
https://api.github.com/repos/psf/requests/issues/2645/events
https://github.com/psf/requests/issues/2645
89,629,370
MDU6SXNzdWU4OTYyOTM3MA==
2,645
[RFC] Change behaviour of Response.ok in 3.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 29, "created_at": "2024-05-19T18:29:04Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/fol...
19
2015-06-19T18:29:16Z
2024-05-20T14:36:12Z
2024-05-20T14:36:12Z
CONTRIBUTOR
null
# Preamble Please note that this a request for comments, not something that we will _definitely_ do in Requests. # Problem Right now we have an attribute defined on a Response object, `ok`. This attribute [currently](https://github.com/kennethreitz/requests/blob/9bbab338fdbb562b923ba2d8a80f0bfba697fa41/requests/model...
{ "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/followers", "following_url": "https://api.github.com/users/sethmlarson/following{/other_user}", "gists_u...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2645/reactions" }
https://api.github.com/repos/psf/requests/issues/2645/timeline
null
completed
null
null
false
[ "I think that `ok` is just poorly named. I'd be more interested in having predicates that cover the major response ranges: `response.success` , `response.redirect`, `response.client_error`, `response.server_error`. We could then have overlap fields, like `response.error` (a superset of `client_error` and `server_er...
https://api.github.com/repos/psf/requests/issues/2644
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2644/labels{/name}
https://api.github.com/repos/psf/requests/issues/2644/comments
https://api.github.com/repos/psf/requests/issues/2644/events
https://github.com/psf/requests/issues/2644
89,478,843
MDU6SXNzdWU4OTQ3ODg0Mw==
2,644
incorrect status_code
{ "avatar_url": "https://avatars.githubusercontent.com/u/10746779?v=4", "events_url": "https://api.github.com/users/jincept/events{/privacy}", "followers_url": "https://api.github.com/users/jincept/followers", "following_url": "https://api.github.com/users/jincept/following{/other_user}", "gists_url": "https:...
[]
closed
true
null
[]
null
2
2015-06-19T06:18:08Z
2021-09-08T23:00:54Z
2015-06-19T07:27:43Z
NONE
resolved
import requests import time import random url = 'http://myserver.com' n = 0 while(True): resp = requests.get(url) now=time.time() n += 1 print(n, resp, resp.status_code, time.ctime(now)) print(resp.headers) r=random.randint(1,5) time.sleep(r) print('\t\t\t slept',r, 'seconds') # Out...
{ "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/2644/reactions" }
https://api.github.com/repos/psf/requests/issues/2644/timeline
null
completed
null
null
false
[ "\n![screen shot 2015-06-18 at 11 21 48 pm](https://cloud.githubusercontent.com/assets/10746779/8248193/d4ae4228-1610-11e5-9b63-f84c66b703bb.png)\n", "This is not a bug.\n\nRequests will follow all redirects until the chain is complete. What has happened here is that you've been redirected from HTTP to HTTPS by ...
https://api.github.com/repos/psf/requests/issues/2643
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2643/labels{/name}
https://api.github.com/repos/psf/requests/issues/2643/comments
https://api.github.com/repos/psf/requests/issues/2643/events
https://github.com/psf/requests/issues/2643
88,726,381
MDU6SXNzdWU4ODcyNjM4MQ==
2,643
deflate failure on google appengine above requests 2.3.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/824379?v=4", "events_url": "https://api.github.com/users/tarvitz/events{/privacy}", "followers_url": "https://api.github.com/users/tarvitz/followers", "following_url": "https://api.github.com/users/tarvitz/following{/other_user}", "gists_url": "https://...
[ { "color": "fbca04", "default": false, "description": null, "id": 615414998, "name": "GAE Support", "node_id": "MDU6TGFiZWw2MTU0MTQ5OTg=", "url": "https://api.github.com/repos/psf/requests/labels/GAE%20Support" } ]
closed
true
null
[]
null
3
2015-06-16T13:20:50Z
2021-09-08T09:00:46Z
2015-06-16T13:24:15Z
NONE
resolved
if response was given with deflate,gzip or just deflate (Content-Encoding: "gzip, deflate") then requests on google appengine would failure this line packages/urllib3/response.py:440 ``` python if self._original_response and self._original_response._method.upper() == 'HEAD': ``` It happens because self._original_resp...
{ "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/2643/reactions" }
https://api.github.com/repos/psf/requests/issues/2643/timeline
null
completed
null
null
false
[ "Sorry, this is a bug in [urllib3](https://github.com/shazow/urllib3), do you mind opening an issue for it on that repository?\n", "This should be fixed when https://github.com/shazow/urllib3/pull/620 is merged and we pull it in for a new release.\n", "np, thanks for advance :)\n" ]
https://api.github.com/repos/psf/requests/issues/2642
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2642/labels{/name}
https://api.github.com/repos/psf/requests/issues/2642/comments
https://api.github.com/repos/psf/requests/issues/2642/events
https://github.com/psf/requests/issues/2642
88,438,041
MDU6SXNzdWU4ODQzODA0MQ==
2,642
BadStatusLine on Server restart
{ "avatar_url": "https://avatars.githubusercontent.com/u/414336?v=4", "events_url": "https://api.github.com/users/guettli/events{/privacy}", "followers_url": "https://api.github.com/users/guettli/followers", "following_url": "https://api.github.com/users/guettli/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
11
2015-06-15T14:09:52Z
2021-09-08T23:00:54Z
2015-06-18T12:27:49Z
NONE
resolved
Hi, from time to time we this error: ``` File "/home/foo_esm_di226/lib/python2.7/site-packages/requests/api.py", line 49, in request response = session.request(method=method, url=url, **kwargs) File "/home/foo_esm_di226/lib/python2.7/site-packages/requests/sessions.py", line 461, in request resp = self.send...
{ "avatar_url": "https://avatars.githubusercontent.com/u/414336?v=4", "events_url": "https://api.github.com/users/guettli/events{/privacy}", "followers_url": "https://api.github.com/users/guettli/followers", "following_url": "https://api.github.com/users/guettli/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/2642/reactions" }
https://api.github.com/repos/psf/requests/issues/2642/timeline
null
completed
null
null
false
[ "1. We don't retry most errors by default\n2. If you use a session, you can [configure retries on your own](http://www.coglib.com/~icordasc/blog/2014/12/retries-in-requests.html) without having to wait for a release of requests\n3. Not every `BadStatusLine` error is retry-able. In fact, for the most, a `BadStatusLi...
https://api.github.com/repos/psf/requests/issues/2641
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2641/labels{/name}
https://api.github.com/repos/psf/requests/issues/2641/comments
https://api.github.com/repos/psf/requests/issues/2641/events
https://github.com/psf/requests/pull/2641
88,295,341
MDExOlB1bGxSZXF1ZXN0Mzc2NTQ2NDU=
2,641
make api.py support keepalive
{ "avatar_url": "https://avatars.githubusercontent.com/u/548686?v=4", "events_url": "https://api.github.com/users/duanhongyi/events{/privacy}", "followers_url": "https://api.github.com/users/duanhongyi/followers", "following_url": "https://api.github.com/users/duanhongyi/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
4
2015-06-15T02:41:51Z
2021-09-08T07:00:55Z
2015-06-15T09:21:23Z
NONE
resolved
Use an object pool, making api.py support for keepalive
{ "avatar_url": "https://avatars.githubusercontent.com/u/548686?v=4", "events_url": "https://api.github.com/users/duanhongyi/events{/privacy}", "followers_url": "https://api.github.com/users/duanhongyi/followers", "following_url": "https://api.github.com/users/duanhongyi/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/2641/reactions" }
https://api.github.com/repos/psf/requests/issues/2641/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2641.diff", "html_url": "https://github.com/psf/requests/pull/2641", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2641.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2641" }
true
[ "Thanks for this @duanhongyi!\n\nHowever, I'm :-1: on this idea. My primary objection is that this adds implicit global state. Generally speaking I don't think libraries should maintain any internal state at all except what is truly necessary for their function. Wherever possible we should provide 'state objects' t...
https://api.github.com/repos/psf/requests/issues/2640
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2640/labels{/name}
https://api.github.com/repos/psf/requests/issues/2640/comments
https://api.github.com/repos/psf/requests/issues/2640/events
https://github.com/psf/requests/pull/2640
87,951,537
MDExOlB1bGxSZXF1ZXN0Mzc2MjA3Njg=
2,640
Avoid double releasing chunked upload connections
{ "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
1
2015-06-13T07:11:39Z
2021-09-08T07:00:55Z
2015-06-13T13:54:40Z
MEMBER
resolved
Resolves #2636
{ "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/2640/reactions" }
https://api.github.com/repos/psf/requests/issues/2640/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2640.diff", "html_url": "https://github.com/psf/requests/pull/2640", "merged_at": "2015-06-13T13:54:40Z", "patch_url": "https://github.com/psf/requests/pull/2640.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2640" }
true
[ ":sparkles: :cake: :sparkles: \n" ]
https://api.github.com/repos/psf/requests/issues/2639
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2639/labels{/name}
https://api.github.com/repos/psf/requests/issues/2639/comments
https://api.github.com/repos/psf/requests/issues/2639/events
https://github.com/psf/requests/issues/2639
87,837,829
MDU6SXNzdWU4NzgzNzgyOQ==
2,639
Traceback when filename contains non-ascii characters
{ "avatar_url": "https://avatars.githubusercontent.com/u/4114154?v=4", "events_url": "https://api.github.com/users/zhaoguixu/events{/privacy}", "followers_url": "https://api.github.com/users/zhaoguixu/followers", "following_url": "https://api.github.com/users/zhaoguixu/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
7
2015-06-12T20:15:01Z
2021-09-08T18:00:54Z
2016-04-16T04:13:54Z
NONE
resolved
A simple test case: ``` python request = requests.Request(method='GET', url='https://httpbin.org/get') request.files = {'f': ('føø', '\xff')} prepared = request.prepare() requests.Session().send(prepared) ``` ``` prepared = request.prepare() File "/usr/lib/python2.7/dist-packages/requests/models.py", line 249, ...
{ "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/2639/reactions" }
https://api.github.com/repos/psf/requests/issues/2639/timeline
null
completed
null
null
false
[ "Hmm, this one is really tricky.\n\nI think the best fix here is actually in urllib3: we should catch `UnicodeDecodeError`. However, if we catch it, we should return `result`. The rationale is that the user has already provided us with a bytestring, so they presumably think they know what they're doing. @shazow, th...
https://api.github.com/repos/psf/requests/issues/2638
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2638/labels{/name}
https://api.github.com/repos/psf/requests/issues/2638/comments
https://api.github.com/repos/psf/requests/issues/2638/events
https://github.com/psf/requests/issues/2638
87,745,606
MDU6SXNzdWU4Nzc0NTYwNg==
2,638
Behaviors are different when data is a list(dict) and text
{ "avatar_url": "https://avatars.githubusercontent.com/u/4114154?v=4", "events_url": "https://api.github.com/users/zhaoguixu/events{/privacy}", "followers_url": "https://api.github.com/users/zhaoguixu/followers", "following_url": "https://api.github.com/users/zhaoguixu/following{/other_user}", "gists_url": "h...
[]
open
false
null
[]
{ "closed_at": null, "closed_issues": 29, "created_at": "2013-11-17T11:29:34Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", ...
5
2015-06-12T14:25:11Z
2015-06-12T20:36:12Z
null
NONE
null
When data is unicode, it gives traceback. A simple test case: ``` python request = requests.Request(method='GET', url='https://httpbin.org/get') request.data = u'x=føø' prepared = request.prepare() requests.Session().send(prepared) ``` ``` Traceback (most recent call last): ... requests.Session().send(prepared) ...
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2638/reactions" }
https://api.github.com/repos/psf/requests/issues/2638/timeline
null
null
null
null
false
[ "Yeah, agreed, this is a bug. We shouldn't just return, we should chuck the data through `to_native_str` first.\n\nHowever, that change is backward incompatible, so we should add this into 3.0.0.\n", "So, I don't think that belongs in the `_encode_params` method though. That's mostly there to create an `applicati...
https://api.github.com/repos/psf/requests/issues/2637
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2637/labels{/name}
https://api.github.com/repos/psf/requests/issues/2637/comments
https://api.github.com/repos/psf/requests/issues/2637/events
https://github.com/psf/requests/issues/2637
87,615,951
MDU6SXNzdWU4NzYxNTk1MQ==
2,637
Requests does not support encoding headers to ascii?
{ "avatar_url": "https://avatars.githubusercontent.com/u/4114154?v=4", "events_url": "https://api.github.com/users/zhaoguixu/events{/privacy}", "followers_url": "https://api.github.com/users/zhaoguixu/followers", "following_url": "https://api.github.com/users/zhaoguixu/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
1
2015-06-12T05:42:05Z
2021-09-08T23:00:56Z
2015-06-12T12:59:32Z
NONE
resolved
A simple test case: ``` python request = requests.Request(method='GET', url='https://httpbin.org/get') request.headers = {u'referer': u'http://xx.com?x=føø'} prepared = request.prepare() requests.Session().send(prepared) ``` ``` Traceback (most recent call last): ... File "/usr/lib/python2.7/dist-packages/request...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2637/reactions" }
https://api.github.com/repos/psf/requests/issues/2637/timeline
null
completed
null
null
false
[ "Requests does not encode header values for you because we don't know what encoding you want to send. You'll need to pick an encoding for the header value yourself and encode it.\n" ]
https://api.github.com/repos/psf/requests/issues/2636
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2636/labels{/name}
https://api.github.com/repos/psf/requests/issues/2636/comments
https://api.github.com/repos/psf/requests/issues/2636/events
https://github.com/psf/requests/issues/2636
87,552,543
MDU6SXNzdWU4NzU1MjU0Mw==
2,636
Same HTTPConnection object returned to pool twice
{ "avatar_url": "https://avatars.githubusercontent.com/u/450406?v=4", "events_url": "https://api.github.com/users/gilesbrown/events{/privacy}", "followers_url": "https://api.github.com/users/gilesbrown/followers", "following_url": "https://api.github.com/users/gilesbrown/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
8
2015-06-12T00:34:08Z
2021-09-08T23:00:56Z
2015-06-13T13:54:40Z
NONE
resolved
Not totally sure how to reproduce this yet but I am definitely getting a case where I am getting the "Connection pool is full" message because the same connection object is being returned to the pool twice (and not surprisingly the second time the pool says that it is full). I am using gevent (yes I realize that is p...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2636/reactions" }
https://api.github.com/repos/psf/requests/issues/2636/timeline
null
completed
null
null
false
[ "I've seen this and wasn't able to come up with a simple case to reproduce it. /cc @shazow since we discussed it\n", "Maybe we need a mutex around our release_conn() innards.\n", "Actually it turns out that the bug is super easy to reproduce.\n\nhttps://gist.github.com/gilesbrown/3832fc29100213171968\n\nIt does...
https://api.github.com/repos/psf/requests/issues/2635
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2635/labels{/name}
https://api.github.com/repos/psf/requests/issues/2635/comments
https://api.github.com/repos/psf/requests/issues/2635/events
https://github.com/psf/requests/issues/2635
87,113,389
MDU6SXNzdWU4NzExMzM4OQ==
2,635
With HTTPResponse body set to string, "ValueError: Unable to determine whether fp is closed"
{ "avatar_url": "https://avatars.githubusercontent.com/u/3417501?v=4", "events_url": "https://api.github.com/users/xEtherealx/events{/privacy}", "followers_url": "https://api.github.com/users/xEtherealx/followers", "following_url": "https://api.github.com/users/xEtherealx/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
11
2015-06-10T21:27:54Z
2021-09-08T23:00:55Z
2015-06-10T21:41:12Z
NONE
resolved
I'm doing something like ``` headers = {'a dict':'test'} body = 'some string' http_resp = HTTPResponse(body=body, headers=headers, status=202, version=0, reason='Ok', decode_content=False) resp...
{ "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/2635/reactions" }
https://api.github.com/repos/psf/requests/issues/2635/timeline
null
completed
null
null
false
[ "You're mucking around in urllib3 internals. This should be filed over at [urllib3](/shazow/urllib3).\n", "As an aside, if you're mucking around with urllib3 responses for testing purposes, take a look at how it's done in [betamax](/sigmavirus24/betamax).\n", "I wouldn't call it mucking, but I think it's questi...
https://api.github.com/repos/psf/requests/issues/2634
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2634/labels{/name}
https://api.github.com/repos/psf/requests/issues/2634/comments
https://api.github.com/repos/psf/requests/issues/2634/events
https://github.com/psf/requests/issues/2634
86,976,192
MDU6SXNzdWU4Njk3NjE5Mg==
2,634
Handle upgrade to WebSocket (Feature Request)
{ "avatar_url": "https://avatars.githubusercontent.com/u/273727?v=4", "events_url": "https://api.github.com/users/marians/events{/privacy}", "followers_url": "https://api.github.com/users/marians/followers", "following_url": "https://api.github.com/users/marians/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
3
2015-06-10T13:43:57Z
2021-09-08T23:00:56Z
2015-06-12T12:59:22Z
NONE
resolved
it would be awesome if there was a way to handle the response for a request that upgrades to a websocket connection, for example: ``` python url = "https://host.domain.com/mypath" headers = { "Authorization": "myrealm <my-auth-token>", "Connection": "upgrade", "Upgrade": "websocket", "Sec-Websocket-ver...
{ "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/2634/reactions" }
https://api.github.com/repos/psf/requests/issues/2634/timeline
null
completed
null
null
false
[ "I'm afraid that we're extremely unlikely to add support for this at the requests level in this form. What you'd have to do is use `stream=True` and then grab the socket out of the response object at a very low level.\n", "I have to agree with @Lukasa. This is not on the roadmap for future versions of requests at...
https://api.github.com/repos/psf/requests/issues/2633
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2633/labels{/name}
https://api.github.com/repos/psf/requests/issues/2633/comments
https://api.github.com/repos/psf/requests/issues/2633/events
https://github.com/psf/requests/issues/2633
86,547,006
MDU6SXNzdWU4NjU0NzAwNg==
2,633
Does requests support url anchor
{ "avatar_url": "https://avatars.githubusercontent.com/u/3670110?v=4", "events_url": "https://api.github.com/users/kaizengliu/events{/privacy}", "followers_url": "https://api.github.com/users/kaizengliu/followers", "following_url": "https://api.github.com/users/kaizengliu/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
7
2015-06-09T10:34:50Z
2021-09-08T23:00:57Z
2015-06-09T13:03:06Z
NONE
resolved
Can the url containing both parameters and anchor, like http://xx.com?a=1&&b=2#here
{ "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/2633/reactions" }
https://api.github.com/repos/psf/requests/issues/2633/timeline
null
completed
null
null
false
[ "It absolutely can, but you have to build the URL yourself. If you ask requests to encode the parameters for you (using params) then we'll throw the anchor away.\n\nIt seems like a reasonable request to keep hold of that anchor: @sigmavirus24?\n", "I'm confused about what's being discussed:\n\n``` py\n>>> req = r...
https://api.github.com/repos/psf/requests/issues/2632
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2632/labels{/name}
https://api.github.com/repos/psf/requests/issues/2632/comments
https://api.github.com/repos/psf/requests/issues/2632/events
https://github.com/psf/requests/issues/2632
85,812,645
MDU6SXNzdWU4NTgxMjY0NQ==
2,632
Partial content and compression : decoding error
{ "avatar_url": "https://avatars.githubusercontent.com/u/2565212?v=4", "events_url": "https://api.github.com/users/netheosgithub/events{/privacy}", "followers_url": "https://api.github.com/users/netheosgithub/followers", "following_url": "https://api.github.com/users/netheosgithub/following{/other_user}", "gi...
[]
closed
true
null
[]
null
2
2015-06-06T21:11:26Z
2021-09-08T23:00:57Z
2015-06-06T21:24:32Z
NONE
resolved
Be default requests generate http requests with 'Accept-Encoding: gzip, deflate' header. If one want to GET only the last 5 bytes of a file, adding a Range: -5 header should do the trick. However, remote server may honor the Accept-Encoding and return the last 5 bytes of gzipped content (instead of the gzip of last 5 b...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2632/reactions" }
https://api.github.com/repos/psf/requests/issues/2632/timeline
null
completed
null
null
false
[ "> Is it possible to disable compression ?\n\nYes. Set `headers={'Accept-Encoding': None}`.\n\n> Is it possible to get the raw gzipped response (without other decoding than chunked) ?\n\nYes. If you set `stream=True`, you can then call `response.raw.read(decode_content=False)`\n", "In the future, please ask quest...
https://api.github.com/repos/psf/requests/issues/2631
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2631/labels{/name}
https://api.github.com/repos/psf/requests/issues/2631/comments
https://api.github.com/repos/psf/requests/issues/2631/events
https://github.com/psf/requests/pull/2631
85,444,835
MDExOlB1bGxSZXF1ZXN0MzcwMDMzNTY=
2,631
Handle empty chunks
{ "avatar_url": "https://avatars.githubusercontent.com/u/1743810?v=4", "events_url": "https://api.github.com/users/neosab/events{/privacy}", "followers_url": "https://api.github.com/users/neosab/followers", "following_url": "https://api.github.com/users/neosab/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
5
2015-06-05T06:05:45Z
2021-09-08T07:00:54Z
2015-06-21T14:22:55Z
NONE
resolved
Empty chunk in request body could prematurely signal end of chunked transmission. As a result, the terminating zero-size chunk sent by 'requests' can be interpretted as bad request by the recepient. I have used the same logic used by httplib to handle such cases.
{ "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/2631/reactions" }
https://api.github.com/repos/psf/requests/issues/2631/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2631.diff", "html_url": "https://github.com/psf/requests/pull/2631", "merged_at": "2015-06-21T14:22:55Z", "patch_url": "https://github.com/psf/requests/pull/2631.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2631" }
true
[ "Resubmitted https://github.com/kennethreitz/requests/pull/2388 on proposed/3.0.0 branch.\n", ":+1: LGTM\n", "LGTM as well. =) We should note this change somewhere before we merge it and lose it.\n", "Changes are noted in https://github.com/kennethreitz/requests/pull/2646. Merging. :sparkles: :cake: :sparkles...