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/628
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/628/labels{/name}
https://api.github.com/repos/psf/requests/issues/628/comments
https://api.github.com/repos/psf/requests/issues/628/events
https://github.com/psf/requests/issues/628
4,699,862
MDU6SXNzdWU0Njk5ODYy
628
Retry does not occur during timeout
{ "avatar_url": "https://avatars.githubusercontent.com/u/519545?v=4", "events_url": "https://api.github.com/users/stantonk/events{/privacy}", "followers_url": "https://api.github.com/users/stantonk/followers", "following_url": "https://api.github.com/users/stantonk/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
2
2012-05-22T21:09:47Z
2021-09-09T07:05:28Z
2012-07-27T05:54:15Z
NONE
resolved
Why does this not retry 3 times? ``` import time import logging import requests from requests.exceptions import Timeout logging.basicConfig(**{ 'format': '%(asctime)s - %(name)s - %(levelname)s - %(message)s', 'level': logging.DEBUG }) logger = logging.getLogger() TIMEOUT = 2 RETRY = 3 start = time.time(...
{ "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/628/reactions" }
https://api.github.com/repos/psf/requests/issues/628/timeline
null
completed
null
null
false
[ "Will the timeout setting cause requests to time out when it can't **connect** to the server within the specified time, or does it time out when it can't finish reading the response within the specified time. Based on my example it seems that it is the former, not the latter.\n\nIf this is the case, then would it b...
https://api.github.com/repos/psf/requests/issues/627
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/627/labels{/name}
https://api.github.com/repos/psf/requests/issues/627/comments
https://api.github.com/repos/psf/requests/issues/627/events
https://github.com/psf/requests/issues/627
4,690,960
MDU6SXNzdWU0NjkwOTYw
627
Failure to get through digest page which redirects to temporary AWS url
{ "avatar_url": "https://avatars.githubusercontent.com/u/635911?v=4", "events_url": "https://api.github.com/users/vlcinsky/events{/privacy}", "followers_url": "https://api.github.com/users/vlcinsky/followers", "following_url": "https://api.github.com/users/vlcinsky/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
31
2012-05-22T13:57:29Z
2021-09-09T05:30:44Z
2012-11-27T18:36:34Z
NONE
resolved
-- edit -- This relates to finding of @Lukas, who found, that **hooks are not passed to a new request on redirect**, which is not described elsewhere (yet?). As soon as this hook related problem is resolved, there seem to be solution using hook, removing problem making header Authorization from final redirecting requ...
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/627/reactions" }
https://api.github.com/repos/psf/requests/issues/627/timeline
null
completed
null
null
false
[ "@vlcinsky does this still exist in 0.14.2?\n", "I will review this issue in following days, at last within two weeks (so till 10th of December 2012).\n", "@vlcinsky in my impatience I installed cherrypy in a virtualenv and ran your script. If you instead return the response for the awspage function instead of ...
https://api.github.com/repos/psf/requests/issues/626
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/626/labels{/name}
https://api.github.com/repos/psf/requests/issues/626/comments
https://api.github.com/repos/psf/requests/issues/626/events
https://github.com/psf/requests/pull/626
4,684,285
MDExOlB1bGxSZXF1ZXN0MTM5ODgyMw==
626
Improvements to RequestsCookieJar
{ "avatar_url": "https://avatars.githubusercontent.com/u/1443719?v=4", "events_url": "https://api.github.com/users/joshimhoff/events{/privacy}", "followers_url": "https://api.github.com/users/joshimhoff/followers", "following_url": "https://api.github.com/users/joshimhoff/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
6
2012-05-22T04:39:22Z
2021-09-08T23:01:13Z
2012-05-22T04:45:44Z
NONE
resolved
- Docstrings for all methods in RequestsCookieJar - Defined keys(), values(), and items() in order to let user convert RequestsCookieJar to a plain Pyton dict - If there are multiple cookies with the same information, we now throw CookieConflictError - Defined a couple of small utility functions Discussion here: #578 ...
{ "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/626/reactions" }
https://api.github.com/repos/psf/requests/issues/626/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/626.diff", "html_url": "https://github.com/psf/requests/pull/626", "merged_at": "2012-05-22T04:45:44Z", "patch_url": "https://github.com/psf/requests/pull/626.patch", "url": "https://api.github.com/repos/psf/requests/pulls/626" }
true
[ "Beautiful! We'll see what @travisbot says :)\n", "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1396842) (merged 96cd8e9c into 2d974662).\n", "Looks like it breaks on Python 3 :(\n", "I left a print statement in there from when I was debugging. Nice catch, travisbot.\n", "This...
https://api.github.com/repos/psf/requests/issues/625
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/625/labels{/name}
https://api.github.com/repos/psf/requests/issues/625/comments
https://api.github.com/repos/psf/requests/issues/625/events
https://github.com/psf/requests/issues/625
4,672,611
MDU6SXNzdWU0NjcyNjEx
625
SSLError error raise for https urls (SSL23_Get_Server_Hello:unknown protocol)
{ "avatar_url": "https://avatars.githubusercontent.com/u/335567?v=4", "events_url": "https://api.github.com/users/Carreau/events{/privacy}", "followers_url": "https://api.github.com/users/Carreau/followers", "following_url": "https://api.github.com/users/Carreau/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
4
2012-05-21T15:01:27Z
2021-09-09T00:00:59Z
2012-07-27T05:56:28Z
NONE
resolved
Hi, I'm trying to acces github api v3 through requests, but I get the attached traceback when trying to connect to any https urls. As I'm behind a proxy, I tried setting the proxy as shown in another issue, but proxy respond to me that it can't get the URL. I also tried `verify=False`, which raise Timeout I'm surely ...
{ "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/625/reactions" }
https://api.github.com/repos/psf/requests/issues/625/timeline
null
completed
null
null
false
[ "What version of openssl do you have installed?\n\n`openssl version` in a terminal\n", "OpenSSL 0.9.8r 8 Feb 2011.\n\nI thought of upgrading (to 1.0.1c) with homewbrew but it says not to :\n\n```\nThis formula is keg-only.\nMac OS X already provides this program and installing another version in\nparallel can ca...
https://api.github.com/repos/psf/requests/issues/624
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/624/labels{/name}
https://api.github.com/repos/psf/requests/issues/624/comments
https://api.github.com/repos/psf/requests/issues/624/events
https://github.com/psf/requests/issues/624
4,654,818
MDU6SXNzdWU0NjU0ODE4
624
Documentation Translation 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_...
[ { "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
{ "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
59
2012-05-19T14:53:39Z
2022-02-26T06:00:22Z
2021-11-28T05:43:39Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4", "events_url": "https://api.github.com/users/sethmlarson/events{/privacy}", "followers_url": "https://api.github.com/users/sethmlarson/followers", "following_url": "https://api.github.com/users/sethmlarson/following{/other_user}", "gists_u...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/624/reactions" }
https://api.github.com/repos/psf/requests/issues/624/timeline
null
completed
null
null
false
[ "Yes we need it because I might translate the documentation to arabic sometime\n", "@toutouastro that would be fantastic!\n", "Japanese is underway: http://ja.python-requests.org\n", "The summer break is coming and I'll hack on this project a lot this summer !\n", "How popular is `requests` among the Hispan...
https://api.github.com/repos/psf/requests/issues/623
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/623/labels{/name}
https://api.github.com/repos/psf/requests/issues/623/comments
https://api.github.com/repos/psf/requests/issues/623/events
https://github.com/psf/requests/issues/623
4,639,094
MDU6SXNzdWU0NjM5MDk0
623
fetching small part of data instead of whole file
{ "avatar_url": "https://avatars.githubusercontent.com/u/642195?v=4", "events_url": "https://api.github.com/users/oczkers/events{/privacy}", "followers_url": "https://api.github.com/users/oczkers/followers", "following_url": "https://api.github.com/users/oczkers/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
1
2012-05-18T09:42:28Z
2021-09-09T08:00:42Z
2012-05-18T18:10:37Z
CONTRIBUTOR
resolved
Correct me if i`m wrong but it`s not able to fetch only small part of data instead whole file. for example if i want to download large file and save to hdd, whole file have to be first buffered in ram: <pre>open.write('large_file', 'wb').requests.get('http://large_file').content)</pre> it should be like that: <pre...
{ "avatar_url": "https://avatars.githubusercontent.com/u/642195?v=4", "events_url": "https://api.github.com/users/oczkers/events{/privacy}", "followers_url": "https://api.github.com/users/oczkers/followers", "following_url": "https://api.github.com/users/oczkers/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/623/reactions" }
https://api.github.com/repos/psf/requests/issues/623/timeline
null
completed
null
null
false
[ "You should take a look at `response.iter_content`\n" ]
https://api.github.com/repos/psf/requests/issues/622
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/622/labels{/name}
https://api.github.com/repos/psf/requests/issues/622/comments
https://api.github.com/repos/psf/requests/issues/622/events
https://github.com/psf/requests/pull/622
4,629,799
MDExOlB1bGxSZXF1ZXN0MTM3NTYwMw==
622
Changed the store_cookie configuration to be part of the config dict, instead of being a new argument
{ "avatar_url": "https://avatars.githubusercontent.com/u/65202?v=4", "events_url": "https://api.github.com/users/amalakar/events{/privacy}", "followers_url": "https://api.github.com/users/amalakar/followers", "following_url": "https://api.github.com/users/amalakar/following{/other_user}", "gists_url": "https:...
[]
closed
true
null
[]
null
2
2012-05-17T19:00:55Z
2021-09-09T00:01:13Z
2012-05-20T01:42:57Z
CONTRIBUTOR
resolved
Hi kennethreitz, I have changed the code to make the configuration part of the config object instead of being a parameter. This is the actual commit: https://github.com/amalakar/requests/commit/ae3b13920875c3068a19f04c3bc8f7d4cbdfd76f Git issue: After realizing you had issue merging yesterday I did some 'rebase' a...
{ "avatar_url": "https://avatars.githubusercontent.com/u/65202?v=4", "events_url": "https://api.github.com/users/amalakar/events{/privacy}", "followers_url": "https://api.github.com/users/amalakar/followers", "following_url": "https://api.github.com/users/amalakar/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/622/reactions" }
https://api.github.com/repos/psf/requests/issues/622/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/622.diff", "html_url": "https://github.com/psf/requests/pull/622", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/622.patch", "url": "https://api.github.com/repos/psf/requests/pulls/622" }
true
[ "Hmm, looks like you aren't based off the current develop branch.\n", "Let me close this and send another pull request. \n" ]
https://api.github.com/repos/psf/requests/issues/621
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/621/labels{/name}
https://api.github.com/repos/psf/requests/issues/621/comments
https://api.github.com/repos/psf/requests/issues/621/events
https://github.com/psf/requests/issues/621
4,629,164
MDU6SXNzdWU0NjI5MTY0
621
Getting HTTP 400 errors when trying to POST data and files
{ "avatar_url": "https://avatars.githubusercontent.com/u/1234335?v=4", "events_url": "https://api.github.com/users/rdodev/events{/privacy}", "followers_url": "https://api.github.com/users/rdodev/followers", "following_url": "https://api.github.com/users/rdodev/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
4
2012-05-17T18:25:23Z
2021-09-09T07:05:29Z
2012-07-27T05:53:14Z
NONE
resolved
Whenever I try to POST a form with data and files, I get HTTP 400 (Bad request) errors. I can post same data and to same URL w/o problems through a web browser.
{ "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/621/reactions" }
https://api.github.com/repos/psf/requests/issues/621/timeline
null
completed
null
null
false
[ "is the web browser doing multipart?\n", "I believe so. Here's the gist https://gist.github.com/2720779\n", "I think I see the potential issue: if you look at the browser headers above, you see that the Content-Type is set to multipart/form-data when I do the request through requests, the headers show Content-T...
https://api.github.com/repos/psf/requests/issues/620
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/620/labels{/name}
https://api.github.com/repos/psf/requests/issues/620/comments
https://api.github.com/repos/psf/requests/issues/620/events
https://github.com/psf/requests/pull/620
4,628,599
MDExOlB1bGxSZXF1ZXN0MTM3NTAyNw==
620
Do not send cookies marked with secure flag over insecure HTTP connection
{ "avatar_url": "https://avatars.githubusercontent.com/u/359029?v=4", "events_url": "https://api.github.com/users/mwielgoszewski/events{/privacy}", "followers_url": "https://api.github.com/users/mwielgoszewski/followers", "following_url": "https://api.github.com/users/mwielgoszewski/following{/other_user}", "...
[]
closed
true
null
[]
null
3
2012-05-17T17:53:47Z
2021-09-08T15:01:10Z
2012-05-17T18:17:44Z
CONTRIBUTOR
resolved
By default, the cookielib.CookieJar used by requests does not honor standard accept/reject rules for Netscape and RFC295 cookies. This behavior could result in the inadvertent exposure of sensitive cookies that have been set with the 'secure' flag (i.e., they are only to be sent to HTTPS resources) when requesting non-...
{ "avatar_url": "https://avatars.githubusercontent.com/u/359029?v=4", "events_url": "https://api.github.com/users/mwielgoszewski/events{/privacy}", "followers_url": "https://api.github.com/users/mwielgoszewski/followers", "following_url": "https://api.github.com/users/mwielgoszewski/following{/other_user}", "...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/620/reactions" }
https://api.github.com/repos/psf/requests/issues/620/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/620.diff", "html_url": "https://github.com/psf/requests/pull/620", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/620.patch", "url": "https://api.github.com/repos/psf/requests/pulls/620" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1358411) (merged 3f99dfd2 into 2d974662).\n", "Woops, my apologies. The version of requests that I had tested against was not using cookielib.CookieJar.\n", "For the record, this is tested by `test_secure_cookies` here: https://github...
https://api.github.com/repos/psf/requests/issues/619
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/619/labels{/name}
https://api.github.com/repos/psf/requests/issues/619/comments
https://api.github.com/repos/psf/requests/issues/619/events
https://github.com/psf/requests/pull/619
4,621,127
MDExOlB1bGxSZXF1ZXN0MTM3MTY2MQ==
619
Rewrite quickstart docs.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4", "events_url": "https://api.github.com/users/Lukasa/events{/privacy}", "followers_url": "https://api.github.com/users/Lukasa/followers", "following_url": "https://api.github.com/users/Lukasa/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
6
2012-05-17T09:22:55Z
2021-09-08T15:01:09Z
2012-05-29T23:49:51Z
MEMBER
resolved
Issue #503 raised a few problems with the lack of clarity in the quickstart documentation. This pull request rewrites that documentation, to cover the issues raised in #503, and for general clarity. If there are other docs rewrites you'd like, or changes to this one, I'd be happy to update this pull request with furth...
{ "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/619/reactions" }
https://api.github.com/repos/psf/requests/issues/619/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/619.diff", "html_url": "https://github.com/psf/requests/pull/619", "merged_at": "2012-05-29T23:49:51Z", "patch_url": "https://github.com/psf/requests/pull/619.patch", "url": "https://api.github.com/repos/psf/requests/pulls/619" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1354039) (merged 45506d1f into 2d974662).\n", "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1358709) (merged 36fd8da1 into 2d974662).\n", "This pull request now also addresses issue #504.\n", "This pu...
https://api.github.com/repos/psf/requests/issues/618
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/618/labels{/name}
https://api.github.com/repos/psf/requests/issues/618/comments
https://api.github.com/repos/psf/requests/issues/618/events
https://github.com/psf/requests/pull/618
4,615,482
MDExOlB1bGxSZXF1ZXN0MTM2OTI2MQ==
618
Issue #505: Allow disabling of cookie persistence/sending
{ "avatar_url": "https://avatars.githubusercontent.com/u/65202?v=4", "events_url": "https://api.github.com/users/amalakar/events{/privacy}", "followers_url": "https://api.github.com/users/amalakar/followers", "following_url": "https://api.github.com/users/amalakar/following{/other_user}", "gists_url": "https:...
[]
closed
true
null
[]
null
7
2012-05-16T22:35:54Z
2021-09-08T15:01:09Z
2012-05-17T00:10:31Z
CONTRIBUTOR
resolved
I tried to add the feature as requested in issue #505. When store_cookies is set to False, all the cookies sent by the server would be just ignored. The user can still provide cookies using the cookie param though and they would be passed to the server as well. Just that the ones sent by the server are ignored. Thanks...
{ "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/618/reactions" }
https://api.github.com/repos/psf/requests/issues/618/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/618.diff", "html_url": "https://github.com/psf/requests/pull/618", "merged_at": "2012-05-17T00:10:31Z", "patch_url": "https://github.com/psf/requests/pull/618.patch", "url": "https://api.github.com/repos/psf/requests/pulls/618" }
true
[ "Hmm, was this pull request against latest? Looks like GitHub thinks that it can't automatically be merged.\n", "I am new to github and I am lost what is missing here :( Shall I repeat the process?\n", "Hmm, I'm not sure, honestly. Everything looks good to me.\n", "Excellent, thanks for the change :)\n", "A...
https://api.github.com/repos/psf/requests/issues/617
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/617/labels{/name}
https://api.github.com/repos/psf/requests/issues/617/comments
https://api.github.com/repos/psf/requests/issues/617/events
https://github.com/psf/requests/pull/617
4,609,921
MDExOlB1bGxSZXF1ZXN0MTM2NjYyNg==
617
Expose case-insensitive key access when deleting a key from CaseInsensitveDict
{ "avatar_url": "https://avatars.githubusercontent.com/u/359029?v=4", "events_url": "https://api.github.com/users/mwielgoszewski/events{/privacy}", "followers_url": "https://api.github.com/users/mwielgoszewski/followers", "following_url": "https://api.github.com/users/mwielgoszewski/following{/other_user}", "...
[]
closed
true
null
[]
null
2
2012-05-16T18:02:15Z
2021-09-08T15:01:09Z
2012-05-17T00:34:03Z
CONTRIBUTOR
resolved
Previously, when attempting to call del on a dictionary key that did not exist, a KeyError was raised. This commit changes the default behavior to be case-insensitive.
{ "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/617/reactions" }
https://api.github.com/repos/psf/requests/issues/617/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/617.diff", "html_url": "https://github.com/psf/requests/pull/617", "merged_at": "2012-05-17T00:34:03Z", "patch_url": "https://github.com/psf/requests/pull/617.patch", "url": "https://api.github.com/repos/psf/requests/pulls/617" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1348101) (merged 4b7c5dab into c477f6eb).\n", "Awesome, thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/616
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/616/labels{/name}
https://api.github.com/repos/psf/requests/issues/616/comments
https://api.github.com/repos/psf/requests/issues/616/events
https://github.com/psf/requests/pull/616
4,595,777
MDExOlB1bGxSZXF1ZXN0MTM2MDQxNQ==
616
draft pull request for eager release of sockets
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
4
2012-05-15T23:59:16Z
2021-09-08T23:08:22Z
2012-07-18T03:39:34Z
CONTRIBUTOR
resolved
Please do not merge this! This is intended as a "design review" :-) It needs more comments and tests before it is production ready. This implements explicit disposal of sockets in urllib3 and Requests that does not rely on instantaneous garbage collection via reference counts (e.g., for PyPy). It should fix #520 witho...
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/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/616/reactions" }
https://api.github.com/repos/psf/requests/issues/616/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/616.diff", "html_url": "https://github.com/psf/requests/pull/616", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/616.patch", "url": "https://api.github.com/repos/psf/requests/pulls/616" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1341277) (merged e490a2f9 into 355003b4).\n", "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1343119) (merged b4556066 into 355003b4).\n", "Could you make a separate pull requests just for urllib3? I'll ...
https://api.github.com/repos/psf/requests/issues/615
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/615/labels{/name}
https://api.github.com/repos/psf/requests/issues/615/comments
https://api.github.com/repos/psf/requests/issues/615/events
https://github.com/psf/requests/issues/615
4,588,692
MDU6SXNzdWU0NTg4Njky
615
Documentation is wrong: Response has no attribute 'text'
{ "avatar_url": "https://avatars.githubusercontent.com/u/217980?v=4", "events_url": "https://api.github.com/users/willi-mueller/events{/privacy}", "followers_url": "https://api.github.com/users/willi-mueller/followers", "following_url": "https://api.github.com/users/willi-mueller/following{/other_user}", "gis...
[]
closed
true
null
[]
null
3
2012-05-15T17:35:06Z
2021-09-09T08:00:41Z
2012-05-15T20:06:13Z
NONE
resolved
The very first example on the Website and in the README.md produces an error because Response has no attribute 'text'. Maybe you meant 'content'? But there is another mistake in that example – the github API call returns nothing. See http://developer.github.com/v3/#authentication. What could be a better example? If s...
{ "avatar_url": "https://avatars.githubusercontent.com/u/217980?v=4", "events_url": "https://api.github.com/users/willi-mueller/events{/privacy}", "followers_url": "https://api.github.com/users/willi-mueller/followers", "following_url": "https://api.github.com/users/willi-mueller/following{/other_user}", "gis...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/615/reactions" }
https://api.github.com/repos/psf/requests/issues/615/timeline
null
completed
null
null
false
[ "Are you using an old release?\n", "Oh, sorry. I had 0.7 and now upgraded to 0.12.1 and it works. Thanks.\n", "Yes, I had same error. Using \"pip install requests --upgrade\" worked for me.\n" ]
https://api.github.com/repos/psf/requests/issues/614
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/614/labels{/name}
https://api.github.com/repos/psf/requests/issues/614/comments
https://api.github.com/repos/psf/requests/issues/614/events
https://github.com/psf/requests/pull/614
4,586,141
MDExOlB1bGxSZXF1ZXN0MTM1NTkyNw==
614
Better content-type detection and unicode fix
{ "avatar_url": "https://avatars.githubusercontent.com/u/1165819?v=4", "events_url": "https://api.github.com/users/ib-lundgren/events{/privacy}", "followers_url": "https://api.github.com/users/ib-lundgren/followers", "following_url": "https://api.github.com/users/ib-lundgren/following{/other_user}", "gists_ur...
[]
closed
true
null
[]
null
8
2012-05-15T15:29:13Z
2021-09-08T15:01:08Z
2012-05-15T15:39:20Z
CONTRIBUTOR
resolved
Better content-type detection for request.auth.OAuth1, fixes [OAuthLib #38](https://github.com/idangazit/oauthlib/issues/38). All requests with files are now treated as multipart and r.data is not included in the signature creation. Small fix to a UnicodeDecodeError during httplibs concatenation of the unicode Authori...
{ "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/614/reactions" }
https://api.github.com/repos/psf/requests/issues/614/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/614.diff", "html_url": "https://github.com/psf/requests/pull/614", "merged_at": "2012-05-15T15:39:20Z", "patch_url": "https://github.com/psf/requests/pull/614.patch", "url": "https://api.github.com/repos/psf/requests/pulls/614" }
true
[ "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1336709) (merged c24665b5 into 763393f7).\n", "Looks like this breaks Python 3.1.\n", "Yea sorry about that. Only use 2.7 myself and forgot that 3 does not allow u''. Nice work @travisbot =) \n\nbrb updating...\n", "@idangazit, any c...
https://api.github.com/repos/psf/requests/issues/613
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/613/labels{/name}
https://api.github.com/repos/psf/requests/issues/613/comments
https://api.github.com/repos/psf/requests/issues/613/events
https://github.com/psf/requests/pull/613
4,584,666
MDExOlB1bGxSZXF1ZXN0MTM1NTIxMA==
613
Remove sharing of base_headers config between sessions.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1241310?v=4", "events_url": "https://api.github.com/users/surajbarkale/events{/privacy}", "followers_url": "https://api.github.com/users/surajbarkale/followers", "following_url": "https://api.github.com/users/surajbarkale/following{/other_user}", "gists...
[]
closed
true
null
[]
null
2
2012-05-15T14:18:16Z
2021-09-08T15:01:08Z
2012-05-15T15:31:43Z
CONTRIBUTOR
resolved
Since base_headers is a dictionary, it's reference was shared with all instances of Session objects. This patch deep copies all config options. Using deepcopy here should not incur a large performance penalty.
{ "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/613/reactions" }
https://api.github.com/repos/psf/requests/issues/613/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/613.diff", "html_url": "https://github.com/psf/requests/pull/613", "merged_at": "2012-05-15T15:31:43Z", "patch_url": "https://github.com/psf/requests/pull/613.patch", "url": "https://api.github.com/repos/psf/requests/pulls/613" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1336193) (merged 973e9cb5 into 763393f7).\n", "Thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/612
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/612/labels{/name}
https://api.github.com/repos/psf/requests/issues/612/comments
https://api.github.com/repos/psf/requests/issues/612/events
https://github.com/psf/requests/issues/612
4,578,465
MDU6SXNzdWU0NTc4NDY1
612
exception in requests.models.Request.cookies.items()
{ "avatar_url": "https://avatars.githubusercontent.com/u/90568?v=4", "events_url": "https://api.github.com/users/arteme/events{/privacy}", "followers_url": "https://api.github.com/users/arteme/followers", "following_url": "https://api.github.com/users/arteme/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
1
2012-05-15T06:53:13Z
2021-09-09T07:05:25Z
2012-07-27T06:01:48Z
NONE
resolved
It seems like the keys in the cookie jar are not names, but the actual cookie objects, so callings req.cookies.items() fails with an exception: ``` ipython In [19]: requests.__version__ Out[19]: '0.12.1' In [20]: r.request.cookies.keys() Out[20]: [Cookie(version=0, name='csrftoken', value='65cab054cf10a7c14785ad7b254...
{ "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/612/reactions" }
https://api.github.com/repos/psf/requests/issues/612/timeline
null
completed
null
null
false
[ "@arteme Check out #578. There are plans to implements keys(), values(), and items(), so that a user of Requests can call dict(resp.cookies) and get a name value dict.\n" ]
https://api.github.com/repos/psf/requests/issues/611
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/611/labels{/name}
https://api.github.com/repos/psf/requests/issues/611/comments
https://api.github.com/repos/psf/requests/issues/611/events
https://github.com/psf/requests/pull/611
4,555,738
MDExOlB1bGxSZXF1ZXN0MTM0MjgzNQ==
611
Improve developer documentation.
{ "avatar_url": "https://avatars.githubusercontent.com/u/13798?v=4", "events_url": "https://api.github.com/users/pnasrat/events{/privacy}", "followers_url": "https://api.github.com/users/pnasrat/followers", "following_url": "https://api.github.com/users/pnasrat/following{/other_user}", "gists_url": "https://a...
[]
closed
true
null
[]
null
6
2012-05-13T23:11:47Z
2021-09-08T15:01:07Z
2012-05-14T02:47:19Z
CONTRIBUTOR
resolved
I cloned, followed the todo and had failures as no certifi or chardet. Fixed up so easy to get started.
{ "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/611/reactions" }
https://api.github.com/repos/psf/requests/issues/611/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/611.diff", "html_url": "https://github.com/psf/requests/pull/611", "merged_at": "2012-05-14T02:47:19Z", "patch_url": "https://github.com/psf/requests/pull/611.patch", "url": "https://api.github.com/repos/psf/requests/pulls/611" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1322966) (merged 2c114738 into 40d32536).\n", "May be related to Issue #601 \n", "I was going to argue against teaching virtualenv in here, but I can definitely see it being useful to new developers.\n\nThanks!\n", "Is the documenta...
https://api.github.com/repos/psf/requests/issues/610
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/610/labels{/name}
https://api.github.com/repos/psf/requests/issues/610/comments
https://api.github.com/repos/psf/requests/issues/610/events
https://github.com/psf/requests/pull/610
4,551,868
MDExOlB1bGxSZXF1ZXN0MTM0MTcwMw==
610
Removed extra whitespace
{ "avatar_url": "https://avatars.githubusercontent.com/u/7339?v=4", "events_url": "https://api.github.com/users/medwards/events{/privacy}", "followers_url": "https://api.github.com/users/medwards/followers", "following_url": "https://api.github.com/users/medwards/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
3
2012-05-13T10:02:05Z
2021-09-08T15:01:07Z
2012-05-13T18:01:22Z
CONTRIBUTOR
resolved
Just removing something I saw while browsing the code.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/610/reactions" }
https://api.github.com/repos/psf/requests/issues/610/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/610.diff", "html_url": "https://github.com/psf/requests/pull/610", "merged_at": "2012-05-13T18:01:22Z", "patch_url": "https://github.com/psf/requests/pull/610.patch", "url": "https://api.github.com/repos/psf/requests/pulls/610" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1319174) (merged 51f76280 into 4161a7ec).\n", "Erp... how did that newline bit slip in... does that matter?\n", "thanks :)\n" ]
https://api.github.com/repos/psf/requests/issues/609
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/609/labels{/name}
https://api.github.com/repos/psf/requests/issues/609/comments
https://api.github.com/repos/psf/requests/issues/609/events
https://github.com/psf/requests/issues/609
4,551,729
MDU6SXNzdWU0NTUxNzI5
609
async.py doesn't have code
{ "avatar_url": "https://avatars.githubusercontent.com/u/311929?v=4", "events_url": "https://api.github.com/users/kracekumar/events{/privacy}", "followers_url": "https://api.github.com/users/kracekumar/followers", "following_url": "https://api.github.com/users/kracekumar/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
3
2012-05-13T09:23:31Z
2021-09-09T08:00:43Z
2012-05-14T16:34:01Z
CONTRIBUTOR
resolved
Seems async.py file doesn't have any code. So async will not be supported from requests?
{ "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/609/reactions" }
https://api.github.com/repos/psf/requests/issues/609/timeline
null
completed
null
null
false
[ "close this issue it's duplicated #608\n", "Sorry, some how I clicked button twice\n", "No problem !\n" ]
https://api.github.com/repos/psf/requests/issues/608
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/608/labels{/name}
https://api.github.com/repos/psf/requests/issues/608/comments
https://api.github.com/repos/psf/requests/issues/608/events
https://github.com/psf/requests/issues/608
4,551,728
MDU6SXNzdWU0NTUxNzI4
608
async.py doesn't have code
{ "avatar_url": "https://avatars.githubusercontent.com/u/311929?v=4", "events_url": "https://api.github.com/users/kracekumar/events{/privacy}", "followers_url": "https://api.github.com/users/kracekumar/followers", "following_url": "https://api.github.com/users/kracekumar/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
6
2012-05-13T09:23:30Z
2021-09-09T08:00:43Z
2012-05-14T16:33:48Z
CONTRIBUTOR
resolved
Seems async.py file doesn't have any code. So async will not be supported from requests?
{ "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/608/reactions" }
https://api.github.com/repos/psf/requests/issues/608/timeline
null
completed
null
null
false
[ "It's now a separate project: https://github.com/kennethreitz/grequests\n", "yep, I am aware of it, if upgrade requests and code which consumes async will break, is there any plan to support async.py by internally importing GRequests ?\n", "@kracekumar no, this is a backwards incompatible change.\n", " :( \n`...
https://api.github.com/repos/psf/requests/issues/607
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/607/labels{/name}
https://api.github.com/repos/psf/requests/issues/607/comments
https://api.github.com/repos/psf/requests/issues/607/events
https://github.com/psf/requests/pull/607
4,548,233
MDExOlB1bGxSZXF1ZXN0MTM0MDQ3MQ==
607
Fix a docstring typo (of -> if).
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.git...
[]
closed
false
null
[]
null
2
2012-05-12T17:24:14Z
2014-07-20T01:35:43Z
2012-05-12T21:23:04Z
NONE
null
A minor typo fix in the send docstring.
{ "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/607/reactions" }
https://api.github.com/repos/psf/requests/issues/607/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/607.diff", "html_url": "https://github.com/psf/requests/pull/607", "merged_at": "2012-05-12T21:23:04Z", "patch_url": "https://github.com/psf/requests/pull/607.patch", "url": "https://api.github.com/repos/psf/requests/pulls/607" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1314955) (merged ed767cb7 into 0442122d).\n", "Oops, thanks :)\n" ]
https://api.github.com/repos/psf/requests/issues/606
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/606/labels{/name}
https://api.github.com/repos/psf/requests/issues/606/comments
https://api.github.com/repos/psf/requests/issues/606/events
https://github.com/psf/requests/issues/606
4,537,873
MDU6SXNzdWU0NTM3ODcz
606
Allow specifying the ssl protocol version to use
{ "avatar_url": "https://avatars.githubusercontent.com/u/245297?v=4", "events_url": "https://api.github.com/users/mvantellingen/events{/privacy}", "followers_url": "https://api.github.com/users/mvantellingen/followers", "following_url": "https://api.github.com/users/mvantellingen/following{/other_user}", "gis...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" } ]
closed
true
null
[]
null
20
2012-05-11T17:32:54Z
2018-11-04T13:36:35Z
2012-07-27T06:10:49Z
NONE
resolved
Allow specifying the ssh protocol version (sslv2 or sslv3). This should fix problems connecting to various https sites (e.g. *.sharepoint.com) See http://bugs.python.org/issue11220 for more information
{ "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/606/reactions" }
https://api.github.com/repos/psf/requests/issues/606/timeline
null
completed
null
null
false
[ "Wouldn't it make more sense for the library to just handle whichever ssl protocol version is in use by the server? Having to manually specify is really klunky.\n", "A web browser doesn't need you to specify what version of SSL a site's using, why should requests?\n", "I agree with the whole automatic selection...
https://api.github.com/repos/psf/requests/issues/605
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/605/labels{/name}
https://api.github.com/repos/psf/requests/issues/605/comments
https://api.github.com/repos/psf/requests/issues/605/events
https://github.com/psf/requests/issues/605
4,522,903
MDU6SXNzdWU0NTIyOTAz
605
async broken on Windows
{ "avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4", "events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}", "followers_url": "https://api.github.com/users/piotr-dobrogost/followers", "following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}", ...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" } ]
closed
true
null
[]
null
2
2012-05-10T21:41:00Z
2021-09-09T08:00:43Z
2012-05-10T23:35:07Z
NONE
resolved
Running below code ``` python from requests import async if __name__ == '__main__': req = async.get('http://httpbin.org/get') res = async.map([req])[0] print res.content ``` I get ``` Traceback (most recent call last): File "C:\python\virtualenv\requests\lib\site-packages\gevent-0.13.7-py2.7-win-amd6...
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/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/605/reactions" }
https://api.github.com/repos/psf/requests/issues/605/timeline
null
completed
null
null
false
[ "See also #500.\n", "Closing in favor of kennethreitz/grequests#2\n" ]
https://api.github.com/repos/psf/requests/issues/604
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/604/labels{/name}
https://api.github.com/repos/psf/requests/issues/604/comments
https://api.github.com/repos/psf/requests/issues/604/events
https://github.com/psf/requests/pull/604
4,514,833
MDExOlB1bGxSZXF1ZXN0MTMyNTkyOA==
604
New implementation of safe_mode.
{ "avatar_url": "https://avatars.githubusercontent.com/u/1443719?v=4", "events_url": "https://api.github.com/users/joshimhoff/events{/privacy}", "followers_url": "https://api.github.com/users/joshimhoff/followers", "following_url": "https://api.github.com/users/joshimhoff/following{/other_user}", "gists_url":...
[]
closed
true
null
[]
null
3
2012-05-10T14:59:32Z
2021-09-08T15:01:07Z
2012-05-10T18:06:25Z
NONE
resolved
We throw exceptions in models.py even if in safe_mode. We catch those exceptions at the API level and return a blank Response with the error field filled with the exception thrown. See safe_mode.py for details. Discussed here: #583
{ "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/604/reactions" }
https://api.github.com/repos/psf/requests/issues/604/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/604.diff", "html_url": "https://github.com/psf/requests/pull/604", "merged_at": "2012-05-10T18:06:25Z", "patch_url": "https://github.com/psf/requests/pull/604.patch", "url": "https://api.github.com/repos/psf/requests/pulls/604" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1295925) (merged cff70e75 into 2d328d8a).\n", "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1296854) (merged db43eb4c into 2d328d8a).\n", "Fantastic work! This is much cleaner. \n\n:sparkles: :cake: :sp...
https://api.github.com/repos/psf/requests/issues/603
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/603/labels{/name}
https://api.github.com/repos/psf/requests/issues/603/comments
https://api.github.com/repos/psf/requests/issues/603/events
https://github.com/psf/requests/pull/603
4,513,816
MDExOlB1bGxSZXF1ZXN0MTMyNTQ3Mg==
603
get cookie like dict, such as s.cookies.get('test', 'no cookie')
{ "avatar_url": "https://avatars.githubusercontent.com/u/173095?v=4", "events_url": "https://api.github.com/users/benmao/events{/privacy}", "followers_url": "https://api.github.com/users/benmao/followers", "following_url": "https://api.github.com/users/benmao/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
2
2012-05-10T14:18:20Z
2021-09-08T15:01:06Z
2012-05-10T18:07:01Z
NONE
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/603/reactions" }
https://api.github.com/repos/psf/requests/issues/603/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/603.diff", "html_url": "https://github.com/psf/requests/pull/603", "merged_at": "2012-05-10T18:07:00Z", "patch_url": "https://github.com/psf/requests/pull/603.patch", "url": "https://api.github.com/repos/psf/requests/pulls/603" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1295371) (merged 44663b5e into 2d328d8a).\n", "+1 to this. Thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/602
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/602/labels{/name}
https://api.github.com/repos/psf/requests/issues/602/comments
https://api.github.com/repos/psf/requests/issues/602/events
https://github.com/psf/requests/issues/602
4,500,221
MDU6SXNzdWU0NTAwMjIx
602
requests.head redirect timeout (on only linux environments?)
{ "avatar_url": "https://avatars.githubusercontent.com/u/285920?v=4", "events_url": "https://api.github.com/users/umbrae/events{/privacy}", "followers_url": "https://api.github.com/users/umbrae/followers", "following_url": "https://api.github.com/users/umbrae/following{/other_user}", "gists_url": "https://api...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" }, { "color": "e102d8", "default": false, "description": null, "id": 117745, "...
closed
true
null
[]
null
7
2012-05-09T19:55:44Z
2021-09-09T07:05:20Z
2012-07-27T06:14:15Z
CONTRIBUTOR
resolved
On OSX I can run this fine: ``` python # python2.6 Python 2.6.7 (r267:88850, Jul 31 2011, 19:30:54) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import requests >>> r = requests.head("http://feedproxy.google.c...
{ "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/602/reactions" }
https://api.github.com/repos/psf/requests/issues/602/timeline
null
completed
null
null
false
[ "Hmm, interesting. Thanks for the URL, we'll have to dive in further.\n", "DNR for me in Fedora with Python 2.7.3 and 3.2.1. Interesting.\n", "DNR in Ubuntu Precise with Python 2.7.3 as well.\n", "Here's a quick workaround for anyone else who happens to encounter this before a fix:\n\n``` python\n\nimport req...
https://api.github.com/repos/psf/requests/issues/601
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/601/labels{/name}
https://api.github.com/repos/psf/requests/issues/601/comments
https://api.github.com/repos/psf/requests/issues/601/events
https://github.com/psf/requests/issues/601
4,487,645
MDU6SXNzdWU0NDg3NjQ1
601
document testing practices
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[ { "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
8
2012-05-09T07:15:07Z
2021-09-09T05:30:46Z
2012-11-27T01:36:37Z
CONTRIBUTOR
resolved
Currently, as @djco and @arfrever note, the Makefile doesn't make it into the Pypi tarball, and a plain invocation of `nosetests` doesn't run the right tests. So if you've downloaded Requests and you want to run the tests, it's not clear how. This is a reasonable thing to want to do. Also, we should document which tes...
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/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/601/reactions" }
https://api.github.com/repos/psf/requests/issues/601/timeline
null
completed
null
null
false
[ "In general, we need to document development workflow.\n", "Does the entire repo need to be included in the PyPI tarball? Is it unreasonable to ask that people who plan to make pull requests on the repo actually get the repo from the origin? (As mentioned here https://github.com/kennethreitz/requests#contribute)\...
https://api.github.com/repos/psf/requests/issues/600
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/600/labels{/name}
https://api.github.com/repos/psf/requests/issues/600/comments
https://api.github.com/repos/psf/requests/issues/600/events
https://github.com/psf/requests/issues/600
4,480,818
MDU6SXNzdWU0NDgwODE4
600
tests/test_requests_ext.py uses assertIn and assertNotIn not available in Python <2.7
{ "avatar_url": "https://avatars.githubusercontent.com/u/656294?v=4", "events_url": "https://api.github.com/users/Arfrever/events{/privacy}", "followers_url": "https://api.github.com/users/Arfrever/followers", "following_url": "https://api.github.com/users/Arfrever/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
6
2012-05-08T20:35:18Z
2021-09-09T07:05:27Z
2012-07-27T05:58:53Z
NONE
resolved
``` $ nosetests-2.6 tests/test_requests_ext.py ...E....... ====================================================================== ERROR: Test interaction between cookie handling and redirection. ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/reques...
{ "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/600/reactions" }
https://api.github.com/repos/psf/requests/issues/600/timeline
null
completed
null
null
false
[ "This is a good point. `test_requests_ext.py` is technically not part of our standard test suite, which is why this isn't breaking the build, but this is not good. Can you turn this diff into a pull request and submit it?\n", "I would attach a patch if this bug tracker supported attachments.\n", "@Arfrever are ...
https://api.github.com/repos/psf/requests/issues/599
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/599/labels{/name}
https://api.github.com/repos/psf/requests/issues/599/comments
https://api.github.com/repos/psf/requests/issues/599/events
https://github.com/psf/requests/issues/599
4,478,569
MDU6SXNzdWU0NDc4NTY5
599
Stream POST requests
{ "avatar_url": "https://avatars.githubusercontent.com/u/112152?v=4", "events_url": "https://api.github.com/users/e98cuenc/events{/privacy}", "followers_url": "https://api.github.com/users/e98cuenc/followers", "following_url": "https://api.github.com/users/e98cuenc/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
7
2012-05-08T18:39:43Z
2021-09-09T08:00:42Z
2012-05-10T18:20:56Z
NONE
resolved
I want to make POST requests with a big payload, and right now I have to be able to hold the full payload in memory to do the POST. It be cool to accept a generator as the "data" argument of requests.post.
{ "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/599/reactions" }
https://api.github.com/repos/psf/requests/issues/599/timeline
null
completed
null
null
false
[ "This is very much planned :)\n", "I've actually got a need for this, too. Could I take a stab at implementing it, or would you prefer I hold off?\n", "There's a major refactor in progress ([outlined here](http://kennethreitz.com/the-future-of-python-http.html)) that will facilitate this\n", "[Armin Ronacher'...
https://api.github.com/repos/psf/requests/issues/598
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/598/labels{/name}
https://api.github.com/repos/psf/requests/issues/598/comments
https://api.github.com/repos/psf/requests/issues/598/events
https://github.com/psf/requests/issues/598
4,477,023
MDU6SXNzdWU0NDc3MDIz
598
Pass json objects as url parameters
{ "avatar_url": "https://avatars.githubusercontent.com/u/1047165?v=4", "events_url": "https://api.github.com/users/maebert/events{/privacy}", "followers_url": "https://api.github.com/users/maebert/followers", "following_url": "https://api.github.com/users/maebert/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
5
2012-05-08T17:17:06Z
2021-09-08T14:00:42Z
2012-06-15T18:38:23Z
NONE
resolved
Stumbled up this while trying to use the [Freebase API](http://wiki.freebase.com/wiki/API). Basically, their API looks like that: ``` https://www.googleapis.com/freebase/v1/mqlread?query=... ``` as a query, they expect a JSON object, here's one that will [return a list of wines with their country and percentage of a...
{ "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/598/reactions" }
https://api.github.com/repos/psf/requests/issues/598/timeline
null
completed
null
null
false
[ "It's something weird with JSON copied from Freebase site:\n\n```\nimport requests\nfull_url = 'https://www.googleapis.com/freebase/v1/mqlread?query=%5B%7B%22percentage_alcohol%3E%22%3A+0%2C+%22country%22%3A+null%2C+%22type%22%3A+%22%2Ffood%2Fwine%22%2C+%22name%22%3A+null%2C+%22percentage_alcohol%22%3A+null%7D%5D'\...
https://api.github.com/repos/psf/requests/issues/597
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/597/labels{/name}
https://api.github.com/repos/psf/requests/issues/597/comments
https://api.github.com/repos/psf/requests/issues/597/events
https://github.com/psf/requests/pull/597
4,474,411
MDExOlB1bGxSZXF1ZXN0MTMwODE1NQ==
597
```chunk_size``` for ```iter_lines()``` versus ```iter_content()```
{ "avatar_url": "https://avatars.githubusercontent.com/u/822167?v=4", "events_url": "https://api.github.com/users/mponton/events{/privacy}", "followers_url": "https://api.github.com/users/mponton/followers", "following_url": "https://api.github.com/users/mponton/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
6
2012-05-08T15:05:09Z
2021-09-08T23:11:02Z
2012-07-27T05:59:13Z
NONE
resolved
Seriously, I think you should merge this one. The latest release and the `develop` branch still have the default `chunk_size` "reversed" for `iter_content()` and `iter_lines()` contrarilly to what you mentioned here: https://github.com/kennethreitz/requests/pull/589#issuecomment-5567553 This pull request may be canned...
{ "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/597/reactions" }
https://api.github.com/repos/psf/requests/issues/597/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/597.diff", "html_url": "https://github.com/psf/requests/pull/597", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/597.patch", "url": "https://api.github.com/repos/psf/requests/pulls/597" }
true
[ "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1276587) (merged 87f0a92d into 0308a280).\n", "As expected. See comments above and for my previous pull request here: https://github.com/kennethreitz/requests/pull/589#issuecomment-5538019\n", "I agree with @mponton — the current defau...
https://api.github.com/repos/psf/requests/issues/596
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/596/labels{/name}
https://api.github.com/repos/psf/requests/issues/596/comments
https://api.github.com/repos/psf/requests/issues/596/events
https://github.com/psf/requests/issues/596
4,469,499
MDU6SXNzdWU0NDY5NDk5
596
Test failure against Python 3.2
{ "avatar_url": "https://avatars.githubusercontent.com/u/158471?v=4", "events_url": "https://api.github.com/users/djc/events{/privacy}", "followers_url": "https://api.github.com/users/djc/followers", "following_url": "https://api.github.com/users/djc/following{/other_user}", "gists_url": "https://api.github.c...
[]
closed
true
null
[]
null
7
2012-05-08T09:25:39Z
2021-09-09T08:00:45Z
2012-05-08T10:02:40Z
NONE
resolved
PYTHONPATH=build-3.2/lib nosetests --verbosity=1 # E........... ## ERROR: Failure: AttributeError ('module' object has no attribute 'translate') Traceback (most recent call last): File "/usr/lib64/python3.2/site-packages/nose/failure.py", line 37, in runTest raise self.exc_class(self.exc_val).with_traceback(self...
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/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/596/reactions" }
https://api.github.com/repos/psf/requests/issues/596/timeline
null
completed
null
null
false
[ "`make citests` runs the tests (there should be 75 of them). I'm not sure what a bare `nosetests` ends up discovering. Anyway, `oreos` is dead code in trunk, so it isn't breaking the 3.x build.\n\nWe could do a better job of documenting this. Anyway, here are the buildbots:\n\nhttp://travis-ci.org/#!/kennethreitz/r...
https://api.github.com/repos/psf/requests/issues/595
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/595/labels{/name}
https://api.github.com/repos/psf/requests/issues/595/comments
https://api.github.com/repos/psf/requests/issues/595/events
https://github.com/psf/requests/pull/595
4,469,428
MDExOlB1bGxSZXF1ZXN0MTMwNTk0OQ==
595
Session cookies not saved when Session.request is called with return_response=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/660112?v=4", "events_url": "https://api.github.com/users/reclosedev/events{/privacy}", "followers_url": "https://api.github.com/users/reclosedev/followers", "following_url": "https://api.github.com/users/reclosedev/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
10
2012-05-08T09:19:50Z
2021-09-08T15:01:05Z
2012-05-08T15:06:51Z
CONTRIBUTOR
resolved
For example, I want to use `request.async` and save cookies to session: ``` import requests from requests import async s = requests.Session() async.map([async.get('http://httpbin.org/cookies/set/async/yes', session=s)]) print 'cookies:', s.cookies ``` cookies are empty. It's because when `Session.request()` is call...
{ "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/595/reactions" }
https://api.github.com/repos/psf/requests/issues/595/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/595.diff", "html_url": "https://github.com/psf/requests/pull/595", "merged_at": "2012-05-08T15:06:51Z", "patch_url": "https://github.com/psf/requests/pull/595.patch", "url": "https://api.github.com/repos/psf/requests/pulls/595" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1274659) (merged 33f10875 into 0308a280).\n", "Nice catch!\n\nLGTM, except I don't think your test case is actually hitting the async API. Should it be calling `async.map` to make the request?\n\nAdd yourself to `AUTHORS.rst` too? :-)\n...
https://api.github.com/repos/psf/requests/issues/594
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/594/labels{/name}
https://api.github.com/repos/psf/requests/issues/594/comments
https://api.github.com/repos/psf/requests/issues/594/events
https://github.com/psf/requests/pull/594
4,467,417
MDExOlB1bGxSZXF1ZXN0MTMwNTIyOQ==
594
unbreak the Jenkins build again/hopefully :-/
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
4
2012-05-08T05:45:08Z
2021-09-08T15:01:06Z
2012-05-08T05:46:00Z
CONTRIBUTOR
resolved
This makes it so the Python 3 and PyPy Jenkins environments don't try to run Pyflakes, since they can't. If you're fed up with all my attempts to get Jenkins to check pyflakes, that's cool; we can just remove the target. However, there's another issue. We should take `oauthlib` out of `requirements.txt`, as per this ...
{ "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/594/reactions" }
https://api.github.com/repos/psf/requests/issues/594/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/594.diff", "html_url": "https://github.com/psf/requests/pull/594", "merged_at": "2012-05-08T05:46:00Z", "patch_url": "https://github.com/psf/requests/pull/594.patch", "url": "https://api.github.com/repos/psf/requests/pulls/594" }
true
[ "I'd rather not have it honestly :)\n", "But if it works, it works :)\n", "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1273543) (merged 175945b0 into 6fd03d5f).\n", "Yay! http://ci.kennethreitz.com/job/requests/245/\n" ]
https://api.github.com/repos/psf/requests/issues/593
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/593/labels{/name}
https://api.github.com/repos/psf/requests/issues/593/comments
https://api.github.com/repos/psf/requests/issues/593/events
https://github.com/psf/requests/issues/593
4,466,442
MDU6SXNzdWU0NDY2NDQy
593
response.json
{ "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
2
2012-05-08T03:09:31Z
2021-09-09T08:00:48Z
2012-05-08T04:58:34Z
CONTRIBUTOR
resolved
Never adding another decoded type. ever.
{ "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/593/reactions" }
https://api.github.com/repos/psf/requests/issues/593/timeline
null
completed
null
null
false
[ ":fire::wheelchair:\n", ":trollface:\n" ]
https://api.github.com/repos/psf/requests/issues/592
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/592/labels{/name}
https://api.github.com/repos/psf/requests/issues/592/comments
https://api.github.com/repos/psf/requests/issues/592/events
https://github.com/psf/requests/issues/592
4,464,484
MDU6SXNzdWU0NDY0NDg0
592
Internal encoding detection doesn't match external chardet call
{ "avatar_url": "https://avatars.githubusercontent.com/u/229843?v=4", "events_url": "https://api.github.com/users/jessicald/events{/privacy}", "followers_url": "https://api.github.com/users/jessicald/followers", "following_url": "https://api.github.com/users/jessicald/following{/other_user}", "gists_url": "ht...
[]
closed
true
null
[]
null
7
2012-05-07T23:24:31Z
2021-09-09T00:34:22Z
2012-05-08T01:50:53Z
NONE
resolved
**requests**' method for detecting a document's encoding when the `Content-Type` header does not have it seems to work differently than external methods. Referencing #480, **chardet** is used to detect the encoding of a document and presumably the `string.decode()` for converting a `response.content` to `response.text`...
{ "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/592/reactions" }
https://api.github.com/repos/psf/requests/issues/592/timeline
null
completed
null
null
false
[ "That page sends a header `Content-Type: text/html`; since the header contains the string `text`, `requests.utils.get_encoding_from_headers()` returns `ISO-8859-1` and we don't attempt detection with `chardet`.\n\nThis looks like the standards-compliant behavior: http://en.wikipedia.org/wiki/ISO/IEC_8859-1#History\...
https://api.github.com/repos/psf/requests/issues/591
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/591/labels{/name}
https://api.github.com/repos/psf/requests/issues/591/comments
https://api.github.com/repos/psf/requests/issues/591/events
https://github.com/psf/requests/issues/591
4,447,320
MDU6SXNzdWU0NDQ3MzIw
591
XML parse issue with requests, not with urllib2
{ "avatar_url": "https://avatars.githubusercontent.com/u/99983?v=4", "events_url": "https://api.github.com/users/dmishe/events{/privacy}", "followers_url": "https://api.github.com/users/dmishe/followers", "following_url": "https://api.github.com/users/dmishe/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
5
2012-05-06T23:35:10Z
2021-09-09T08:00:48Z
2012-05-08T05:07:57Z
NONE
resolved
This is the XML response i get https://gist.github.com/2624993 When i try to parse it with cElementTree, first i get ascii codec error, then if i encode `response.text.encode(response.encoding)` i get tag mismatched error (62 col 2). With urllib2 it seem to work ok. I'm lost as to what can cause this issue, i would ...
{ "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/591/reactions" }
https://api.github.com/repos/psf/requests/issues/591/timeline
null
completed
null
null
false
[ "Are you using `response.content` or `response.text`?\n", "text\n", "Text is unicode.\n", "Yeah i know that, what's weird is that if get that XML from github, like:\n\n```\nipdb> url = 'https://raw.github.com/gist/2624993/03b7d5e7c9041138f9da132def3e8e1e0c30fa85/gistfile1.xml'\nipdb> ET.fromstring(requests.ge...
https://api.github.com/repos/psf/requests/issues/590
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/590/labels{/name}
https://api.github.com/repos/psf/requests/issues/590/comments
https://api.github.com/repos/psf/requests/issues/590/events
https://github.com/psf/requests/pull/590
4,445,980
MDExOlB1bGxSZXF1ZXN0MTI5NjI0Nw==
590
Fixed broken links in TODO docs.
{ "avatar_url": "https://avatars.githubusercontent.com/u/26338?v=4", "events_url": "https://api.github.com/users/berkerpeksag/events{/privacy}", "followers_url": "https://api.github.com/users/berkerpeksag/followers", "following_url": "https://api.github.com/users/berkerpeksag/following{/other_user}", "gists_u...
[]
closed
true
null
[]
null
2
2012-05-06T19:28:22Z
2021-09-08T15:01:06Z
2012-05-06T19:54:06Z
MEMBER
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/590/reactions" }
https://api.github.com/repos/psf/requests/issues/590/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/590.diff", "html_url": "https://github.com/psf/requests/pull/590", "merged_at": "2012-05-06T19:54:06Z", "patch_url": "https://github.com/psf/requests/pull/590.patch", "url": "https://api.github.com/repos/psf/requests/pulls/590" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1260218) (merged a0f991db into c84012ed).\n", "Thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/589
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/589/labels{/name}
https://api.github.com/repos/psf/requests/issues/589/comments
https://api.github.com/repos/psf/requests/issues/589/events
https://github.com/psf/requests/pull/589
4,444,441
MDExOlB1bGxSZXF1ZXN0MTI5NjAyMg==
589
Fixed chunk_size values in iter_content() and iter_lines(). False default instead of None.
{ "avatar_url": "https://avatars.githubusercontent.com/u/822167?v=4", "events_url": "https://api.github.com/users/mponton/events{/privacy}", "followers_url": "https://api.github.com/users/mponton/followers", "following_url": "https://api.github.com/users/mponton/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
5
2012-05-06T17:08:45Z
2021-09-08T23:10:55Z
2012-05-08T05:07:45Z
NONE
resolved
Following discussion about issue #539 Kenneth agreed that a default `chunk_size` of 1 for `iter_lines()` would make more sense, but apparently changed `chunk_size` for `iter_content()` by mistake instead, which did solve the `iter_lines()` issue but also changed the default `iter_content()` chunk to 1 bytes which is no...
{ "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/589/reactions" }
https://api.github.com/repos/psf/requests/issues/589/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/589.diff", "html_url": "https://github.com/psf/requests/pull/589", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/589.patch", "url": "https://api.github.com/repos/psf/requests/pulls/589" }
true
[ "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1259283) (merged 85e83c40 into c84012ed).\n", "Hmmm, I think the logic in\n\n``` python\nif pending is not None:\n chunk = pending + chunk\nlines = chunk.splitlines()\n\nif lines and lines[-1] and chunk and lines[-1][-1] == chunk[-1]:...
https://api.github.com/repos/psf/requests/issues/588
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/588/labels{/name}
https://api.github.com/repos/psf/requests/issues/588/comments
https://api.github.com/repos/psf/requests/issues/588/events
https://github.com/psf/requests/issues/588
4,439,914
MDU6SXNzdWU0NDM5OTE0
588
Add response.reason
{ "avatar_url": "https://avatars.githubusercontent.com/u/171200?v=4", "events_url": "https://api.github.com/users/btubbs/events{/privacy}", "followers_url": "https://api.github.com/users/btubbs/followers", "following_url": "https://api.github.com/users/btubbs/following{/other_user}", "gists_url": "https://api...
[ { "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
6
2012-05-05T23:41:19Z
2021-09-09T08:00:36Z
2012-06-15T18:38:32Z
NONE
resolved
At work we have an in-house REST API that puts useful information in the text portion of the HTTP status line. I was surprised that this wasn't exposed on the Response object, and I had to go to response.raw.reason to get it. My fork has a fix (https://github.com/btubbs/requests/commit/742c1681d12f7a4b079c4c3ac49c49...
{ "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/588/reactions" }
https://api.github.com/repos/psf/requests/issues/588/timeline
null
completed
null
null
false
[ "Thanks for the suggestion!\n\nHonestly though, I don't really see how useful the response reason is. The number is all that matters to me. \n", "In the API I'm working with, the main culprit is status 409 responses, which use the reason field to say things like \"Bad Username/Password\" or \"Already Exists\", ty...
https://api.github.com/repos/psf/requests/issues/587
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/587/labels{/name}
https://api.github.com/repos/psf/requests/issues/587/comments
https://api.github.com/repos/psf/requests/issues/587/events
https://github.com/psf/requests/pull/587
4,422,207
MDExOlB1bGxSZXF1ZXN0MTI4Nzc5OQ==
587
unbreak the Jenkins build by excluding ./env/*
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
3
2012-05-04T11:47:20Z
2021-09-08T15:01:05Z
2012-05-04T18:48:35Z
CONTRIBUTOR
resolved
Doh! http://ci.kennethreitz.com/job/requests/236/PYTHON=2.7/console This might be a reason to take pyflakes out of the Jenkins target (`ci`).
{ "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/587/reactions" }
https://api.github.com/repos/psf/requests/issues/587/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/587.diff", "html_url": "https://github.com/psf/requests/pull/587", "merged_at": "2012-05-04T18:48:35Z", "patch_url": "https://github.com/psf/requests/pull/587.patch", "url": "https://api.github.com/repos/psf/requests/pulls/587" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1243968) (merged d4227051 into 3d373e2a).\n", "But personally, I'm a really huge fan of pyflakes as a build step. Catches a ton of issues.\n", "thank you sir :P\n" ]
https://api.github.com/repos/psf/requests/issues/586
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/586/labels{/name}
https://api.github.com/repos/psf/requests/issues/586/comments
https://api.github.com/repos/psf/requests/issues/586/events
https://github.com/psf/requests/issues/586
4,421,780
MDU6SXNzdWU0NDIxNzgw
586
Problem installing pycrypto on Windows
{ "avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4", "events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}", "followers_url": "https://api.github.com/users/piotr-dobrogost/followers", "following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}", ...
[]
closed
true
null
[]
null
5
2012-05-04T11:03:05Z
2021-09-09T09:00:30Z
2012-05-04T18:51:41Z
NONE
resolved
oauth library depends on pycrypto library which is not pure Python library (has some c extensions). For this reason pycrypto can't be installed from source on Windows without Visual Studio 2008 installed (needed to compile these c extensions of pycrypto). The simplest solution is to download binary installers and insta...
{ "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/586/reactions" }
https://api.github.com/repos/psf/requests/issues/586/timeline
null
completed
null
null
false
[ "I think we should just focus on fixing #584; this really seems like a problem with `oauthlib`, not with Requests.\n\nYou could file a bug at idangazit/oauthlib ?\n", "Sure we should fix #584. I opened this issue just in case someone had problems installing pycrypto which is needed for oauthlib right now. As to f...
https://api.github.com/repos/psf/requests/issues/585
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/585/labels{/name}
https://api.github.com/repos/psf/requests/issues/585/comments
https://api.github.com/repos/psf/requests/issues/585/events
https://github.com/psf/requests/pull/585
4,421,603
MDExOlB1bGxSZXF1ZXN0MTI4NzUyNw==
585
Fix out-of-range issue with iter_lines (#515).
{ "avatar_url": "https://avatars.githubusercontent.com/u/1699013?v=4", "events_url": "https://api.github.com/users/chazapis/events{/privacy}", "followers_url": "https://api.github.com/users/chazapis/followers", "following_url": "https://api.github.com/users/chazapis/following{/other_user}", "gists_url": "http...
[]
closed
true
null
[]
null
2
2012-05-04T10:46:07Z
2021-09-08T15:01:04Z
2012-05-04T18:49:49Z
CONTRIBUTOR
resolved
This will fix the iter_lines IndexError, which may be caused either by `chunk == ''` (empty string), or `chunk.endswith('\n\n')`.
{ "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/585/reactions" }
https://api.github.com/repos/psf/requests/issues/585/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/585.diff", "html_url": "https://github.com/psf/requests/pull/585", "merged_at": "2012-05-04T18:49:49Z", "patch_url": "https://github.com/psf/requests/pull/585.patch", "url": "https://api.github.com/repos/psf/requests/pulls/585" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1243718) (merged c333bd14 into 3d373e2a).\n", "Excellent, thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/584
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/584/labels{/name}
https://api.github.com/repos/psf/requests/issues/584/comments
https://api.github.com/repos/psf/requests/issues/584/events
https://github.com/psf/requests/issues/584
4,421,130
MDU6SXNzdWU0NDIxMTMw
584
Make oauth an optional dependency
{ "avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4", "events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}", "followers_url": "https://api.github.com/users/piotr-dobrogost/followers", "following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}", ...
[]
closed
true
null
[]
null
13
2012-05-04T10:02:22Z
2021-09-09T08:00:49Z
2012-05-06T07:42:44Z
NONE
resolved
It would be nice not to force oauth on all users especially as it drags in pycrypto which has some binary parts making it more difficult to install.
{ "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/584/reactions" }
https://api.github.com/repos/psf/requests/issues/584/timeline
null
completed
null
null
false
[ "+1.\n\nBasically, if you don't have oauth, all of Requests should work fine except `requests.auth.OAuth1`. I would make it so that `OAuth1` throws an appropriate exception (probably `NotImplementedError`) in `__init__()` if oauth is unavailable.\n\nIf that sounds good, I'll send a pull request.\n", "How about `I...
https://api.github.com/repos/psf/requests/issues/583
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/583/labels{/name}
https://api.github.com/repos/psf/requests/issues/583/comments
https://api.github.com/repos/psf/requests/issues/583/events
https://github.com/psf/requests/issues/583
4,420,626
MDU6SXNzdWU0NDIwNjI2
583
new implementation for safe_mode?
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
8
2012-05-04T09:21:41Z
2021-09-09T08:00:45Z
2012-05-10T18:11:19Z
CONTRIBUTOR
resolved
The current implementation of `safe_mode` seems to be a source of bugs. In safe mode, many members of the `Request` and `Response` objects can be `None`, so they have to be checked manually. Also, Would it be possible to reimplement safe_mode by catching all known exception types (`RequestException`, `ConnectionError...
{ "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/583/reactions" }
https://api.github.com/repos/psf/requests/issues/583/timeline
null
completed
null
null
false
[ "Basically, if I understand the problem correctly, here's how to implement this change.\n1. `git grep -i safe`\n2. Remove all checks for safe mode\n3. Remove `if baz is None` tests that are only relevant in safe mode\n4. Decorate all the functions in `requests/api.py` with something that catches the relevant except...
https://api.github.com/repos/psf/requests/issues/582
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/582/labels{/name}
https://api.github.com/repos/psf/requests/issues/582/comments
https://api.github.com/repos/psf/requests/issues/582/events
https://github.com/psf/requests/pull/582
4,418,977
MDExOlB1bGxSZXF1ZXN0MTI4NjQ4MQ==
582
Tests for persistent and secure cookies
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
2
2012-05-04T06:21:49Z
2021-09-08T15:01:03Z
2012-05-04T06:26:44Z
CONTRIBUTOR
resolved
Spectacularly annoying tests for persistent and secure cookies. This change is test-only.
{ "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/582/reactions" }
https://api.github.com/repos/psf/requests/issues/582/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/582.diff", "html_url": "https://github.com/psf/requests/pull/582", "merged_at": "2012-05-04T06:26:44Z", "patch_url": "https://github.com/psf/requests/pull/582.patch", "url": "https://api.github.com/repos/psf/requests/pulls/582" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1242795) (merged 8fedec78 into 1adaba38).\n", "I'm terrified to add these, but okay :)\n" ]
https://api.github.com/repos/psf/requests/issues/581
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/581/labels{/name}
https://api.github.com/repos/psf/requests/issues/581/comments
https://api.github.com/repos/psf/requests/issues/581/events
https://github.com/psf/requests/pull/581
4,418,553
MDExOlB1bGxSZXF1ZXN0MTI4NjMxOQ==
581
A utility for using environment proxies
{ "avatar_url": "https://avatars.githubusercontent.com/u/343499?v=4", "events_url": "https://api.github.com/users/crodjer/events{/privacy}", "followers_url": "https://api.github.com/users/crodjer/followers", "following_url": "https://api.github.com/users/crodjer/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
4
2012-05-04T05:16:59Z
2021-09-08T15:01:03Z
2012-05-04T06:28:07Z
CONTRIBUTOR
resolved
This provides a utility function that reads the environment proxies. It returns proxies in a format compatible with request's proxy parameter. Moreover, it can be used in the request models for proxy defaults.
{ "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/581/reactions" }
https://api.github.com/repos/psf/requests/issues/581/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/581.diff", "html_url": "https://github.com/psf/requests/pull/581", "merged_at": "2012-05-04T06:28:07Z", "patch_url": "https://github.com/psf/requests/pull/581.patch", "url": "https://api.github.com/repos/psf/requests/pulls/581" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1242492) (merged abc38cf1 into 1adaba38).\n", "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1242554) (merged 7cf6ca80 into 1adaba38).\n", "This is fantastic, thanks a ton!\n", ":sparkles: :cake: :spar...
https://api.github.com/repos/psf/requests/issues/580
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/580/labels{/name}
https://api.github.com/repos/psf/requests/issues/580/comments
https://api.github.com/repos/psf/requests/issues/580/events
https://github.com/psf/requests/pull/580
4,418,212
MDExOlB1bGxSZXF1ZXN0MTI4NjE1Mg==
580
Fix and test for #458
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
3
2012-05-04T04:18:58Z
2021-09-08T15:01:04Z
2012-05-04T04:33:42Z
CONTRIBUTOR
resolved
Fix and test for #458.
{ "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/580/reactions" }
https://api.github.com/repos/psf/requests/issues/580/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/580.diff", "html_url": "https://github.com/psf/requests/pull/580", "merged_at": "2012-05-04T04:33:42Z", "patch_url": "https://github.com/psf/requests/pull/580.patch", "url": "https://api.github.com/repos/psf/requests/pulls/580" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1242233) (merged 35ec6bb6 into 317f64a1).\n", "Heh, if the user sets `headers={'connection': 'keep-alive'}` and `config={'keep_alive': False}`, which should win? Right now it's the config.\n", "You're amazing.\n" ]
https://api.github.com/repos/psf/requests/issues/579
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/579/labels{/name}
https://api.github.com/repos/psf/requests/issues/579/comments
https://api.github.com/repos/psf/requests/issues/579/events
https://github.com/psf/requests/pull/579
4,417,727
MDExOlB1bGxSZXF1ZXN0MTI4NTk3Ng==
579
Changes for #574
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
3
2012-05-04T03:02:48Z
2021-09-08T15:01:02Z
2012-05-04T06:29:04Z
CONTRIBUTOR
resolved
Mostly what was discussed for #574. This patch will run pyflakes on a whitelisted set of files during the Jenkins build (but not the Travis); I can remove that if you'd prefer to keep it separate.
{ "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/579/reactions" }
https://api.github.com/repos/psf/requests/issues/579/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/579.diff", "html_url": "https://github.com/psf/requests/pull/579", "merged_at": "2012-05-04T06:29:04Z", "patch_url": "https://github.com/psf/requests/pull/579.patch", "url": "https://api.github.com/repos/psf/requests/pulls/579" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1241977) (merged bcc4125a into 317f64a1).\n", "BTW, Jenkins used to run the `init` target, but doesn't anymore after 57ccd7e65c30 (I foolishly assumed no one was using the original `ci` target). Does Jenkins need that to work?\n", "Th...
https://api.github.com/repos/psf/requests/issues/578
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/578/labels{/name}
https://api.github.com/repos/psf/requests/issues/578/comments
https://api.github.com/repos/psf/requests/issues/578/events
https://github.com/psf/requests/issues/578
4,417,361
MDU6SXNzdWU0NDE3MzYx
578
document new cookie API (and maybe improve it)
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
9
2012-05-04T02:05:26Z
2021-09-09T07:05:28Z
2012-07-27T05:53:30Z
CONTRIBUTOR
resolved
The `cookies` member of the `Response` and `Session` objects is no longer a dict, it's a `RequestsCookieJar` that behaves like a dict in some cases. However: 1. You can't take `dict(resp.cookies)`, since iteration over a `CookieJar` gives you the `Cookie` objects, which are not valid keys for the dict interface (it exp...
{ "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/578/reactions" }
https://api.github.com/repos/psf/requests/issues/578/timeline
null
completed
null
null
false
[ "It seems reasonable to have cookies.keys return cookie names, and cookies.values return values, so that dict(resp.cookies) returns a name:value dict. The get/set methods would still be available for when it is necessary to get access to the actual cookie objects.\n", "+100. We should define `keys()`, `items()`, ...
https://api.github.com/repos/psf/requests/issues/577
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/577/labels{/name}
https://api.github.com/repos/psf/requests/issues/577/comments
https://api.github.com/repos/psf/requests/issues/577/events
https://github.com/psf/requests/pull/577
4,401,102
MDExOlB1bGxSZXF1ZXN0MTI3ODM5OA==
577
Fix and test for #537
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
1
2012-05-03T08:32:26Z
2021-09-08T15:01:02Z
2012-05-03T08:36:12Z
CONTRIBUTOR
resolved
Fix and test for #537. Please first fastforward master into develop and then merge #572, though :-)
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/577/reactions" }
https://api.github.com/repos/psf/requests/issues/577/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/577.diff", "html_url": "https://github.com/psf/requests/pull/577", "merged_at": "2012-05-03T08:36:12Z", "patch_url": "https://github.com/psf/requests/pull/577.patch", "url": "https://api.github.com/repos/psf/requests/pulls/577" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1234188) (merged 9bf53676 into 373a34a1).\n" ]
https://api.github.com/repos/psf/requests/issues/576
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/576/labels{/name}
https://api.github.com/repos/psf/requests/issues/576/comments
https://api.github.com/repos/psf/requests/issues/576/events
https://github.com/psf/requests/issues/576
4,400,105
MDU6SXNzdWU0NDAwMTA1
576
local testing mock server
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
6
2012-05-03T06:44:06Z
2021-09-09T09:00:33Z
2012-05-03T06:54:44Z
CONTRIBUTOR
resolved
Right now, it's not really possible to test things like secure cookies that aren't supported by httpbin.org. urllib3 has a "dummy server": https://github.com/shazow/urllib3/blob/master/dummyserver/server.py that can be used to serve one-off canned responses from `localhost` --- providing full control over headers, bo...
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/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/576/reactions" }
https://api.github.com/repos/psf/requests/issues/576/timeline
null
completed
null
null
false
[ "I run httpbin locally :)\n", "Hmm, yeah, the `response_headers` method of httpbin should provide most of this functionality.\n\nBut would it be OK to start an httpbin (possibly in-process) from inside the unit tests? And to have them depend on the httpbin package?\n", "We used to do that, but had to stop for P...
https://api.github.com/repos/psf/requests/issues/575
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/575/labels{/name}
https://api.github.com/repos/psf/requests/issues/575/comments
https://api.github.com/repos/psf/requests/issues/575/events
https://github.com/psf/requests/issues/575
4,399,489
MDU6SXNzdWU0Mzk5NDg5
575
Redirect of multipart-encoded post
{ "avatar_url": "https://avatars.githubusercontent.com/u/1701155?v=4", "events_url": "https://api.github.com/users/VeniceBeachBum/events{/privacy}", "followers_url": "https://api.github.com/users/VeniceBeachBum/followers", "following_url": "https://api.github.com/users/VeniceBeachBum/following{/other_user}", ...
[]
closed
true
null
[]
null
1
2012-05-03T05:09:15Z
2021-09-09T08:00:46Z
2012-05-08T05:14:23Z
NONE
resolved
I'm scripting a site that returns a redirect in response to the post of a multipart-encoded form. When I do so, I get the following exception: ``` File "C:\Python27\lib\site-packages\requests\sessions.py", line 259, in post return self.request('post', url, data=data, **kwargs) File "C:\Python27\lib\site-packages\...
{ "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/575/reactions" }
https://api.github.com/repos/psf/requests/issues/575/timeline
null
completed
null
null
false
[ "Interesting catch, thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/574
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/574/labels{/name}
https://api.github.com/repos/psf/requests/issues/574/comments
https://api.github.com/repos/psf/requests/issues/574/events
https://github.com/psf/requests/issues/574
4,398,867
MDU6SXNzdWU0Mzk4ODY3
574
run pyflakes during CI builds?
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
11
2012-05-03T03:26:07Z
2021-09-09T09:00:31Z
2012-05-04T11:40:13Z
CONTRIBUTOR
resolved
Sorry about that missing import :-/ Would a Travis build step that runs pyflakes on all relevant files be helpful? I'd whitelist the following: - `docs/` - `requests/packages/urllib3/` - `tests/` - anything named `__init__.py` or `compat.py`.
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/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/574/reactions" }
https://api.github.com/repos/psf/requests/issues/574/timeline
null
completed
null
null
false
[ "Oh yeah, `requests/packages/oreos/` too.\n", "No need for travis, but I wouldn't mind adding it to http://ci.kennethreitz.com tests.\n", "Ah. What make target does that service use?\n", "`make ci`. We can add another if needed.\n", "Cool, I added a separate target for travis; I'll send a pull request for t...
https://api.github.com/repos/psf/requests/issues/573
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/573/labels{/name}
https://api.github.com/repos/psf/requests/issues/573/comments
https://api.github.com/repos/psf/requests/issues/573/events
https://github.com/psf/requests/pull/573
4,393,649
MDExOlB1bGxSZXF1ZXN0MTI3NTYyMA==
573
Lazily encode data, params, files
{ "avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4", "events_url": "https://api.github.com/users/idan/events{/privacy}", "followers_url": "https://api.github.com/users/idan/followers", "following_url": "https://api.github.com/users/idan/following{/other_user}", "gists_url": "https://api.github...
[]
closed
true
null
[]
null
2
2012-05-02T21:11:19Z
2021-09-08T15:01:01Z
2012-05-02T21:19:56Z
CONTRIBUTOR
resolved
Previously, data, params, and files were encoded and stored in Request.**init**, and subsequently put into service during Request.send. The problem with this approach is that hooks and auth callables need to be aware of the eager encoding, and if they touch the originals, make sure to update the encoded versions. A be...
{ "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/573/reactions" }
https://api.github.com/repos/psf/requests/issues/573/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/573.diff", "html_url": "https://github.com/psf/requests/pull/573", "merged_at": "2012-05-02T21:19:56Z", "patch_url": "https://github.com/psf/requests/pull/573.patch", "url": "https://api.github.com/repos/psf/requests/pulls/573" }
true
[ "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1230802) (merged cf6b2042 into 53d60cac).\n", ":sparkles: :cake: :sparkles:\n" ]
https://api.github.com/repos/psf/requests/issues/572
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/572/labels{/name}
https://api.github.com/repos/psf/requests/issues/572/comments
https://api.github.com/repos/psf/requests/issues/572/events
https://github.com/psf/requests/pull/572
4,379,700
MDExOlB1bGxSZXF1ZXN0MTI2OTg2MQ==
572
cleanup, redux
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
6
2012-05-02T07:10:18Z
2021-09-08T15:01:01Z
2012-05-03T08:35:47Z
CONTRIBUTOR
resolved
- Raise a ValueError on .text when chardet is unavailable - `make ci` runs everything except test_requests_async and test_requests_ext
{ "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/572/reactions" }
https://api.github.com/repos/psf/requests/issues/572/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/572.diff", "html_url": "https://github.com/psf/requests/pull/572", "merged_at": "2012-05-03T08:35:47Z", "patch_url": "https://github.com/psf/requests/pull/572.patch", "url": "https://api.github.com/repos/psf/requests/pulls/572" }
true
[ "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1224921) (merged d4f48c0d into 53d60cac).\n", "This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/1224957) (merged 628ffd65 into 53d60cac).\n", "This pull request [passes](http://travis-ci.org/kennethreitz/req...
https://api.github.com/repos/psf/requests/issues/571
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/571/labels{/name}
https://api.github.com/repos/psf/requests/issues/571/comments
https://api.github.com/repos/psf/requests/issues/571/events
https://github.com/psf/requests/pull/571
4,379,377
MDExOlB1bGxSZXF1ZXN0MTI2OTc1NA==
571
Various forms of "cleanup"
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
2
2012-05-02T06:33:07Z
2021-09-08T15:01:00Z
2012-05-02T06:39:09Z
CONTRIBUTOR
resolved
Here are several atomic, largely-unrelated changes, ordered roughly from least to most controversial. Feel free to take whichever ones you like :-) - Restore something I accidentally removed from the .gitignore - Small documentation fix for the new cookie API - Don't crash if we can't import chardet --- assume utf8 ins...
{ "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/571/reactions" }
https://api.github.com/repos/psf/requests/issues/571/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/571.diff", "html_url": "https://github.com/psf/requests/pull/571", "merged_at": "2012-05-02T06:39:09Z", "patch_url": "https://github.com/psf/requests/pull/571.patch", "url": "https://api.github.com/repos/psf/requests/pulls/571" }
true
[ "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1224813) (merged a453a78c into 45be14ed).\n", "merged, thanks!\n\n:cake:\n" ]
https://api.github.com/repos/psf/requests/issues/570
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/570/labels{/name}
https://api.github.com/repos/psf/requests/issues/570/comments
https://api.github.com/repos/psf/requests/issues/570/events
https://github.com/psf/requests/issues/570
4,370,161
MDU6SXNzdWU0MzcwMTYx
570
Unnecessary use of list() and items() in "for" loops
{ "avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4", "events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}", "followers_url": "https://api.github.com/users/piotr-dobrogost/followers", "following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}", ...
[]
closed
true
null
[]
null
4
2012-05-01T17:11:05Z
2021-09-09T09:00:35Z
2012-05-01T18:43:08Z
NONE
resolved
In many `for` loops there is unnecessary use of list() and items() instead of iteritems(). One example [`for (k, v) in list(defaults.items()):`](https://github.com/kennethreitz/requests/blob/775b6f6f0098ffa9edd3874b1af4b98378377211/requests/sessions.py#L83). Adding list() and changing iteritems() to items() was done in...
{ "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/570/reactions" }
https://api.github.com/repos/psf/requests/issues/570/timeline
null
completed
null
null
false
[ "Based on the commit message, I'm guessing it's something to do with Py32. :P\n", "I'm sure there was a reason at the time :)\n", "How about reverting to the proper state until you find out what was the reason? :)\n", ":bike: :house:\n" ]
https://api.github.com/repos/psf/requests/issues/569
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/569/labels{/name}
https://api.github.com/repos/psf/requests/issues/569/comments
https://api.github.com/repos/psf/requests/issues/569/events
https://github.com/psf/requests/pull/569
4,356,919
MDExOlB1bGxSZXF1ZXN0MTI2MDI4MQ==
569
Proper test for str vs unicode when preparing data
{ "avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4", "events_url": "https://api.github.com/users/idan/events{/privacy}", "followers_url": "https://api.github.com/users/idan/followers", "following_url": "https://api.github.com/users/idan/following{/other_user}", "gists_url": "https://api.github...
[]
closed
true
null
[]
null
3
2012-04-30T20:12:08Z
2021-09-08T23:06:31Z
2012-05-01T10:01:24Z
CONTRIBUTOR
resolved
In python 2.x, requests sets str = unicode in requests/compat.py. This causes isinstance(foo, str) to return True even if foo is a unicode string. Supersedes #556, which I totally broke.
{ "avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4", "events_url": "https://api.github.com/users/idan/events{/privacy}", "followers_url": "https://api.github.com/users/idan/followers", "following_url": "https://api.github.com/users/idan/following{/other_user}", "gists_url": "https://api.github...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/569/reactions" }
https://api.github.com/repos/psf/requests/issues/569/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/569.diff", "html_url": "https://github.com/psf/requests/pull/569", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/569.patch", "url": "https://api.github.com/repos/psf/requests/pulls/569" }
true
[ "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1213530) (merged 0ec0e9f3 into ef0bf79f).\n", "Le big sigh, this breaks something. Working it out, fix coming shortly.\n", "Let's all agree to forget I ever made this PR.\n" ]
https://api.github.com/repos/psf/requests/issues/568
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/568/labels{/name}
https://api.github.com/repos/psf/requests/issues/568/comments
https://api.github.com/repos/psf/requests/issues/568/events
https://github.com/psf/requests/issues/568
4,342,267
MDU6SXNzdWU0MzQyMjY3
568
Import error using requests.async with 10000 URLs
{ "avatar_url": "https://avatars.githubusercontent.com/u/294177?v=4", "events_url": "https://api.github.com/users/esaurito/events{/privacy}", "followers_url": "https://api.github.com/users/esaurito/followers", "following_url": "https://api.github.com/users/esaurito/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
3
2012-04-29T18:13:54Z
2021-09-09T08:00:44Z
2012-05-10T22:06:06Z
NONE
resolved
I'm using requests to download asynchronously and parse the content of a bunch of URLs from different hosts. When the number of URLs is small (up to 1000 URLs) all works fine. When I run the same script with 10000 I get the following error **only when there are about 10 URLs left to download**: ``` python Traceback (m...
{ "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/568/reactions" }
https://api.github.com/repos/psf/requests/issues/568/timeline
null
completed
null
null
false
[ "It is curious to me why you aren't using a generator for this, but it looks like it wouldn't work anyway due to this sorcery\nhttps://github.com/kennethreitz/requests/blob/develop/requests/async.py#L79. \n\nWell there is the imap function that looks to be generator compatible, but its not mentioned in the docs any...
https://api.github.com/repos/psf/requests/issues/567
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/567/labels{/name}
https://api.github.com/repos/psf/requests/issues/567/comments
https://api.github.com/repos/psf/requests/issues/567/events
https://github.com/psf/requests/issues/567
4,332,409
MDU6SXNzdWU0MzMyNDA5
567
Document Client Certs
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
[ { "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
2
2012-04-28T01:53:57Z
2021-09-09T06:00:51Z
2012-08-16T21:46:00Z
CONTRIBUTOR
resolved
https://gist.github.com/1943933
{ "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/567/reactions" }
https://api.github.com/repos/psf/requests/issues/567/timeline
null
completed
null
null
false
[ "Is this done, should the issue be closed?\n", "Also yes. =)\n" ]
https://api.github.com/repos/psf/requests/issues/566
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/566/labels{/name}
https://api.github.com/repos/psf/requests/issues/566/comments
https://api.github.com/repos/psf/requests/issues/566/events
https://github.com/psf/requests/pull/566
4,308,490
MDExOlB1bGxSZXF1ZXN0MTI0MTEwMw==
566
Update AUTHORS.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/6088?v=4", "events_url": "https://api.github.com/users/bitprophet/events{/privacy}", "followers_url": "https://api.github.com/users/bitprophet/followers", "following_url": "https://api.github.com/users/bitprophet/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
8
2012-04-26T18:17:20Z
2021-09-08T23:06:18Z
2012-04-26T18:32:14Z
NONE
resolved
lulz
{ "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/566/reactions" }
https://api.github.com/repos/psf/requests/issues/566/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/566.diff", "html_url": "https://github.com/psf/requests/pull/566", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/566.patch", "url": "https://api.github.com/repos/psf/requests/pulls/566" }
true
[ ":trollface:\n", "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1182970) (merged 72a75838 into ef0bf79f).\n", "![noooooooo](http://www.soshichan.org/g/src/132358305526.jpg)\n", "FUCK THIS SHIT\n", ":-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1::-1:...
https://api.github.com/repos/psf/requests/issues/565
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/565/labels{/name}
https://api.github.com/repos/psf/requests/issues/565/comments
https://api.github.com/repos/psf/requests/issues/565/events
https://github.com/psf/requests/pull/565
4,276,005
MDExOlB1bGxSZXF1ZXN0MTIyODM0Mw==
565
Support CookieJar, references #281
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
30
2012-04-25T07:58:50Z
2021-09-08T23:06:18Z
2012-05-02T00:22:38Z
CONTRIBUTOR
resolved
This is my update of dhagrow's branch. It makes the backing store for cookies be a `CookieJar`, and adds compatibility with passed-in `CookieJar` subclasses like `LWPCookieJar`. The default `CookieJar` implementation is compatible with existing code that expects `response.cookies` to be a dict. This branch is complet...
{ "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/565/reactions" }
https://api.github.com/repos/psf/requests/issues/565/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/565.diff", "html_url": "https://github.com/psf/requests/pull/565", "merged_at": "2012-05-02T00:22:38Z", "patch_url": "https://github.com/psf/requests/pull/565.patch", "url": "https://api.github.com/repos/psf/requests/pulls/565" }
true
[ "Right now, in `develop` and in this branch, it looks like if you pass in extra cookies via the `cookies` kwarg, they get stuck to the session:\n\nhttps://gist.github.com/2488388\n\nIs this correct / expected?\n", "Python 3 definitely needs to be supported :)\n", "This looks fantastic, btw. Going to dive in sho...
https://api.github.com/repos/psf/requests/issues/564
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/564/labels{/name}
https://api.github.com/repos/psf/requests/issues/564/comments
https://api.github.com/repos/psf/requests/issues/564/events
https://github.com/psf/requests/pull/564
4,262,296
MDExOlB1bGxSZXF1ZXN0MTIyMzAxNw==
564
Fix the ordered list formatting that I screwed up with my last pull request :-(
{ "avatar_url": "https://avatars.githubusercontent.com/u/305268?v=4", "events_url": "https://api.github.com/users/msabramo/events{/privacy}", "followers_url": "https://api.github.com/users/msabramo/followers", "following_url": "https://api.github.com/users/msabramo/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
1
2012-04-24T15:44:03Z
2021-09-08T15:01:00Z
2012-04-24T15:44:47Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/564/reactions" }
https://api.github.com/repos/psf/requests/issues/564/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/564.diff", "html_url": "https://github.com/psf/requests/pull/564", "merged_at": "2012-04-24T15:44:47Z", "patch_url": "https://github.com/psf/requests/pull/564.patch", "url": "https://api.github.com/repos/psf/requests/pulls/564" }
true
[ ":cake:\n" ]
https://api.github.com/repos/psf/requests/issues/563
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/563/labels{/name}
https://api.github.com/repos/psf/requests/issues/563/comments
https://api.github.com/repos/psf/requests/issues/563/events
https://github.com/psf/requests/pull/563
4,262,142
MDExOlB1bGxSZXF1ZXN0MTIyMjk0Ng==
563
Add a few links and minor tweaks to README.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/305268?v=4", "events_url": "https://api.github.com/users/msabramo/events{/privacy}", "followers_url": "https://api.github.com/users/msabramo/followers", "following_url": "https://api.github.com/users/msabramo/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
1
2012-04-24T15:37:17Z
2021-09-08T23:06:10Z
2012-04-24T15:38:05Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/563/reactions" }
https://api.github.com/repos/psf/requests/issues/563/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/563.diff", "html_url": "https://github.com/psf/requests/pull/563", "merged_at": "2012-04-24T15:38:05Z", "patch_url": "https://github.com/psf/requests/pull/563.patch", "url": "https://api.github.com/repos/psf/requests/pulls/563" }
true
[ "Thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/562
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/562/labels{/name}
https://api.github.com/repos/psf/requests/issues/562/comments
https://api.github.com/repos/psf/requests/issues/562/events
https://github.com/psf/requests/pull/562
4,256,066
MDExOlB1bGxSZXF1ZXN0MTIyMDMzMg==
562
replace utils.randombytes with os.urandom
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
7
2012-04-24T09:06:04Z
2021-09-08T15:00:59Z
2012-05-16T05:49:27Z
CONTRIBUTOR
resolved
My understanding is that Python's `random` module is not recommended for cryptographic use. `os.urandom` should provide random bytes on all major platforms: Linux, OS X, *nix, and Windows: http://docs.python.org/library/os.html#os.urandom http://docs.python.org/release/3.0.1/library/os.html#os.urandom Since the funct...
{ "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/562/reactions" }
https://api.github.com/repos/psf/requests/issues/562/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/562.diff", "html_url": "https://github.com/psf/requests/pull/562", "merged_at": "2012-05-16T05:49:27Z", "patch_url": "https://github.com/psf/requests/pull/562.patch", "url": "https://api.github.com/repos/psf/requests/pulls/562" }
true
[ "This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/1217425) (merged f1b054e4 into 2159c802).\n", "I'll stick with it the way it is _for now_ because that's the same behavior the stdlib uses\n", "Thanks though :)\n", "I see this in my version of urllib2:\n\n``` python\ndef randombytes...
https://api.github.com/repos/psf/requests/issues/561
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/561/labels{/name}
https://api.github.com/repos/psf/requests/issues/561/comments
https://api.github.com/repos/psf/requests/issues/561/events
https://github.com/psf/requests/pull/561
4,237,429
MDExOlB1bGxSZXF1ZXN0MTIxMjU3OQ==
561
Fix decoding of invalid %encodings in URLs (Python 3.x compatible)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1553?v=4", "events_url": "https://api.github.com/users/Jonty/events{/privacy}", "followers_url": "https://api.github.com/users/Jonty/followers", "following_url": "https://api.github.com/users/Jonty/following{/other_user}", "gists_url": "https://api.gith...
[]
closed
true
null
[]
null
1
2012-04-23T09:55:39Z
2021-09-08T23:11:02Z
2012-04-23T13:26:02Z
CONTRIBUTOR
resolved
An updated version of https://github.com/kennethreitz/requests/pull/535 with Python 3.x compatibility.
{ "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/561/reactions" }
https://api.github.com/repos/psf/requests/issues/561/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/561.diff", "html_url": "https://github.com/psf/requests/pull/561", "merged_at": "2012-04-23T13:26:02Z", "patch_url": "https://github.com/psf/requests/pull/561.patch", "url": "https://api.github.com/repos/psf/requests/pulls/561" }
true
[ "Thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/560
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/560/labels{/name}
https://api.github.com/repos/psf/requests/issues/560/comments
https://api.github.com/repos/psf/requests/issues/560/events
https://github.com/psf/requests/issues/560
4,227,818
MDU6SXNzdWU0MjI3ODE4
560
Redefine order of pre_request hook and auth execution
{ "avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4", "events_url": "https://api.github.com/users/idan/events{/privacy}", "followers_url": "https://api.github.com/users/idan/followers", "following_url": "https://api.github.com/users/idan/following{/other_user}", "gists_url": "https://api.github...
[ { "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
0
2012-04-22T06:37:13Z
2021-09-09T08:00:47Z
2012-05-08T05:09:31Z
CONTRIBUTOR
resolved
## Background Auth callables, in their current incarnation, run much in the same fashion as a hook—they get the request at some point after it is asked to execute itself, and may mutate it. Currently, auth callables run before the pre_request hook. The problem with this arises with auth schemes that expect the reques...
{ "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/560/reactions" }
https://api.github.com/repos/psf/requests/issues/560/timeline
null
completed
null
null
false
[]
https://api.github.com/repos/psf/requests/issues/559
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/559/labels{/name}
https://api.github.com/repos/psf/requests/issues/559/comments
https://api.github.com/repos/psf/requests/issues/559/events
https://github.com/psf/requests/pull/559
4,220,932
MDExOlB1bGxSZXF1ZXN0MTIwNzQ4MA==
559
Issue #526
{ "avatar_url": "https://avatars.githubusercontent.com/u/503436?v=4", "events_url": "https://api.github.com/users/barberj/events{/privacy}", "followers_url": "https://api.github.com/users/barberj/followers", "following_url": "https://api.github.com/users/barberj/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
24
2012-04-21T02:21:36Z
2021-09-08T23:06:24Z
2012-05-08T04:58:18Z
CONTRIBUTOR
resolved
Added test and updated _encode_files. Had me really confused there for a moment with the bytes = str, str = unicode.... I haven't gotten a py3 environment up yet. I really need to, I know. Passes all tests in py2.
{ "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/559/reactions" }
https://api.github.com/repos/psf/requests/issues/559/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/559.diff", "html_url": "https://github.com/psf/requests/pull/559", "merged_at": "2012-05-08T04:58:20Z", "patch_url": "https://github.com/psf/requests/pull/559.patch", "url": "https://api.github.com/repos/psf/requests/pulls/559" }
true
[ "Hows it look?\n", "Hmm, is there a way to kick Travis for arbitrary branches?\n\n@travisbot kick\n", "did i do something wrong? should i pull request off a local branch named develop?\n", "Oh, no, you didn't do anything wrong. I was just curious if I could get Travis to run tests on your branch by talking to...
https://api.github.com/repos/psf/requests/issues/558
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/558/labels{/name}
https://api.github.com/repos/psf/requests/issues/558/comments
https://api.github.com/repos/psf/requests/issues/558/events
https://github.com/psf/requests/issues/558
4,202,464
MDU6SXNzdWU0MjAyNDY0
558
Remove chardet from dependencies
{ "avatar_url": "https://avatars.githubusercontent.com/u/120601?v=4", "events_url": "https://api.github.com/users/stevvooe/events{/privacy}", "followers_url": "https://api.github.com/users/stevvooe/followers", "following_url": "https://api.github.com/users/stevvooe/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
11
2012-04-19T23:13:37Z
2021-09-09T09:00:36Z
2012-04-20T03:39:02Z
NONE
resolved
Chardet is LGPL, which is unfortunate to have installed when using an ISC licensed library.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/558/reactions" }
https://api.github.com/repos/psf/requests/issues/558/timeline
null
completed
null
null
false
[ "It is indeed a shame, but it's the only available module that works. \n\nLuckily, Requests works fine without it. You just don't get character ecoding guessing.\n", "Yes, it is conditionally imported, but it gets installed when installing requests via pip. Is it possible to remove it from the setup.py?\n", "Un...
https://api.github.com/repos/psf/requests/issues/557
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/557/labels{/name}
https://api.github.com/repos/psf/requests/issues/557/comments
https://api.github.com/repos/psf/requests/issues/557/events
https://github.com/psf/requests/issues/557
4,199,296
MDU6SXNzdWU0MTk5Mjk2
557
Seeing SSLError: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
{ "avatar_url": "https://avatars.githubusercontent.com/u/519545?v=4", "events_url": "https://api.github.com/users/stantonk/events{/privacy}", "followers_url": "https://api.github.com/users/stantonk/followers", "following_url": "https://api.github.com/users/stantonk/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
34
2012-04-19T20:18:29Z
2014-10-15T08:10:17Z
2013-01-26T18:10:25Z
NONE
null
In our logs, I noticed this error when using requests to perform a POST to Facebook's Graph API using HTTPS: ``` File "/home/api/api/lib/python2.7/site-packages/requests/api.py", line 85, in post return request('post', url, data=data, **kwargs) File "/home/api/api/lib/python2.7/site-packages/requests/api.py", li...
{ "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/557/reactions" }
https://api.github.com/repos/psf/requests/issues/557/timeline
null
completed
null
null
false
[ "Do you have `certifi` installed?\n", "Yessir. I just double checked on all our servers and ran `pip freeze` in each of our virtualenvs:\n\n... snip ...\ncertifi==0.0.8\nchardet==1.0.1\nhttplib2==0.7.2\nrequests==0.11.1\n... snip ...\n", "Hmm, can you do this?\n\n``` python\nimport cerifi\nprint certifi.where()...
https://api.github.com/repos/psf/requests/issues/556
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/556/labels{/name}
https://api.github.com/repos/psf/requests/issues/556/comments
https://api.github.com/repos/psf/requests/issues/556/events
https://github.com/psf/requests/pull/556
4,186,347
MDExOlB1bGxSZXF1ZXN0MTE5MjMwOQ==
556
Proper test for str vs unicode when preparing data
{ "avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4", "events_url": "https://api.github.com/users/idan/events{/privacy}", "followers_url": "https://api.github.com/users/idan/followers", "following_url": "https://api.github.com/users/idan/following{/other_user}", "gists_url": "https://api.github...
[]
closed
true
null
[]
null
6
2012-04-19T06:22:51Z
2021-09-08T15:00:59Z
2012-04-30T20:12:32Z
CONTRIBUTOR
resolved
In python 2.x, requests sets str = unicode in `requests/compat.py`. This causes `isinstance(foo, str)` to return True even if foo is a unicode string. Would appreciate review of this change because my understanding of how this impacts py3x compatibility is tenuous.
{ "avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4", "events_url": "https://api.github.com/users/idan/events{/privacy}", "followers_url": "https://api.github.com/users/idan/followers", "following_url": "https://api.github.com/users/idan/following{/other_user}", "gists_url": "https://api.github...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/556/reactions" }
https://api.github.com/repos/psf/requests/issues/556/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/556.diff", "html_url": "https://github.com/psf/requests/pull/556", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/556.patch", "url": "https://api.github.com/repos/psf/requests/pulls/556" }
true
[ "I just pushed a change for issue 526. because of the compat (byte=str; str=unicode) i did a isinstance(x, byte) when i was checking for str. \n\nIs this wrong? Should i update to be consistent with your change?\n\nhttps://github.com/kennethreitz/requests/pull/559\n", "@barberj I don't know—that's the point. I'm...
https://api.github.com/repos/psf/requests/issues/555
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/555/labels{/name}
https://api.github.com/repos/psf/requests/issues/555/comments
https://api.github.com/repos/psf/requests/issues/555/events
https://github.com/psf/requests/issues/555
4,184,133
MDU6SXNzdWU0MTg0MTMz
555
IronPython: LookupError: unknown encoding: idna
{ "avatar_url": "https://avatars.githubusercontent.com/u/1376355?v=4", "events_url": "https://api.github.com/users/bhadra/events{/privacy}", "followers_url": "https://api.github.com/users/bhadra/followers", "following_url": "https://api.github.com/users/bhadra/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
3
2012-04-19T01:11:54Z
2021-09-09T09:00:37Z
2012-04-20T03:40:06Z
NONE
resolved
C:\MyProjects\IronPython>ipy -X:FullFrames IronPython 2.7.2.1 (2.7.0.40) on .NET 4.0.30319.239 (32-bit) Type "help", "copyright", "credits" or "license" for more information. > > > import requests > > > r = requests.get('https://github.com/timeline.json') > > > Traceback (most recent call last): > > > File "C:MyProj...
{ "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/555/reactions" }
https://api.github.com/repos/psf/requests/issues/555/timeline
null
completed
null
null
false
[ "IronPython should really fix that ;)\n", "@kennethreitz: Can you suggest a workaround?\n", "No suggestions at this time. That encoding is pretty key to requests's functionality. I'd follow up here: \n\nhttp://ironpython.codeplex.com/workitem/4565\n" ]
https://api.github.com/repos/psf/requests/issues/554
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/554/labels{/name}
https://api.github.com/repos/psf/requests/issues/554/comments
https://api.github.com/repos/psf/requests/issues/554/events
https://github.com/psf/requests/pull/554
4,166,817
MDExOlB1bGxSZXF1ZXN0MTE4NDIwNw==
554
Breaks Py3k
{ "avatar_url": "https://avatars.githubusercontent.com/u/73153?v=4", "events_url": "https://api.github.com/users/bluemoon/events{/privacy}", "followers_url": "https://api.github.com/users/bluemoon/followers", "following_url": "https://api.github.com/users/bluemoon/following{/other_user}", "gists_url": "https:...
[]
closed
true
null
[]
null
8
2012-04-18T06:09:24Z
2021-09-08T23:08:17Z
2012-04-23T02:36:19Z
NONE
resolved
The u before the string in the tests breaks py3k
{ "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/554/reactions" }
https://api.github.com/repos/psf/requests/issues/554/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/554.diff", "html_url": "https://github.com/psf/requests/pull/554", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/554.patch", "url": "https://api.github.com/repos/psf/requests/pulls/554" }
true
[ "I'll likely be moving to support only 3.3 soon, because of this.\n", "This will leave next Ubuntu LTS users without python 3 support by default. Isn't it better to drop python 2.5 support (PSF already drops python 2.5 support) and use `from __future__ import unicode_literals` across the codebase?\n", "I mean o...
https://api.github.com/repos/psf/requests/issues/553
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/553/labels{/name}
https://api.github.com/repos/psf/requests/issues/553/comments
https://api.github.com/repos/psf/requests/issues/553/events
https://github.com/psf/requests/issues/553
4,165,952
MDU6SXNzdWU0MTY1OTUy
553
IronPython: import issue
{ "avatar_url": "https://avatars.githubusercontent.com/u/1376355?v=4", "events_url": "https://api.github.com/users/bhadra/events{/privacy}", "followers_url": "https://api.github.com/users/bhadra/followers", "following_url": "https://api.github.com/users/bhadra/following{/other_user}", "gists_url": "https://ap...
[]
closed
true
null
[]
null
9
2012-04-18T03:46:15Z
2021-09-09T09:00:34Z
2012-05-03T06:11:50Z
NONE
resolved
It will be great if requests is made compatible with IronPython. This is a pure python library. So it should be feasible.
{ "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/553/reactions" }
https://api.github.com/repos/psf/requests/issues/553/timeline
null
completed
null
null
false
[ "+1 for this, also for PyPy support.\n\nDoes requests not work out of the box in these environments right now? Are there any specific bugs?\n", "requests does not work out of box in IronPython. \"import requests\" fails.\n", "Do you have a traceback?\n", "I actively test Requests against PyPy.\n\nThere's no r...
https://api.github.com/repos/psf/requests/issues/552
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/552/labels{/name}
https://api.github.com/repos/psf/requests/issues/552/comments
https://api.github.com/repos/psf/requests/issues/552/events
https://github.com/psf/requests/pull/552
4,145,648
MDExOlB1bGxSZXF1ZXN0MTE3NTM4Mg==
552
attempt to use the OS's certificate bundle
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
18
2012-04-17T01:00:47Z
2021-09-08T23:01:15Z
2012-04-23T01:53:31Z
CONTRIBUTOR
resolved
I thought it might be a good idea to attempt to use the OS's certificate bundle on systems where one is available. I was thinking something like this: 1. It could be dangerous to install `certifi` and then forget about it, in case a CA in it is compromised (like with Diginotar). 2. Might be good not to depend on anothe...
{ "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/552/reactions" }
https://api.github.com/repos/psf/requests/issues/552/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/552.diff", "html_url": "https://github.com/psf/requests/pull/552", "merged_at": "2012-04-23T01:53:31Z", "patch_url": "https://github.com/psf/requests/pull/552.patch", "url": "https://api.github.com/repos/psf/requests/pulls/552" }
true
[ "This, or something similar, would be a great addition for our use too.\n\nWe have a few code bases at work that require some hoop jumping to work around system `requests` using system certs[1] and virtualenvs in `tox` runs attempting to use the certs in `certifi`.\n\nI [ended up](https://github.com/ask/python-gith...
https://api.github.com/repos/psf/requests/issues/551
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/551/labels{/name}
https://api.github.com/repos/psf/requests/issues/551/comments
https://api.github.com/repos/psf/requests/issues/551/events
https://github.com/psf/requests/issues/551
4,143,631
MDU6SXNzdWU0MTQzNjMx
551
Ability to interrupt / stop iter_content
{ "avatar_url": "https://avatars.githubusercontent.com/u/1649850?v=4", "events_url": "https://api.github.com/users/Polygraph/events{/privacy}", "followers_url": "https://api.github.com/users/Polygraph/followers", "following_url": "https://api.github.com/users/Polygraph/following{/other_user}", "gists_url": "h...
[]
closed
true
null
[]
null
2
2012-04-16T22:02:25Z
2021-09-09T08:00:47Z
2012-05-08T05:09:40Z
NONE
resolved
When using iter_content, in some instances it would be beneficial to have the ability to interrupt the request. If you take the Twitter streaming API as an example, there is no current way to exit cleanly as iter_content will continuously block. For example, in the following code: ``` for line in self.conn.req_content...
{ "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/551/reactions" }
https://api.github.com/repos/psf/requests/issues/551/timeline
null
completed
null
null
false
[ "Can't you just break out of the generator when you so desire?\n", "Twitter will endeavour to always keep the connection open for as long as possible meaning if you are tracking a particularly low frequency predicate, it could potentially be hours before the request receives a response and you are able to break. ...
https://api.github.com/repos/psf/requests/issues/550
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/550/labels{/name}
https://api.github.com/repos/psf/requests/issues/550/comments
https://api.github.com/repos/psf/requests/issues/550/events
https://github.com/psf/requests/pull/550
4,105,278
MDExOlB1bGxSZXF1ZXN0MTE2MDEzMA==
550
Fix issue #549. Add 'prefetch' to Session.__attrs__ and Requests.__init__
{ "avatar_url": "https://avatars.githubusercontent.com/u/660112?v=4", "events_url": "https://api.github.com/users/reclosedev/events{/privacy}", "followers_url": "https://api.github.com/users/reclosedev/followers", "following_url": "https://api.github.com/users/reclosedev/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
1
2012-04-13T15:33:16Z
2021-09-08T23:01:10Z
2012-04-14T10:19:10Z
CONTRIBUTOR
resolved
Possible fix for issue #549.
{ "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/550/reactions" }
https://api.github.com/repos/psf/requests/issues/550/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/550.diff", "html_url": "https://github.com/psf/requests/pull/550", "merged_at": "2012-04-14T10:19:10Z", "patch_url": "https://github.com/psf/requests/pull/550.patch", "url": "https://api.github.com/repos/psf/requests/pulls/550" }
true
[ "This is excellent (and long overdue), thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/549
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/549/labels{/name}
https://api.github.com/repos/psf/requests/issues/549/comments
https://api.github.com/repos/psf/requests/issues/549/events
https://github.com/psf/requests/issues/549
4,090,389
MDU6SXNzdWU0MDkwMzg5
549
Session.prefetch not pickled and causing AttributeError on next request after unpickle
{ "avatar_url": "https://avatars.githubusercontent.com/u/660112?v=4", "events_url": "https://api.github.com/users/reclosedev/events{/privacy}", "followers_url": "https://api.github.com/users/reclosedev/followers", "following_url": "https://api.github.com/users/reclosedev/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
0
2012-04-12T19:36:50Z
2021-09-09T09:00:37Z
2012-04-14T10:19:10Z
CONTRIBUTOR
resolved
Code that reproduces the problem: ``` python import pickle import requests url = 'http://httpbin.org/cookies' session = requests.session() session.get('%s/set/key1/value1' % url) before_pickle = session.get(url).text pickled_session = pickle.dumps(session) session = pickle.loads(pickled_session) # AttributeError: '...
{ "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/549/reactions" }
https://api.github.com/repos/psf/requests/issues/549/timeline
null
completed
null
null
false
[]
https://api.github.com/repos/psf/requests/issues/548
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/548/labels{/name}
https://api.github.com/repos/psf/requests/issues/548/comments
https://api.github.com/repos/psf/requests/issues/548/events
https://github.com/psf/requests/pull/548
4,087,247
MDExOlB1bGxSZXF1ZXN0MTE1MjcyMQ==
548
A get with an invalid port should wrap urllib3's LocationParseError exception with our own.
{ "avatar_url": "https://avatars.githubusercontent.com/u/285920?v=4", "events_url": "https://api.github.com/users/umbrae/events{/privacy}", "followers_url": "https://api.github.com/users/umbrae/followers", "following_url": "https://api.github.com/users/umbrae/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
1
2012-04-12T16:39:18Z
2021-09-08T23:06:08Z
2012-04-12T19:44:45Z
CONTRIBUTOR
resolved
Fixes this issue: ``` python >>> import requests >>> requests.get('http://google.com:banana') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/umbrae/Envs/rdb/lib/python2.6/site-packages/requests/api.py", line 51, in get return request('get', url, **kwargs) [...snip...] Fil...
{ "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/548/reactions" }
https://api.github.com/repos/psf/requests/issues/548/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/548.diff", "html_url": "https://github.com/psf/requests/pull/548", "merged_at": "2012-04-12T19:44:45Z", "patch_url": "https://github.com/psf/requests/pull/548.patch", "url": "https://api.github.com/repos/psf/requests/pulls/548" }
true
[ "You're amazing: \n\n:cake:\n" ]
https://api.github.com/repos/psf/requests/issues/547
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/547/labels{/name}
https://api.github.com/repos/psf/requests/issues/547/comments
https://api.github.com/repos/psf/requests/issues/547/events
https://github.com/psf/requests/pull/547
4,084,946
MDExOlB1bGxSZXF1ZXN0MTE1MTcyMw==
547
Fix infinite loop on wrong Digest Authentication
{ "avatar_url": "https://avatars.githubusercontent.com/u/221332?v=4", "events_url": "https://api.github.com/users/catwell/events{/privacy}", "followers_url": "https://api.github.com/users/catwell/followers", "following_url": "https://api.github.com/users/catwell/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
2
2012-04-12T14:38:37Z
2021-09-08T14:01:16Z
2012-04-13T06:34:45Z
CONTRIBUTOR
resolved
The most straightforward way to fix #541 seems to be to deregister the hook on the first 401. This is what I have implemented here.
{ "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/547/reactions" }
https://api.github.com/repos/psf/requests/issues/547/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/547.diff", "html_url": "https://github.com/psf/requests/pull/547", "merged_at": "2012-04-13T06:34:45Z", "patch_url": "https://github.com/psf/requests/pull/547.patch", "url": "https://api.github.com/repos/psf/requests/pulls/547" }
true
[ "Hmm, the second commit is something different (I should have created a branch).\nIt fixes the conflict between Digest Auth and Multipart Post (#298).\n\nI am less convinced that my implementation is the right way to do it there, so take it as a suggestion (and motivation to fix a 4 months old bug hit by one of our...
https://api.github.com/repos/psf/requests/issues/546
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/546/labels{/name}
https://api.github.com/repos/psf/requests/issues/546/comments
https://api.github.com/repos/psf/requests/issues/546/events
https://github.com/psf/requests/issues/546
4,049,891
MDU6SXNzdWU0MDQ5ODkx
546
I think cookie_header should not use DOUBLE SPACE after ";"
{ "avatar_url": "https://avatars.githubusercontent.com/u/1536813?v=4", "events_url": "https://api.github.com/users/listeng/events{/privacy}", "followers_url": "https://api.github.com/users/listeng/followers", "following_url": "https://api.github.com/users/listeng/following{/other_user}", "gists_url": "https:/...
[]
closed
true
null
[]
null
2
2012-04-10T17:03:02Z
2021-09-09T09:00:35Z
2012-05-03T05:54:36Z
NONE
resolved
At line 550 in file models.py, I found the code like this: ... sep='; ' ... There is one space character after semicolon character. so that the result of cookie string in the header like this: airkey=; clientkey=; clientuin=; confirmuin=0; There are two space characters after ";". I checked IE and Firefox that a...
{ "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/546/reactions" }
https://api.github.com/repos/psf/requests/issues/546/timeline
null
completed
null
null
false
[ "This is fixed in master:\n\n```\n\n>>> import requests\n>>> c = requests.get('http://httpbin.org/cookies/set/key/value').cookies\n>>> c = requests.get('http://httpbin.org/cookies/set/key2/value2', cookies=c).cookies\n>>> print requests.get('http://httpbin.org/headers', cookies=c).text\n{\n \"headers\": {\n \"C...
https://api.github.com/repos/psf/requests/issues/545
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/545/labels{/name}
https://api.github.com/repos/psf/requests/issues/545/comments
https://api.github.com/repos/psf/requests/issues/545/events
https://github.com/psf/requests/pull/545
4,042,657
MDExOlB1bGxSZXF1ZXN0MTEzMzU0OA==
545
Add docs on sending lists for multivalued query params.
{ "avatar_url": "https://avatars.githubusercontent.com/u/120119?v=4", "events_url": "https://api.github.com/users/sharat87/events{/privacy}", "followers_url": "https://api.github.com/users/sharat87/followers", "following_url": "https://api.github.com/users/sharat87/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
1
2012-04-10T09:14:14Z
2021-09-08T14:01:16Z
2012-04-10T15:43:47Z
CONTRIBUTOR
resolved
The ability to send arrays in the values of query params doesn't seem to be documented anywhere. So, I added a small mention of it. This was added in this change: https://github.com/kennethreitz/requests/commit/73b414ab4564486f2335f02a1727fd0f4d005608
{ "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/545/reactions" }
https://api.github.com/repos/psf/requests/issues/545/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/545.diff", "html_url": "https://github.com/psf/requests/pull/545", "merged_at": "2012-04-10T15:43:47Z", "patch_url": "https://github.com/psf/requests/pull/545.patch", "url": "https://api.github.com/repos/psf/requests/pulls/545" }
true
[ "Thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/544
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/544/labels{/name}
https://api.github.com/repos/psf/requests/issues/544/comments
https://api.github.com/repos/psf/requests/issues/544/events
https://github.com/psf/requests/issues/544
4,042,508
MDU6SXNzdWU0MDQyNTA4
544
get() partial download
{ "avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4", "events_url": "https://api.github.com/users/ghost/events{/privacy}", "followers_url": "https://api.github.com/users/ghost/followers", "following_url": "https://api.github.com/users/ghost/following{/other_user}", "gists_url": "https://api.git...
[]
closed
true
null
[]
null
1
2012-04-10T09:00:13Z
2021-09-09T08:00:47Z
2012-05-08T05:08:28Z
NONE
resolved
The command resp = get(url, verify=False, prefetch=True, timeout=20) does not read the whole content, i.e., len(resp.text) differs from the expected value. The expected page size is in the range 50-60 KB, while len(resp.text) is about 8 KB. I have tried get(url) as well, but I have not noticed any difference. I have m...
{ "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/544/reactions" }
https://api.github.com/repos/psf/requests/issues/544/timeline
null
completed
null
null
false
[ "`resp.text` is unicode, so measuring its length has little to do with its size :)\n" ]
https://api.github.com/repos/psf/requests/issues/543
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/543/labels{/name}
https://api.github.com/repos/psf/requests/issues/543/comments
https://api.github.com/repos/psf/requests/issues/543/events
https://github.com/psf/requests/issues/543
4,027,723
MDU6SXNzdWU0MDI3NzIz
543
Inclusion in the standard library.
{ "avatar_url": "https://avatars.githubusercontent.com/u/72590?v=4", "events_url": "https://api.github.com/users/TkTech/events{/privacy}", "followers_url": "https://api.github.com/users/TkTech/followers", "following_url": "https://api.github.com/users/TkTech/following{/other_user}", "gists_url": "https://api....
[]
closed
true
null
[]
null
6
2012-04-09T11:00:12Z
2021-09-09T08:00:36Z
2012-06-15T18:39:09Z
CONTRIBUTOR
resolved
Has any thought been put into proposing (via the guidelines of PEP2) `requests` as a standard module (please excuse me if I missed this discussion elsewhere. Hard to google for "python" and "requests" :)). With full support for older versions of Python and Py3k, it seems like a good candidate. Interacting with HTTP is...
{ "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/543/reactions" }
https://api.github.com/repos/psf/requests/issues/543/timeline
null
completed
null
null
false
[ "I've chatted with Guido about this, his advice was that we want to stay away from the standard library. Being included in the standard library requires a great deal of stability, and the process to introduce changes is slow. Requests is still rapidly improving and being included in the standard library will likely...
https://api.github.com/repos/psf/requests/issues/542
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/542/labels{/name}
https://api.github.com/repos/psf/requests/issues/542/comments
https://api.github.com/repos/psf/requests/issues/542/events
https://github.com/psf/requests/pull/542
4,023,970
MDExOlB1bGxSZXF1ZXN0MTEyNTkyMg==
542
Attempting to address issue #377 by making content on the response model a little smarter
{ "avatar_url": "https://avatars.githubusercontent.com/u/64894?v=4", "events_url": "https://api.github.com/users/newmaniese/events{/privacy}", "followers_url": "https://api.github.com/users/newmaniese/followers", "following_url": "https://api.github.com/users/newmaniese/following{/other_user}", "gists_url": "...
[]
closed
true
null
[]
null
1
2012-04-08T22:51:34Z
2021-09-08T14:01:15Z
2012-04-09T03:13:38Z
CONTRIBUTOR
resolved
Calling the content attribute on a response that has no content causes an error after the second time. On async requests, prefetch is set to true by default so all calls to content from an async response cause an error. My change does change the default value for _content. All tests pass and I added a new one to repli...
{ "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/542/reactions" }
https://api.github.com/repos/psf/requests/issues/542/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/542.diff", "html_url": "https://github.com/psf/requests/pull/542", "merged_at": "2012-04-09T03:13:38Z", "patch_url": "https://github.com/psf/requests/pull/542.patch", "url": "https://api.github.com/repos/psf/requests/pulls/542" }
true
[ "This is a fantastic contribution. Thanks for the catch/fix!\n\nBonus cake for tests: :cake: \n" ]
https://api.github.com/repos/psf/requests/issues/541
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/541/labels{/name}
https://api.github.com/repos/psf/requests/issues/541/comments
https://api.github.com/repos/psf/requests/issues/541/events
https://github.com/psf/requests/issues/541
4,016,294
MDU6SXNzdWU0MDE2Mjk0
541
Digest Authentication wrong password bug
{ "avatar_url": "https://avatars.githubusercontent.com/u/690429?v=4", "events_url": "https://api.github.com/users/madsholden/events{/privacy}", "followers_url": "https://api.github.com/users/madsholden/followers", "following_url": "https://api.github.com/users/madsholden/following{/other_user}", "gists_url": ...
[]
closed
true
null
[]
null
6
2012-04-07T16:30:09Z
2021-09-09T07:05:27Z
2012-07-27T05:57:19Z
NONE
resolved
When using digest authentication with a wrong password, requests will retry the request for infinity. This code snippet will run forever: ``` import requests from requests.auth import HTTPDigestAuth requests.get('http://httpbin.org/digest-auth/auth/user/passwd', auth=HTTPDigestAuth('user', 'incorrect')) ```
{ "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/541/reactions" }
https://api.github.com/repos/psf/requests/issues/541/timeline
null
completed
null
null
false
[ "Gah, I forgot about this bug. \n", "Closeable, right?\n", "@slingamn you're a machine\n", "FWIW, I am still seeing this bug on 0.13.0. Stack dump below:\n\n```\n>>> import requests\n>>> from requests.auth import HTTPDigestAuth\n>>> url = 'http://REDACTED'\n>>> auth = HTTPDigestAuth('foo', 'bar')\n>>> r = req...
https://api.github.com/repos/psf/requests/issues/540
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/540/labels{/name}
https://api.github.com/repos/psf/requests/issues/540/comments
https://api.github.com/repos/psf/requests/issues/540/events
https://github.com/psf/requests/pull/540
4,005,674
MDExOlB1bGxSZXF1ZXN0MTExOTg4Nw==
540
Correct path to test_requests.py for setup.py test
{ "avatar_url": "https://avatars.githubusercontent.com/u/357333?v=4", "events_url": "https://api.github.com/users/jhalcrow/events{/privacy}", "followers_url": "https://api.github.com/users/jhalcrow/followers", "following_url": "https://api.github.com/users/jhalcrow/following{/other_user}", "gists_url": "https...
[]
closed
true
null
[]
null
1
2012-04-06T15:51:14Z
2021-09-08T14:01:14Z
2012-04-06T17:01:19Z
CONTRIBUTOR
resolved
In setup.py the path to test_requests.py is incorrect - breaking python setup.py test, this fixes it.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/540/reactions" }
https://api.github.com/repos/psf/requests/issues/540/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/540.diff", "html_url": "https://github.com/psf/requests/pull/540", "merged_at": "2012-04-06T17:01:19Z", "patch_url": "https://github.com/psf/requests/pull/540.patch", "url": "https://api.github.com/repos/psf/requests/pulls/540" }
true
[ "thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/539
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/539/labels{/name}
https://api.github.com/repos/psf/requests/issues/539/comments
https://api.github.com/repos/psf/requests/issues/539/events
https://github.com/psf/requests/issues/539
4,005,004
MDU6SXNzdWU0MDA1MDA0
539
iter_lines small chunks
{ "avatar_url": "https://avatars.githubusercontent.com/u/105168?v=4", "events_url": "https://api.github.com/users/dbrgn/events{/privacy}", "followers_url": "https://api.github.com/users/dbrgn/followers", "following_url": "https://api.github.com/users/dbrgn/following{/other_user}", "gists_url": "https://api.gi...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" } ]
closed
true
null
[]
null
15
2012-04-06T15:04:40Z
2021-09-09T08:00:46Z
2012-05-08T05:09:24Z
CONTRIBUTOR
resolved
I'm writing a script to track keywords in the twitter realtime api. At first, I was using requests v0.10.8. Showing the tweets was almost instant, but the issue #515 occured frequently. Then I upgraded requests to v0.11.1. Now #515 is resolved, but apparently small chunks are not processed instantly, if they don't re...
{ "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/539/reactions" }
https://api.github.com/repos/psf/requests/issues/539/timeline
null
completed
null
null
false
[ "Hmm, it might be actually :)\n\nSomeone implemented \"proper\" chunks, but it caused way more problems than it solved, so we took it out.\n", "So, I had opened #533, came back to update it about `chunk_size` and noticed this issue.\n\nI guess there aren't many ways to read lines from a blocking socket, so `chunk...
https://api.github.com/repos/psf/requests/issues/538
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/538/labels{/name}
https://api.github.com/repos/psf/requests/issues/538/comments
https://api.github.com/repos/psf/requests/issues/538/events
https://github.com/psf/requests/issues/538
4,000,812
MDU6SXNzdWU0MDAwODEy
538
Name:"Requests" is too general
{ "avatar_url": "https://avatars.githubusercontent.com/u/1563501?v=4", "events_url": "https://api.github.com/users/EwyynTomato/events{/privacy}", "followers_url": "https://api.github.com/users/EwyynTomato/followers", "following_url": "https://api.github.com/users/EwyynTomato/following{/other_user}", "gists_ur...
[]
closed
true
null
[]
null
9
2012-04-06T07:06:59Z
2021-09-09T00:10:17Z
2012-04-06T07:08:29Z
NONE
resolved
The name of the module "requests" is really general, resulting in "python requests"-related question hardly searchable with search engine.
{ "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/538/reactions" }
https://api.github.com/repos/psf/requests/issues/538/timeline
null
completed
null
null
false
[ "A search for [\"python-requests\"](https://www.google.com/search?sourceid=chrome&ie=UTF-8&q=python-requests) is all good results.\n", "I'm sorry that I'm not specific enough, now for an example:\n\nI want to search for \"python requests post xml\", since \"requests\" isn't really specific to the name of the modu...
https://api.github.com/repos/psf/requests/issues/537
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/537/labels{/name}
https://api.github.com/repos/psf/requests/issues/537/comments
https://api.github.com/repos/psf/requests/issues/537/events
https://github.com/psf/requests/issues/537
3,999,105
MDU6SXNzdWUzOTk5MTA1
537
requests.get throws TooManyRedirects in safe_mode
{ "avatar_url": "https://avatars.githubusercontent.com/u/292606?v=4", "events_url": "https://api.github.com/users/spulec/events{/privacy}", "followers_url": "https://api.github.com/users/spulec/followers", "following_url": "https://api.github.com/users/spulec/following{/other_user}", "gists_url": "https://api...
[ { "color": "e10c02", "default": false, "description": null, "id": 117744, "name": "Bug", "node_id": "MDU6TGFiZWwxMTc3NDQ=", "url": "https://api.github.com/repos/psf/requests/labels/Bug" } ]
closed
true
null
[]
null
3
2012-04-06T01:50:52Z
2021-09-09T09:00:32Z
2012-05-04T01:49:58Z
CONTRIBUTOR
resolved
``` python >>> import requests >>> requests.__version__ '0.11.1' >>> res = requests.get("http://httpbin.org/redirect/3", config=dict(safe_mode=True, max_redirects=2)) Starting new HTTP connection (1): httpbin.org "GET /redirect/3 HTTP/1.1" 302 229 "GET /redirect/2 HTTP/1.1" 302 229 "GET /redirect/1 HTTP/1.1" 302 215 Tr...
{ "avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4", "events_url": "https://api.github.com/users/slingamn/events{/privacy}", "followers_url": "https://api.github.com/users/slingamn/followers", "following_url": "https://api.github.com/users/slingamn/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/537/reactions" }
https://api.github.com/repos/psf/requests/issues/537/timeline
null
completed
null
null
false
[ "Thanks for the report! This is definitely a bug.\n", "Different traceback now :-/\n\n```\n>>> import requests\n>>> res = requests.get(\"http://httpbin.org/redirect/3\", config=dict(safe_mode=True, max_redirects=2))\nTraceback (most recent call last):\n File \"<stdin>\", line 1, in <module>\n File \"requests/ap...
https://api.github.com/repos/psf/requests/issues/536
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/536/labels{/name}
https://api.github.com/repos/psf/requests/issues/536/comments
https://api.github.com/repos/psf/requests/issues/536/events
https://github.com/psf/requests/issues/536
3,972,354
MDU6SXNzdWUzOTcyMzU0
536
unicode in cookies
{ "avatar_url": "https://avatars.githubusercontent.com/u/173095?v=4", "events_url": "https://api.github.com/users/benmao/events{/privacy}", "followers_url": "https://api.github.com/users/benmao/followers", "following_url": "https://api.github.com/users/benmao/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
13
2012-04-04T15:12:25Z
2021-09-09T06:00:47Z
2012-05-03T08:11:53Z
NONE
resolved
``` Set-Cookie: xx=\u4E2A\u4EBA; expires=Wed, 04-Apr-42 15:00:05 GMT; path=/; ``` requests SimpleCookie ``` python >>> s = SimpleCookie() >>> s.load('xx=\u4E2A\u4EBA; expires=Wed, 04-Apr-42 15:00:05 GMT; path=/; ') >>> s <SimpleCookie: xx=''> ``` The result should be like this. ``` python >>> s <SimpleCookie: xx='...
{ "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/536/reactions" }
https://api.github.com/repos/psf/requests/issues/536/timeline
null
completed
null
null
false
[ "I've been studying this issue for a couple of days, I don't believe that this is a valid use case. The RFC's for HTML require that the header be encoded in iso-8859-1, so there should never be a case where the header contains unencoded unicode characters as you've shown here.\n\nNonetheless, I'm thinking about wh...
https://api.github.com/repos/psf/requests/issues/535
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/535/labels{/name}
https://api.github.com/repos/psf/requests/issues/535/comments
https://api.github.com/repos/psf/requests/issues/535/events
https://github.com/psf/requests/pull/535
3,968,250
MDExOlB1bGxSZXF1ZXN0MTEwMzI2OA==
535
Fix decoding of invalid %encodings in URLs
{ "avatar_url": "https://avatars.githubusercontent.com/u/1553?v=4", "events_url": "https://api.github.com/users/Jonty/events{/privacy}", "followers_url": "https://api.github.com/users/Jonty/followers", "following_url": "https://api.github.com/users/Jonty/following{/other_user}", "gists_url": "https://api.gith...
[]
closed
true
null
[]
null
4
2012-04-04T10:16:58Z
2021-09-08T14:01:15Z
2012-04-11T15:02:46Z
CONTRIBUTOR
resolved
Currently a URL with invalid %encodings will cause an exception to be thrown in unquote_unreserved. This patch reimplements unquote_unreserved to be almost identical to urllib.unquote, thus fixing the problem and simplifying the code.
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/535/reactions" }
https://api.github.com/repos/psf/requests/issues/535/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/535.diff", "html_url": "https://github.com/psf/requests/pull/535", "merged_at": "2012-04-11T15:02:46Z", "patch_url": "https://github.com/psf/requests/pull/535.patch", "url": "https://api.github.com/repos/psf/requests/pulls/535" }
true
[ "Awesome, thanks! \n\nLooks like there's a merge conflict now. Would you mind bringing it back up to date?\n", "Rebased and fixed, should merge cleanly now.\n", "You're the best. Thanks!\n", "Reverting for now.\n" ]
https://api.github.com/repos/psf/requests/issues/534
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/534/labels{/name}
https://api.github.com/repos/psf/requests/issues/534/comments
https://api.github.com/repos/psf/requests/issues/534/events
https://github.com/psf/requests/pull/534
3,966,688
MDExOlB1bGxSZXF1ZXN0MTEwMjcxNg==
534
Remove bad tab indent
{ "avatar_url": "https://avatars.githubusercontent.com/u/179599?v=4", "events_url": "https://api.github.com/users/ThiefMaster/events{/privacy}", "followers_url": "https://api.github.com/users/ThiefMaster/followers", "following_url": "https://api.github.com/users/ThiefMaster/following{/other_user}", "gists_url...
[]
closed
true
null
[]
null
1
2012-04-04T08:04:26Z
2021-09-08T14:01:13Z
2012-04-04T08:05:00Z
CONTRIBUTOR
resolved
The "Streaming Requests" example was indented using tabs instead of spaces.
{ "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/534/reactions" }
https://api.github.com/repos/psf/requests/issues/534/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/534.diff", "html_url": "https://github.com/psf/requests/pull/534", "merged_at": "2012-04-04T08:05:00Z", "patch_url": "https://github.com/psf/requests/pull/534.patch", "url": "https://api.github.com/repos/psf/requests/pulls/534" }
true
[ "Thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/533
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/533/labels{/name}
https://api.github.com/repos/psf/requests/issues/533/comments
https://api.github.com/repos/psf/requests/issues/533/events
https://github.com/psf/requests/issues/533
3,965,793
MDU6SXNzdWUzOTY1Nzkz
533
Broken HTTPResponse.iter_lines() in 0.11.1
{ "avatar_url": "https://avatars.githubusercontent.com/u/822167?v=4", "events_url": "https://api.github.com/users/mponton/events{/privacy}", "followers_url": "https://api.github.com/users/mponton/followers", "following_url": "https://api.github.com/users/mponton/following{/other_user}", "gists_url": "https://...
[]
closed
true
null
[]
null
1
2012-04-04T06:19:32Z
2021-09-09T09:00:38Z
2012-04-10T22:25:38Z
NONE
resolved
Code like `for line in http_response.iter_lines():` works fine with 0.10.8 but when used with 0.11.1, lines are not yielded as expected and when the server closes the connection, the following exception is raised: `httplib.IncompleteRead: IncompleteRead(354 bytes read)` (where that 354 bytes is about the size of the l...
{ "avatar_url": "https://avatars.githubusercontent.com/u/822167?v=4", "events_url": "https://api.github.com/users/mponton/events{/privacy}", "followers_url": "https://api.github.com/users/mponton/followers", "following_url": "https://api.github.com/users/mponton/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/533/reactions" }
https://api.github.com/repos/psf/requests/issues/533/timeline
null
completed
null
null
false
[ "\"Issue\" is really #539. Not really broken. Just working differently :-)\n\nClosed and commented on #539.\n" ]
https://api.github.com/repos/psf/requests/issues/532
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/532/labels{/name}
https://api.github.com/repos/psf/requests/issues/532/comments
https://api.github.com/repos/psf/requests/issues/532/events
https://github.com/psf/requests/pull/532
3,931,754
MDExOlB1bGxSZXF1ZXN0MTA5MTA0OA==
532
Modified tests to use MissingSchema and InvalidSchema instead of ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/155016?v=4", "events_url": "https://api.github.com/users/silent1mezzo/events{/privacy}", "followers_url": "https://api.github.com/users/silent1mezzo/followers", "following_url": "https://api.github.com/users/silent1mezzo/following{/other_user}", "gists_...
[]
closed
true
null
[]
null
1
2012-04-02T18:31:14Z
2021-09-08T14:01:12Z
2012-05-08T05:06:16Z
CONTRIBUTOR
resolved
{ "avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4", "events_url": "https://api.github.com/users/kennethreitz/events{/privacy}", "followers_url": "https://api.github.com/users/kennethreitz/followers", "following_url": "https://api.github.com/users/kennethreitz/following{/other_user}", "gists_...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/psf/requests/issues/532/reactions" }
https://api.github.com/repos/psf/requests/issues/532/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/532.diff", "html_url": "https://github.com/psf/requests/pull/532", "merged_at": null, "patch_url": "https://github.com/psf/requests/pull/532.patch", "url": "https://api.github.com/repos/psf/requests/pulls/532" }
true
[ "Awesome, thanks!\n" ]
https://api.github.com/repos/psf/requests/issues/531
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/531/labels{/name}
https://api.github.com/repos/psf/requests/issues/531/comments
https://api.github.com/repos/psf/requests/issues/531/events
https://github.com/psf/requests/pull/531
3,923,214
MDExOlB1bGxSZXF1ZXN0MTA4NzU5MA==
531
fixed bug in setup.py where running from outside project dir would fail
{ "avatar_url": "https://avatars.githubusercontent.com/u/441766?v=4", "events_url": "https://api.github.com/users/nikcub/events{/privacy}", "followers_url": "https://api.github.com/users/nikcub/followers", "following_url": "https://api.github.com/users/nikcub/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
1
2012-04-02T09:15:34Z
2021-09-08T23:08:16Z
2012-04-23T02:34:12Z
NONE
resolved
If you run setup from outside the project directory it will fail on attempting to open the README, etc. files. for eg. python requests/setup.py install now works because the full path name is used in reading the file. implement as a separate func since it is used three times. this is a pretty common bug, but I see...
{ "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/531/reactions" }
https://api.github.com/repos/psf/requests/issues/531/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/531.diff", "html_url": "https://github.com/psf/requests/pull/531", "merged_at": "2012-04-23T02:34:12Z", "patch_url": "https://github.com/psf/requests/pull/531.patch", "url": "https://api.github.com/repos/psf/requests/pulls/531" }
true
[ "Unnecessary, but good changes. :) \n\nThanks!\n" ]
https://api.github.com/repos/psf/requests/issues/530
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/530/labels{/name}
https://api.github.com/repos/psf/requests/issues/530/comments
https://api.github.com/repos/psf/requests/issues/530/events
https://github.com/psf/requests/pull/530
3,922,287
MDExOlB1bGxSZXF1ZXN0MTA4NzIzNw==
530
Fix #506: Change "Support Requests" to "Donate".
{ "avatar_url": "https://avatars.githubusercontent.com/u/193106?v=4", "events_url": "https://api.github.com/users/Osmose/events{/privacy}", "followers_url": "https://api.github.com/users/Osmose/followers", "following_url": "https://api.github.com/users/Osmose/following{/other_user}", "gists_url": "https://api...
[]
closed
true
null
[]
null
3
2012-04-02T07:41:48Z
2021-09-08T14:01:12Z
2012-04-02T07:44:00Z
NONE
resolved
omg am i a core dev now? :P
{ "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/530/reactions" }
https://api.github.com/repos/psf/requests/issues/530/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/530.diff", "html_url": "https://github.com/psf/requests/pull/530", "merged_at": "2012-04-02T07:44:00Z", "patch_url": "https://github.com/psf/requests/pull/530.patch", "url": "https://api.github.com/repos/psf/requests/pulls/530" }
true
[ "Haha, not yet :)\n", "You're on the AUTHORS list though :) \n\n37f3a29d49453244c354b98a01fe765b5f01aaec\n", "Thanks!\n\n:cake:\n" ]
https://api.github.com/repos/psf/requests/issues/529
https://api.github.com/repos/psf/requests
https://api.github.com/repos/psf/requests/issues/529/labels{/name}
https://api.github.com/repos/psf/requests/issues/529/comments
https://api.github.com/repos/psf/requests/issues/529/events
https://github.com/psf/requests/pull/529
3,912,692
MDExOlB1bGxSZXF1ZXN0MTA4NDAxMQ==
529
Removed unnecessary leading slashes in httpbin's endpoints
{ "avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4", "events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}", "followers_url": "https://api.github.com/users/piotr-dobrogost/followers", "following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}", ...
[]
closed
true
null
[]
null
1
2012-03-31T20:20:12Z
2021-09-08T14:01:11Z
2012-03-31T20:21:18Z
NONE
resolved
Removed unnecessary leading slashes in httpbin's endpoints
{ "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/529/reactions" }
https://api.github.com/repos/psf/requests/issues/529/timeline
null
null
false
{ "diff_url": "https://github.com/psf/requests/pull/529.diff", "html_url": "https://github.com/psf/requests/pull/529", "merged_at": "2012-03-31T20:21:18Z", "patch_url": "https://github.com/psf/requests/pull/529.patch", "url": "https://api.github.com/repos/psf/requests/pulls/529" }
true
[ "thanks!\n" ]