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/2630
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2630/labels{/name}
https://api.github.com/repos/psf/requests/issues/2630/comments
https://api.github.com/repos/psf/requests/issues/2630/events
https://github.com/psf/requests/pull/2630
85,420,258
MDExOlB1bGxSZXF1ZXN0MzcwMDA1MDU=
2,630
Declare tests_require and hook up 'test' command
{ "avatar_url": "https://avatars.githubusercontent.com/u/1011612?v=4", "events_url": "https://api.github.com/users/koobs/events{/privacy}", "followers_url": "https://api.github.com/users/koobs/followers", "following_url": "https://api.github.com/users/koobs/following{/other_user}", "gists_url": "https://api.g...
[]
closed
true
null
[]
null
14
2015-06-05T04:39:31Z
2021-09-08T05:01:00Z
2016-01-30T03:49:28Z
CONTRIBUTOR
resolved
This change allows the existing test script (test_requests.py) to be invoked via the standard setuptools test command. It also declares pytest as a test_dependency, so that it is installed on a test run, if not available.
{ "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/2630/reactions" }
https://api.github.com/repos/psf/requests/issues/2630/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2630.diff", "html_url": "https://github.com/psf/requests/pull/2630", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2630.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2630" }
true
[ "Hey @koobs, thanks for the PR. Can I ask why you're adding this?\n", "@sigmavirus24\n\nTLDR: Best practice python packaging.\n\nLonger version:\n\nThe 'test' command is the canonical method for running tests in Python land (ala make check for autotools projects) independent to how or what tests are run, or the t...
https://api.github.com/repos/psf/requests/issues/2629
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2629/labels{/name}
https://api.github.com/repos/psf/requests/issues/2629/comments
https://api.github.com/repos/psf/requests/issues/2629/events
https://github.com/psf/requests/issues/2629
84,977,975
MDU6SXNzdWU4NDk3Nzk3NQ==
2,629
Connection pool not recycling connections on timeout or connection exceptions
{ "avatar_url": "https://avatars.githubusercontent.com/u/12744068?v=4", "events_url": "https://api.github.com/users/jlatherfold/events{/privacy}", "followers_url": "https://api.github.com/users/jlatherfold/followers", "following_url": "https://api.github.com/users/jlatherfold/following{/other_user}", "gists_u...
[]
closed
true
null
[]
null
2
2015-06-04T08:18:13Z
2021-09-08T23:00:57Z
2015-06-04T08:29:02Z
NONE
resolved
If preload_content is not specified on a request, connections are implicitly returned to the pool after the request is read. However, when a timeout error occurs or the connection is dropped the connection is closed but not returned in to the pool (since the response is None). This problem is compounded when retries ar...
{ "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/2629/reactions" }
https://api.github.com/repos/psf/requests/issues/2629/timeline
null
completed
null
null
false
[ "This is a bug in [urllib3](https://github.com/shazow/urllib3): can you please open it there?\n", "Thanks for the response. Yes I will do that.\n" ]
https://api.github.com/repos/psf/requests/issues/2628
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2628/labels{/name}
https://api.github.com/repos/psf/requests/issues/2628/comments
https://api.github.com/repos/psf/requests/issues/2628/events
https://github.com/psf/requests/issues/2628
84,629,211
MDU6SXNzdWU4NDYyOTIxMQ==
2,628
Incomplete HTML Request
{ "avatar_url": "https://avatars.githubusercontent.com/u/12733738?v=4", "events_url": "https://api.github.com/users/Blizz8975/events{/privacy}", "followers_url": "https://api.github.com/users/Blizz8975/followers", "following_url": "https://api.github.com/users/Blizz8975/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
13
2015-06-03T15:43:36Z
2021-09-08T23:00:58Z
2015-06-03T17:29:33Z
NONE
resolved
Hey guys! I'm currently working on some content migration and I can't seem to pull the entire html source code using Python. Here is the on of the pages I'm working on: http://holytrinityhs.echalk.com/site_res_view_photoalbum.aspx?resourceId=0b744865-ad8a-4e76-8d42-15966cd7c4e2 So by using: html = requests.get("http:...
{ "avatar_url": "https://avatars.githubusercontent.com/u/12733738?v=4", "events_url": "https://api.github.com/users/Blizz8975/events{/privacy}", "followers_url": "https://api.github.com/users/Blizz8975/followers", "following_url": "https://api.github.com/users/Blizz8975/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/2628/reactions" }
https://api.github.com/repos/psf/requests/issues/2628/timeline
null
completed
null
null
false
[ "Hmm, I can't test this because I keep getting 504s. Are you sure they sent a complete response?\n", "I'm not exactly sure what you mean by a complete response, can you tell me how can I verify this? :)\n", "Yeah, that's a bit tricky to verify. It would help to see the response headers if you can print them out...
https://api.github.com/repos/psf/requests/issues/2627
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2627/labels{/name}
https://api.github.com/repos/psf/requests/issues/2627/comments
https://api.github.com/repos/psf/requests/issues/2627/events
https://github.com/psf/requests/issues/2627
83,953,323
MDU6SXNzdWU4Mzk1MzMyMw==
2,627
SSLv3 - OSX use last OpenSSL version [tag: ssl.OPENSSL_VERSION // SSL.SSLeay_version(SSL.SSLEAY_VERSION)]
{ "avatar_url": "https://avatars.githubusercontent.com/u/122271?v=4", "events_url": "https://api.github.com/users/PMickael/events{/privacy}", "followers_url": "https://api.github.com/users/PMickael/followers", "following_url": "https://api.github.com/users/PMickael/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
9
2015-06-02T10:09:43Z
2021-09-08T23:04:43Z
2015-06-02T11:31:47Z
NONE
resolved
Hi, To reproduce the bug, ``` python import requests requests.get('https://www.monova.org/') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 69, in get return request('get', url, params=params, **kwargs) File "/usr/lo...
{ "avatar_url": "https://avatars.githubusercontent.com/u/122271?v=4", "events_url": "https://api.github.com/users/PMickael/events{/privacy}", "followers_url": "https://api.github.com/users/PMickael/followers", "following_url": "https://api.github.com/users/PMickael/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/2627/reactions" }
https://api.github.com/repos/psf/requests/issues/2627/timeline
null
completed
null
null
false
[ "Yeah, this is a result of a change in urllib3. We fixed it in shazow/urllib3#622, and this should be fixed in the next release.\n", "Yes for this error TypeError: **str** returned non-string (type Error), but the problem is also that I can do requests.get('https://www.monova.org/') for no reason ? The website is...
https://api.github.com/repos/psf/requests/issues/2626
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2626/labels{/name}
https://api.github.com/repos/psf/requests/issues/2626/comments
https://api.github.com/repos/psf/requests/issues/2626/events
https://github.com/psf/requests/issues/2626
83,953,163
MDU6SXNzdWU4Mzk1MzE2Mw==
2,626
Mistake
{ "avatar_url": "https://avatars.githubusercontent.com/u/255794?v=4", "events_url": "https://api.github.com/users/leakid/events{/privacy}", "followers_url": "https://api.github.com/users/leakid/followers", "following_url": "https://api.github.com/users/leakid/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
1
2015-06-02T10:08:43Z
2021-09-08T23:04:43Z
2015-06-02T10:09:22Z
NONE
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/255794?v=4", "events_url": "https://api.github.com/users/leakid/events{/privacy}", "followers_url": "https://api.github.com/users/leakid/followers", "following_url": "https://api.github.com/users/leakid/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/2626/reactions" }
https://api.github.com/repos/psf/requests/issues/2626/timeline
null
completed
null
null
false
[ "wrong account\n" ]
https://api.github.com/repos/psf/requests/issues/2625
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2625/labels{/name}
https://api.github.com/repos/psf/requests/issues/2625/comments
https://api.github.com/repos/psf/requests/issues/2625/events
https://github.com/psf/requests/issues/2625
83,790,226
MDU6SXNzdWU4Mzc5MDIyNg==
2,625
expose request start time
{ "avatar_url": "https://avatars.githubusercontent.com/u/23570?v=4", "events_url": "https://api.github.com/users/est/events{/privacy}", "followers_url": "https://api.github.com/users/est/followers", "following_url": "https://api.github.com/users/est/following{/other_user}", "gists_url": "https://api.github.co...
[ { "color": "02e10c", "default": false, "description": null, "id": 76800, "name": "Feature Request", "node_id": "MDU6TGFiZWw3NjgwMA==", "url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request" } ]
closed
true
null
[]
null
7
2015-06-02T02:06:39Z
2021-09-08T23:00:55Z
2015-06-15T03:59:05Z
NONE
resolved
When implementing time based throttle mechanism, the start of request time is quite useful, please consider expose it as instance property, so we don't need to wrap requests in a multiple `time.utctime()` calls. It's a waste of syscall and duplicated code. https://github.com/kennethreitz/requests/blob/master/requests/...
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2625/reactions" }
https://api.github.com/repos/psf/requests/issues/2625/timeline
null
completed
null
null
false
[ "I don't think we're going to expose it. We weren't keen to expose the `elapsed` attribute in the first place. We're not going to add yet another attribute, especially one we've never had a request for before. `elapsed` was only necessary because the hooks provided by requests were severely trimmed in 1.0.\n", "I...
https://api.github.com/repos/psf/requests/issues/2624
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2624/labels{/name}
https://api.github.com/repos/psf/requests/issues/2624/comments
https://api.github.com/repos/psf/requests/issues/2624/events
https://github.com/psf/requests/issues/2624
83,783,239
MDU6SXNzdWU4Mzc4MzIzOQ==
2,624
Use keep-alive / streaming while processing
{ "avatar_url": "https://avatars.githubusercontent.com/u/505939?v=4", "events_url": "https://api.github.com/users/kvarga/events{/privacy}", "followers_url": "https://api.github.com/users/kvarga/followers", "following_url": "https://api.github.com/users/kvarga/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
3
2015-06-02T01:40:21Z
2021-09-08T23:04:44Z
2015-06-02T02:19:36Z
NONE
resolved
Is there a way to send intermittent responses to client to avoid timeout for long-running tasks (~2minutes) ? If not, I guess I will have to do the following flow: 1. User requests a webpage 2. Check if that webpage is available in cache 3. If not, redirect them to a holding page that checks ~15 seconds if that requ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/505939?v=4", "events_url": "https://api.github.com/users/kvarga/events{/privacy}", "followers_url": "https://api.github.com/users/kvarga/followers", "following_url": "https://api.github.com/users/kvarga/following{/other_user}", "gists_url": "https://api...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2624/reactions" }
https://api.github.com/repos/psf/requests/issues/2624/timeline
null
completed
null
null
false
[ "@kvarga sorry, are you using the requests library? You seem to not be using it at all unless I'm misunderstanding your bug.\n", "Oops. I meant to post this to flask. \n", "No worries! :8ball: says the flask maintainers will be more helpful.\n" ]
https://api.github.com/repos/psf/requests/issues/2623
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2623/labels{/name}
https://api.github.com/repos/psf/requests/issues/2623/comments
https://api.github.com/repos/psf/requests/issues/2623/events
https://github.com/psf/requests/issues/2623
83,778,310
MDU6SXNzdWU4Mzc3ODMxMA==
2,623
why implement requests.util.timeout.Timeout() instead of bsd socket options?
{ "avatar_url": "https://avatars.githubusercontent.com/u/23570?v=4", "events_url": "https://api.github.com/users/est/events{/privacy}", "followers_url": "https://api.github.com/users/est/followers", "following_url": "https://api.github.com/users/est/following{/other_user}", "gists_url": "https://api.github.co...
[]
closed
true
null
[]
null
3
2015-06-02T01:26:39Z
2021-09-08T23:04:42Z
2015-06-02T07:15:50Z
NONE
resolved
In python's socket module, `socket.timeout` could be used as connect timeout, also `setsockopt` can be used with `SO_RCVTIMEO` and `SO_SNDTIMEO`. It there a reason to implement our own `requests.util.timeout.Timeout` class instead?
{ "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/2623/reactions" }
https://api.github.com/repos/psf/requests/issues/2623/timeline
null
completed
null
null
false
[ "Are you looking at the right project? https://github.com/kennethreitz/requests/blob/master/requests/utils.py\n", "More generally, the answer is yes. `Timeout` is not special: it's just a wrapper over the timeout functions available in the socket module. The reason it was written into urllib3 (which is where I th...
https://api.github.com/repos/psf/requests/issues/2622
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2622/labels{/name}
https://api.github.com/repos/psf/requests/issues/2622/comments
https://api.github.com/repos/psf/requests/issues/2622/events
https://github.com/psf/requests/issues/2622
83,689,331
MDU6SXNzdWU4MzY4OTMzMQ==
2,622
get fails for "http://www.merrickbank.com/"
{ "avatar_url": "https://avatars.githubusercontent.com/u/12498397?v=4", "events_url": "https://api.github.com/users/benreisner/events{/privacy}", "followers_url": "https://api.github.com/users/benreisner/followers", "following_url": "https://api.github.com/users/benreisner/following{/other_user}", "gists_url"...
[]
closed
true
null
[]
null
10
2015-06-01T20:55:20Z
2021-09-08T23:04:42Z
2015-06-01T21:38:44Z
NONE
resolved
I try requests.get("http://www.merrickbank.com/"), but it does not work. It takes minutes for it to just fail, freezing up quite a bit.
{ "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/2622/reactions" }
https://api.github.com/repos/psf/requests/issues/2622/timeline
null
completed
null
null
false
[ "Weirdly curl gets back a `Content-Length` header but requests gets `chunked`.\n", "So if you announce compression it chunks.\n", "So if they send chunked responses (when doing gzip) they send broken data. Especially:\n\n``` http\nX-Frame-Options: SAMEORIGIN\nSet-Cookie: mb-CookieP=; HttpOnly; \nSecure\nSet-Coo...
https://api.github.com/repos/psf/requests/issues/2621
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2621/labels{/name}
https://api.github.com/repos/psf/requests/issues/2621/comments
https://api.github.com/repos/psf/requests/issues/2621/events
https://github.com/psf/requests/issues/2621
83,582,676
MDU6SXNzdWU4MzU4MjY3Ng==
2,621
TLS hostname validation logic does not support subjectAltName with IP records
{ "avatar_url": "https://avatars.githubusercontent.com/u/3266662?v=4", "events_url": "https://api.github.com/users/itamarst/events{/privacy}", "followers_url": "https://api.github.com/users/itamarst/followers", "following_url": "https://api.github.com/users/itamarst/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
25
2015-06-01T16:13:37Z
2021-09-08T21:00:49Z
2015-11-05T17:54:19Z
NONE
resolved
If I am running a custom certificate authority I might want to generate a TLS certificate that encodes its `subjectAltName` using an IP address (`iPAddress` in https://tools.ietf.org/html/rfc5280#section-4.2.1.6). this is useful when I do not have DNS records for servers in my application but I still want to validate 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/2621/reactions" }
https://api.github.com/repos/psf/requests/issues/2621/timeline
null
completed
null
null
false
[ "You are entirely correct. This likely applies a bit more broadly than requests: we pulled this algorithm out of the standard library, which means it is likely affected. Similarly, I checked `service_identity`, and I believe it may also not handle this appropriately.\n\nCan I get some input from @reaperhulk, @hynek...
https://api.github.com/repos/psf/requests/issues/2620
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2620/labels{/name}
https://api.github.com/repos/psf/requests/issues/2620/comments
https://api.github.com/repos/psf/requests/issues/2620/events
https://github.com/psf/requests/issues/2620
83,513,544
MDU6SXNzdWU4MzUxMzU0NA==
2,620
Connect Error or Timeout Error
{ "avatar_url": "https://avatars.githubusercontent.com/u/3735327?v=4", "events_url": "https://api.github.com/users/jongiddy/events{/privacy}", "followers_url": "https://api.github.com/users/jongiddy/followers", "following_url": "https://api.github.com/users/jongiddy/following{/other_user}", "gists_url": "http...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" }, { "color": "e102d8", "default": false, "description": null, "id": 117745, "...
closed
true
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", ...
6
2015-06-01T14:00:42Z
2021-09-08T23:04:42Z
2015-06-02T20:53:50Z
NONE
resolved
At https://github.com/kennethreitz/requests/blob/8b5e457b756b2ab4c02473f7a42c2e0201ecc7e9/requests/models.py#L664 the urllib3 `ReadTimeoutError` gets mapped to a `requests.exceptions.ConnectionError`. It seems like the `requests.exceptions.ReadTimeout` would be a more obvious exception. Is this just an oversight, or i...
{ "avatar_url": "https://avatars.githubusercontent.com/u/3735327?v=4", "events_url": "https://api.github.com/users/jongiddy/events{/privacy}", "followers_url": "https://api.github.com/users/jongiddy/followers", "following_url": "https://api.github.com/users/jongiddy/following{/other_user}", "gists_url": "http...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2620/reactions" }
https://api.github.com/repos/psf/requests/issues/2620/timeline
null
completed
null
null
false
[ "Good spot! I think this is an oversight.\n\nUnfortunately, changing the exception type is a backward incompatible change, because `ReadTimeoutError` does not inherit from `ConnectionError`. I think we should do it, but we can't do it until 3.0.0.\n", "Sorry, just noticed this is a duplicate of https://github.com...
https://api.github.com/repos/psf/requests/issues/2619
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2619/labels{/name}
https://api.github.com/repos/psf/requests/issues/2619/comments
https://api.github.com/repos/psf/requests/issues/2619/events
https://github.com/psf/requests/issues/2619
83,418,208
MDU6SXNzdWU4MzQxODIwOA==
2,619
HTML PUT and GET
{ "avatar_url": "https://avatars.githubusercontent.com/u/11629690?v=4", "events_url": "https://api.github.com/users/RubenvWyk/events{/privacy}", "followers_url": "https://api.github.com/users/RubenvWyk/followers", "following_url": "https://api.github.com/users/RubenvWyk/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
4
2015-06-01T10:07:20Z
2021-09-08T23:04:44Z
2015-06-01T10:41:44Z
NONE
resolved
Hi there, I am new to the whole thing :) read n00b 101 hehe Currently I am requesting sending a requests.get() to a html page. If I now print(r.text) the output shows the whole page. The page has query section in which the request range can be set: ![request range](https://cloud.githubusercontent.com/assets/1162969...
{ "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/2619/reactions" }
https://api.github.com/repos/psf/requests/issues/2619/timeline
null
completed
null
null
false
[ "So, requests doesn't know anything about HTML. This means there's no programmatic code you can use to simply interact with that page by searching through the HTML.\n\nHowever, you can form the same requests that your browser would do. If you hit F12 in your browser it should bring up a developer console that you c...
https://api.github.com/repos/psf/requests/issues/2618
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2618/labels{/name}
https://api.github.com/repos/psf/requests/issues/2618/comments
https://api.github.com/repos/psf/requests/issues/2618/events
https://github.com/psf/requests/issues/2618
83,270,944
MDU6SXNzdWU4MzI3MDk0NA==
2,618
get url redirect hangs in requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/3759816?v=4", "events_url": "https://api.github.com/users/gengjiawen/events{/privacy}", "followers_url": "https://api.github.com/users/gengjiawen/followers", "following_url": "https://api.github.com/users/gengjiawen/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
3
2015-06-01T02:23:52Z
2021-09-08T23:04:44Z
2015-06-02T01:08:05Z
NONE
resolved
I am trying to handle url redirect using requests,but it hangs.The original python lib works as expected.Below is the code(**Python 3**). ``` python import urllib.request import requests url = "http://go.microsoft.com/fwlink/p/?LinkId=522148" final_url = urllib.request.urlopen(url) print(final_url.geturl()) r = requ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/3759816?v=4", "events_url": "https://api.github.com/users/gengjiawen/events{/privacy}", "followers_url": "https://api.github.com/users/gengjiawen/followers", "following_url": "https://api.github.com/users/gengjiawen/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/2618/reactions" }
https://api.github.com/repos/psf/requests/issues/2618/timeline
null
completed
null
null
false
[ "The code below also works fine:\n\n``` python\nr = requests.head('http://github.com', allow_redirects=True)\nprint(r.url)\n```\n\nshould I use **requests.head** over **requests.get** when handling url redirect?\n", "@gengjiawen This URL redirects to a 4GB big ISO image. So the download takes a little bit.\nYou p...
https://api.github.com/repos/psf/requests/issues/2617
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2617/labels{/name}
https://api.github.com/repos/psf/requests/issues/2617/comments
https://api.github.com/repos/psf/requests/issues/2617/events
https://github.com/psf/requests/pull/2617
82,033,090
MDExOlB1bGxSZXF1ZXN0MzY0MjkyODM=
2,617
Move native string conversion to Request
{ "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": 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", ...
11
2015-05-28T17:09:51Z
2021-09-08T07:00:50Z
2015-07-18T15:43:50Z
MEMBER
resolved
This fixes #2613. I believe that this technically constitutes a backward-incompatible API change, so I've proposed this against 3.0.0. Let me know if you disagree @sigmavirus24 (the other option is really that this is a bugfix), and I'll propose against master.
{ "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/2617/reactions" }
https://api.github.com/repos/psf/requests/issues/2617/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2617.diff", "html_url": "https://github.com/psf/requests/pull/2617", "merged_at": "2015-07-18T15:43:50Z", "patch_url": "https://github.com/psf/requests/pull/2617.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2617" }
true
[ "hehehe The tests are trying to pass `None` as a method. We should either change that default or fix the tests.\n", "Grr.\n", "Stupid question: Why default to an empty string if method is None? I'm not entirely comfortable with that\n", "Yeah, it was definitely a bit of a blind shot. A better idea might just ...
https://api.github.com/repos/psf/requests/issues/2616
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2616/labels{/name}
https://api.github.com/repos/psf/requests/issues/2616/comments
https://api.github.com/repos/psf/requests/issues/2616/events
https://github.com/psf/requests/issues/2616
81,839,555
MDU6SXNzdWU4MTgzOTU1NQ==
2,616
requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:600)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1203138?v=4", "events_url": "https://api.github.com/users/kristjanr/events{/privacy}", "followers_url": "https://api.github.com/users/kristjanr/followers", "following_url": "https://api.github.com/users/kristjanr/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
21
2015-05-28T09:09:15Z
2021-09-08T05:00:48Z
2015-05-31T12:51:52Z
NONE
resolved
``` r = requests.get('https://www.digitist.com', verify=False) ``` ``` Traceback (most recent call last): File "<input>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/requests/api.py", line 69, in get return request('get', url, params=params, **kwargs)...
{ "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/2616/reactions" }
https://api.github.com/repos/psf/requests/issues/2616/timeline
null
completed
null
null
false
[ "Python 3.4, OS X Yosemite, Requests 2.7.0: I cannot reproduce this bug. =) Can you consistently hit it? What requests version are you using?\n", "Also, what version of openssl and do you have `pyOpenSSL` installed?\n", "requests 2.7.0\nOpenSSL 1.0.2 22 Jan 2015\nI did not have pyOpenSSL installed.\n\nI install...
https://api.github.com/repos/psf/requests/issues/2615
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2615/labels{/name}
https://api.github.com/repos/psf/requests/issues/2615/comments
https://api.github.com/repos/psf/requests/issues/2615/events
https://github.com/psf/requests/pull/2615
80,957,978
MDExOlB1bGxSZXF1ZXN0MzYyMDExMTM=
2,615
Docs: Add more section labels for referencing
{ "avatar_url": "https://avatars.githubusercontent.com/u/3237256?v=4", "events_url": "https://api.github.com/users/awiddersheim/events{/privacy}", "followers_url": "https://api.github.com/users/awiddersheim/followers", "following_url": "https://api.github.com/users/awiddersheim/following{/other_user}", "gists...
[]
closed
true
null
[]
null
3
2015-05-26T13:17:17Z
2021-09-08T07:00:56Z
2015-05-26T14:12:33Z
CONTRIBUTOR
resolved
Allows for sections to be linked from other projects using Intersphinx.
{ "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/2615/reactions" }
https://api.github.com/repos/psf/requests/issues/2615/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2615.diff", "html_url": "https://github.com/psf/requests/pull/2615", "merged_at": "2015-05-26T14:12:33Z", "patch_url": "https://github.com/psf/requests/pull/2615.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2615" }
true
[ "No objection from me: @sigmavirus24?\n", ":+1: \n", "Thanks @awiddersheim! :sparkles: :cake: :sparkles: \n" ]
https://api.github.com/repos/psf/requests/issues/2614
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2614/labels{/name}
https://api.github.com/repos/psf/requests/issues/2614/comments
https://api.github.com/repos/psf/requests/issues/2614/events
https://github.com/psf/requests/pull/2614
80,668,713
MDExOlB1bGxSZXF1ZXN0MzYxNTc5MjE=
2,614
fix unittest typo
{ "avatar_url": "https://avatars.githubusercontent.com/u/739280?v=4", "events_url": "https://api.github.com/users/colindickson/events{/privacy}", "followers_url": "https://api.github.com/users/colindickson/followers", "following_url": "https://api.github.com/users/colindickson/following{/other_user}", "gists_...
[]
closed
true
null
[]
null
1
2015-05-25T21:10:37Z
2021-09-08T07:00:56Z
2015-05-26T19:56:18Z
CONTRIBUTOR
resolved
IDE auto-complete error. edit: edited to be a bit more pythonic
{ "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/2614/reactions" }
https://api.github.com/repos/psf/requests/issues/2614/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2614.diff", "html_url": "https://github.com/psf/requests/pull/2614", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2614.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2614" }
true
[ "@colindickson Thanks for this! Rather than merge two identically named commits and a merge commit I rebased them down into fd31453aa25f80f04e1ce36de9abff0460bd136a, and merged it in 8b5e457b756b2ab4c02473f7a42c2e0201ecc7e9.\n\nThanks again! :cake: :sparkles:\n" ]
https://api.github.com/repos/psf/requests/issues/2613
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2613/labels{/name}
https://api.github.com/repos/psf/requests/issues/2613/comments
https://api.github.com/repos/psf/requests/issues/2613/events
https://github.com/psf/requests/issues/2613
80,666,973
MDU6SXNzdWU4MDY2Njk3Mw==
2,613
Prepared requests containing binary files will not send when unicode_literals is imported
{ "avatar_url": "https://avatars.githubusercontent.com/u/48100?v=4", "events_url": "https://api.github.com/users/bboe/events{/privacy}", "followers_url": "https://api.github.com/users/bboe/followers", "following_url": "https://api.github.com/users/bboe/following{/other_user}", "gists_url": "https://api.github...
[]
closed
true
null
[]
null
9
2015-05-25T21:02:58Z
2021-09-08T22:00:54Z
2015-08-31T09:33:34Z
CONTRIBUTOR
resolved
``` python #!/usr/bin/env python from __future__ import unicode_literals import requests import sys def main(): request = requests.Request(method='PUT', url...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2613/reactions" }
https://api.github.com/repos/psf/requests/issues/2613/timeline
null
completed
null
null
false
[ "Unfortunately this is a bit of a limitation imposed on us by httplib. As you can see, the place where unicode and bytes are concatenated together is actually deep inside httplib. I'm afraid you'll have to pass bytestrings to requests.\n", "Can you explain why it works fine when the request isn't prepared? That s...
https://api.github.com/repos/psf/requests/issues/2612
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2612/labels{/name}
https://api.github.com/repos/psf/requests/issues/2612/comments
https://api.github.com/repos/psf/requests/issues/2612/events
https://github.com/psf/requests/issues/2612
80,359,825
MDU6SXNzdWU4MDM1OTgyNQ==
2,612
strange behavior with PostData - Set Cookie Header in Oracle Server
{ "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
5
2015-05-25T02:59:20Z
2021-09-08T22:00:53Z
2015-08-31T09:35:52Z
NONE
resolved
Hello! First of all, thanks for this lib! Sorry for my english. well, I already solve this, but I just want to make the report about an issue I found. I am trying to make a simple login to a website (with all the headers, with session, etc) Server where i am trying to send the request is an Oracle XML DB/Oracle Dat...
{ "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/2612/reactions" }
https://api.github.com/repos/psf/requests/issues/2612/timeline
null
completed
null
null
false
[ "can you use tcpdump or a similar tool to compare the headers generated by requests and your code?\n", "Hey @Lukasa !\n\nI use this command. (http://justniffer.sourceforge.net/)\nsudo justniffer -i eth0 -r > log_socket.txt\n\nHere is the log related with request:\nhttp://paste2.org/mhZCj2t7\n\nand here is the log...
https://api.github.com/repos/psf/requests/issues/2611
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2611/labels{/name}
https://api.github.com/repos/psf/requests/issues/2611/comments
https://api.github.com/repos/psf/requests/issues/2611/events
https://github.com/psf/requests/issues/2611
80,344,926
MDU6SXNzdWU4MDM0NDkyNg==
2,611
[Bug?] json.dumps(json)?
{ "avatar_url": "https://avatars.githubusercontent.com/u/2705927?v=4", "events_url": "https://api.github.com/users/maxdandan/events{/privacy}", "followers_url": "https://api.github.com/users/maxdandan/followers", "following_url": "https://api.github.com/users/maxdandan/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
3
2015-05-25T02:10:39Z
2021-09-08T23:04:46Z
2015-05-25T02:53:11Z
NONE
resolved
download from https://pypi.python.org/pypi/requests/2.7.0 models.py line 418 bug?
{ "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/2611/reactions" }
https://api.github.com/repos/psf/requests/issues/2611/timeline
null
completed
null
null
false
[ "Do you mean https://github.com/kennethreitz/requests/blob/b7bd29734022e634634d908e10bbf7a5ac15e76b/requests/models.py#L428 ? If so, no.\n", "Yes,“json_dump” is True\nBut in kennethreitz-requests-v2.7.0-8-g4505f71.zip there is “json.dumps”\nFixed right now\nTks :) \n", "There is no such file on PyPI. If yo...
https://api.github.com/repos/psf/requests/issues/2610
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2610/labels{/name}
https://api.github.com/repos/psf/requests/issues/2610/comments
https://api.github.com/repos/psf/requests/issues/2610/events
https://github.com/psf/requests/pull/2610
80,170,358
MDExOlB1bGxSZXF1ZXN0MzYxMDMwMjM=
2,610
fix contextlib.closing bug for sessions where content is not consumed…
{ "avatar_url": "https://avatars.githubusercontent.com/u/739280?v=4", "events_url": "https://api.github.com/users/colindickson/events{/privacy}", "followers_url": "https://api.github.com/users/colindickson/followers", "following_url": "https://api.github.com/users/colindickson/following{/other_user}", "gists_...
[]
closed
true
null
[]
null
6
2015-05-24T14:01:17Z
2021-09-08T07:00:57Z
2015-05-25T17:15:57Z
CONTRIBUTOR
resolved
… (issue #2593)
{ "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/2610/reactions" }
https://api.github.com/repos/psf/requests/issues/2610/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2610.diff", "html_url": "https://github.com/psf/requests/pull/2610", "merged_at": "2015-05-25T17:15:57Z", "patch_url": "https://github.com/psf/requests/pull/2610.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2610" }
true
[ "Why are you making 25 requests to three websites that we don't use anywhere else in the test suite?\n", "mainly as an attempt to reproduce the bug demonstrated in the original issue. i suppose i could simplify it a great deal\n", "Please don't create a new pull request. If you continue to push commits to thi...
https://api.github.com/repos/psf/requests/issues/2609
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2609/labels{/name}
https://api.github.com/repos/psf/requests/issues/2609/comments
https://api.github.com/repos/psf/requests/issues/2609/events
https://github.com/psf/requests/issues/2609
78,970,053
MDU6SXNzdWU3ODk3MDA1Mw==
2,609
Memory Leak
{ "avatar_url": "https://avatars.githubusercontent.com/u/6700330?v=4", "events_url": "https://api.github.com/users/030io/events{/privacy}", "followers_url": "https://api.github.com/users/030io/followers", "following_url": "https://api.github.com/users/030io/following{/other_user}", "gists_url": "https://api.g...
[]
closed
true
null
[]
null
24
2015-05-21T12:16:26Z
2021-09-08T21:00:48Z
2015-11-05T18:02:43Z
NONE
resolved
### I just started applications ![start](https://cloud.githubusercontent.com/assets/6700330/7748290/be4461ce-fff5-11e4-90d4-f44b29312325.JPG) --- ### After 24h ![after24h](https://cloud.githubusercontent.com/assets/6700330/7748331/29d13b9c-fff6-11e4-8bc5-823bd8272a3b.JPG)
{ "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/2609/reactions" }
https://api.github.com/repos/psf/requests/issues/2609/timeline
null
completed
null
null
false
[ "At the beginning, the memory usage is 32MB.\nAfter 24h, the memory usage is 1.2G.\n", "Unfortunately, this 'leak' is somewhat unclear. Can you reduce this to a single bit of reproducible code for me to see?\n", "Sorry.\nMy code is very simple.\n\nLike:\n\n```\nclass GetHtml():\n ...\n def get(self, heade...
https://api.github.com/repos/psf/requests/issues/2608
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2608/labels{/name}
https://api.github.com/repos/psf/requests/issues/2608/comments
https://api.github.com/repos/psf/requests/issues/2608/events
https://github.com/psf/requests/pull/2608
78,757,189
MDExOlB1bGxSZXF1ZXN0MzU4ODk4MTk=
2,608
Fixed typos
{ "avatar_url": "https://avatars.githubusercontent.com/u/3112309?v=4", "events_url": "https://api.github.com/users/radarhere/events{/privacy}", "followers_url": "https://api.github.com/users/radarhere/followers", "following_url": "https://api.github.com/users/radarhere/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
1
2015-05-21T00:26:12Z
2021-09-08T07:00:57Z
2015-05-21T08:16:24Z
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/2608/reactions" }
https://api.github.com/repos/psf/requests/issues/2608/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2608.diff", "html_url": "https://github.com/psf/requests/pull/2608", "merged_at": "2015-05-21T08:16:24Z", "patch_url": "https://github.com/psf/requests/pull/2608.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2608" }
true
[ "\\o/ Thanks @radarhere! :cake: :sparkles:\n" ]
https://api.github.com/repos/psf/requests/issues/2607
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2607/labels{/name}
https://api.github.com/repos/psf/requests/issues/2607/comments
https://api.github.com/repos/psf/requests/issues/2607/events
https://github.com/psf/requests/issues/2607
78,148,003
MDU6SXNzdWU3ODE0ODAwMw==
2,607
UnicodeDecodeError when post a local image file
{ "avatar_url": "https://avatars.githubusercontent.com/u/546163?v=4", "events_url": "https://api.github.com/users/shelper/events{/privacy}", "followers_url": "https://api.github.com/users/shelper/followers", "following_url": "https://api.github.com/users/shelper/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
1
2015-05-19T16:01:08Z
2021-09-08T23:04:46Z
2015-05-19T16:31:47Z
NONE
resolved
i am using python 3.4, and request 2.7 i am trying to post a local jpg image like this, and got encoding error: ``` import requests response = requests.post("url here", params={ "image": open("path to local image", mode="r") } ) ``` if i change the mode to 'rb' the error is gone: ``` ...
{ "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/2607/reactions" }
https://api.github.com/repos/psf/requests/issues/2607/timeline
null
completed
null
null
false
[ "In Python 3, if you open a file in `'r'` mode, that will open the file in _text_ mode. This means that Python will attempt to use your system encoding to decode the bytes in the file. That is causing this exception here.\n\nWhen uploading binary data to the web, you should always open the file in bytes mode: `'rb'...
https://api.github.com/repos/psf/requests/issues/2606
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2606/labels{/name}
https://api.github.com/repos/psf/requests/issues/2606/comments
https://api.github.com/repos/psf/requests/issues/2606/events
https://github.com/psf/requests/pull/2606
78,084,605
MDExOlB1bGxSZXF1ZXN0MzU3MjkwNDE=
2,606
Don’t break IPv6 address format
{ "avatar_url": "https://avatars.githubusercontent.com/u/1102886?v=4", "events_url": "https://api.github.com/users/da2x/events{/privacy}", "followers_url": "https://api.github.com/users/da2x/followers", "following_url": "https://api.github.com/users/da2x/following{/other_user}", "gists_url": "https://api.gith...
[ { "color": "e11d21", "default": false, "description": null, "id": 78002701, "name": "Do Not Merge", "node_id": "MDU6TGFiZWw3ODAwMjcwMQ==", "url": "https://api.github.com/repos/psf/requests/labels/Do%20Not%20Merge" } ]
closed
true
null
[]
null
1
2015-05-19T13:20:55Z
2021-09-08T07:00:57Z
2015-05-19T13:26:58Z
NONE
resolved
No idea what this does to older supported Python versions. In Python 3.4.2, at least, you can’t strip away the brackets otherwise no IPv6 address will resolve.
{ "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/2606/reactions" }
https://api.github.com/repos/psf/requests/issues/2606/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2606.diff", "html_url": "https://github.com/psf/requests/pull/2606", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2606.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2606" }
true
[ "Thanks for this!\n\nTwo notes. First, this is a change in [urllib3](https://github.com/shazow/urllib3), please open this pull request on that repository. Secondly, given the comment above I don't think we can unilaterally remove this logic. Likely we'll have to detect what versions are affected.\n" ]
https://api.github.com/repos/psf/requests/issues/2605
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2605/labels{/name}
https://api.github.com/repos/psf/requests/issues/2605/comments
https://api.github.com/repos/psf/requests/issues/2605/events
https://github.com/psf/requests/issues/2605
77,701,599
MDU6SXNzdWU3NzcwMTU5OQ==
2,605
ENH: Session constructor should acccept kwargs as well, not just its get, post... methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/3160562?v=4", "events_url": "https://api.github.com/users/dr-leo/events{/privacy}", "followers_url": "https://api.github.com/users/dr-leo/followers", "following_url": "https://api.github.com/users/dr-leo/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
3
2015-05-18T15:33:07Z
2021-09-08T23:04:46Z
2015-05-18T17:00:36Z
NONE
resolved
The documentation states that things like proxies, auth etc. can be set through the Session properties. That's fine, but leads to verbose code: Setting those properties when you have a kwargs dict requires a for loop and call to setattr() on each item. Why not allow the following: s = requests.Session(stream=True, pr...
{ "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/2605/reactions" }
https://api.github.com/repos/psf/requests/issues/2605/timeline
null
completed
null
null
false
[ "Removing the arguments to the `Session` constructor was a deliberate decision made by @kennethreitz in 92355ada54a3a19341f7fbc65a8bc50816858c63. In this issue I cannot pretend to speak for him, but I believe in his view this was done for cleanliness (which seems reasonable to me). We have no plans to change that p...
https://api.github.com/repos/psf/requests/issues/2604
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2604/labels{/name}
https://api.github.com/repos/psf/requests/issues/2604/comments
https://api.github.com/repos/psf/requests/issues/2604/events
https://github.com/psf/requests/issues/2604
77,360,557
MDU6SXNzdWU3NzM2MDU1Nw==
2,604
SSL Error 14077438
{ "avatar_url": "https://avatars.githubusercontent.com/u/12233053?v=4", "events_url": "https://api.github.com/users/sergedroz/events{/privacy}", "followers_url": "https://api.github.com/users/sergedroz/followers", "following_url": "https://api.github.com/users/sergedroz/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
5
2015-05-17T18:03:28Z
2021-09-08T23:04:47Z
2015-05-17T20:58:14Z
NONE
resolved
Certain cloudflare websites cannot be access with requests. I have dis problem across different distros. Same problem here: https://github.com/SiCKRAGETV/sickrage-issues/issues/1231 requests.get('https://sceneaccess.eu') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "requests/api.py",...
{ "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/2604/reactions" }
https://api.github.com/repos/psf/requests/issues/2604/timeline
null
completed
null
null
false
[ "Where have you installed requests from, and what versions do you have installed?\n", "This is likely because you're linked against an old version of OpenSSL. Can you run this for me and show me the output?\n\n``` bash\npython -c 'from cryptography.hazmat.backends.openssl.backend import backend; print backend.ope...
https://api.github.com/repos/psf/requests/issues/2603
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2603/labels{/name}
https://api.github.com/repos/psf/requests/issues/2603/comments
https://api.github.com/repos/psf/requests/issues/2603/events
https://github.com/psf/requests/pull/2603
76,451,587
MDExOlB1bGxSZXF1ZXN0MzU0NDg4ODA=
2,603
Change "Staring new HTTP/S connection..." log message to DEBUG level
{ "avatar_url": "https://avatars.githubusercontent.com/u/3641285?v=4", "events_url": "https://api.github.com/users/goodboybeau/events{/privacy}", "followers_url": "https://api.github.com/users/goodboybeau/followers", "following_url": "https://api.github.com/users/goodboybeau/following{/other_user}", "gists_ur...
[]
closed
true
null
[]
null
2
2015-05-14T18:40:11Z
2021-09-08T07:00:58Z
2015-05-14T18:42:16Z
NONE
resolved
Of course there are ways to work around this on a per-execution basis (programmatically or manually), but I figured I'd address what I've heard from various developers as "the only annoying thing about python requests".
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2603/reactions" }
https://api.github.com/repos/psf/requests/issues/2603/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2603.diff", "html_url": "https://github.com/psf/requests/pull/2603", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2603.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2603" }
true
[ "This is a change to urllib3 and so belongs on [urllib3](/shazow/urllib3)\n", "Ah, thanks...\n" ]
https://api.github.com/repos/psf/requests/issues/2602
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2602/labels{/name}
https://api.github.com/repos/psf/requests/issues/2602/comments
https://api.github.com/repos/psf/requests/issues/2602/events
https://github.com/psf/requests/pull/2602
76,318,369
MDExOlB1bGxSZXF1ZXN0MzU0MTEzMzQ=
2,602
morsel['max-age'] may be a str. Should it be converted to float?
{ "avatar_url": "https://avatars.githubusercontent.com/u/1551736?v=4", "events_url": "https://api.github.com/users/ly0/events{/privacy}", "followers_url": "https://api.github.com/users/ly0/followers", "following_url": "https://api.github.com/users/ly0/following{/other_user}", "gists_url": "https://api.github....
[]
closed
true
null
[]
null
10
2015-05-14T10:45:17Z
2021-09-08T07:00:58Z
2015-05-15T15:14:56Z
CONTRIBUTOR
resolved
Example: here are Set-Cookie list: ``` python sclst = ['dwac_bcIBMiaagZmkYaaadeYtg11eVR=j9jHdmPjUhgDOhyH9f89X4lQgehEmflVyeA%3D|dw-only|||CNY|false|Asia%2FShanghai|true; Path=/', 'sid=j9jHdmPjUhgDOhyH9f89X4lQgehEmflVyeA; Path=/', 'geoLocation=CN; Path=/', 'dwpersonalization_fae107a9dd0fc32ed99532ec1977f31f=bc8sEiaa...
{ "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/2602/reactions" }
https://api.github.com/repos/psf/requests/issues/2602/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2602.diff", "html_url": "https://github.com/psf/requests/pull/2602", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2602.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2602" }
true
[ "I think you're using `morsel_to_cookie` incorrectly. It expects a `Cookie.Morsel`. Did you try that to see if it works?\n", "It's a `Cookie.Morsel` object.\n\nhere's the test code from real world:\n\n``` python\nimport Cookie\nimport requests\n\ncookiejar = requests.cookies.RequestsCookieJar()\nsclst = ['dwac_bc...
https://api.github.com/repos/psf/requests/issues/2601
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2601/labels{/name}
https://api.github.com/repos/psf/requests/issues/2601/comments
https://api.github.com/repos/psf/requests/issues/2601/events
https://github.com/psf/requests/pull/2601
76,249,293
MDExOlB1bGxSZXF1ZXN0MzUzOTY3NzI=
2,601
Auth handler calls close instead of raw.close_conn
{ "avatar_url": "https://avatars.githubusercontent.com/u/5676959?v=4", "events_url": "https://api.github.com/users/sahutd/events{/privacy}", "followers_url": "https://api.github.com/users/sahutd/followers", "following_url": "https://api.github.com/users/sahutd/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
2
2015-05-14T06:13:53Z
2021-09-08T07:00:59Z
2015-05-14T06:15:10Z
CONTRIBUTOR
resolved
Issue #2599
{ "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/2601/reactions" }
https://api.github.com/repos/psf/requests/issues/2601/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2601.diff", "html_url": "https://github.com/psf/requests/pull/2601", "merged_at": "2015-05-14T06:15:10Z", "patch_url": "https://github.com/psf/requests/pull/2601.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2601" }
true
[ "\\o/\n", "thanks for this! :cake: :sparkles: \n" ]
https://api.github.com/repos/psf/requests/issues/2600
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2600/labels{/name}
https://api.github.com/repos/psf/requests/issues/2600/comments
https://api.github.com/repos/psf/requests/issues/2600/events
https://github.com/psf/requests/issues/2600
76,221,981
MDU6SXNzdWU3NjIyMTk4MQ==
2,600
requests silently sends second request and drops first response (auth in use)
{ "avatar_url": "https://avatars.githubusercontent.com/u/656957?v=4", "events_url": "https://api.github.com/users/sawall/events{/privacy}", "followers_url": "https://api.github.com/users/sawall/followers", "following_url": "https://api.github.com/users/sawall/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
3
2015-05-14T04:08:07Z
2021-09-08T23:04:47Z
2015-05-14T05:10:05Z
NONE
resolved
= short version = When I am using a param and auth with `requests.get()`, `requests` appears to send a second request silently that's missing the param and then shows me the second response when i look at `response.text`. = long version, with example and dumps = I've been using requests to play a game. One level inv...
{ "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/2600/reactions" }
https://api.github.com/repos/psf/requests/issues/2600/timeline
null
completed
null
null
false
[ "Out of curiosity I checked to see if the problem persisted if I gave the param a value (i.e., `site = 'http://natas22.natas.labs.overthewire.org/?revelio=foo'`). I'm still experiencing the same pattern.\n", "Because we got redirected. =)\n\nThe first response is a HTTP 302, which means 'the target resource resid...
https://api.github.com/repos/psf/requests/issues/2599
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2599/labels{/name}
https://api.github.com/repos/psf/requests/issues/2599/comments
https://api.github.com/repos/psf/requests/issues/2599/events
https://github.com/psf/requests/issues/2599
76,019,537
MDU6SXNzdWU3NjAxOTUzNw==
2,599
Auth handler should be calling close, not release_conn
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" }, { "color": "e102d8", "default": false, "description": null, "id": 117745, "...
closed
true
null
[]
null
2
2015-05-13T15:10:24Z
2021-09-08T23:04:48Z
2015-05-14T06:15:18Z
CONTRIBUTOR
resolved
On [this line](https://github.com/kennethreitz/requests/blob/956ec8321a76f0b5a9f5bcb591cf6e77d773f819/requests/auth.py#L182) we should be using the response's "close" method. We shouldn't be explicitly calling a method on the "raw" attribute.
{ "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/2599/reactions" }
https://api.github.com/repos/psf/requests/issues/2599/timeline
null
completed
null
null
false
[ "Resolved in #2601.\n", "Should I add a test to ensure close gets called?\nWould using a mock object be the right way?\n" ]
https://api.github.com/repos/psf/requests/issues/2598
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2598/labels{/name}
https://api.github.com/repos/psf/requests/issues/2598/comments
https://api.github.com/repos/psf/requests/issues/2598/events
https://github.com/psf/requests/pull/2598
75,861,193
MDExOlB1bGxSZXF1ZXN0MzUyOTY4OTc=
2,598
Partially revert ab84f9be5740d4649d734e73b84f17f85e52ffc9
{ "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
8
2015-05-13T06:08:49Z
2021-09-08T07:00:58Z
2015-05-14T22:32:19Z
MEMBER
resolved
As discussed in the comments for ab84f9be5740d4649d734e73b84f17f85e52ffc9, this code block is necessary thanks to our shiny `json` parameter. As a temporary workaround, this reinstates the code Kenneth hates so much so that the builds start working again. @kennethreitz feel free to replace this with something else lon...
{ "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/2598/reactions" }
https://api.github.com/repos/psf/requests/issues/2598/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2598.diff", "html_url": "https://github.com/psf/requests/pull/2598", "merged_at": "2015-05-14T22:32:19Z", "patch_url": "https://github.com/psf/requests/pull/2598.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2598" }
true
[ "`import json as notsimplejson` :P\n", "`import json as complexjson`? :grin:\n", "`import json as _json` Really anything to make sure this works properly is a good thing.\n", "ping @sigmavirus24 \n", ":+1: but the tests still seem to be broken because other things were relying on `json` being a module defin...
https://api.github.com/repos/psf/requests/issues/2597
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2597/labels{/name}
https://api.github.com/repos/psf/requests/issues/2597/comments
https://api.github.com/repos/psf/requests/issues/2597/events
https://github.com/psf/requests/pull/2597
75,776,064
MDExOlB1bGxSZXF1ZXN0MzUyODA5OTA=
2,597
do not blindly catch all AttributeErrors
{ "avatar_url": "https://avatars.githubusercontent.com/u/717901?v=4", "events_url": "https://api.github.com/users/t-8ch/events{/privacy}", "followers_url": "https://api.github.com/users/t-8ch/followers", "following_url": "https://api.github.com/users/t-8ch/following{/other_user}", "gists_url": "https://api.gi...
[]
closed
true
null
[]
null
2
2015-05-12T23:22:24Z
2021-09-08T07:00:59Z
2015-05-13T06:16:44Z
CONTRIBUTOR
resolved
see shazow/urllib3#618
{ "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/2597/reactions" }
https://api.github.com/repos/psf/requests/issues/2597/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2597.diff", "html_url": "https://github.com/psf/requests/pull/2597", "merged_at": "2015-05-13T06:16:44Z", "patch_url": "https://github.com/psf/requests/pull/2597.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2597" }
true
[ "So, perhaps this is a stupid question, by why is there this condition in the code in the first place?\n", "It's to allow you to return file-like objects that aren't urllib3's HTTPResponse class. This is super common in tests, for example.\n\nThis LGTM.\n" ]
https://api.github.com/repos/psf/requests/issues/2596
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2596/labels{/name}
https://api.github.com/repos/psf/requests/issues/2596/comments
https://api.github.com/repos/psf/requests/issues/2596/events
https://github.com/psf/requests/issues/2596
75,665,167
MDU6SXNzdWU3NTY2NTE2Nw==
2,596
colon in get params is double encoded
{ "avatar_url": "https://avatars.githubusercontent.com/u/37143?v=4", "events_url": "https://api.github.com/users/makoshark/events{/privacy}", "followers_url": "https://api.github.com/users/makoshark/followers", "following_url": "https://api.github.com/users/makoshark/following{/other_user}", "gists_url": "htt...
[]
closed
true
null
[]
null
4
2015-05-12T16:44:14Z
2021-09-08T23:04:48Z
2015-05-12T16:53:38Z
NONE
resolved
Thanks for maintaining requests! I love it! If a parameters in <code>params</code> passed to <code>get()</code> includes a colon (as is required for categories in the MediaWiki AP, for exampleI) requests double encodes it. Here's some example code: ``` import requests parameters = {'action' : 'query', ...
{ "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/2596/reactions" }
https://api.github.com/repos/psf/requests/issues/2596/timeline
null
completed
null
null
false
[ "Requests does not double encode the colon. =)\n\nWhat you don't see in that code is that you've been redirected. That URL is actually where you ended up after a chain of redirects. If you look for the _first_ request in the chain, you'll see the correct URL:\n\n``` python\n>>> r.history[0].url\nu'http://wikivoyage...
https://api.github.com/repos/psf/requests/issues/2595
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2595/labels{/name}
https://api.github.com/repos/psf/requests/issues/2595/comments
https://api.github.com/repos/psf/requests/issues/2595/events
https://github.com/psf/requests/issues/2595
75,352,263
MDU6SXNzdWU3NTM1MjI2Mw==
2,595
UnicodeEncodeError handling gzipped responses on Google App Engine
{ "avatar_url": "https://avatars.githubusercontent.com/u/963973?v=4", "events_url": "https://api.github.com/users/agfor/events{/privacy}", "followers_url": "https://api.github.com/users/agfor/followers", "following_url": "https://api.github.com/users/agfor/following{/other_user}", "gists_url": "https://api.gi...
[ { "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
17
2015-05-11T20:45:32Z
2021-09-08T09:00:49Z
2015-05-12T18:15:48Z
NONE
resolved
https://github.com/braintree/braintree_python/issues/53 originally reported the issue. It's due to using requests 2.6.1+, which pulled in a version of urllib3 including f21c2a2b73e4256ba2787f8470dbee6872987d2d, which causes the problem. I am able to reproduce using app engine development mode when switching https://gi...
{ "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/2595/reactions" }
https://api.github.com/repos/psf/requests/issues/2595/timeline
null
completed
null
null
false
[ "Have you tried requests 2.7.0? That fixed a number of problems associated with that urllib3 release.\n", "@Lukasa The problem happens in requests 2.7.0 as well -- all released versions after 2.6.0. The problem is in urllib3 versions before https://github.com/shazow/urllib3/commit/22a9713fab2ed831204711906a974c3b...
https://api.github.com/repos/psf/requests/issues/2594
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2594/labels{/name}
https://api.github.com/repos/psf/requests/issues/2594/comments
https://api.github.com/repos/psf/requests/issues/2594/events
https://github.com/psf/requests/issues/2594
75,086,835
MDU6SXNzdWU3NTA4NjgzNQ==
2,594
grequest hangs after about 250,000 requests on windows 7
{ "avatar_url": "https://avatars.githubusercontent.com/u/1405491?v=4", "events_url": "https://api.github.com/users/fivejjs/events{/privacy}", "followers_url": "https://api.github.com/users/fivejjs/followers", "following_url": "https://api.github.com/users/fivejjs/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
6
2015-05-11T04:56:26Z
2021-09-08T23:04:48Z
2015-05-13T06:59:57Z
NONE
resolved
I was running grequests with 390,000 youtube video urls. But it hang there after about 250, 000 urls. The error message: Traceback (most recent call last): File "D:\Users\189120\AppData\Local\Continuum\Anaconda\lib\site-packages\gevent\greenlet.py", line 327, in run result = self._run(_self.args, *_self.kwargs)...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1405491?v=4", "events_url": "https://api.github.com/users/fivejjs/events{/privacy}", "followers_url": "https://api.github.com/users/fivejjs/followers", "following_url": "https://api.github.com/users/fivejjs/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/2594/reactions" }
https://api.github.com/repos/psf/requests/issues/2594/timeline
null
completed
null
null
false
[ "I'm afraid we need significantly more information to diagnose this. You say 'about' 250,000 URLs: is it consistently 250,000, or does the exact number vary? Do you have any logs from the run? Is there anything in stdout?\n", "I just repeat the error. Ran the code last night and got it this morning. The youtube k...
https://api.github.com/repos/psf/requests/issues/2593
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2593/labels{/name}
https://api.github.com/repos/psf/requests/issues/2593/comments
https://api.github.com/repos/psf/requests/issues/2593/events
https://github.com/psf/requests/issues/2593
74,703,156
MDU6SXNzdWU3NDcwMzE1Ng==
2,593
contextlib.closing(response) is not enough when using sessions and stream = True
{ "avatar_url": "https://avatars.githubusercontent.com/u/6313150?v=4", "events_url": "https://api.github.com/users/Beluki/events{/privacy}", "followers_url": "https://api.github.com/users/Beluki/followers", "following_url": "https://api.github.com/users/Beluki/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
7
2015-05-09T16:03:20Z
2021-09-08T22:00:53Z
2015-08-31T09:35:35Z
NONE
resolved
The requests documentation suggests using the following idiom to partially read response bodies (e.g. when stream = True): ``` python from contextlib import closing with closing(requests.get('http://httpbin.org/get', stream=True)) as r: # Do things with the response here. ``` I thought this would be applicable t...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2593/reactions" }
https://api.github.com/repos/psf/requests/issues/2593/timeline
null
completed
null
null
false
[ "I think this is expected, but it could arguably be worked around.\n\nThe problem is that urllib3 doesn't know whether we consumed the response, so it doesn't know that the socket has unread data in it. We should be able to support that case, I think.\n", "Wait. I have a question.\n\nIn your first example, you ha...
https://api.github.com/repos/psf/requests/issues/2592
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2592/labels{/name}
https://api.github.com/repos/psf/requests/issues/2592/comments
https://api.github.com/repos/psf/requests/issues/2592/events
https://github.com/psf/requests/issues/2592
73,242,223
MDU6SXNzdWU3MzI0MjIyMw==
2,592
Redundancy when requesting URLs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1908620?v=4", "events_url": "https://api.github.com/users/cornelinux/events{/privacy}", "followers_url": "https://api.github.com/users/cornelinux/followers", "following_url": "https://api.github.com/users/cornelinux/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
1
2015-05-05T08:05:16Z
2021-09-08T23:04:49Z
2015-05-05T08:33:31Z
NONE
resolved
This is just a question I'd like to mark as feature request. Is it ever planned to provide some kind of redundancy - i.e. add a list or URLs to the Request Object and the Request Object would try to fetch the next URL, if the first one timed out. This might be interesting if requesting web APIs, where redundancy is no...
{ "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/2592/reactions" }
https://api.github.com/repos/psf/requests/issues/2592/timeline
null
completed
null
null
false
[ "Thanks for the feature request @cornelinux!\n\nThis seems like the kind of thing that could easily be built on top of requests. =) If a `Session` object is used, it shouldn't be hard to write a little wrapper around it that does exactly that.\n\nHowever, I don't think we'll be adding this feature to requests core,...
https://api.github.com/repos/psf/requests/issues/2591
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2591/labels{/name}
https://api.github.com/repos/psf/requests/issues/2591/comments
https://api.github.com/repos/psf/requests/issues/2591/events
https://github.com/psf/requests/issues/2591
73,086,681
MDU6SXNzdWU3MzA4NjY4MQ==
2,591
Session post() sending a GET instead of a POST intermittently
{ "avatar_url": "https://avatars.githubusercontent.com/u/648320?v=4", "events_url": "https://api.github.com/users/kkochis/events{/privacy}", "followers_url": "https://api.github.com/users/kkochis/followers", "following_url": "https://api.github.com/users/kkochis/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
2
2015-05-04T18:07:46Z
2021-09-08T23:04:49Z
2015-05-04T18:40:58Z
NONE
resolved
I can't figure out how this would be happening by looking into the source code but here is the behavior I am seeing: ``` >>> import requests >>> s = requests.Session() >>> r = s.post('http://mydomain.com/login/attempt', data={'username': 'user', 'password': 'pass'}) >>> r.request <PreparedRequest [POST]> >>> r2 = s.po...
{ "avatar_url": "https://avatars.githubusercontent.com/u/648320?v=4", "events_url": "https://api.github.com/users/kkochis/events{/privacy}", "followers_url": "https://api.github.com/users/kkochis/followers", "following_url": "https://api.github.com/users/kkochis/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/2591/reactions" }
https://api.github.com/repos/psf/requests/issues/2591/timeline
null
completed
null
null
false
[ "`Session.post` is not sending a GET, you're being redirected. Check `r.history` for each one.\n", "Thank you! user error.\n" ]
https://api.github.com/repos/psf/requests/issues/2590
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2590/labels{/name}
https://api.github.com/repos/psf/requests/issues/2590/comments
https://api.github.com/repos/psf/requests/issues/2590/events
https://github.com/psf/requests/issues/2590
72,993,352
MDU6SXNzdWU3Mjk5MzM1Mg==
2,590
PATCH get response 301(moved permanently) is redirected with empty body
{ "avatar_url": "https://avatars.githubusercontent.com/u/3015139?v=4", "events_url": "https://api.github.com/users/sainttail/events{/privacy}", "followers_url": "https://api.github.com/users/sainttail/followers", "following_url": "https://api.github.com/users/sainttail/following{/other_user}", "gists_url": "h...
[]
closed
true
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", ...
18
2015-05-04T11:14:05Z
2021-09-08T13:05:40Z
2016-12-12T16:10:44Z
NONE
resolved
I don't know this is normal behaviour or not but any reason to set body to empty with patch?
{ "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/2590/reactions" }
https://api.github.com/repos/psf/requests/issues/2590/timeline
null
completed
null
null
false
[ "What kind of body are you sending?\n", "i sent something like this\n`r = requests.patch(url, data={\"data\": \"test\"})`\n", "I think we're a bit over-zealous with stripping bodies on redirects. In #1084 we allowed 307 and 308 to keep their bodies, but all other redirects lose theirs. Arguably, a 301 for a non...
https://api.github.com/repos/psf/requests/issues/2589
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2589/labels{/name}
https://api.github.com/repos/psf/requests/issues/2589/comments
https://api.github.com/repos/psf/requests/issues/2589/events
https://github.com/psf/requests/issues/2589
72,913,324
MDU6SXNzdWU3MjkxMzMyNA==
2,589
Can't post BytesIO file-like object
{ "avatar_url": "https://avatars.githubusercontent.com/u/401600?v=4", "events_url": "https://api.github.com/users/JetForMe/events{/privacy}", "followers_url": "https://api.github.com/users/JetForMe/followers", "following_url": "https://api.github.com/users/JetForMe/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
4
2015-05-04T03:41:29Z
2021-09-08T03:00:20Z
2015-05-04T03:48:50Z
NONE
resolved
Hi. I'm trying to zip a directory in memory and then POST that to a server. Unfortunately, I don't seem to be able to use the BytesIO object to which the zip data is written. Instead, I have to get the bytes from it. But the docs seem to indicate I can provide either bytes or a file-like object in the tuple. Here's a ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/401600?v=4", "events_url": "https://api.github.com/users/JetForMe/events{/privacy}", "followers_url": "https://api.github.com/users/JetForMe/followers", "following_url": "https://api.github.com/users/JetForMe/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/2589/reactions" }
https://api.github.com/repos/psf/requests/issues/2589/timeline
null
completed
null
null
false
[ "So try this on for size:\n\n``` py\nzipData = io.BytesIO();\nwith zipfile.ZipFile(zipData, mode=\"w\") as zf:\n zf.write(<some content>)\n\nzipData.seek(0, 0)\nurl = \"https://some.host/api/upload\"\n\nfiles = { \"ipa\" : open(ipaPath, \"rb\") }\n#files[\"dsym\"] = (zipName, zipData) # file-like obj...
https://api.github.com/repos/psf/requests/issues/2588
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2588/labels{/name}
https://api.github.com/repos/psf/requests/issues/2588/comments
https://api.github.com/repos/psf/requests/issues/2588/events
https://github.com/psf/requests/pull/2588
72,889,953
MDExOlB1bGxSZXF1ZXN0MzQ2MTA4MTI=
2,588
use reST link syntax
{ "avatar_url": "https://avatars.githubusercontent.com/u/219470?v=4", "events_url": "https://api.github.com/users/benjaminp/events{/privacy}", "followers_url": "https://api.github.com/users/benjaminp/followers", "following_url": "https://api.github.com/users/benjaminp/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
1
2015-05-04T00:34:20Z
2021-09-08T07:01:00Z
2015-05-04T02:18:37Z
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/2588/reactions" }
https://api.github.com/repos/psf/requests/issues/2588/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2588.diff", "html_url": "https://github.com/psf/requests/pull/2588", "merged_at": "2015-05-04T02:18:37Z", "patch_url": "https://github.com/psf/requests/pull/2588.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2588" }
true
[ "Thanks for catching this @gutworth! :sparkles: :cake: :sparkles: \n" ]
https://api.github.com/repos/psf/requests/issues/2587
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2587/labels{/name}
https://api.github.com/repos/psf/requests/issues/2587/comments
https://api.github.com/repos/psf/requests/issues/2587/events
https://github.com/psf/requests/pull/2587
72,852,379
MDExOlB1bGxSZXF1ZXN0MzQ2MDYxMjA=
2,587
Remove the __bool__ and __nonzero__ response methods
{ "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...
{ "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-05-03T19:24:01Z
2021-09-08T07:01:00Z
2015-05-04T13:05:36Z
CONTRIBUTOR
resolved
Many people expect to be able to say: ``` response = make_request(url) if response: body = response.content ``` Where the first part should test for whether or not response is None. Instead, the **bool** and **nonzero** methods return response.ok, so if the response is actually a 4xx or 5xx response, then the us...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2587/reactions" }
https://api.github.com/repos/psf/requests/issues/2587/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2587.diff", "html_url": "https://github.com/psf/requests/pull/2587", "merged_at": "2015-05-04T13:05:36Z", "patch_url": "https://github.com/psf/requests/pull/2587.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2587" }
true
[ "For the 3.0.0 stuff, I think we should try to be adding changelog updates for this: ideally, fairly thorough ones.\n", "Otherwise, this looks totally reasonable. =)\n", "Since we've discussed keeping this branch around for a while and the likelihood of having another release (at least), I made a different file...
https://api.github.com/repos/psf/requests/issues/2586
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2586/labels{/name}
https://api.github.com/repos/psf/requests/issues/2586/comments
https://api.github.com/repos/psf/requests/issues/2586/events
https://github.com/psf/requests/pull/2586
72,808,110
MDExOlB1bGxSZXF1ZXN0MzQ2MDE2ODk=
2,586
Cut 2.7.0 this weekend
{ "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
10
2015-05-03T13:43:44Z
2021-09-08T08:00:47Z
2015-05-03T15:02:21Z
MEMBER
resolved
Ok, I believe we've left enough time for the chunked stuff to bake, and no further issues seem to have come out of the woodwork. At this point, I think we should cut 2.7.0 and begin the switchover to our new release process. @shazow are you open to tagging a new urllib3 release, and if so what commit would you like us...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2586/reactions" }
https://api.github.com/repos/psf/requests/issues/2586/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2586.diff", "html_url": "https://github.com/psf/requests/pull/2586", "merged_at": "2015-05-03T15:02:21Z", "patch_url": "https://github.com/psf/requests/pull/2586.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2586" }
true
[ "In my ideal world we'd update the `certifi` bundle as well, but I'm now strongly averse to trying to do too much with these releases. @sigmavirus24?\n", "I'm not strongly opposed to it. I'd like confirmation that the problem sites in #2455 at least work. Thoughts?\n", "Agreed. Adding it to the list.\n", "Alr...
https://api.github.com/repos/psf/requests/issues/2585
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2585/labels{/name}
https://api.github.com/repos/psf/requests/issues/2585/comments
https://api.github.com/repos/psf/requests/issues/2585/events
https://github.com/psf/requests/issues/2585
72,459,274
MDU6SXNzdWU3MjQ1OTI3NA==
2,585
Session.get_adapter won't work correctly for case-sensitive URLs
{ "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": "e102d8", "default": false, "description": null, "id": 117745, "name": "Planned", "node_id": "MDU6TGFiZWwxMTc3NDU=", "url": "https://api.github.com/repos/psf/requests/labels/Planned" } ]
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", ...
6
2015-05-01T15:44:12Z
2015-07-18T14:22:31Z
null
NONE
null
In its current implementation Session.get_adapter turns url to lowercase in line 637. If it is aiming for case-insensitive compare it should also turn prefix variable to lowercase in the same line or do that at registration in the mount() method. But this whole idea seems incorrect because URL paths can be case sensiti...
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/2585/reactions" }
https://api.github.com/repos/psf/requests/issues/2585/timeline
null
null
null
null
false
[ "Agreed that the case-insensitive compare is a bad idea, but I also think splitting the URL into components is not a good idea either. The correct thing to do is to remove the case-insensitive compare in 3.0.0.\n", "If I remember correctly, we compare them case-insensitively because most people don't use adapters...
https://api.github.com/repos/psf/requests/issues/2584
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2584/labels{/name}
https://api.github.com/repos/psf/requests/issues/2584/comments
https://api.github.com/repos/psf/requests/issues/2584/events
https://github.com/psf/requests/issues/2584
72,456,839
MDU6SXNzdWU3MjQ1NjgzOQ==
2,584
Timeline for HTTP/2
{ "avatar_url": "https://avatars.githubusercontent.com/u/401438?v=4", "events_url": "https://api.github.com/users/AstraLuma/events{/privacy}", "followers_url": "https://api.github.com/users/AstraLuma/followers", "following_url": "https://api.github.com/users/AstraLuma/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
1
2015-05-01T15:33:48Z
2021-09-08T23:04:54Z
2015-05-01T15:59:30Z
NONE
resolved
With the finishing of the HTTP/2 standardization process, does requests have a timeline, goal, or idea of its HTTP/2 support?
{ "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/2584/reactions" }
https://api.github.com/repos/psf/requests/issues/2584/timeline
null
completed
null
null
false
[ "Please check old issues: #2082 #2451.\n" ]
https://api.github.com/repos/psf/requests/issues/2583
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2583/labels{/name}
https://api.github.com/repos/psf/requests/issues/2583/comments
https://api.github.com/repos/psf/requests/issues/2583/events
https://github.com/psf/requests/issues/2583
72,431,519
MDU6SXNzdWU3MjQzMTUxOQ==
2,583
ImportError: No module named 'requests.packages.chardet.sys' when frozen by PyInstaller
{ "avatar_url": "https://avatars.githubusercontent.com/u/784161?v=4", "events_url": "https://api.github.com/users/htgoebel/events{/privacy}", "followers_url": "https://api.github.com/users/htgoebel/followers", "following_url": "https://api.github.com/users/htgoebel/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
2
2015-05-01T13:21:28Z
2021-09-08T23:04:55Z
2015-05-01T13:57:52Z
NONE
resolved
When running a simple test-program frozen by [PyInstaller](http://www.pyinstaller.org) this program fails with an `ImportError: No module named 'requests.packages.chardet.sys'`. The same program runs fine when run unfrozen (which means: directly from the command line). This seams to be a problem with the import magic ...
{ "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/2583/reactions" }
https://api.github.com/repos/psf/requests/issues/2583/timeline
null
completed
null
null
false
[ "This is a known issue in 2.6.0 with the update machinery we introduced in 2.5.2. We fixed it in 2.6.1, but unfortunately that release also broke some chunked encoding stuff. The reality is that there are no good releases right now for pyinstaller (2.1.0 through 2.5.3 are affected by CVE 2015-2296, so don't use the...
https://api.github.com/repos/psf/requests/issues/2582
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2582/labels{/name}
https://api.github.com/repos/psf/requests/issues/2582/comments
https://api.github.com/repos/psf/requests/issues/2582/events
https://github.com/psf/requests/pull/2582
72,348,225
MDExOlB1bGxSZXF1ZXN0MzQ1MjAyMTQ=
2,582
Make docstring of api.get more clear
{ "avatar_url": "https://avatars.githubusercontent.com/u/1484098?v=4", "events_url": "https://api.github.com/users/mhavard999/events{/privacy}", "followers_url": "https://api.github.com/users/mhavard999/followers", "following_url": "https://api.github.com/users/mhavard999/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
1
2015-05-01T04:01:51Z
2021-09-08T08:00:48Z
2015-05-01T05:59:46Z
CONTRIBUTOR
resolved
I opened issue #2581, and since it is such a small change, I just went ahead and opened the pull request immediately. This makes the docstring for `requests.get` clearer so when someone does `help(requests.get)` they can see that `params` is an optional kwarg that can be used to attach query string parameters to a GET...
{ "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/2582/reactions" }
https://api.github.com/repos/psf/requests/issues/2582/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2582.diff", "html_url": "https://github.com/psf/requests/pull/2582", "merged_at": "2015-05-01T05:59:46Z", "patch_url": "https://github.com/psf/requests/pull/2582.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2582" }
true
[ "Thanks for this @mhavard999, it looks great! :cake:\n" ]
https://api.github.com/repos/psf/requests/issues/2581
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2581/labels{/name}
https://api.github.com/repos/psf/requests/issues/2581/comments
https://api.github.com/repos/psf/requests/issues/2581/events
https://github.com/psf/requests/issues/2581
72,347,918
MDU6SXNzdWU3MjM0NzkxOA==
2,581
The docstring for `get` in `api.py` should be more clear.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1484098?v=4", "events_url": "https://api.github.com/users/mhavard999/events{/privacy}", "followers_url": "https://api.github.com/users/mhavard999/followers", "following_url": "https://api.github.com/users/mhavard999/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
1
2015-05-01T03:56:46Z
2021-09-08T23:04:55Z
2015-05-01T05:59:57Z
CONTRIBUTOR
resolved
This is the docstring for `get` from `api.py`: ``` python """Sends a GET request. :param url: URL for the new :class:`Request` object. :param \*\*kwargs: Optional arguments that ``request`` takes. :return: :class:`Response <Response>` object :rtype: requests.Response """ ``` So when someone 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/2581/reactions" }
https://api.github.com/repos/psf/requests/issues/2581/timeline
null
completed
null
null
false
[ "Closed by #2582.\n" ]
https://api.github.com/repos/psf/requests/issues/2580
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2580/labels{/name}
https://api.github.com/repos/psf/requests/issues/2580/comments
https://api.github.com/repos/psf/requests/issues/2580/events
https://github.com/psf/requests/issues/2580
71,988,571
MDU6SXNzdWU3MTk4ODU3MQ==
2,580
Documentation for context manager?
{ "avatar_url": "https://avatars.githubusercontent.com/u/4295636?v=4", "events_url": "https://api.github.com/users/Microserf/events{/privacy}", "followers_url": "https://api.github.com/users/Microserf/followers", "following_url": "https://api.github.com/users/Microserf/following{/other_user}", "gists_url": "h...
[ { "color": "e102d8", "default": false, "description": null, "id": 117745, "name": "Planned", "node_id": "MDU6TGFiZWwxMTc3NDU=", "url": "https://api.github.com/repos/psf/requests/labels/Planned" }, { "color": "0b02e1", "default": false, "description": null, "id": 19127...
closed
true
null
[]
null
4
2015-04-29T20:59:27Z
2021-09-08T23:00:43Z
2015-08-07T20:41:21Z
NONE
resolved
The documentation makes only a single reference to the fact that `requests` provides some sort of context manager, and it's in the release notes from version 0.6 in 2011: > New persistient sessions object and context manager Would it be possible to get examples of how to implement these context managers? Specifically...
{ "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/2580/reactions" }
https://api.github.com/repos/psf/requests/issues/2580/timeline
null
completed
null
null
false
[ "So I believe that refers to the fact that you can do:\n\n``` py\nwith requests.Session() as session:\n response = session.get(self.url)\n```\n\nTo get the equivalent to that code though, you could do\n\n``` py\nimport requests\n\nsession = requests.Session()\n\nwith contextlib.closing(session.get(self.url, stre...
https://api.github.com/repos/psf/requests/issues/2579
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2579/labels{/name}
https://api.github.com/repos/psf/requests/issues/2579/comments
https://api.github.com/repos/psf/requests/issues/2579/events
https://github.com/psf/requests/issues/2579
71,858,093
MDU6SXNzdWU3MTg1ODA5Mw==
2,579
ResponseNotReady when getting GitHub raw URL
{ "avatar_url": "https://avatars.githubusercontent.com/u/634?v=4", "events_url": "https://api.github.com/users/Bjwebb/events{/privacy}", "followers_url": "https://api.github.com/users/Bjwebb/followers", "following_url": "https://api.github.com/users/Bjwebb/following{/other_user}", "gists_url": "https://api.gi...
[]
closed
true
null
[]
null
1
2015-04-29T12:15:01Z
2021-09-08T23:04:56Z
2015-04-29T12:44:51Z
NONE
resolved
Trying to get https://github.com/kennethreitz/requests/blob/master/README.rst?raw=true fails. Getting https://github.com/kennethreitz/requests/raw/master/README.rst (which the former redirects to) succeeds, so I think this has something to do with the handling the redirect. I'm not 100% sure this is an issue with requ...
{ "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/2579/reactions" }
https://api.github.com/repos/psf/requests/issues/2579/timeline
null
completed
null
null
false
[ "This is a duplicate of #2568.\n" ]
https://api.github.com/repos/psf/requests/issues/2578
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2578/labels{/name}
https://api.github.com/repos/psf/requests/issues/2578/comments
https://api.github.com/repos/psf/requests/issues/2578/events
https://github.com/psf/requests/issues/2578
71,778,533
MDU6SXNzdWU3MTc3ODUzMw==
2,578
POST Request turns into GET when prepared without a Session
{ "avatar_url": "https://avatars.githubusercontent.com/u/223908?v=4", "events_url": "https://api.github.com/users/krey/events{/privacy}", "followers_url": "https://api.github.com/users/krey/followers", "following_url": "https://api.github.com/users/krey/following{/other_user}", "gists_url": "https://api.githu...
[]
closed
true
null
[]
null
2
2015-04-29T04:58:41Z
2021-09-08T23:04:56Z
2015-04-29T06:07:58Z
NONE
resolved
The code below prints `<PreparedRequest [GET]>` This isn't a huge issue (as I'm using `Version 2`), just kinda weird that POST is flipped to GET ``` python import pickle import requests from lxml import html from urllib.parse import urljoin session = requests.Session() form_url = "http://www.transtats.bts.gov/Data_...
{ "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/2578/reactions" }
https://api.github.com/repos/psf/requests/issues/2578/timeline
null
completed
null
null
false
[ "This is not a bug, you're being redirected. requests automatically follows redirects, when the POST is finished you're getting a 302 to some other URL. Check `post_response.history` to confirm. =)\n", "You're absolutely correct, thank you\n" ]
https://api.github.com/repos/psf/requests/issues/2577
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2577/labels{/name}
https://api.github.com/repos/psf/requests/issues/2577/comments
https://api.github.com/repos/psf/requests/issues/2577/events
https://github.com/psf/requests/issues/2577
71,746,970
MDU6SXNzdWU3MTc0Njk3MA==
2,577
Custom auth handler not called on redirect
{ "avatar_url": "https://avatars.githubusercontent.com/u/2001681?v=4", "events_url": "https://api.github.com/users/cefolger/events{/privacy}", "followers_url": "https://api.github.com/users/cefolger/followers", "following_url": "https://api.github.com/users/cefolger/following{/other_user}", "gists_url": "http...
[ { "color": "e11d21", "default": false, "description": null, "id": 136589914, "name": "Needs Info", "node_id": "MDU6TGFiZWwxMzY1ODk5MTQ=", "url": "https://api.github.com/repos/psf/requests/labels/Needs%20Info" } ]
closed
true
null
[]
null
1
2015-04-29T00:43:23Z
2021-09-08T23:04:45Z
2015-05-31T12:54:29Z
NONE
resolved
Hi, I have a custom auth handler, and my problem is that if the service returns a 302 the handler needs to be re-run to generate auth headers for the request to the new url. Right now I'm setting allow_redirects=False and handling this manually, but can this be done by requests instead?
{ "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/2577/reactions" }
https://api.github.com/repos/psf/requests/issues/2577/timeline
null
completed
null
null
false
[ "So auth handlers tend to register themselves as `response` hooks which are called every time [`send`](https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L579) is called. And that's also called when [requests handles redirects](https://github.com/kennethreitz/requests/blob/master/requests/ses...
https://api.github.com/repos/psf/requests/issues/2576
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2576/labels{/name}
https://api.github.com/repos/psf/requests/issues/2576/comments
https://api.github.com/repos/psf/requests/issues/2576/events
https://github.com/psf/requests/issues/2576
71,728,416
MDU6SXNzdWU3MTcyODQxNg==
2,576
Set-Cookie - violating rfc6265
{ "avatar_url": "https://avatars.githubusercontent.com/u/1061223?v=4", "events_url": "https://api.github.com/users/henadzit/events{/privacy}", "followers_url": "https://api.github.com/users/henadzit/followers", "following_url": "https://api.github.com/users/henadzit/following{/other_user}", "gists_url": "http...
[]
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...
10
2015-04-28T22:52:08Z
2024-05-20T14:36:08Z
2024-05-20T14:36:07Z
NONE
null
Hey, I found that requests (version 2.6.0) violates one paragraph of rfc6265 - http://tools.ietf.org/html/rfc6265#section-4.1.2.3 "If the server omits the Domain attribute, the user agent will return the cookie only to the origin server." It means that if Set-Cookie is set without domain at test.com, the cookie shou...
{ "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/2576/reactions" }
https://api.github.com/repos/psf/requests/issues/2576/timeline
null
completed
null
null
false
[ "So the code that handles cookies for us in the standard library. We rely on [the `add_cookie_header` method on a CookieJar](https://github.com/kennethreitz/requests/blob/master/requests/cookies.py#L135). We create a mock request object but as far as I can tell we're doing everything we should. If we look at that, ...
https://api.github.com/repos/psf/requests/issues/2575
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2575/labels{/name}
https://api.github.com/repos/psf/requests/issues/2575/comments
https://api.github.com/repos/psf/requests/issues/2575/events
https://github.com/psf/requests/issues/2575
71,606,845
MDU6SXNzdWU3MTYwNjg0NQ==
2,575
HEAD request not following redirects since 2.6.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/133945?v=4", "events_url": "https://api.github.com/users/markunsworth/events{/privacy}", "followers_url": "https://api.github.com/users/markunsworth/followers", "following_url": "https://api.github.com/users/markunsworth/following{/other_user}", "gists_...
[]
closed
true
null
[]
null
13
2015-04-28T14:33:31Z
2021-09-08T23:04:57Z
2015-04-28T15:26:27Z
NONE
resolved
The following should follow the redirects but it just hangs ``` import requests requests.head("http://bit.ly/DyE5", allow_redirects=True) ``` Have tested this on version 2.6.0, 2.6.1 and 2.6.2 and it stopped working at 2.6.1. Have also tested as a GET request and that works fine on all versions.
{ "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/2575/reactions" }
https://api.github.com/repos/psf/requests/issues/2575/timeline
null
completed
null
null
false
[ "_not_ a duplicate of #2568\n", "Most probably a duplicate of shazow/urllib3#601\nThe server does not do `Transfer-Encoding: chunked` but rather an explicit `Content-Length` without a body following.\n", "@t-8ch This is an odd dupe of shazow/urllib3#601 then, but I suppose it's possible. Definitely seems like t...
https://api.github.com/repos/psf/requests/issues/2574
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2574/labels{/name}
https://api.github.com/repos/psf/requests/issues/2574/comments
https://api.github.com/repos/psf/requests/issues/2574/events
https://github.com/psf/requests/issues/2574
71,598,917
MDU6SXNzdWU3MTU5ODkxNw==
2,574
requests 2.6.1 and 2.6.2 causes ResponseNotReady error for 303 answers
{ "avatar_url": "https://avatars.githubusercontent.com/u/10611832?v=4", "events_url": "https://api.github.com/users/obormotov/events{/privacy}", "followers_url": "https://api.github.com/users/obormotov/followers", "following_url": "https://api.github.com/users/obormotov/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
1
2015-04-28T14:05:41Z
2021-09-08T23:04:57Z
2015-04-28T14:23:07Z
NONE
resolved
now I've got for redirections: ``` File "bin/eggs/requests-2.6.2-py2.7.egg/requests/sessions.py", line 573, in send r = adapter.send(request, **kwargs) File "bin/eggs/requests-2.6.2-py2.7.egg/requests/adapters.py", line 415, in send raise ConnectionError(err, request=request) ConnectionError: ('Connection ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2574/reactions" }
https://api.github.com/repos/psf/requests/issues/2574/timeline
null
completed
null
null
false
[ "This is a duplicate of #2568.\n" ]
https://api.github.com/repos/psf/requests/issues/2573
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2573/labels{/name}
https://api.github.com/repos/psf/requests/issues/2573/comments
https://api.github.com/repos/psf/requests/issues/2573/events
https://github.com/psf/requests/issues/2573
71,057,069
MDU6SXNzdWU3MTA1NzA2OQ==
2,573
SSLV3_ALERT_HANDSHAKE_FAILURE in 2.6.2
{ "avatar_url": "https://avatars.githubusercontent.com/u/2545428?v=4", "events_url": "https://api.github.com/users/Nelluk/events{/privacy}", "followers_url": "https://api.github.com/users/Nelluk/followers", "following_url": "https://api.github.com/users/Nelluk/following{/other_user}", "gists_url": "https://ap...
[ { "color": "e102d8", "default": false, "description": null, "id": 117745, "name": "Planned", "node_id": "MDU6TGFiZWwxMTc3NDU=", "url": "https://api.github.com/repos/psf/requests/labels/Planned" }, { "color": "0b02e1", "default": false, "description": null, "id": 19127...
closed
true
null
[]
null
18
2015-04-26T11:56:17Z
2022-02-26T04:00:40Z
2021-11-28T03:01:25Z
NONE
resolved
``` raise SSLError(e, request=request) requests.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:600) ``` Started happening consistently after upgrading to Requests 2.6.2. Tested in both Yosemite and Ubuntu 14.04. Python 3.4.3. Downgrading to Requests 2.6.0 solves the is...
{ "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/followers", "following_url": "https://api.github.com/users/sethmlarson/following{/other_user}", "gists_u...
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 1, "url": "https://api.github.com/repos/psf/requests/issues/2573/reactions" }
https://api.github.com/repos/psf/requests/issues/2573/timeline
null
completed
null
null
false
[ "@Nelluk Can you provide more information on what causes this? Which server are you accessing, etc?\n\nAt the moment, the most likely change in that delta is the fact that we slightly changed our default SSL cipher list:\n\n```\n- ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+...
https://api.github.com/repos/psf/requests/issues/2572
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2572/labels{/name}
https://api.github.com/repos/psf/requests/issues/2572/comments
https://api.github.com/repos/psf/requests/issues/2572/events
https://github.com/psf/requests/pull/2572
70,964,869
MDExOlB1bGxSZXF1ZXN0MzQxMTI3MTA=
2,572
Add basic contributing guide
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
2
2015-04-25T20:39:52Z
2021-09-08T08:00:48Z
2015-04-25T21:34:45Z
MEMBER
resolved
For #2560. This is adapted from hyper's contributing guide.
{ "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/2572/reactions" }
https://api.github.com/repos/psf/requests/issues/2572/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2572.diff", "html_url": "https://github.com/psf/requests/pull/2572", "merged_at": "2015-04-25T21:34:45Z", "patch_url": "https://github.com/psf/requests/pull/2572.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2572" }
true
[ "Requests should always be capitalized. \n", "cleaned this up a bit, removed some things i found a bit too serious :)\n" ]
https://api.github.com/repos/psf/requests/issues/2571
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2571/labels{/name}
https://api.github.com/repos/psf/requests/issues/2571/comments
https://api.github.com/repos/psf/requests/issues/2571/events
https://github.com/psf/requests/issues/2571
70,886,124
MDU6SXNzdWU3MDg4NjEyNA==
2,571
Post vs Get
{ "avatar_url": "https://avatars.githubusercontent.com/u/1729141?v=4", "events_url": "https://api.github.com/users/bmutinda/events{/privacy}", "followers_url": "https://api.github.com/users/bmutinda/followers", "following_url": "https://api.github.com/users/bmutinda/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
9
2015-04-25T09:59:07Z
2021-09-08T23:04:58Z
2015-04-25T10:11:00Z
NONE
resolved
Why is this that if I make a post request without a "/" at the end of the url I can't access the params with $_POST[] in php but the param is available in the $_REQUEST. Is there something that I am doing wrong? Here is my code ``` python import requests # version1 - POST params are accessible payload = {"message": ...
{ "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/2571/reactions" }
https://api.github.com/repos/psf/requests/issues/2571/timeline
null
completed
null
null
false
[ "My guess is that your PHP app redirects from the URL that doesn't have a `/` to the one that does, and when it does so it uses a status code that causes us to convert our POST to a GET.\n\nYou should check what your PHP application is up to.\n", "@Lukasa - there is no redirection in my php code. this is what the...
https://api.github.com/repos/psf/requests/issues/2570
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2570/labels{/name}
https://api.github.com/repos/psf/requests/issues/2570/comments
https://api.github.com/repos/psf/requests/issues/2570/events
https://github.com/psf/requests/pull/2570
70,830,165
MDExOlB1bGxSZXF1ZXN0MzQwOTY3MjE=
2,570
Add new release process to docs
{ "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
1
2015-04-25T00:29:09Z
2021-09-08T08:00:48Z
2015-04-25T21:46:31Z
CONTRIBUTOR
resolved
Closes #2569
{ "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/2570/reactions" }
https://api.github.com/repos/psf/requests/issues/2570/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2570.diff", "html_url": "https://github.com/psf/requests/pull/2570", "merged_at": "2015-04-25T21:46:31Z", "patch_url": "https://github.com/psf/requests/pull/2570.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2570" }
true
[ "Looks good, some small notes.\n" ]
https://api.github.com/repos/psf/requests/issues/2569
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2569/labels{/name}
https://api.github.com/repos/psf/requests/issues/2569/comments
https://api.github.com/repos/psf/requests/issues/2569/events
https://github.com/psf/requests/issues/2569
70,694,577
MDU6SXNzdWU3MDY5NDU3Nw==
2,569
[Proposal] New Release Management Process
{ "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-04-24T13:43:18Z
2021-09-08T23:04:58Z
2015-04-25T21:46:31Z
CONTRIBUTOR
resolved
In v2.6.1 we pulled in a new copy of urllib3. Typically this doesn't negatively affect us but in this case we've seen a bunch of new issues from the chunked encoding refactor in urllib3. Because that kind of stuff _should_ not break in a `.x` release I'm proposing we follow this process when preparing releases (and tha...
{ "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/2569/reactions" }
https://api.github.com/repos/psf/requests/issues/2569/timeline
null
completed
null
null
false
[ "+1. Write it down in the docs, let's make it so.\n", ":cake: Will do tonight or tomorrow morning\n" ]
https://api.github.com/repos/psf/requests/issues/2568
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2568/labels{/name}
https://api.github.com/repos/psf/requests/issues/2568/comments
https://api.github.com/repos/psf/requests/issues/2568/events
https://github.com/psf/requests/issues/2568
70,680,582
MDU6SXNzdWU3MDY4MDU4Mg==
2,568
Keep-alive broken in 2.6.1 and 2.6.2 with chunked transfer-encoding
{ "avatar_url": "https://avatars.githubusercontent.com/u/6117199?v=4", "events_url": "https://api.github.com/users/lmikkelsen/events{/privacy}", "followers_url": "https://api.github.com/users/lmikkelsen/followers", "following_url": "https://api.github.com/users/lmikkelsen/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
{ "closed_at": "2015-06-09T19:04:55Z", "closed_issues": 1, "created_at": "2015-01-18T20:07:07Z", "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...
8
2015-04-24T12:41:40Z
2021-09-08T23:04:53Z
2015-05-03T15:03:10Z
NONE
resolved
Starting in 2.6.1 an exception is thrown if a connection with chunked transfer-encoding is reused. I suspect that the bug is in the bundled urllib3 which was upgraded from 1.10.2 to 1.10.3. ``` python #!/usr/bin/env python import requests s = requests.Session() r = s.get('http://httpbin.org/stream/1') r.json() r = s.g...
{ "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/2568/reactions" }
https://api.github.com/repos/psf/requests/issues/2568/timeline
null
completed
null
null
false
[ "> I suspect that the bug is in the bundled urllib3 which was upgraded from 1.10.2 to 1.10.3.\n\nAs do I: can you open this bug over there, please? We'll fix it in that repository.\n", "We should start preparing requests 2.7.0 with the fix for shazow/urllib3#598\n", "Is there any workaround for this? I've gone ...
https://api.github.com/repos/psf/requests/issues/2567
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2567/labels{/name}
https://api.github.com/repos/psf/requests/issues/2567/comments
https://api.github.com/repos/psf/requests/issues/2567/events
https://github.com/psf/requests/pull/2567
70,647,200
MDExOlB1bGxSZXF1ZXN0MzQwMzQ4MDk=
2,567
Import aliases for Debian
{ "avatar_url": "https://avatars.githubusercontent.com/u/837573?v=4", "events_url": "https://api.github.com/users/untitaker/events{/privacy}", "followers_url": "https://api.github.com/users/untitaker/followers", "following_url": "https://api.github.com/users/untitaker/following{/other_user}", "gists_url": "ht...
[]
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...
63
2015-04-24T10:05:43Z
2021-09-08T06:00:57Z
2015-10-05T14:09:46Z
CONTRIBUTOR
resolved
Alternative to #2375, on the risk of being naive...
{ "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/2567/reactions" }
https://api.github.com/repos/psf/requests/issues/2567/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2567.diff", "html_url": "https://github.com/psf/requests/pull/2567", "merged_at": "2015-10-05T14:09:46Z", "patch_url": "https://github.com/psf/requests/pull/2567.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2567" }
true
[ "@sigmavirus24 You own this logic for the most part: how does this look?\n", "Also I suppose it'd be nice if @dcramer tries this (because of https://github.com/kennethreitz/requests/issues/2558)\n", "It _looks_ okay but I want to toy with it a bit before we merge it.\n", "If you're fine with this, I'd like to...
https://api.github.com/repos/psf/requests/issues/2566
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2566/labels{/name}
https://api.github.com/repos/psf/requests/issues/2566/comments
https://api.github.com/repos/psf/requests/issues/2566/events
https://github.com/psf/requests/issues/2566
70,638,217
MDU6SXNzdWU3MDYzODIxNw==
2,566
Runtime Error
{ "avatar_url": "https://avatars.githubusercontent.com/u/2977844?v=4", "events_url": "https://api.github.com/users/caimaoy/events{/privacy}", "followers_url": "https://api.github.com/users/caimaoy/followers", "following_url": "https://api.github.com/users/caimaoy/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
4
2015-04-24T09:26:44Z
2021-09-08T23:04:52Z
2015-05-03T15:04:33Z
NONE
resolved
![image](https://cloud.githubusercontent.com/assets/2977844/7316104/96ea13ee-eaa6-11e4-8ee9-e64c3167c881.png) just requests.post() .py file is ok, but I packaged .py file to .exe file with pyinstaller in win7 32bits, and then when I ran the .exe file in a win7 64bits matchine, It was like this.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/2566/reactions" }
https://api.github.com/repos/psf/requests/issues/2566/timeline
null
completed
null
null
false
[ "This does not like it could possibly be our problem. Do you see this if you replace the requests import with an import of any other third party library?\n", "```\n# -*- coding: UTF-8 -*-\n\n'''\nLast modified time: 2015-04-24 17:16:47\nEdit time: 2015-04-24 17:17:16\nFile name: text.py\nEdit by caimaoy\n'''\n\ni...
https://api.github.com/repos/psf/requests/issues/2565
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2565/labels{/name}
https://api.github.com/repos/psf/requests/issues/2565/comments
https://api.github.com/repos/psf/requests/issues/2565/events
https://github.com/psf/requests/issues/2565
70,570,132
MDU6SXNzdWU3MDU3MDEzMg==
2,565
regression over 2.6.0 with session behind proxy
{ "avatar_url": "https://avatars.githubusercontent.com/u/12093095?v=4", "events_url": "https://api.github.com/users/AlphaScorpii-dev/events{/privacy}", "followers_url": "https://api.github.com/users/AlphaScorpii-dev/followers", "following_url": "https://api.github.com/users/AlphaScorpii-dev/following{/other_use...
[]
closed
true
null
[]
null
13
2015-04-24T02:58:22Z
2021-09-08T23:04:54Z
2015-04-25T18:32:27Z
NONE
resolved
Hello everyone Here is a piece of code that used to work until Requests 2.6.0 ``` python def __init__(self, proxy=None): super(Model, self).__init__() self.br = requests.Session() if proxy is not None: self.br.proxies = {"http": proxy, "https": proxy} def __open_http(self...
{ "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/2565/reactions" }
https://api.github.com/repos/psf/requests/issues/2565/timeline
null
completed
null
null
false
[ "Are you sure that it doesn't work the _first_ time in your sample code, and fail thereafter?\n", "Indeed you are right... Sorry for the confusion.\nIn my case the first get is indeed sucessful, then the post fails, and i\nneed to send it a second time to make things work correctly.\n", "Ok, so the problem we h...
https://api.github.com/repos/psf/requests/issues/2564
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2564/labels{/name}
https://api.github.com/repos/psf/requests/issues/2564/comments
https://api.github.com/repos/psf/requests/issues/2564/events
https://github.com/psf/requests/issues/2564
70,462,809
MDU6SXNzdWU3MDQ2MjgwOQ==
2,564
requests (2.6.1) sometimes does not decompress gzip-encoded content
{ "avatar_url": "https://avatars.githubusercontent.com/u/1677933?v=4", "events_url": "https://api.github.com/users/convexset/events{/privacy}", "followers_url": "https://api.github.com/users/convexset/followers", "following_url": "https://api.github.com/users/convexset/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
1
2015-04-23T17:08:46Z
2021-09-08T23:04:59Z
2015-04-23T17:30:51Z
NONE
resolved
I've been trying out the DigitalOcean API when I encountered the following "problem" with requests (2.6.1): ``` token = "xxxxxxxxxxxxxx" api = "/account/keys" headers = {"Content-Type": "application/json", "Authorization": "Bearer "+token} r = requests.get("https://api.digitalocean.com/v2/"+api, headers=headers, data=...
{ "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/2564/reactions" }
https://api.github.com/repos/psf/requests/issues/2564/timeline
null
completed
null
null
false
[ "This is a duplicate of #2561 (or #2562 - I'm on my phone and can't check). Upgrading to v2.6.2 will fix this.\n" ]
https://api.github.com/repos/psf/requests/issues/2563
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2563/labels{/name}
https://api.github.com/repos/psf/requests/issues/2563/comments
https://api.github.com/repos/psf/requests/issues/2563/events
https://github.com/psf/requests/issues/2563
70,459,058
MDU6SXNzdWU3MDQ1OTA1OA==
2,563
Specify local port
{ "avatar_url": "https://avatars.githubusercontent.com/u/3183355?v=4", "events_url": "https://api.github.com/users/vishalwy/events{/privacy}", "followers_url": "https://api.github.com/users/vishalwy/followers", "following_url": "https://api.github.com/users/vishalwy/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
1
2015-04-23T16:46:36Z
2021-09-08T23:04:59Z
2015-04-23T17:53:44Z
NONE
resolved
How do I specify the local port for the socket rather than picking up a random free port?
{ "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/2563/reactions" }
https://api.github.com/repos/psf/requests/issues/2563/timeline
null
completed
null
null
false
[ "You can do this using the [requests toolbelt](https://toolbelt.readthedocs.org/en/latest/). Get it by running `pip install requests-toolbelt`.\n\n``` python\n>>> import requests\n>>> from requests_toolbelt.adapters.source import SourceAddressAdapter\n>>> s = requests.Session()\n>>> s.mount('https://google.com', So...
https://api.github.com/repos/psf/requests/issues/2562
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2562/labels{/name}
https://api.github.com/repos/psf/requests/issues/2562/comments
https://api.github.com/repos/psf/requests/issues/2562/events
https://github.com/psf/requests/issues/2562
70,417,288
MDU6SXNzdWU3MDQxNzI4OA==
2,562
Merge with requesocks
{ "avatar_url": "https://avatars.githubusercontent.com/u/921251?v=4", "events_url": "https://api.github.com/users/ikus060/events{/privacy}", "followers_url": "https://api.github.com/users/ikus060/followers", "following_url": "https://api.github.com/users/ikus060/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
3
2015-04-23T13:50:36Z
2021-09-08T23:04:59Z
2015-04-23T14:13:47Z
NONE
resolved
Any plan to merge modification made to requests to support SOCKS proxy ? See https://github.com/dvska/requesocks
{ "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/2562/reactions" }
https://api.github.com/repos/psf/requests/issues/2562/timeline
null
completed
null
null
false
[ "It doesn't seem likely that we'll merge with requesocks as that hasn't been updated in over 2 years. Also that author never propsed a merge on their own.\n", "May I propose to add this feature to requests ?\n", "@ikus060 Many people have proposed it and even begun work: see #2425, #2156, #1982, shazow/urllib3#...
https://api.github.com/repos/psf/requests/issues/2561
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2561/labels{/name}
https://api.github.com/repos/psf/requests/issues/2561/comments
https://api.github.com/repos/psf/requests/issues/2561/events
https://github.com/psf/requests/issues/2561
70,304,433
MDU6SXNzdWU3MDMwNDQzMw==
2,561
Content-Encoding: Gzip not automatically decoded in 2.6.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/1538550?v=4", "events_url": "https://api.github.com/users/elsimir/events{/privacy}", "followers_url": "https://api.github.com/users/elsimir/followers", "following_url": "https://api.github.com/users/elsimir/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
7
2015-04-23T04:28:58Z
2021-09-08T23:04:58Z
2015-04-23T16:29:38Z
NONE
resolved
When using requests on python 2.7.8 ubuntu 14.10 from pypi, the current version 2.6.1 exhibits different behaviour from 2.6.0. Response.content is a gzipped binary string, instead of a decoded unicode string in 2.6.0. Is this change in behaviour intended? Running this script in both 2.6.0 and 2.6.1 shows the difference...
{ "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/2561/reactions" }
https://api.github.com/repos/psf/requests/issues/2561/timeline
null
completed
null
null
false
[ "Thanks for this!\n\nThis is actually a regression in urllib3, so I've raised an issue there (shazow/urllib3#593). We'll fix it up and release a fix shortly. =)\n", "This is likely to be an issue for many people. Thanks for fixing!\n", "Was broken for us as well this morning (used by our product's CI tests), wo...
https://api.github.com/repos/psf/requests/issues/2560
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2560/labels{/name}
https://api.github.com/repos/psf/requests/issues/2560/comments
https://api.github.com/repos/psf/requests/issues/2560/events
https://github.com/psf/requests/issues/2560
70,248,207
MDU6SXNzdWU3MDI0ODIwNw==
2,560
Add contribution guidelines
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
[]
closed
true
null
[]
null
9
2015-04-22T22:10:45Z
2021-09-08T23:04:56Z
2015-04-29T13:04:27Z
CONTRIBUTOR
resolved
https://github.com/benoitc/gunicorn/blob/master/CONTRIBUTING.md
{ "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/2560/reactions" }
https://api.github.com/repos/psf/requests/issues/2560/timeline
null
completed
null
null
false
[ "Presumably this document will be pretty similar to the content of [these](http://docs.python-requests.org/en/latest/dev/philosophy/) [two](http://docs.python-requests.org/en/latest/dev/todo/) pages.\n", "Thoughts on adding something akin to [this](https://github.com/sigmavirus24/requests-toolbelt/blob/master/COD...
https://api.github.com/repos/psf/requests/issues/2559
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2559/labels{/name}
https://api.github.com/repos/psf/requests/issues/2559/comments
https://api.github.com/repos/psf/requests/issues/2559/events
https://github.com/psf/requests/issues/2559
70,222,691
MDU6SXNzdWU3MDIyMjY5MQ==
2,559
Make an official logo and stickers for it
{ "avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "followers_url": "https://api.github.com/users/sigmavirus24/followers", "following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "gists_...
[]
closed
true
null
[]
null
14
2015-04-22T20:07:01Z
2021-09-08T18:00:53Z
2016-04-16T04:14:01Z
CONTRIBUTOR
resolved
Proposed logo: :sparkles: :cake: :sparkles:
{ "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/2559/reactions" }
https://api.github.com/repos/psf/requests/issues/2559/timeline
null
completed
null
null
false
[ "If we could get a designer to render it in a way that wasn't just emoji, this'd be perfect.\n", "/cc @kennethreitz \n", "This would be the second emoji logo stick I have!\n\n:muscle: :computer: :us: \n", "YES!\n", "`>>> import requests`\n:sparkles: :cake: :sparkles:\n", "the github3.py stickers are some ...
https://api.github.com/repos/psf/requests/issues/2558
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2558/labels{/name}
https://api.github.com/repos/psf/requests/issues/2558/comments
https://api.github.com/repos/psf/requests/issues/2558/events
https://github.com/psf/requests/issues/2558
70,200,961
MDU6SXNzdWU3MDIwMDk2MQ==
2,558
Import issues in 2.5.2+
{ "avatar_url": "https://avatars.githubusercontent.com/u/23610?v=4", "events_url": "https://api.github.com/users/dcramer/events{/privacy}", "followers_url": "https://api.github.com/users/dcramer/followers", "following_url": "https://api.github.com/users/dcramer/following{/other_user}", "gists_url": "https://a...
[]
closed
true
null
[]
null
9
2015-04-22T18:27:52Z
2021-09-08T23:05:00Z
2015-04-22T21:27:35Z
NONE
resolved
While I'm not entirely certain of the problem, this reproduces in our environment with an obscure (unrelated to requests) import error. I've confirmed this was introduced in 2.5.2 and exists in 2.6.0, as well as 1f0e5775f28d6c2db3430fdc16a095762816bf87 If I had to guess, I'd say its related to this: - Copy pip's impo...
{ "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/2558/reactions" }
https://api.github.com/repos/psf/requests/issues/2558/timeline
null
completed
null
null
false
[ "If i end up with some spare time I will try to dig into this more. Unfortunately the codebase that this reproduces on is not public. That said, here's the error (though all I can say is it happens somewhere in the import cycle after some initial things load):\n\n```\n./bin/sentry upgrade --noinput\n/Users/dcramer/...
https://api.github.com/repos/psf/requests/issues/2557
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2557/labels{/name}
https://api.github.com/repos/psf/requests/issues/2557/comments
https://api.github.com/repos/psf/requests/issues/2557/events
https://github.com/psf/requests/issues/2557
70,194,424
MDU6SXNzdWU3MDE5NDQyNA==
2,557
Make chardet an optional dependency
{ "avatar_url": "https://avatars.githubusercontent.com/u/23610?v=4", "events_url": "https://api.github.com/users/dcramer/events{/privacy}", "followers_url": "https://api.github.com/users/dcramer/followers", "following_url": "https://api.github.com/users/dcramer/following{/other_user}", "gists_url": "https://a...
[ { "color": "eb6420", "default": false, "description": null, "id": 44501256, "name": "Breaking API Change", "node_id": "MDU6TGFiZWw0NDUwMTI1Ng==", "url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change" }, { "color": "f7c6c7", "default": false, "d...
closed
true
null
[]
null
7
2015-04-22T17:59:41Z
2021-09-08T21:00:48Z
2015-11-05T18:03:33Z
NONE
resolved
It has a serious performance hit and it'd be nice if it was easier to disable than: ``` if not response.encoding: response.encoding = 'utf-8' ``` I can't stress "serious" enough in the performance hit here. It was enough to cripple the entirety of Sentry's worker cluster which is way under utilization most of the...
{ "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/2557/reactions" }
https://api.github.com/repos/psf/requests/issues/2557/timeline
null
completed
null
null
false
[ "The easiest way to disable it would be to disable the package entirely in your infrastructure. This could be done by monkeying about with `sys.modules`, monkeypatching directly, or by providing another package called chardet that is just a no-op.\n\nThe best we're likely to get to an 'official' API for this is to ...
https://api.github.com/repos/psf/requests/issues/2556
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2556/labels{/name}
https://api.github.com/repos/psf/requests/issues/2556/comments
https://api.github.com/repos/psf/requests/issues/2556/events
https://github.com/psf/requests/pull/2556
70,123,697
MDExOlB1bGxSZXF1ZXN0MzM4NTcwMzU=
2,556
Prepare v2.6.1
{ "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
22
2015-04-22T13:19:47Z
2021-09-08T07:01:00Z
2015-04-22T22:12:26Z
CONTRIBUTOR
resolved
I'll probably update the history and such in this branch too. /cc @aanand
{ "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/2556/reactions" }
https://api.github.com/repos/psf/requests/issues/2556/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2556.diff", "html_url": "https://github.com/psf/requests/pull/2556", "merged_at": "2015-04-22T22:12:26Z", "patch_url": "https://github.com/psf/requests/pull/2556.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2556" }
true
[ "LGTM, but it updates urllib3, so we need to co-ordinate with @shazow to make sure he's comfortable with pushing a new release of urllib3 as well.\n\nThoughts @shazow?\n", "Courtesy nod to @shazow that we'd like to release soon so you might get bugged by downstream redistributors\n", "Also, a head's up to @erio...
https://api.github.com/repos/psf/requests/issues/2555
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2555/labels{/name}
https://api.github.com/repos/psf/requests/issues/2555/comments
https://api.github.com/repos/psf/requests/issues/2555/events
https://github.com/psf/requests/issues/2555
69,912,824
MDU6SXNzdWU2OTkxMjgyNA==
2,555
requests does not respect the timeout set by socket.setdefaultimeout
{ "avatar_url": "https://avatars.githubusercontent.com/u/221386?v=4", "events_url": "https://api.github.com/users/ikatson/events{/privacy}", "followers_url": "https://api.github.com/users/ikatson/followers", "following_url": "https://api.github.com/users/ikatson/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
1
2015-04-21T18:02:43Z
2021-09-08T23:05:01Z
2015-04-21T18:43:36Z
NONE
resolved
Steps to reproduce: ``` py import socket import requests socket.setdefaultimeout(0.0001) # Expected this to raise exception, but it does not. requests.get('http://google.com') # These 2 raise an exception requests.get('http://google.com', timeout=socket.gettimeout()) requests.get('http://google.com', timeout=socket....
{ "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/2555/reactions" }
https://api.github.com/repos/psf/requests/issues/2555/timeline
null
completed
null
null
false
[ "Duplicate of #2228. Please check open issues in the future for possible duplicates.\n" ]
https://api.github.com/repos/psf/requests/issues/2554
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2554/labels{/name}
https://api.github.com/repos/psf/requests/issues/2554/comments
https://api.github.com/repos/psf/requests/issues/2554/events
https://github.com/psf/requests/issues/2554
69,869,660
MDU6SXNzdWU2OTg2OTY2MA==
2,554
Ability to prefix session URLs
{ "avatar_url": "https://avatars.githubusercontent.com/u/651797?v=4", "events_url": "https://api.github.com/users/foxx/events{/privacy}", "followers_url": "https://api.github.com/users/foxx/followers", "following_url": "https://api.github.com/users/foxx/following{/other_user}", "gists_url": "https://api.githu...
[]
closed
true
null
[]
null
16
2015-04-21T14:57:39Z
2021-08-31T00:06:41Z
2015-04-21T15:23:33Z
NONE
resolved
It would be nice to be able to prefix session URLs to avoid repetitive code. Consider the following code; ``` from requests import Session class MyTestCase(LiveServerTestCase): def test_url(self): s = Session() s.get("{}/api/people'.format(self.server_url)) s.get("{}/api/cats'.format(self....
{ "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/2554/reactions" }
https://api.github.com/repos/psf/requests/issues/2554/timeline
null
completed
null
null
false
[ "As we've described in previous issues (https://github.com/kennethreitz/requests/issues/2445, https://github.com/kennethreitz/requests/issues/133) this is not something we feel belongs in requests itself. There are several libraries that do this in differing ways.\n\nThe easiest way to implement this yourself would...
https://api.github.com/repos/psf/requests/issues/2553
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2553/labels{/name}
https://api.github.com/repos/psf/requests/issues/2553/comments
https://api.github.com/repos/psf/requests/issues/2553/events
https://github.com/psf/requests/pull/2553
69,715,867
MDExOlB1bGxSZXF1ZXN0MzM3MjEzMTc=
2,553
Simplify PreparedRequest.prepare 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_...
[]
closed
true
null
[]
null
0
2015-04-21T01:14:53Z
2021-09-08T08:00:49Z
2015-04-21T05:59:55Z
CONTRIBUTOR
resolved
Do not require that hooks be passed as an empty list to PreparedRequest.prepare. In the event hooks is None in prepare or prepare_hooks, use an empty list as a default. Related to #2552
{ "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/2553/reactions" }
https://api.github.com/repos/psf/requests/issues/2553/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2553.diff", "html_url": "https://github.com/psf/requests/pull/2553", "merged_at": "2015-04-21T05:59:55Z", "patch_url": "https://github.com/psf/requests/pull/2553.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2553" }
true
[]
https://api.github.com/repos/psf/requests/issues/2552
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2552/labels{/name}
https://api.github.com/repos/psf/requests/issues/2552/comments
https://api.github.com/repos/psf/requests/issues/2552/events
https://github.com/psf/requests/issues/2552
69,663,441
MDU6SXNzdWU2OTY2MzQ0MQ==
2,552
Why does the PreparedRequest.prepare method provide None as the default parameter value for those who cannot be None?
{ "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
2
2015-04-20T19:33:14Z
2021-09-08T23:04:53Z
2015-05-03T15:03:37Z
NONE
resolved
Hi, I just inspect some test cases of your project, and find some test cases like ``` python def test_prepare_unicode_url(): p = PreparedRequest() p.prepare( method='GET', url=u('http://www.example.com/üniçø∂é'), hooks=[] ) assert_copy(p, p.copy()) ``` When I remove some parame...
{ "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/2552/reactions" }
https://api.github.com/repos/psf/requests/issues/2552/timeline
null
completed
null
null
false
[ "I see no good reason to leave those as `None`-able defaults. I think we could get away with patching this in a minor release, because while it's _technically_ backward-incompatible, in practice I don't think anyone can be correctly relying on this behaviour. @sigmavirus24?\n", "Personally, I like the idea of mor...
https://api.github.com/repos/psf/requests/issues/2551
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2551/labels{/name}
https://api.github.com/repos/psf/requests/issues/2551/comments
https://api.github.com/repos/psf/requests/issues/2551/events
https://github.com/psf/requests/pull/2551
68,199,299
MDExOlB1bGxSZXF1ZXN0MzMyMDU2NTg=
2,551
EditorConfig
{ "avatar_url": "https://avatars.githubusercontent.com/u/285352?v=4", "events_url": "https://api.github.com/users/treyhunner/events{/privacy}", "followers_url": "https://api.github.com/users/treyhunner/followers", "following_url": "https://api.github.com/users/treyhunner/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
1
2015-04-13T21:30:47Z
2021-09-08T08:00:50Z
2015-04-13T21:45:23Z
MEMBER
resolved
Previously proposed and declined in #893. I am opening this because I think it is time to reassess whether EditorConfig is appropriate for this project. I did some GitHub diving and found the following Python projects which use EditorConfig: - [flask-wtf](https://github.com/lepture/flask-wtf) - [cookiecutter-django](...
{ "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/2551/reactions" }
https://api.github.com/repos/psf/requests/issues/2551/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2551.diff", "html_url": "https://github.com/psf/requests/pull/2551", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2551.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2551" }
true
[ "Thanks for this!\n\nI do not believe that EditorConfig is appropriate at this time. In general, I resent the relentless expansion of dotfiles that various tools require people to add to the project root. I appreciate that these tools are close to many people's hearts, and that they provide value for plenty of peop...
https://api.github.com/repos/psf/requests/issues/2550
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2550/labels{/name}
https://api.github.com/repos/psf/requests/issues/2550/comments
https://api.github.com/repos/psf/requests/issues/2550/events
https://github.com/psf/requests/pull/2550
68,129,304
MDExOlB1bGxSZXF1ZXN0MzMxNzUzOTU=
2,550
Recommended packages.
{ "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
5
2015-04-13T15:40:17Z
2021-09-08T08:00:49Z
2015-04-17T12:44:38Z
MEMBER
resolved
Beginnings of work to have a list of recommended third-party (fourth-party?) packages. @sigmavirus24 @kennethreitz feel free to push on top of this branch to add other things if you want.
{ "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/2550/reactions" }
https://api.github.com/repos/psf/requests/issues/2550/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2550.diff", "html_url": "https://github.com/psf/requests/pull/2550", "merged_at": "2015-04-17T12:44:38Z", "patch_url": "https://github.com/psf/requests/pull/2550.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2550" }
true
[ "@kennethreitz added the requests-toolbelt to the sidebar a while back. Would it be best to move it here?\n", "Maybe have it here as well?\n", "Let's replace the toolbar link to a link to this page. \n", "`==kennethreitz`. I'll push an update for that tonight I think\n", "@sigmavirus24 send another pr with ...
https://api.github.com/repos/psf/requests/issues/2549
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2549/labels{/name}
https://api.github.com/repos/psf/requests/issues/2549/comments
https://api.github.com/repos/psf/requests/issues/2549/events
https://github.com/psf/requests/issues/2549
67,885,372
MDU6SXNzdWU2Nzg4NTM3Mg==
2,549
Cookies issue causing segfault still in 2.6?
{ "avatar_url": "https://avatars.githubusercontent.com/u/10351369?v=4", "events_url": "https://api.github.com/users/11phc/events{/privacy}", "followers_url": "https://api.github.com/users/11phc/followers", "following_url": "https://api.github.com/users/11phc/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
5
2015-04-12T08:11:06Z
2021-09-08T23:05:42Z
2015-04-12T11:23:51Z
NONE
resolved
FYI I think there might still be a cookies related issue... I was having issues two weeks ago with cookies.py in 2.5.3 i think, but I have downloaded the new requests 2.6 running on raspberry pi for a datalogger every minute, and it's much better but now it segfaults every 24 hours or so in a slightly different place. ...
{ "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/2549/reactions" }
https://api.github.com/repos/psf/requests/issues/2549/timeline
null
completed
null
null
false
[ "Or is this just a python2.7 bug?\n", "@11phc it is just a python2.7 bug. I would check bugs.python.org to figure out which version number has the fix. If you can, I would update your version of python to 2.7.9 on your Pi.\n\nCheers,\nIan\n", "ok thanks very much Ian. I was on version 2.7.3, but unfortunately ...
https://api.github.com/repos/psf/requests/issues/2548
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2548/labels{/name}
https://api.github.com/repos/psf/requests/issues/2548/comments
https://api.github.com/repos/psf/requests/issues/2548/events
https://github.com/psf/requests/pull/2548
67,708,226
MDExOlB1bGxSZXF1ZXN0MzMwOTMyNTg=
2,548
Add a timeout to select(), otherwise we can block forever on a bad socket
{ "avatar_url": "https://avatars.githubusercontent.com/u/1581257?v=4", "events_url": "https://api.github.com/users/natecode/events{/privacy}", "followers_url": "https://api.github.com/users/natecode/followers", "following_url": "https://api.github.com/users/natecode/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
4
2015-04-11T00:08:31Z
2021-09-08T08:00:51Z
2015-04-11T00:12:53Z
NONE
resolved
All the other select.select() calls in this module use a timeout. Without this bugfix, a server that fails to complete the handshake will block forever. We've seen this in production.
{ "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/2548/reactions" }
https://api.github.com/repos/psf/requests/issues/2548/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2548.diff", "html_url": "https://github.com/psf/requests/pull/2548", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/2548.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2548" }
true
[ "Can you open this pull request on urllib3? All your code changes are there.\n", "Please re-open this issue. I just checked `urllib3` and it has this same fix in it so `requests` needs to update your code from urllib3.\n", "It appears great minds think alike https://github.com/shazow/urllib3/commit/14d09fc8fd9d...
https://api.github.com/repos/psf/requests/issues/2547
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2547/labels{/name}
https://api.github.com/repos/psf/requests/issues/2547/comments
https://api.github.com/repos/psf/requests/issues/2547/events
https://github.com/psf/requests/pull/2547
67,687,062
MDExOlB1bGxSZXF1ZXN0MzMwODUwNzM=
2,547
Fix MisssingSchema error message does not handle unicode input correctly #2540
{ "avatar_url": "https://avatars.githubusercontent.com/u/11888277?v=4", "events_url": "https://api.github.com/users/sh1buy/events{/privacy}", "followers_url": "https://api.github.com/users/sh1buy/followers", "following_url": "https://api.github.com/users/sh1buy/following{/other_user}", "gists_url": "https://a...
[]
closed
true
null
[]
null
7
2015-04-10T21:27:24Z
2021-09-08T08:00:51Z
2015-04-11T02:59:13Z
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/2547/reactions" }
https://api.github.com/repos/psf/requests/issues/2547/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2547.diff", "html_url": "https://github.com/psf/requests/pull/2547", "merged_at": "2015-04-11T02:59:13Z", "patch_url": "https://github.com/psf/requests/pull/2547.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2547" }
true
[ "I think this won't work on Python 3 with a binary URL, though I need to test that.\n", "You rigth. This add 'b' to url. \n\n```\nrequests.exceptions.MissingSchema: Invalid URL b'example.com': \nNo schema supplied. Perhaps you meant http://b'example.com'?\n```\n", "Whether it is necessary to display URL comple...
https://api.github.com/repos/psf/requests/issues/2546
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2546/labels{/name}
https://api.github.com/repos/psf/requests/issues/2546/comments
https://api.github.com/repos/psf/requests/issues/2546/events
https://github.com/psf/requests/pull/2546
67,657,112
MDExOlB1bGxSZXF1ZXN0MzMwNzIzMzc=
2,546
Keepers of the Three Crystals.
{ "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/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
[ { "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}...
null
1
2015-04-10T18:41:20Z
2021-09-08T08:00:50Z
2015-04-14T18:03:08Z
MEMBER
resolved
PyCon's weird.
{ "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/2546/reactions" }
https://api.github.com/repos/psf/requests/issues/2546/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2546.diff", "html_url": "https://github.com/psf/requests/pull/2546", "merged_at": "2015-04-14T18:03:08Z", "patch_url": "https://github.com/psf/requests/pull/2546.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2546" }
true
[ ":sparkles: :sparkles: :sparkles:\n" ]
https://api.github.com/repos/psf/requests/issues/2545
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2545/labels{/name}
https://api.github.com/repos/psf/requests/issues/2545/comments
https://api.github.com/repos/psf/requests/issues/2545/events
https://github.com/psf/requests/issues/2545
67,650,255
MDU6SXNzdWU2NzY1MDI1NQ==
2,545
Document filtering of 'None' values for url-encoded parameters
{ "avatar_url": "https://avatars.githubusercontent.com/u/524596?v=4", "events_url": "https://api.github.com/users/Varriount/events{/privacy}", "followers_url": "https://api.github.com/users/Varriount/followers", "following_url": "https://api.github.com/users/Varriount/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
1
2015-04-10T18:05:41Z
2021-09-08T23:05:44Z
2015-04-10T18:46:53Z
NONE
resolved
Currently, when passing a dictionary/list of pairs to the request constructor's `params` parameter, any 'None' values are filtered when encoding the request url. If this is intended behavior or not something that will change, then this should be documented (actually, even if it is subject to change, it should probably ...
{ "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/2545/reactions" }
https://api.github.com/repos/psf/requests/issues/2545/timeline
null
completed
null
null
false
[ "It already is documented. =) See [this block](http://docs.python-requests.org/en/latest/user/quickstart/#passing-parameters-in-urls).\n" ]
https://api.github.com/repos/psf/requests/issues/2544
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2544/labels{/name}
https://api.github.com/repos/psf/requests/issues/2544/comments
https://api.github.com/repos/psf/requests/issues/2544/events
https://github.com/psf/requests/issues/2544
67,565,002
MDU6SXNzdWU2NzU2NTAwMg==
2,544
Fully disable cookie handling in Sessions
{ "avatar_url": "https://avatars.githubusercontent.com/u/1148150?v=4", "events_url": "https://api.github.com/users/logc/events{/privacy}", "followers_url": "https://api.github.com/users/logc/followers", "following_url": "https://api.github.com/users/logc/following{/other_user}", "gists_url": "https://api.gith...
[]
closed
true
null
[]
null
2
2015-04-10T10:36:29Z
2021-09-08T23:05:43Z
2015-04-10T11:03:59Z
NONE
resolved
This is a feature request, not a bug. When creating a new `Session` in order to issue multiple requests, one can specify a `CookiePolicy` to reject all cookies (e.g. [this way](http://stackoverflow.com/a/21714597/2250036)). But for each new request, a new `RequestsCookieJar` is created, with a `DefaultCookiePolicy`, w...
{ "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/2544/reactions" }
https://api.github.com/repos/psf/requests/issues/2544/timeline
null
completed
null
null
false
[ "Thanks for this feature request!\n\nThe reality is that you haven't told the `Session` no cookie handling is needed, you've only told the cookiejar it owns. The `Session` has no way to be told that you don't want cookie handling, and it's simply not a feature requests possesses.\n\nThe reality is, vastly more user...
https://api.github.com/repos/psf/requests/issues/2543
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2543/labels{/name}
https://api.github.com/repos/psf/requests/issues/2543/comments
https://api.github.com/repos/psf/requests/issues/2543/events
https://github.com/psf/requests/issues/2543
67,485,553
MDU6SXNzdWU2NzQ4NTU1Mw==
2,543
OpenSSL.SSL.SysCallError: (104, 'Connection reset by peer')
{ "avatar_url": "https://avatars.githubusercontent.com/u/3755338?v=4", "events_url": "https://api.github.com/users/stamaimer/events{/privacy}", "followers_url": "https://api.github.com/users/stamaimer/followers", "following_url": "https://api.github.com/users/stamaimer/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
39
2015-04-10T01:31:08Z
2021-09-08T23:00:52Z
2015-04-21T05:58:54Z
NONE
resolved
I'm using the python package `requests` to send requests to https://mobile.twitter.com/username/following. At first, I encounter the exception : requests.exceptions.SSLError: [Errno 8] _ssl.c:504: EOF occurred in violation of protocol. To solve that, I follow this solution to write a SSLAdapter to specify PROTOCOL_TLS...
{ "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/2543/reactions" }
https://api.github.com/repos/psf/requests/issues/2543/timeline
null
completed
null
null
false
[ "All of those exceptions indicate that Twitter is closing the connection on you. You should check whether your data is valid.\n", "the data means the request header?\n", "Could be the request headers, could be the request body. \n", "the requests send to twitter need to be authorized. Maybe the bearer token i...
https://api.github.com/repos/psf/requests/issues/2542
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2542/labels{/name}
https://api.github.com/repos/psf/requests/issues/2542/comments
https://api.github.com/repos/psf/requests/issues/2542/events
https://github.com/psf/requests/issues/2542
67,485,487
MDU6SXNzdWU2NzQ4NTQ4Nw==
2,542
Simple get request never returns
{ "avatar_url": "https://avatars.githubusercontent.com/u/1853442?v=4", "events_url": "https://api.github.com/users/tomkcook/events{/privacy}", "followers_url": "https://api.github.com/users/tomkcook/followers", "following_url": "https://api.github.com/users/tomkcook/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
1
2015-04-10T01:30:24Z
2021-09-08T23:05:44Z
2015-04-10T02:21:09Z
NONE
resolved
The following request never returns: ``` import requests r = requests.get('http://en.wikipedia.org/w/api.php?rcprop=ids&format=json&action=query&rclimit=10&rctype=edit&list=recentchanges&rcnamespace=0', headers={'user-agent': 'api test'}) ``` I've tried under both Python 2.7 and Python 3. Adding a timeout (eg 5 seco...
{ "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/2542/reactions" }
https://api.github.com/repos/psf/requests/issues/2542/timeline
null
completed
null
null
false
[ "Sorry, this turned out to be because IPv6 claims to work on my network but doesn't work very well. Setting a timeout would then cause the IPv6 request to timeout and the request would fall back to IPv4, which succeeds.\n" ]
https://api.github.com/repos/psf/requests/issues/2541
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2541/labels{/name}
https://api.github.com/repos/psf/requests/issues/2541/comments
https://api.github.com/repos/psf/requests/issues/2541/events
https://github.com/psf/requests/issues/2541
67,095,121
MDU6SXNzdWU2NzA5NTEyMQ==
2,541
Bundled cacert.pem with too much certificate?
{ "avatar_url": "https://avatars.githubusercontent.com/u/297578?v=4", "events_url": "https://api.github.com/users/Glandos/events{/privacy}", "followers_url": "https://api.github.com/users/Glandos/followers", "following_url": "https://api.github.com/users/Glandos/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
6
2015-04-08T10:06:01Z
2021-09-08T23:05:44Z
2015-04-10T09:30:30Z
NONE
resolved
I am currently using pip and requests on SLES11SP3, which has the following software installed: - python-2.6.8 (but I got the same behavior with a self-compiled 2.7.9) - openssl-0.9.8j - curl-7.19.7 - python-pip-6.0.8 I am experiencing really strange issues. With the bundled cacert.pem from requests-2.6.0, I have an S...
{ "avatar_url": "https://avatars.githubusercontent.com/u/297578?v=4", "events_url": "https://api.github.com/users/Glandos/events{/privacy}", "followers_url": "https://api.github.com/users/Glandos/followers", "following_url": "https://api.github.com/users/Glandos/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/2541/reactions" }
https://api.github.com/repos/psf/requests/issues/2541/timeline
null
completed
null
null
false
[ "I'm not finding any problem on my ubuntu machine. I also find it particularly hard to understand this problem because none of those four certificates have anything to do with the trust path:\n\n```\n---\nCertificate chain\n 0 s:/businessCategory=Private Organization/1.3.6.1.4.1.311.60.2.1.3=US/1.3.6.1.4.1.311.60.2...
https://api.github.com/repos/psf/requests/issues/2540
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2540/labels{/name}
https://api.github.com/repos/psf/requests/issues/2540/comments
https://api.github.com/repos/psf/requests/issues/2540/events
https://github.com/psf/requests/issues/2540
67,022,847
MDU6SXNzdWU2NzAyMjg0Nw==
2,540
MisssingSchema error message does not handle unicode input correctly
{ "avatar_url": "https://avatars.githubusercontent.com/u/928271?v=4", "events_url": "https://api.github.com/users/ma2rten/events{/privacy}", "followers_url": "https://api.github.com/users/ma2rten/followers", "following_url": "https://api.github.com/users/ma2rten/following{/other_user}", "gists_url": "https://...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" }, { "color": "0b02e1", "default": false, "description": null, "id": 191274, "...
closed
true
null
[]
null
3
2015-04-08T00:56:52Z
2021-09-08T23:05:43Z
2015-04-11T19:11:01Z
NONE
resolved
using requests 2.6.0, Python 2.7.6 ``` import requests requests.get(u"hällo world") ``` ``` --------------------------------------------------------------------------- UnicodeEncodeError Traceback (most recent call last) <ipython-input-3-bf1281984b3a> in <module>() ----> 1 requests.get(url) /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/2540/reactions" }
https://api.github.com/repos/psf/requests/issues/2540/timeline
null
completed
null
null
false
[ "Ugh, Python 2, why do you suck so much?\n\nI don't consider this a highly urgent bug because to hit it requires that you be using not just a unicode URL but an invalid one. It's also impossible to hit in Python 3, which further limits its scope. That said, it's definitely a real bug and if anyone wants to fix it t...
https://api.github.com/repos/psf/requests/issues/2539
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2539/labels{/name}
https://api.github.com/repos/psf/requests/issues/2539/comments
https://api.github.com/repos/psf/requests/issues/2539/events
https://github.com/psf/requests/issues/2539
66,985,855
MDU6SXNzdWU2Njk4NTg1NQ==
2,539
Noisy SSL warnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/7684843?v=4", "events_url": "https://api.github.com/users/tonyennis/events{/privacy}", "followers_url": "https://api.github.com/users/tonyennis/followers", "following_url": "https://api.github.com/users/tonyennis/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
2
2015-04-07T20:43:18Z
2021-09-08T23:05:45Z
2015-04-08T00:34:40Z
NONE
resolved
Is there a way to suppress these noisy SSL warnings? I got them by specifying requests.get(..., verify=False) when I was trying to use some self-signed web services. /usr/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prev...
{ "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/2539/reactions" }
https://api.github.com/repos/psf/requests/issues/2539/timeline
null
completed
null
null
false
[ "`requests.packages.urllib3.disable_warnings()`.\n", "Thank you!\n" ]
https://api.github.com/repos/psf/requests/issues/2538
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2538/labels{/name}
https://api.github.com/repos/psf/requests/issues/2538/comments
https://api.github.com/repos/psf/requests/issues/2538/events
https://github.com/psf/requests/issues/2538
66,858,705
MDU6SXNzdWU2Njg1ODcwNQ==
2,538
Dependency is not satisfiable: python (>= 2.7.5-5~)
{ "avatar_url": "https://avatars.githubusercontent.com/u/3397477?v=4", "events_url": "https://api.github.com/users/francesco1119/events{/privacy}", "followers_url": "https://api.github.com/users/francesco1119/followers", "following_url": "https://api.github.com/users/francesco1119/following{/other_user}", "gi...
[]
closed
true
null
[]
null
9
2015-04-07T11:26:36Z
2021-09-08T23:05:45Z
2015-04-07T13:40:08Z
NONE
resolved
hello, I'm trying to install python-requests on my Debian Wheezy from the .deb: # gdebi python-requests_2.4.3-6_all.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Building data structures... Done This package is uninstallable Dependenc...
{ "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/2538/reactions" }
https://api.github.com/repos/psf/requests/issues/2538/timeline
null
completed
null
null
false
[ "I'm afraid we can't support you with the `.deb`, because we don't build or maintain that package, @ralphbean does. I recommend raising a bug with debian if you're having trouble.\n\nWhen you say you've tried the install methods on our website, which methods have you actually tried and how did they fail?\n", "Tha...
https://api.github.com/repos/psf/requests/issues/2537
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2537/labels{/name}
https://api.github.com/repos/psf/requests/issues/2537/comments
https://api.github.com/repos/psf/requests/issues/2537/events
https://github.com/psf/requests/issues/2537
66,774,224
MDU6SXNzdWU2Njc3NDIyNA==
2,537
Support DNS roundrobin with failure detection
{ "avatar_url": "https://avatars.githubusercontent.com/u/905538?v=4", "events_url": "https://api.github.com/users/twiggy/events{/privacy}", "followers_url": "https://api.github.com/users/twiggy/followers", "following_url": "https://api.github.com/users/twiggy/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
5
2015-04-07T04:46:49Z
2021-09-08T23:05:45Z
2015-04-07T11:30:50Z
NONE
resolved
As we move into the cloud world with multiple subnets failing over transparently is becoming more and more of a pain. Many database systems for instance support the DNS entry for the server having multiple IP addresses in a set. The client is smart enough to know which IP is up and listening and failover to the other ...
{ "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/2537/reactions" }
https://api.github.com/repos/psf/requests/issues/2537/timeline
null
completed
null
null
false
[ "If you specify a connection timeout and Requests can't connect to the first host specified via a DNS lookup, it will try the next host. \n\nThis request will take 18 seconds for example: \n\n``` python\nstart = time.time()\ntry:\n requests.get('http://google.com:81', \n timeout=3)\nexcept ConnectTim...
https://api.github.com/repos/psf/requests/issues/2536
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2536/labels{/name}
https://api.github.com/repos/psf/requests/issues/2536/comments
https://api.github.com/repos/psf/requests/issues/2536/events
https://github.com/psf/requests/pull/2536
66,668,496
MDExOlB1bGxSZXF1ZXN0MzI2OTcwNjU=
2,536
Document that "PreparedRequest.prepare_cookies" can only be called once
{ "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
0
2015-04-06T18:10:05Z
2021-09-08T08:00:53Z
2015-04-06T22:29:17Z
CONTRIBUTOR
resolved
I've done the documentation changes suggested in #2532. I also documented a way to work around this in the docstring, but I'm not sure if it'd be good to do so. (As it may lead to hacked-together solutions) Then again, other solutions like creating a brand new `Request` might lead to worse problems. (e.g.: loss of dat...
{ "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/2536/reactions" }
https://api.github.com/repos/psf/requests/issues/2536/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2536.diff", "html_url": "https://github.com/psf/requests/pull/2536", "merged_at": "2015-04-06T22:29:17Z", "patch_url": "https://github.com/psf/requests/pull/2536.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2536" }
true
[]
https://api.github.com/repos/psf/requests/issues/2535
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2535/labels{/name}
https://api.github.com/repos/psf/requests/issues/2535/comments
https://api.github.com/repos/psf/requests/issues/2535/events
https://github.com/psf/requests/pull/2535
66,612,642
MDExOlB1bGxSZXF1ZXN0MzI2ODAyMjk=
2,535
Fix build version number in metadata
{ "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
1
2015-04-06T14:02:45Z
2021-09-08T08:00:53Z
2015-04-06T21:54:22Z
CONTRIBUTOR
resolved
Closes #2530
{ "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/2535/reactions" }
https://api.github.com/repos/psf/requests/issues/2535/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2535.diff", "html_url": "https://github.com/psf/requests/pull/2535", "merged_at": "2015-04-06T21:54:22Z", "patch_url": "https://github.com/psf/requests/pull/2535.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2535" }
true
[ "_/me forgot to make this last night_ Sorry @Lukasa \n" ]
https://api.github.com/repos/psf/requests/issues/2534
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2534/labels{/name}
https://api.github.com/repos/psf/requests/issues/2534/comments
https://api.github.com/repos/psf/requests/issues/2534/events
https://github.com/psf/requests/pull/2534
66,508,792
MDExOlB1bGxSZXF1ZXN0MzI2NTkwMTA=
2,534
Copy a PreparedRequest's CookieJar reliably
{ "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
1
2015-04-06T02:29:14Z
2021-09-08T08:00:54Z
2015-04-06T11:15:55Z
CONTRIBUTOR
resolved
When a PreparedRequests's cookie jar is not a RequestsCookieJar instance, it will not have a "copy" method. By adding _copy_cookie_jar we can reliably copy cookie jars so that we have an actual copy instead of the same instance on different prepared requests. This also updates the RequestsCookieJar.update logic to cre...
{ "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/2534/reactions" }
https://api.github.com/repos/psf/requests/issues/2534/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2534.diff", "html_url": "https://github.com/psf/requests/pull/2534", "merged_at": "2015-04-06T11:15:55Z", "patch_url": "https://github.com/psf/requests/pull/2534.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2534" }
true
[ "LGTM. :cake:\n" ]
https://api.github.com/repos/psf/requests/issues/2533
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2533/labels{/name}
https://api.github.com/repos/psf/requests/issues/2533/comments
https://api.github.com/repos/psf/requests/issues/2533/events
https://github.com/psf/requests/pull/2533
66,505,832
MDExOlB1bGxSZXF1ZXN0MzI2NTgzOTA=
2,533
Place VendorAlias first in meta_path
{ "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
0
2015-04-06T01:57:05Z
2021-09-08T08:00:54Z
2015-04-06T11:19:15Z
CONTRIBUTOR
resolved
When other libraries or tools add items to the meta_path, we need to preempt some of their import hooks to be sure modules can be properly found. This also prevents problems importing built-in modules on Python 2 where it will first attempt to import something like: ``` requests.packages.chardet.sys ``` By placing ou...
{ "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/2533/reactions" }
https://api.github.com/repos/psf/requests/issues/2533/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2533.diff", "html_url": "https://github.com/psf/requests/pull/2533", "merged_at": "2015-04-06T11:19:15Z", "patch_url": "https://github.com/psf/requests/pull/2533.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2533" }
true
[]
https://api.github.com/repos/psf/requests/issues/2532
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2532/labels{/name}
https://api.github.com/repos/psf/requests/issues/2532/comments
https://api.github.com/repos/psf/requests/issues/2532/events
https://github.com/psf/requests/issues/2532
66,505,311
MDU6SXNzdWU2NjUwNTMxMQ==
2,532
"PreparedRequest.prepare_cookies" can only be called once (and "succeeds" silently if called again)
{ "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...
[ { "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
8
2015-04-06T01:49:17Z
2021-09-08T23:05:47Z
2015-04-06T23:19:25Z
CONTRIBUTOR
resolved
I'm writing an adapter that interfaces with a CDN, and it requires that I "sign" my requests with a cookie, but it doesn't send the cookie back in `Set-Cookie`. I manage to send it on the first request, but then the site behind the CDN _does_ send a `Set-Cookie` header (this is expected), and `prepare_cookies` called ...
{ "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/2532/reactions" }
https://api.github.com/repos/psf/requests/issues/2532/timeline
null
completed
null
null
false
[ "> If fixing this isn't possible (it is a bundled library after all), maybe requests could delete the header before calling CookieJar.add_cookie_header?\n\nI assume this is happening because of [this line](https://github.com/kennethreitz/requests/blob/master/requests/models.py#L511). And that's why you quoted code ...
https://api.github.com/repos/psf/requests/issues/2531
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/2531/labels{/name}
https://api.github.com/repos/psf/requests/issues/2531/comments
https://api.github.com/repos/psf/requests/issues/2531/events
https://github.com/psf/requests/pull/2531
66,484,648
MDExOlB1bGxSZXF1ZXN0MzI2NTQ3ODY=
2,531
Issue 2062: Updated custom header precedence info with .netrc example
{ "avatar_url": "https://avatars.githubusercontent.com/u/4780134?v=4", "events_url": "https://api.github.com/users/benjaminran/events{/privacy}", "followers_url": "https://api.github.com/users/benjaminran/followers", "following_url": "https://api.github.com/users/benjaminran/following{/other_user}", "gists_ur...
[]
closed
true
null
[]
null
1
2015-04-05T21:34:04Z
2021-09-08T08:00:52Z
2015-04-05T22:33:29Z
CONTRIBUTOR
resolved
I revised the custom header documentation to include .netrc authentication like Ian recommended.
{ "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/2531/reactions" }
https://api.github.com/repos/psf/requests/issues/2531/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/2531.diff", "html_url": "https://github.com/psf/requests/pull/2531", "merged_at": "2015-04-05T22:33:29Z", "patch_url": "https://github.com/psf/requests/pull/2531.patch", "url": "https://api.github.com/repos/psf/requests/pulls/2531" }
true
[ "\\o/ :sparkles:\n" ]