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/1830 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1830/labels{/name} | https://api.github.com/repos/psf/requests/issues/1830/comments | https://api.github.com/repos/psf/requests/issues/1830/events | https://github.com/psf/requests/pull/1830 | 24,812,998 | MDExOlB1bGxSZXF1ZXN0MTExMDg4Njk= | 1,830 | Requests must be installed as root when using pip to avoid errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/3462055?v=4",
"events_url": "https://api.github.com/users/NickGeek/events{/privacy}",
"followers_url": "https://api.github.com/users/NickGeek/followers",
"following_url": "https://api.github.com/users/NickGeek/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2013-12-27T08:37:25Z | 2021-09-08T22:01:07Z | 2013-12-27T09:39:03Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1830/reactions"
} | https://api.github.com/repos/psf/requests/issues/1830/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1830.diff",
"html_url": "https://github.com/psf/requests/pull/1830",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1830.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1830"
} | true | [
"I wouldn't recommend doing this at all. If at all possible always install your packages to virtualenvs and avoid using sudo as much as you can.\n",
"@NickGeek This is simply not true. _Sometimes_ Requests must be installed using `sudo`: if you install directly into the site packages and you don't have the correc... | |
https://api.github.com/repos/psf/requests/issues/1829 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1829/labels{/name} | https://api.github.com/repos/psf/requests/issues/1829/comments | https://api.github.com/repos/psf/requests/issues/1829/events | https://github.com/psf/requests/issues/1829 | 24,775,814 | MDU6SXNzdWUyNDc3NTgxNA== | 1,829 | r.text exception in Python 3.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/1488134?v=4",
"events_url": "https://api.github.com/users/douglarek/events{/privacy}",
"followers_url": "https://api.github.com/users/douglarek/followers",
"following_url": "https://api.github.com/users/douglarek/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 3 | 2013-12-26T02:05:39Z | 2021-09-09T00:28:22Z | 2013-12-26T02:16:21Z | NONE | resolved | I use `r.context`, it is `bytes` type, then I use `r = requests.get('http://github.com'); print(r.text)`, but an error occurs as below:
```
UnicodeEncodeError: 'ascii' codec can't encode character '\xb7' in position 235: ordinal not in range(128)
```
is it a bug in python 3 ? I use requests 2.1.0 version in openSUSE... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1829/reactions"
} | https://api.github.com/repos/psf/requests/issues/1829/timeline | null | completed | null | null | false | [
"This is not the place to ask questions. Please ask your questions on [StackOverflow](http://stackoverflow.com/questions/tagged/python-requests).\n",
"@sigmavirus24 Ok, maybe my title confused you, now it is ok.\n",
"I was not confused and it's not a bug in `requests`. Your standard out encoding is `ascii`. Sta... |
https://api.github.com/repos/psf/requests/issues/1828 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1828/labels{/name} | https://api.github.com/repos/psf/requests/issues/1828/comments | https://api.github.com/repos/psf/requests/issues/1828/events | https://github.com/psf/requests/issues/1828 | 24,761,644 | MDU6SXNzdWUyNDc2MTY0NA== | 1,828 | Incorrect Timezone | {
"avatar_url": "https://avatars.githubusercontent.com/u/2215059?v=4",
"events_url": "https://api.github.com/users/intrixs/events{/privacy}",
"followers_url": "https://api.github.com/users/intrixs/followers",
"following_url": "https://api.github.com/users/intrixs/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2013-12-25T05:15:22Z | 2021-09-09T00:28:21Z | 2013-12-25T09:13:36Z | NONE | resolved | Recently, I tried to crawl some data from www.soccerway.com using 'requests' + 'beautifulsoup'.
Crawling went very smoothly until I found out that all of the time has been offset by 7 hours. (see below comparison)

File "/data/poi-op/env/python/lib/python2.7/site-packages/requests/api.py", line 88, in p... | {
"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/1826/reactions"
} | https://api.github.com/repos/psf/requests/issues/1826/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nThis was originally spotted in #1787, and should be fixed in `master`. Try using the GitHub version of Requests to see if you can still hit it.\n",
"Closed due to inactivity.\n"
] |
https://api.github.com/repos/psf/requests/issues/1825 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1825/labels{/name} | https://api.github.com/repos/psf/requests/issues/1825/comments | https://api.github.com/repos/psf/requests/issues/1825/events | https://github.com/psf/requests/issues/1825 | 24,690,993 | MDU6SXNzdWUyNDY5MDk5Mw== | 1,825 | Session hook is ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/1894766?v=4",
"events_url": "https://api.github.com/users/akhomchenko/events{/privacy}",
"followers_url": "https://api.github.com/users/akhomchenko/followers",
"following_url": "https://api.github.com/users/akhomchenko/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2013-12-23T00:36:25Z | 2021-09-09T00:28:22Z | 2013-12-23T07:49:31Z | CONTRIBUTOR | resolved | Hello.
My English is not so good, sorry.
Problem example:
```
def fail_on_error(r, *args, **kwargs):
r.raise_for_status()
s = requests.session()
s.hooks.update(dict(response=fail_on_error))
r = s.get('http://httpbin.org/status/404')
```
This code doesn't raise an Exception. Is wasn't too obvious for me. Is it ... | {
"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/1825/reactions"
} | https://api.github.com/repos/psf/requests/issues/1825/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nI can't reproduce this on my machine. Can you tell me what version of Requests you're using? You can find this out by getting `requests.__version__` in a Python shell.\n",
"This was fixed in version 2.1.0 of requests. \n\nI, like @Lukasa, see this work properly when tried intera... |
https://api.github.com/repos/psf/requests/issues/1824 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1824/labels{/name} | https://api.github.com/repos/psf/requests/issues/1824/comments | https://api.github.com/repos/psf/requests/issues/1824/events | https://github.com/psf/requests/issues/1824 | 24,618,972 | MDU6SXNzdWUyNDYxODk3Mg== | 1,824 | Invalid ~/.netrc file does not raise any warnings or errors from requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/102495?v=4",
"events_url": "https://api.github.com/users/ssbarnea/events{/privacy}",
"followers_url": "https://api.github.com/users/ssbarnea/followers",
"following_url": "https://api.github.com/users/ssbarnea/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 7 | 2013-12-20T12:17:49Z | 2021-09-09T00:10:14Z | 2014-01-29T19:26:14Z | CONTRIBUTOR | resolved | I end-up with a case where requests behaves very strange, because it does not load the credentials from .netrc file and it's extremely hard to discover when is using credentials and where is taking them from.
The debug level output is identical in all 3 cases: no auth, auth from netrc or auth manually specified.
| {
"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/1824/reactions"
} | https://api.github.com/repos/psf/requests/issues/1824/timeline | null | completed | null | null | false | [
"I've explained to you, at least twice ([1st](https://github.com/kennethreitz/requests/issues/1297#issuecomment-16130288), [2nd](https://github.com/kennethreitz/requests/pull/1302#commitcomment-2984789)) that requests performs **no logging** whatsoever. With those reminders brought up, I'll reiterate once more that... |
https://api.github.com/repos/psf/requests/issues/1823 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1823/labels{/name} | https://api.github.com/repos/psf/requests/issues/1823/comments | https://api.github.com/repos/psf/requests/issues/1823/events | https://github.com/psf/requests/pull/1823 | 24,611,868 | MDExOlB1bGxSZXF1ZXN0MTEwMDQ4MjE= | 1,823 | Update docs to highlight the value of r.encoding. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2013-12-20T09:16:45Z | 2021-09-08T23:11:01Z | 2013-12-20T14:21:04Z | MEMBER | resolved | This should help address the concerns raised in #1795.
| {
"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/1823/reactions"
} | https://api.github.com/repos/psf/requests/issues/1823/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1823.diff",
"html_url": "https://github.com/psf/requests/pull/1823",
"merged_at": "2013-12-20T14:21:04Z",
"patch_url": "https://github.com/psf/requests/pull/1823.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1823"
} | true | [
"LGTM. :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1822 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1822/labels{/name} | https://api.github.com/repos/psf/requests/issues/1822/comments | https://api.github.com/repos/psf/requests/issues/1822/events | https://github.com/psf/requests/issues/1822 | 24,602,748 | MDU6SXNzdWUyNDYwMjc0OA== | 1,822 | UnicodeEncodeError: 'latin-1' codec can't encode characters | {
"avatar_url": "https://avatars.githubusercontent.com/u/1450977?v=4",
"events_url": "https://api.github.com/users/xjsender/events{/privacy}",
"followers_url": "https://api.github.com/users/xjsender/followers",
"following_url": "https://api.github.com/users/xjsender/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 7 | 2013-12-20T02:56:35Z | 2021-09-08T02:10:09Z | 2013-12-20T08:45:48Z | NONE | resolved | Requests is the latest version.
When I try to post the data which contains Chinese character, this exception is thrown.
```
Traceback (most recent call last):
File "X/threading.py", line 639, in _bootstrap_inner
File "X/threading.py", line 596, in run
File "C:\Users\Administrator\Dropbox\Sublime3056\Data\Package... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1822/reactions"
} | https://api.github.com/repos/psf/requests/issues/1822/timeline | null | completed | null | null | false | [
"> File \"X/http/client.py\"\n\nDid you write `X` because that's a path to a local file? If so, your directory structure may be confusing urllib3. If not, then you should probably raise this with on bugs.python.org since this is not something I think requests should be handling. This looks like it's rising from `ht... |
https://api.github.com/repos/psf/requests/issues/1821 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1821/labels{/name} | https://api.github.com/repos/psf/requests/issues/1821/comments | https://api.github.com/repos/psf/requests/issues/1821/events | https://github.com/psf/requests/issues/1821 | 24,583,485 | MDU6SXNzdWUyNDU4MzQ4NQ== | 1,821 | SSL verify failed though cert appears to be OK | {
"avatar_url": "https://avatars.githubusercontent.com/u/82214?v=4",
"events_url": "https://api.github.com/users/sradu/events{/privacy}",
"followers_url": "https://api.github.com/users/sradu/followers",
"following_url": "https://api.github.com/users/sradu/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 2 | 2013-12-19T19:55:17Z | 2021-09-09T00:01:10Z | 2013-12-19T20:01:36Z | NONE | resolved | I'm trying to call a simple URL from a Debian stable server and I'm getting a certificate error:
> > > import requests
> > > r = requests.get('https://mobile.amber.io')
> > > [..]
> > > requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile... | {
"avatar_url": "https://avatars.githubusercontent.com/u/82214?v=4",
"events_url": "https://api.github.com/users/sradu/events{/privacy}",
"followers_url": "https://api.github.com/users/sradu/followers",
"following_url": "https://api.github.com/users/sradu/following{/other_user}",
"gists_url": "https://api.git... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1821/reactions"
} | https://api.github.com/repos/psf/requests/issues/1821/timeline | null | completed | null | null | false | [
"My psychic powers tell me that you're using Python 2.7, which doesn't support SNI out of the box. See [this StackOverflow answer](http://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support/18579484#18579484) for instructions on how to add SNI support.\n\nAm I right?\n",
"That fix... |
https://api.github.com/repos/psf/requests/issues/1820 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1820/labels{/name} | https://api.github.com/repos/psf/requests/issues/1820/comments | https://api.github.com/repos/psf/requests/issues/1820/events | https://github.com/psf/requests/issues/1820 | 24,582,960 | MDU6SXNzdWUyNDU4Mjk2MA== | 1,820 | How to set the post parameters order? | {
"avatar_url": "https://avatars.githubusercontent.com/u/127591?v=4",
"events_url": "https://api.github.com/users/ogrishman/events{/privacy}",
"followers_url": "https://api.github.com/users/ogrishman/followers",
"following_url": "https://api.github.com/users/ogrishman/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2013-12-19T19:47:01Z | 2021-09-09T00:28:25Z | 2013-12-19T19:55:42Z | NONE | resolved | This is part of my code:
```
files = {'FileData': ("01.avi", open("H:\\Dropbox\\temp\\test\\videos\\01.avi", 'rb'), "application/octet-stream")}
url = "http://upload.test.com/api/upload_form_data"
headers = {
"User-Agent": "Shockwave Flash",
"Accept": "text/*",
"Connection": "Keep-Alive",
"Pragma": "no... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1820/reactions"
} | https://api.github.com/repos/psf/requests/issues/1820/timeline | null | completed | null | null | false | [
"Firstly, the correct place to ask this question is not here: this is for tracking bugs only. You should ask your question at StackOverflow, and use the \"python-requests\" tag.\n\nSecondly, why does the order matter? It shouldn't affect the remote web site at all.\n\nFinally, the correct code is this:\n\n``` pytho... |
https://api.github.com/repos/psf/requests/issues/1819 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1819/labels{/name} | https://api.github.com/repos/psf/requests/issues/1819/comments | https://api.github.com/repos/psf/requests/issues/1819/events | https://github.com/psf/requests/issues/1819 | 24,577,571 | MDU6SXNzdWUyNDU3NzU3MQ== | 1,819 | How to disable (not send it at all) a request header? | {
"avatar_url": "https://avatars.githubusercontent.com/u/127591?v=4",
"events_url": "https://api.github.com/users/ogrishman/events{/privacy}",
"followers_url": "https://api.github.com/users/ogrishman/followers",
"following_url": "https://api.github.com/users/ogrishman/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2013-12-19T18:54:24Z | 2021-09-09T00:28:24Z | 2013-12-19T18:58:38Z | NONE | resolved | I'm using requests writing a program and it added the following header to my custom header:
```
Accept-Encoding: gzip, deflate, compress
```
My custom header is:
```
headers = {
"User-Agent": "Shockwave Flash",
"Accept": "text/*",
"Connection": "Keep-Alive",
"Pragma": "no-cache",
"Host": "upload.... | {
"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/1819/reactions"
} | https://api.github.com/repos/psf/requests/issues/1819/timeline | null | completed | null | null | false | [
"Yup. Like this:\n\n``` python\nr = requests.get(url, headers={'Accept-Encoding': None})\n```\n",
"@ogrishman, @Lukasa explained on #1820 that this is a bug tracker and not a question and answer forum. Further questions you ask here will be closed without answer.\n"
] |
https://api.github.com/repos/psf/requests/issues/1818 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1818/labels{/name} | https://api.github.com/repos/psf/requests/issues/1818/comments | https://api.github.com/repos/psf/requests/issues/1818/events | https://github.com/psf/requests/issues/1818 | 24,571,748 | MDU6SXNzdWUyNDU3MTc0OA== | 1,818 | Removal of TLSv1 from the webserver gives socket.error: [Errno 54] Connection reset by peer error to python requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/102495?v=4",
"events_url": "https://api.github.com/users/ssbarnea/events{/privacy}",
"followers_url": "https://api.github.com/users/ssbarnea/followers",
"following_url": "https://api.github.com/users/ssbarnea/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2013-12-19T17:40:43Z | 2021-09-09T00:28:24Z | 2013-12-20T02:40:49Z | CONTRIBUTOR | resolved | I discovered that if I force nginx to use only TLSv1.2 and TLSv1.1 protocols, it will prevent the requests library from working.
Other browsers are able to deal with this, including CURL but request doesn't, at least when is used on OS X with Python 2.7
Reproduce, reconfigure webserver to use only recent SSL protoc... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1818/reactions"
} | https://api.github.com/repos/psf/requests/issues/1818/timeline | null | completed | null | null | false | [
"This sounds like a bug in urllib3. @shazow opinions?\n",
"Actually following the conversation on #171 this is not a bug in requests but in Python as @Lukasa explained.\n",
"My favourite.\n"
] |
https://api.github.com/repos/psf/requests/issues/1817 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1817/labels{/name} | https://api.github.com/repos/psf/requests/issues/1817/comments | https://api.github.com/repos/psf/requests/issues/1817/events | https://github.com/psf/requests/issues/1817 | 24,556,852 | MDU6SXNzdWUyNDU1Njg1Mg== | 1,817 | Losing cookies in redirects after HTTPS POST | {
"avatar_url": "https://avatars.githubusercontent.com/u/5185185?v=4",
"events_url": "https://api.github.com/users/rbock/events{/privacy}",
"followers_url": "https://api.github.com/users/rbock/followers",
"following_url": "https://api.github.com/users/rbock/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 2 | 2013-12-19T13:45:42Z | 2021-09-09T00:28:25Z | 2013-12-19T13:53:44Z | NONE | resolved | Hi,
in a session, I am sending HTTPS GET request, followed by a HTTPS POST request which results in a series of 302-redirects. I monitor traffic via mitmproxy, but the results are the same whether I use the proxy or not.
With allow_redirect=True, most of the cookies get lost between the first and second redirect (4 o... | {
"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/1817/reactions"
} | https://api.github.com/repos/psf/requests/issues/1817/timeline | null | completed | null | null | false | [
"Thanks for raising this issue! In future, however, please take a quick look through both the open and the closed issues before opening yours. This issue has been reported twice already (in #1805 and #1809) and is fixed in the current master branch by #1808. You can either wait until the next release for the fix, o... |
https://api.github.com/repos/psf/requests/issues/1816 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1816/labels{/name} | https://api.github.com/repos/psf/requests/issues/1816/comments | https://api.github.com/repos/psf/requests/issues/1816/events | https://github.com/psf/requests/pull/1816 | 24,544,211 | MDExOlB1bGxSZXF1ZXN0MTA5NjY3OTg= | 1,816 | Re-raise DecodeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/3482660?v=4",
"events_url": "https://api.github.com/users/daftshady/events{/privacy}",
"followers_url": "https://api.github.com/users/daftshady/followers",
"following_url": "https://api.github.com/users/daftshady/following{/other_user}",
"gists_url": "h... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 1 | 2013-12-19T09:07:16Z | 2021-09-08T23:06:02Z | 2013-12-19T20:38:34Z | CONTRIBUTOR | resolved | Re-raise DecodeError in urllib3 for https://github.com/kennethreitz/requests/issues/1815.
| {
"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/1816/reactions"
} | https://api.github.com/repos/psf/requests/issues/1816/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1816.diff",
"html_url": "https://github.com/psf/requests/pull/1816",
"merged_at": "2013-12-19T20:38:34Z",
"patch_url": "https://github.com/psf/requests/pull/1816.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1816"
} | true | [
"LGTM! Thanks so much @daftshady! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1815 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1815/labels{/name} | https://api.github.com/repos/psf/requests/issues/1815/comments | https://api.github.com/repos/psf/requests/issues/1815/events | https://github.com/psf/requests/issues/1815 | 24,536,184 | MDU6SXNzdWUyNDUzNjE4NA== | 1,815 | urllib3.exceptions.DecodeError being raised | {
"avatar_url": "https://avatars.githubusercontent.com/u/2161601?v=4",
"events_url": "https://api.github.com/users/adamsc/events{/privacy}",
"followers_url": "https://api.github.com/users/adamsc/followers",
"following_url": "https://api.github.com/users/adamsc/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2013-12-19T04:18:21Z | 2021-09-09T00:28:23Z | 2013-12-20T09:01:37Z | NONE | resolved | I have been getting a `requests.packages.urllib3.exceptions.DecodeError` exception raised. From my understanding of the documentation, shouldn't this be translated to a Requests exception which inherits from `requests.exceptions.RequestException`?
This occurred using Requests 2.1.0 when making a GET request through a ... | {
"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/1815/reactions"
} | https://api.github.com/repos/psf/requests/issues/1815/timeline | null | completed | null | null | false | [
"Thanks for raising this! Yeah, it probably should.\n",
"Fixed by #1816.\n"
] |
https://api.github.com/repos/psf/requests/issues/1814 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1814/labels{/name} | https://api.github.com/repos/psf/requests/issues/1814/comments | https://api.github.com/repos/psf/requests/issues/1814/events | https://github.com/psf/requests/pull/1814 | 24,535,176 | MDExOlB1bGxSZXF1ZXN0MTA5NjE3ODM= | 1,814 | make requests compatible with SAE | {
"avatar_url": "https://avatars.githubusercontent.com/u/170430?v=4",
"events_url": "https://api.github.com/users/tg123/events{/privacy}",
"followers_url": "https://api.github.com/users/tg123/followers",
"following_url": "https://api.github.com/users/tg123/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 4 | 2013-12-19T03:36:49Z | 2021-09-08T22:01:07Z | 2013-12-19T03:40:45Z | NONE | resolved | make requests compatible with SAE
Sina App Engine conn has a None valued sock
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1814/reactions"
} | https://api.github.com/repos/psf/requests/issues/1814/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1814.diff",
"html_url": "https://github.com/psf/requests/pull/1814",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1814.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1814"
} | true | [
"Hey @tg123 this PR belongs on [shazow/urllib3](/shazow/urllib3) as was noted in the [README in the packages directory](https://github.com/tg123/requests/tree/fa34ab816aa03a009ceb86db7e55f16ca6687ba4/requests/packages). Please be more careful next time.\n",
"sorry about that\n",
"No worries! Thanks for sending ... |
https://api.github.com/repos/psf/requests/issues/1813 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1813/labels{/name} | https://api.github.com/repos/psf/requests/issues/1813/comments | https://api.github.com/repos/psf/requests/issues/1813/events | https://github.com/psf/requests/issues/1813 | 24,522,453 | MDU6SXNzdWUyNDUyMjQ1Mw== | 1,813 | Allow Content-Disposition header to be overridden per-field | {
"avatar_url": "https://avatars.githubusercontent.com/u/97720?v=4",
"events_url": "https://api.github.com/users/orokusaki/events{/privacy}",
"followers_url": "https://api.github.com/users/orokusaki/followers",
"following_url": "https://api.github.com/users/orokusaki/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 10 | 2013-12-18T22:12:35Z | 2021-09-09T00:28:26Z | 2013-12-18T22:15:37Z | NONE | resolved | `make_multipart` overrides the `Content-Disposition` header (see https://github.com/kennethreitz/requests/blob/54ad646067a3e023fd4dcf40c0937ec46069871f/requests/packages/urllib3/fields.py#L165), even when explicitly set (using the new per-field headers feature).
Is there any reason why the code couldn't be updated to ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1813/reactions"
} | https://api.github.com/repos/psf/requests/issues/1813/timeline | null | completed | null | null | false | [
"@orokusaki In principle there's no reason. I suggest raising the issue on urllib3 and seeing what @shazow thinks. =)\n",
"+1 on moving this discussion to urllib3, but a cursory comment: The tuple format is generally deprecated in urllib3 (only remains there as a shortcut, for now), constructing RequestField obje... |
https://api.github.com/repos/psf/requests/issues/1812 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1812/labels{/name} | https://api.github.com/repos/psf/requests/issues/1812/comments | https://api.github.com/repos/psf/requests/issues/1812/events | https://github.com/psf/requests/pull/1812 | 24,496,949 | MDExOlB1bGxSZXF1ZXN0MTA5Mzg3NjY= | 1,812 | Removed the bundled charade and urllib3. | {
"avatar_url": "https://avatars.githubusercontent.com/u/151924?v=4",
"events_url": "https://api.github.com/users/sontek/events{/privacy}",
"followers_url": "https://api.github.com/users/sontek/followers",
"following_url": "https://api.github.com/users/sontek/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 20 | 2013-12-18T15:34:21Z | 2014-09-27T19:52:56Z | 2013-12-18T15:55:40Z | NONE | null | This removes the bundled versions of charade and urllib3, allowing
users to upgrade those packages separately. This also provides a
nice way for Linux distro packages to be able to package requests
and have it depend on their packaged version of those libraries.
| {
"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/1812/reactions"
} | https://api.github.com/repos/psf/requests/issues/1812/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1812.diff",
"html_url": "https://github.com/psf/requests/pull/1812",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1812.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1812"
} | true | [
":+1: \n",
"These projects are vendored for a reasons that I discuss publicly on a regular basis.\n\nAlso, my code decisions are not be influenced by the random decisions of Linux distros :)\n",
"Although, the work of said distros is much appreciated :)\n",
"@kennethreitz Any write-ups/blogs you can point to ... |
https://api.github.com/repos/psf/requests/issues/1811 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1811/labels{/name} | https://api.github.com/repos/psf/requests/issues/1811/comments | https://api.github.com/repos/psf/requests/issues/1811/events | https://github.com/psf/requests/issues/1811 | 24,495,646 | MDU6SXNzdWUyNDQ5NTY0Ng== | 1,811 | Stop bundling urllib3, just add it to install_requires | {
"avatar_url": "https://avatars.githubusercontent.com/u/151924?v=4",
"events_url": "https://api.github.com/users/sontek/events{/privacy}",
"followers_url": "https://api.github.com/users/sontek/followers",
"following_url": "https://api.github.com/users/sontek/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 5 | 2013-12-18T15:14:38Z | 2021-09-08T23:00:55Z | 2013-12-18T16:07:39Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1811/reactions"
} | https://api.github.com/repos/psf/requests/issues/1811/timeline | null | completed | null | null | false | [
"We have discussed this issue with users several times in the past. A search of the issues that are closed would show that. Our opinion has not changed, nor has our reasoning. By vendoring urllib3 we have a very specific version that we have tested against that may include unreleased bug fixes and does not put pres... | |
https://api.github.com/repos/psf/requests/issues/1810 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1810/labels{/name} | https://api.github.com/repos/psf/requests/issues/1810/comments | https://api.github.com/repos/psf/requests/issues/1810/events | https://github.com/psf/requests/pull/1810 | 24,493,853 | MDExOlB1bGxSZXF1ZXN0MTA5MzY5MTU= | 1,810 | Swap charade for chardet | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 3 | 2013-12-18T14:47:36Z | 2021-09-08T23:08:31Z | 2013-12-18T15:52:55Z | CONTRIBUTOR | resolved | Fixes #1800
| {
"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/1810/reactions"
} | https://api.github.com/repos/psf/requests/issues/1810/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1810.diff",
"html_url": "https://github.com/psf/requests/pull/1810",
"merged_at": "2013-12-18T15:52:55Z",
"patch_url": "https://github.com/psf/requests/pull/1810.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1810"
} | true | [
"This shouldn't affect any of the tests @kennethreitz and should be merged before the next release.\n",
"What's the difference between the projects?\n\nAlso, NOTICES needs to be updated.\n",
"oh I see your explanation in the history now. :)\n"
] |
https://api.github.com/repos/psf/requests/issues/1809 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1809/labels{/name} | https://api.github.com/repos/psf/requests/issues/1809/comments | https://api.github.com/repos/psf/requests/issues/1809/events | https://github.com/psf/requests/issues/1809 | 24,475,554 | MDU6SXNzdWUyNDQ3NTU1NA== | 1,809 | Redirection fails if redirect url contains semicolon | {
"avatar_url": "https://avatars.githubusercontent.com/u/71184?v=4",
"events_url": "https://api.github.com/users/adriaant/events{/privacy}",
"followers_url": "https://api.github.com/users/adriaant/followers",
"following_url": "https://api.github.com/users/adriaant/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2013-12-18T08:24:44Z | 2021-09-09T00:28:26Z | 2013-12-18T09:01:29Z | NONE | resolved | URLs can contain a semicolon as per http://www.ietf.org/rfc/rfc1738.txt
The website http://www.vd.nl/ redirects as follows (using curl):
```
curl -IL 'http://www.vd.nl/'
HTTP/1.1 302 Moved Temporarily
Server: Unknown
Vary: Accept-Encoding
Content-Type: text/plain
Date: Wed, 18 Dec 2013 08:21:31 GMT
Location: http://w... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1809/reactions"
} | https://api.github.com/repos/psf/requests/issues/1809/timeline | null | completed | null | null | false | [
"Thanks for raising this issue! However, I disagree with your assessment: I think this is actually the same issue as #1805, and will be fixed by #1808. Checking out the code in #1808 confirms that diagnosis.\n\nIn the future, there are a couple of ways you could have spotted this. Firstly, it's worth noting that th... |
https://api.github.com/repos/psf/requests/issues/1808 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1808/labels{/name} | https://api.github.com/repos/psf/requests/issues/1808/comments | https://api.github.com/repos/psf/requests/issues/1808/events | https://github.com/psf/requests/pull/1808 | 24,469,924 | MDExOlB1bGxSZXF1ZXN0MTA5MjMzMDY= | 1,808 | Fixes #1805 | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 2 | 2013-12-18T04:55:25Z | 2021-09-08T23:07:31Z | 2013-12-18T15:56:30Z | CONTRIBUTOR | resolved | Sure cookies are persisted to the session, but those new cookies are not added
to the next prepared request. We need to update that new request's CookieJar
with the new cookies.
/cc @teleyinex
This allows me to fetch the URL you specified quite quickly.
TODO:
- [ ] Find a way to reliably test this. Perhaps introduce ... | {
"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/1808/reactions"
} | https://api.github.com/repos/psf/requests/issues/1808/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1808.diff",
"html_url": "https://github.com/psf/requests/pull/1808",
"merged_at": "2013-12-18T15:56:30Z",
"patch_url": "https://github.com/psf/requests/pull/1808.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1808"
} | true | [
"Looks reasonable to me. Testing is going to be a pain though.\n",
"Looks good too! Thanks for fixing it so quickly @sigmavirus24 \n"
] |
https://api.github.com/repos/psf/requests/issues/1807 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1807/labels{/name} | https://api.github.com/repos/psf/requests/issues/1807/comments | https://api.github.com/repos/psf/requests/issues/1807/events | https://github.com/psf/requests/pull/1807 | 24,466,796 | MDExOlB1bGxSZXF1ZXN0MTA5MjE4MDU= | 1,807 | cookiejar.iteritems() is broken after 2.1.0 update | {
"avatar_url": "https://avatars.githubusercontent.com/u/314085?v=4",
"events_url": "https://api.github.com/users/code-of-kpp/events{/privacy}",
"followers_url": "https://api.github.com/users/code-of-kpp/followers",
"following_url": "https://api.github.com/users/code-of-kpp/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 7 | 2013-12-18T03:03:21Z | 2021-09-08T23:06:15Z | 2013-12-19T20:38:52Z | NONE | resolved | ```
Python 2.7.5+ (default, Sep 19 2013, 13:48:49)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> requests.__version__
'2.1.0'
>>> r = requests.get('http://google.com')
>>> r.cookies
<<class 'requests.cookies.RequestsCookieJar'>[Cookie(version=0, na... | {
"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/1807/reactions"
} | https://api.github.com/repos/psf/requests/issues/1807/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1807.diff",
"html_url": "https://github.com/psf/requests/pull/1807",
"merged_at": "2013-12-19T20:38:52Z",
"patch_url": "https://github.com/psf/requests/pull/1807.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1807"
} | true | [
"If you can reduce the number of changes to what is absolutely necessary I will be :+1: but as it stands you've added a lot of complexity and python version checking which is unnecessary. Much of the functionality you wrote is provided by `collections.MutableMapping`, the issue is to make that work, not duplicate c... |
https://api.github.com/repos/psf/requests/issues/1806 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1806/labels{/name} | https://api.github.com/repos/psf/requests/issues/1806/comments | https://api.github.com/repos/psf/requests/issues/1806/events | https://github.com/psf/requests/issues/1806 | 24,442,724 | MDU6SXNzdWUyNDQ0MjcyNA== | 1,806 | Need a way to disable SSL verification for all requests calls | {
"avatar_url": "https://avatars.githubusercontent.com/u/102495?v=4",
"events_url": "https://api.github.com/users/ssbarnea/events{/privacy}",
"followers_url": "https://api.github.com/users/ssbarnea/followers",
"following_url": "https://api.github.com/users/ssbarnea/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2013-12-17T19:06:18Z | 2021-09-09T00:28:27Z | 2013-12-18T19:14:40Z | CONTRIBUTOR | resolved | If you are using a 3rd party library or just have lots of requests calls inside your code it's almost impossible to to use `verify=False`.
We need a way to disable this for all requests calls, probbly an environment variable.
| {
"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/1806/reactions"
} | https://api.github.com/repos/psf/requests/issues/1806/timeline | null | completed | null | null | false | [
"We used to have a way to globally configure the library like this in v0.x. We intentionally and viciously removed it in v1.x. We've not added it back and we will not add anything similar back, especially not to disable SSL verification and especially not in an environment variable.\n",
"I'm waiting for @Lukasa t... |
https://api.github.com/repos/psf/requests/issues/1805 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1805/labels{/name} | https://api.github.com/repos/psf/requests/issues/1805/comments | https://api.github.com/repos/psf/requests/issues/1805/events | https://github.com/psf/requests/issues/1805 | 24,422,782 | MDU6SXNzdWUyNDQyMjc4Mg== | 1,805 | Getting a public Google Spreadsheet doc gives you the too many redirects error | {
"avatar_url": "https://avatars.githubusercontent.com/u/131838?v=4",
"events_url": "https://api.github.com/users/teleyinex/events{/privacy}",
"followers_url": "https://api.github.com/users/teleyinex/followers",
"following_url": "https://api.github.com/users/teleyinex/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 8 | 2013-12-17T14:12:55Z | 2021-09-09T00:10:04Z | 2013-12-18T15:56:31Z | NONE | resolved | In version 2.0.0 when you try to get a document like this:
``` python
import requests
r = requests.get('https://docs.google.com/spreadsheet/ccc?key=0AsNlt0WgPAHwdEczcWduOXRUb1JUc1VGMmJtc2xXaXc&usp=sharing&output=csv')
print r.text
```
You get the CSV content, however with 2.1.0 you get the TooManyRedirects error (it... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1805/reactions"
} | https://api.github.com/repos/psf/requests/issues/1805/timeline | null | completed | null | null | false | [
"Ooh, this is weird: I don't even see that request get off my system.\n",
"Which is clearly a problem with my wireshark, since it definitely does. We seem to be spinning in a redirect loop, which it's hard to imagine is the fault of a Requests version.\n",
"But it is, because all is well in 2.0.1.\n",
"Then, ... |
https://api.github.com/repos/psf/requests/issues/1804 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1804/labels{/name} | https://api.github.com/repos/psf/requests/issues/1804/comments | https://api.github.com/repos/psf/requests/issues/1804/events | https://github.com/psf/requests/issues/1804 | 24,342,176 | MDU6SXNzdWUyNDM0MjE3Ng== | 1,804 | requests seems to expect more content until it is forcibly closed by the remote host [Errno 10054] | {
"avatar_url": "https://avatars.githubusercontent.com/u/1075126?v=4",
"events_url": "https://api.github.com/users/ChristopherHackett/events{/privacy}",
"followers_url": "https://api.github.com/users/ChristopherHackett/followers",
"following_url": "https://api.github.com/users/ChristopherHackett/following{/othe... | [
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
"name": "Propose Close",
"node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=",
"url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close"
}
] | closed | true | null | [] | null | 13 | 2013-12-16T10:55:58Z | 2021-09-08T20:00:51Z | 2015-01-19T09:24:12Z | NONE | resolved | I have noticed that requests seems to have some sort of issue with www.sainsburysbank.co.uk
It will block for 2+ mins despite having already received the content. Other tools like curl have no issue.
Below is the console and I have taken a WireShark dump (screenshot attached). If you need the pcapng file then let me... | {
"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/1804/reactions"
} | https://api.github.com/repos/psf/requests/issues/1804/timeline | null | completed | null | null | false | [
"Gah, well. There's all kinds of fun here. First, Sainsbury's Bank is using chunked encoding to return the response to us. Not the end of the world, but a potential source of fun. According to Wireshark they have terminated it properly though, so that's something. Also, their headers are ill-formatted:\n\n```\nCach... |
https://api.github.com/repos/psf/requests/issues/1803 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1803/labels{/name} | https://api.github.com/repos/psf/requests/issues/1803/comments | https://api.github.com/repos/psf/requests/issues/1803/events | https://github.com/psf/requests/issues/1803 | 24,341,307 | MDU6SXNzdWUyNDM0MTMwNw== | 1,803 | Timeouts do not occur when stream == True. | {
"avatar_url": "https://avatars.githubusercontent.com/u/997507?v=4",
"events_url": "https://api.github.com/users/tylercrompton/events{/privacy}",
"followers_url": "https://api.github.com/users/tylercrompton/followers",
"following_url": "https://api.github.com/users/tylercrompton/following{/other_user}",
"gis... | [
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
"name": "Fixed",
"node_id": "MDU6TGFiZWw2Nzc2MDMxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Fixed"
}
] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | {
"closed_at": "2014-12-25T16:11:51Z",
"closed_issues": 1,
"created_at": "2013-12-19T08:24:14Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Luka... | 22 | 2013-12-16T10:38:27Z | 2021-09-08T07:00:27Z | 2014-10-05T17:27:28Z | NONE | resolved | As stated in the [docs](http://requests.readthedocs.org/en/latest/user/quickstart/#timeouts):
> `timeout` is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for `timeout` seconds (more precisely, if no bytes have been received on the underlying s... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1803/reactions"
} | https://api.github.com/repos/psf/requests/issues/1803/timeline | null | completed | null | null | false | [
"Thanks for raising this issue! Currently in stream mode we only apply the timeout to the connection attempt, not to the read. This will probably change in future (for instance, #1801 removes this limitation), but there's no strict timescale on this.\n",
"Once again @Lukasa is 100% correct. This isn't an issue or... |
https://api.github.com/repos/psf/requests/issues/1802 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1802/labels{/name} | https://api.github.com/repos/psf/requests/issues/1802/comments | https://api.github.com/repos/psf/requests/issues/1802/events | https://github.com/psf/requests/pull/1802 | 24,331,108 | MDExOlB1bGxSZXF1ZXN0MTA4NDQzOTI= | 1,802 | Add as_http() method to print out HTTP response as a string | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 6 | 2013-12-16T05:41:53Z | 2021-09-08T10:01:10Z | 2013-12-16T14:08:23Z | CONTRIBUTOR | resolved | When a HTTP response doesn't contain the content that I expect, most times I find that the simplest debugging information I want is the actual HTTP content that was sent over the wire. Instead of having to construct all of this manually I thought it would be nice to add this information as a convenience `as_http()` req... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1802/reactions"
} | https://api.github.com/repos/psf/requests/issues/1802/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1802.diff",
"html_url": "https://github.com/psf/requests/pull/1802",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1802.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1802"
} | true | [
"Gah, tests are broken due to a Python3 encoding issue. Let me know if this is a desirable feature for the library and I'll put the work in to fix the tests.\n",
"Thanks for the pull request @kevinburke!\n\nUnfortunately, I'm -1 on this feature. My problems with this feature are as follows:\n1. It's misleading. Y... |
https://api.github.com/repos/psf/requests/issues/1801 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1801/labels{/name} | https://api.github.com/repos/psf/requests/issues/1801/comments | https://api.github.com/repos/psf/requests/issues/1801/events | https://github.com/psf/requests/pull/1801 | 24,329,258 | MDExOlB1bGxSZXF1ZXN0MTA4NDM0NDU= | 1,801 | Connect timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 36 | 2013-12-16T04:10:00Z | 2021-09-08T11:00:53Z | 2014-08-23T21:22:02Z | CONTRIBUTOR | resolved | Per discussion with @sigmavirus24 in IRC, this PR kills the Timeout class and adds support for connect timeouts via a simple tuple interface:
``` python
r = requests.get('https://api.twilio.com', timeout=(3.05, 27))
```
Sometimes you try to connect to a dead host (this happens to us all the time, because of AWS) and... | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1801/reactions"
} | https://api.github.com/repos/psf/requests/issues/1801/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1801.diff",
"html_url": "https://github.com/psf/requests/pull/1801",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1801.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1801"
} | true | [
"I'm generally +1 on the idea and the API. I haven't combed over the diff though and a quick skim makes me think there's more there than needs to be. Also, did I see \"TimeoutSauce\"? Is there any reason to not simply call it \"Timeout\"?\n",
"In principle I'm +0.5 on this. It's a nice extension. However, as memo... |
https://api.github.com/repos/psf/requests/issues/1800 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1800/labels{/name} | https://api.github.com/repos/psf/requests/issues/1800/comments | https://api.github.com/repos/psf/requests/issues/1800/events | https://github.com/psf/requests/issues/1800 | 24,304,647 | MDU6SXNzdWUyNDMwNDY0Nw== | 1,800 | Move off of charade to erikrose/chardet | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
}
] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | null | 1 | 2013-12-15T03:16:53Z | 2021-09-09T00:28:27Z | 2013-12-18T15:52:55Z | CONTRIBUTOR | resolved | @dan-blanchard has taken over maintenance of [chardet](erikrose/chardet). We've merged charade into chardet so that chardet will now work on python2 and python3 without needing separate versions. I'd like to get rid of charade since it's been a responsibility that I had neglected and has been more trouble than it has b... | {
"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/1800/reactions"
} | https://api.github.com/repos/psf/requests/issues/1800/timeline | null | completed | null | null | false | [
"A new release of chardet is available with all the features we ever needed from charade. I'll throw together a PR to close this issue in a few minutes.\n"
] |
https://api.github.com/repos/psf/requests/issues/1799 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1799/labels{/name} | https://api.github.com/repos/psf/requests/issues/1799/comments | https://api.github.com/repos/psf/requests/issues/1799/events | https://github.com/psf/requests/pull/1799 | 24,298,739 | MDExOlB1bGxSZXF1ZXN0MTA4MzI4ODA= | 1,799 | Issue a warning when using apparent_encoding. | {
"avatar_url": "https://avatars.githubusercontent.com/u/78768?v=4",
"events_url": "https://api.github.com/users/martinblech/events{/privacy}",
"followers_url": "https://api.github.com/users/martinblech/followers",
"following_url": "https://api.github.com/users/martinblech/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 5 | 2013-12-14T20:11:04Z | 2021-09-08T22:01:06Z | 2013-12-15T04:20:07Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/78768?v=4",
"events_url": "https://api.github.com/users/martinblech/events{/privacy}",
"followers_url": "https://api.github.com/users/martinblech/followers",
"following_url": "https://api.github.com/users/martinblech/following{/other_user}",
"gists_url"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1799/reactions"
} | https://api.github.com/repos/psf/requests/issues/1799/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1799.diff",
"html_url": "https://github.com/psf/requests/pull/1799",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1799.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1799"
} | true | [
"I'm something in the region of -0 on this. @sigmavirus24?\n",
"I'm moreso in the half-open interval [-1, -0) on this if only because the warning will likely only be displayed once per detected encoding and not once per response if I remember the way they work correctly.\n\nAn example is like so:\n\n``` python\nd... | |
https://api.github.com/repos/psf/requests/issues/1798 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1798/labels{/name} | https://api.github.com/repos/psf/requests/issues/1798/comments | https://api.github.com/repos/psf/requests/issues/1798/events | https://github.com/psf/requests/issues/1798 | 24,296,455 | MDU6SXNzdWUyNDI5NjQ1NQ== | 1,798 | Add params in custom authentication | {
"avatar_url": "https://avatars.githubusercontent.com/u/554079?v=4",
"events_url": "https://api.github.com/users/juanriaza/events{/privacy}",
"followers_url": "https://api.github.com/users/juanriaza/followers",
"following_url": "https://api.github.com/users/juanriaza/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 6 | 2013-12-14T18:05:19Z | 2021-09-09T00:28:27Z | 2013-12-14T18:44:06Z | CONTRIBUTOR | resolved | Modifying the request params in a custom authentication implementation raises a `AttributeError: 'PreparedRequest' object has no attribute 'params'`.
Example:
``` python
class CustomAuth(requests.auth.AuthBase):
def __call__(self, r):
r.params['key'] = 'my_api_key'
return r
```
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1798/reactions"
} | https://api.github.com/repos/psf/requests/issues/1798/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nThis fails because you aren't modifying a `Request` object, you're modifying a `PreparedRequest` object. That only has a `url` property. You'll have to edit that manually. The API documentation for `PreparedRequest` objects is [here](http://docs.python-requests.org/en/latest/api/#... |
https://api.github.com/repos/psf/requests/issues/1797 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1797/labels{/name} | https://api.github.com/repos/psf/requests/issues/1797/comments | https://api.github.com/repos/psf/requests/issues/1797/events | https://github.com/psf/requests/issues/1797 | 24,293,616 | MDU6SXNzdWUyNDI5MzYxNg== | 1,797 | Socket timeout exception thrown instead of RequestException | {
"avatar_url": "https://avatars.githubusercontent.com/u/1663259?v=4",
"events_url": "https://api.github.com/users/joepie91/events{/privacy}",
"followers_url": "https://api.github.com/users/joepie91/followers",
"following_url": "https://api.github.com/users/joepie91/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2013-12-14T15:13:52Z | 2021-09-09T00:28:28Z | 2013-12-14T16:05:48Z | NONE | resolved | When running the following code....
``` python
response = requests.get(result, timeout=10)
```
Where `result` was http://63.224.204.109:8085/browse/category/allbooks, the following exception was thrown after hanging for a few minutes (and apparently disregarding the `timeout` argument?):
```
Traceback (most recent c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1797/reactions"
} | https://api.github.com/repos/psf/requests/issues/1797/timeline | null | completed | null | null | false | [
"Same issue is already opened.\nSee https://github.com/kennethreitz/requests/issues/1787\n",
"As @daftshady points out, please check the issues tracker before opening a new issue.\n",
"Thanks for opening this @joepie91 and thank you @daftshady for taking the time to find the already opened issue.\n"
] |
https://api.github.com/repos/psf/requests/issues/1796 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1796/labels{/name} | https://api.github.com/repos/psf/requests/issues/1796/comments | https://api.github.com/repos/psf/requests/issues/1796/events | https://github.com/psf/requests/pull/1796 | 24,285,315 | MDExOlB1bGxSZXF1ZXN0MTA4MjgyMDY= | 1,796 | Expose apparent_encoding_confidence. | {
"avatar_url": "https://avatars.githubusercontent.com/u/78768?v=4",
"events_url": "https://api.github.com/users/martinblech/events{/privacy}",
"followers_url": "https://api.github.com/users/martinblech/followers",
"following_url": "https://api.github.com/users/martinblech/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 5 | 2013-12-14T03:50:35Z | 2021-09-08T22:01:06Z | 2013-12-14T20:11:51Z | NONE | resolved | When there's no encoding in the headers and it has to be autodetected from the
contents using charade, the Response object should expose the confidence value
so the user can decide whether the value of Response.text should be trusted or
not.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/78768?v=4",
"events_url": "https://api.github.com/users/martinblech/events{/privacy}",
"followers_url": "https://api.github.com/users/martinblech/followers",
"following_url": "https://api.github.com/users/martinblech/following{/other_user}",
"gists_url"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1796/reactions"
} | https://api.github.com/repos/psf/requests/issues/1796/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1796.diff",
"html_url": "https://github.com/psf/requests/pull/1796",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1796.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1796"
} | true | [
"Thanks for this @martinblech!\n\nUnfortunately, I'm opposed to this change. Not anything to do with the code itself, but I don't think adding this parameter to the `Response` object adds sufficient value to justify including it. If people _really_ want this information they can get it (by running `charade`/`charde... |
https://api.github.com/repos/psf/requests/issues/1795 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1795/labels{/name} | https://api.github.com/repos/psf/requests/issues/1795/comments | https://api.github.com/repos/psf/requests/issues/1795/events | https://github.com/psf/requests/issues/1795 | 24,267,957 | MDU6SXNzdWUyNDI2Nzk1Nw== | 1,795 | Incorrect encoding detected for UTF-8 XML response. | {
"avatar_url": "https://avatars.githubusercontent.com/u/78768?v=4",
"events_url": "https://api.github.com/users/martinblech/events{/privacy}",
"followers_url": "https://api.github.com/users/martinblech/followers",
"following_url": "https://api.github.com/users/martinblech/following{/other_user}",
"gists_url"... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 13 | 2013-12-13T19:43:19Z | 2021-09-09T00:28:23Z | 2013-12-22T16:01:02Z | NONE | resolved | Requests decodes the UTF-8 response as TIS-620:
``` python
>>> response = requests.get('http://lyrics.wikia.com/api.php', params={'artist': 'Javiera Mena', 'song': 'Al Siguiente Nivel', 'fmt': 'xml'})
>>> print response.text
<?xml version="1.0" encoding="UTF-8"?>
<LyricsResult>
[...]
<lyrics>Esa visiรณn estรก
[...... | {
"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/1795/reactions"
} | https://api.github.com/repos/psf/requests/issues/1795/timeline | null | completed | null | null | false | [
"Requests is a HTTP library: we only consider HTTP headers when attempting to work out text encodings. We think it sets a dangerous precedent to attempt to parse body content. If you want to do something specific for a given content type, you have to do it yourself.\n",
"@Lukasa Absolutely agree: I wouldn't expec... |
https://api.github.com/repos/psf/requests/issues/1794 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1794/labels{/name} | https://api.github.com/repos/psf/requests/issues/1794/comments | https://api.github.com/repos/psf/requests/issues/1794/events | https://github.com/psf/requests/pull/1794 | 24,219,475 | MDExOlB1bGxSZXF1ZXN0MTA3OTAyODI= | 1,794 | Fixed pickle support for requests.adapters.HTTPAdapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/113129?v=4",
"events_url": "https://api.github.com/users/erikcw/events{/privacy}",
"followers_url": "https://api.github.com/users/erikcw/followers",
"following_url": "https://api.github.com/users/erikcw/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 4 | 2013-12-13T00:26:27Z | 2021-09-08T22:01:06Z | 2013-12-14T04:29:58Z | CONTRIBUTOR | resolved | Fixed issue https://github.com/kennethreitz/requests/issues/1777 by adding unpickle support to the HTTPAdapter.
While unpickleing, the class will now set `proxy_manager` to an empty dictionary.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1794/reactions"
} | https://api.github.com/repos/psf/requests/issues/1794/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1794.diff",
"html_url": "https://github.com/psf/requests/pull/1794",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1794.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1794"
} | true | [
"This fix is a subset of the fix in #1793. You and @sigmavirus24 should work out which fix we apply (maybe a merged set of the fixes).\n",
"My fix initializes those attributes ahead of time in the event that they ever get added to the `__attrs__` list. It seems the most fool-proof way at the moment and far less c... |
https://api.github.com/repos/psf/requests/issues/1793 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1793/labels{/name} | https://api.github.com/repos/psf/requests/issues/1793/comments | https://api.github.com/repos/psf/requests/issues/1793/events | https://github.com/psf/requests/pull/1793 | 24,200,478 | MDExOlB1bGxSZXF1ZXN0MTA3Nzg2MjU= | 1,793 | Prevent error when using proxies after picking an Adapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 2 | 2013-12-12T19:04:51Z | 2021-09-08T08:01:06Z | 2014-01-08T18:53:42Z | CONTRIBUTOR | resolved | @Lukasa if you'd like to add tests for this you can. I'm not exactly certain if we already had tests for pickling objects and didn't have the time to check right now. I'll check when I get home though (unless you've already added tests).
| {
"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/1793/reactions"
} | https://api.github.com/repos/psf/requests/issues/1793/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1793.diff",
"html_url": "https://github.com/psf/requests/pull/1793",
"merged_at": "2014-01-08T18:53:42Z",
"patch_url": "https://github.com/psf/requests/pull/1793.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1793"
} | true | [
"@Lukasa any further comments?\n",
"Nope, this looks good to me. Thanks guys! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1792 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1792/labels{/name} | https://api.github.com/repos/psf/requests/issues/1792/comments | https://api.github.com/repos/psf/requests/issues/1792/events | https://github.com/psf/requests/pull/1792 | 24,189,411 | MDExOlB1bGxSZXF1ZXN0MTA3NzIyMTc= | 1,792 | Fixup changelog with missing breaking change. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2013-12-12T16:21:35Z | 2021-09-08T23:05:26Z | 2013-12-12T16:21:38Z | MEMBER | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1792/reactions"
} | https://api.github.com/repos/psf/requests/issues/1792/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1792.diff",
"html_url": "https://github.com/psf/requests/pull/1792",
"merged_at": "2013-12-12T16:21:38Z",
"patch_url": "https://github.com/psf/requests/pull/1792.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1792"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1791 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1791/labels{/name} | https://api.github.com/repos/psf/requests/issues/1791/comments | https://api.github.com/repos/psf/requests/issues/1791/events | https://github.com/psf/requests/issues/1791 | 24,187,641 | MDU6SXNzdWUyNDE4NzY0MQ== | 1,791 | Requests 2.1.0 regression - cookies set on session.get are not remembered anymore for subsequent requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/198355?v=4",
"events_url": "https://api.github.com/users/avallen/events{/privacy}",
"followers_url": "https://api.github.com/users/avallen/followers",
"following_url": "https://api.github.com/users/avallen/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 5 | 2013-12-12T15:57:23Z | 2021-09-09T00:28:29Z | 2013-12-12T16:22:24Z | NONE | resolved | The following line that made it happen has disappeared from Session.request:
```
# Add param cookies to session cookies
self.cookies = cookiejar_from_dict(cookies, cookiejar=self.cookies, overwrite=False)
```
If this was on purpose then some documentation of breaking changes such as this one would be nice to ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1791/reactions"
} | https://api.github.com/repos/psf/requests/issues/1791/timeline | null | completed | null | null | false | [
"That line is replaced with `self.cookies = merge_cookies(self.cookies, cookies)` in 2.1.0.\nIs your problem happens when you provides cookies with `cookieJar`? \n",
"Apologies, this was on purpose. See Issue #1728, which was fixed in #1729 (though actually merged as part of #1776). I'm very sorry that it got mis... |
https://api.github.com/repos/psf/requests/issues/1790 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1790/labels{/name} | https://api.github.com/repos/psf/requests/issues/1790/comments | https://api.github.com/repos/psf/requests/issues/1790/events | https://github.com/psf/requests/issues/1790 | 24,158,307 | MDU6SXNzdWUyNDE1ODMwNw== | 1,790 | Auto convert data into json if Content-type is set to 'application/json' | {
"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 | 5 | 2013-12-12T05:16:45Z | 2021-09-09T00:28:30Z | 2013-12-12T13:18:20Z | CONTRIBUTOR | resolved | ```
>>> r = requests.get('https://api.github.com/user', auth=('user', 'pass'))
>>> r.status_code
200
>>> r.headers['content-type']
'application/json; charset=utf8'
>>> r.encoding
'utf-8'
>>> r.text
u'{"type":"User"...'
>>> r.json()
{u'private_gists': 419, u'total_private_repos': 77, ...}
```
If the response is `json`,... | {
"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/1790/reactions"
} | https://api.github.com/repos/psf/requests/issues/1790/timeline | null | completed | null | null | false | [
"Hey, thanks for thi @kracekumar!\n\nI don't think this is a good idea, however. The key reason is that auto-converting outgoing data is upsettingly magic. As much as possible, what you put in one parameter to the request function (e.g. `headers`) should not affect what happens to something that came in on another ... |
https://api.github.com/repos/psf/requests/issues/1789 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1789/labels{/name} | https://api.github.com/repos/psf/requests/issues/1789/comments | https://api.github.com/repos/psf/requests/issues/1789/events | https://github.com/psf/requests/issues/1789 | 24,111,608 | MDU6SXNzdWUyNDExMTYwOA== | 1,789 | Requests on PYPY 2.21 is over twice as slow as on CPython | {
"avatar_url": "https://avatars.githubusercontent.com/u/456254?v=4",
"events_url": "https://api.github.com/users/handloomweaver/events{/privacy}",
"followers_url": "https://api.github.com/users/handloomweaver/followers",
"following_url": "https://api.github.com/users/handloomweaver/following{/other_user}",
"... | [] | closed | true | null | [] | null | 8 | 2013-12-11T14:55:35Z | 2021-09-09T00:10:10Z | 2014-02-03T11:02:44Z | NONE | resolved | A get request between two local servers in same data center that is typically 15ms on CPython is more like 33ms on the same box with latest PYPY.
Why should this be?
| {
"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/1789/reactions"
} | https://api.github.com/repos/psf/requests/issues/1789/timeline | null | completed | null | null | false | [
"Before I go digging into this, what's your sample? I would want a fairly conclusive demonstration that this is actually a problem: that means something like doing 1000 requests to something on a local network (or even the same box) in CPython and the same again in PyPy, then checking the _average_ execution time f... |
https://api.github.com/repos/psf/requests/issues/1788 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1788/labels{/name} | https://api.github.com/repos/psf/requests/issues/1788/comments | https://api.github.com/repos/psf/requests/issues/1788/events | https://github.com/psf/requests/pull/1788 | 24,086,100 | MDExOlB1bGxSZXF1ZXN0MTA3MTQ2NDY= | 1,788 | fixed https connection to be able to handle SSL_v3 when using it with Op... | {
"avatar_url": "https://avatars.githubusercontent.com/u/281777?v=4",
"events_url": "https://api.github.com/users/AtlasPilotPuppy/events{/privacy}",
"followers_url": "https://api.github.com/users/AtlasPilotPuppy/followers",
"following_url": "https://api.github.com/users/AtlasPilotPuppy/following{/other_user}",
... | [] | closed | true | null | [] | null | 4 | 2013-12-11T05:01:57Z | 2021-09-09T00:01:25Z | 2013-12-11T06:58:29Z | NONE | resolved | ...enSSL
| {
"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/1788/reactions"
} | https://api.github.com/repos/psf/requests/issues/1788/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1788.diff",
"html_url": "https://github.com/psf/requests/pull/1788",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1788.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1788"
} | true | [
"This is `urllib3` change, not requests.\nYou should open PR in `urllib3` not here.\n",
"Good point.\nOn Dec 10, 2013 10:26 PM, \"Park Ilsu\" notifications@github.com wrote:\n\n> This is urllib3 change, not requests.\n> You should open PR in urllib3 not here.\n> \n> —\n> Reply to this email directly or view it on... |
https://api.github.com/repos/psf/requests/issues/1787 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1787/labels{/name} | https://api.github.com/repos/psf/requests/issues/1787/comments | https://api.github.com/repos/psf/requests/issues/1787/events | https://github.com/psf/requests/issues/1787 | 24,066,907 | MDU6SXNzdWUyNDA2NjkwNw== | 1,787 | socket.timeout exception | {
"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... | [
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
"name": "Propose Close",
"node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=",
"url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close"
}
] | closed | true | null | [] | null | 31 | 2013-12-10T21:27:49Z | 2021-09-08T23:06:06Z | 2015-01-19T09:24:40Z | CONTRIBUTOR | resolved | I think that exception should be handled/wrapped internally and be reraised as a `RequestException`-based exception.
```
Traceback (most recent call last):
File "X:\dev\rotaryboard\daemon\testdaemon.py", line 117, in <module>
res = foobar_cmd()
File "X:\dev\rotaryboard\daemon\testdaemon.py", line 53, in foobar... | {
"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/1787/reactions"
} | https://api.github.com/repos/psf/requests/issues/1787/timeline | null | completed | null | null | false | [
"Ok, seems to be a duplicate of #1236... still annoying.\n",
"With the latest version this no longer seems to show. The socket exception has been wrapped with a requests.exceptions.TimeoutException . \nI think it is fair to say this can be closed?\n",
"It happened with requests 2.1.0. So if that's the \"latest ... |
https://api.github.com/repos/psf/requests/issues/1786 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1786/labels{/name} | https://api.github.com/repos/psf/requests/issues/1786/comments | https://api.github.com/repos/psf/requests/issues/1786/events | https://github.com/psf/requests/issues/1786 | 23,897,795 | MDU6SXNzdWUyMzg5Nzc5NQ== | 1,786 | Certificate Revocation List (CRL) support with https | {
"avatar_url": "https://avatars.githubusercontent.com/u/33690?v=4",
"events_url": "https://api.github.com/users/chutz/events{/privacy}",
"followers_url": "https://api.github.com/users/chutz/followers",
"following_url": "https://api.github.com/users/chutz/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 12 | 2013-12-07T02:23:46Z | 2021-09-03T00:10:42Z | 2013-12-09T19:12:17Z | NONE | resolved | Currently requests doesn't support checking if a certificate has been revokes in a CRL when using verify=True, it would be quite useful if this was supported.
| {
"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/1786/reactions"
} | https://api.github.com/repos/psf/requests/issues/1786/timeline | null | completed | null | null | false | [
"Have you encountered a certificate that should have been revoked which wasn't? I'm 90% sure that Kenneth curates the list carefully to remove revoked certs.\n",
"We have a new policy thanks to the security-conscious guys handling Requests' integration with `pip`. Each release we update our list of certs, which i... |
https://api.github.com/repos/psf/requests/issues/1785 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1785/labels{/name} | https://api.github.com/repos/psf/requests/issues/1785/comments | https://api.github.com/repos/psf/requests/issues/1785/events | https://github.com/psf/requests/pull/1785 | 23,880,585 | MDExOlB1bGxSZXF1ZXN0MTA2MDU5OTU= | 1,785 | Made default_user_agent reusable | {
"avatar_url": "https://avatars.githubusercontent.com/u/1580136?v=4",
"events_url": "https://api.github.com/users/smallcode/events{/privacy}",
"followers_url": "https://api.github.com/users/smallcode/followers",
"following_url": "https://api.github.com/users/smallcode/following{/other_user}",
"gists_url": "h... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501249,
"name": "Needs BDFL Input",
"node_id": "MDU6TGFiZWw0NDUwMTI0OQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input"
},
{
"color": "e11d21",
"default": false,
"descrip... | closed | true | null | [] | null | 3 | 2013-12-06T19:46:03Z | 2021-09-08T22:01:05Z | 2013-12-07T05:55:44Z | NONE | resolved | make the version reusable too.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1580136?v=4",
"events_url": "https://api.github.com/users/smallcode/events{/privacy}",
"followers_url": "https://api.github.com/users/smallcode/followers",
"following_url": "https://api.github.com/users/smallcode/following{/other_user}",
"gists_url": "h... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1785/reactions"
} | https://api.github.com/repos/psf/requests/issues/1785/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1785.diff",
"html_url": "https://github.com/psf/requests/pull/1785",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1785.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1785"
} | true | [
"I'm now -1 on this. I was neutral on the previous change, but each additional changeable value takes us one step closer to the logical endpoint of this trend, which is every parameter is editable. I think we should stop changing this, and just let people reimplement the totally trivial logic of this function if th... |
https://api.github.com/repos/psf/requests/issues/1784 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1784/labels{/name} | https://api.github.com/repos/psf/requests/issues/1784/comments | https://api.github.com/repos/psf/requests/issues/1784/events | https://github.com/psf/requests/issues/1784 | 23,845,672 | MDU6SXNzdWUyMzg0NTY3Mg== | 1,784 | Can't upload file larger than 2GB to webdav by requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/2759502?v=4",
"events_url": "https://api.github.com/users/wchang/events{/privacy}",
"followers_url": "https://api.github.com/users/wchang/followers",
"following_url": "https://api.github.com/users/wchang/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 25 | 2013-12-06T09:20:32Z | 2021-09-09T00:28:30Z | 2013-12-11T12:34:35Z | NONE | resolved | Dear Sir,
I can't upload file larger than 2GB to webdav server by requests, and the following is the error message. Any idea about how to solve this problem ? Thanks a lot for your help.
OS: SL5,SL6
Python version:2.6.6
requests version:2.1.0
raceback (most recent call last):
File "upload.py", line 5, in <module>
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1784/reactions"
} | https://api.github.com/repos/psf/requests/issues/1784/timeline | null | completed | null | null | false | [
"Hi: can I see the line of code you're using to send the file?\n",
"Hi,\nIt's my simple code:\nimport requests\nfile=open('/home/evan/file_2.5G_01','rb')\ndata=file.read()\nrequests.put('https://my/webdav/server/file_2.5G_01', data=data, verify=False, cert=('/tmp/evan.proxy','/tmp/evan.proxy'))\n\nThanks,\nEvan C... |
https://api.github.com/repos/psf/requests/issues/1783 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1783/labels{/name} | https://api.github.com/repos/psf/requests/issues/1783/comments | https://api.github.com/repos/psf/requests/issues/1783/events | https://github.com/psf/requests/pull/1783 | 23,822,752 | MDExOlB1bGxSZXF1ZXN0MTA1NzM3Njg= | 1,783 | jenkins test 2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2013-12-05T22:21:05Z | 2021-09-08T23:05:08Z | 2013-12-05T22:26:45Z | 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/1783/reactions"
} | https://api.github.com/repos/psf/requests/issues/1783/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1783.diff",
"html_url": "https://github.com/psf/requests/pull/1783",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1783.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1783"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1782 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1782/labels{/name} | https://api.github.com/repos/psf/requests/issues/1782/comments | https://api.github.com/repos/psf/requests/issues/1782/events | https://github.com/psf/requests/pull/1782 | 23,822,484 | MDExOlB1bGxSZXF1ZXN0MTA1NzM2MTA= | 1,782 | Fake PR for testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2013-12-05T22:16:57Z | 2021-09-08T23:06:26Z | 2013-12-05T22:20:43Z | 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/1782/reactions"
} | https://api.github.com/repos/psf/requests/issues/1782/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1782.diff",
"html_url": "https://github.com/psf/requests/pull/1782",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1782.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1782"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1781 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1781/labels{/name} | https://api.github.com/repos/psf/requests/issues/1781/comments | https://api.github.com/repos/psf/requests/issues/1781/events | https://github.com/psf/requests/pull/1781 | 23,817,778 | MDExOlB1bGxSZXF1ZXN0MTA1NzA5NTY= | 1,781 | Clean up #1779. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2013-12-05T21:07:54Z | 2021-09-08T23:11:09Z | 2013-12-05T22:00:59Z | MEMBER | resolved | The unicode literals are a time bomb, let's just be rid of them.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1781/reactions"
} | https://api.github.com/repos/psf/requests/issues/1781/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1781.diff",
"html_url": "https://github.com/psf/requests/pull/1781",
"merged_at": "2013-12-05T22:00:59Z",
"patch_url": "https://github.com/psf/requests/pull/1781.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1781"
} | true | [
"Probably I would have fixed it if a message was left like \"Clean up the unicode, then we are good to merge\". \n",
"@kracekumar I know. =) The only reason I did this was because Kenneth got eager to push out a release last night, and I wanted to make sure we didn't slow him down. =) Your PR was a good one, than... |
https://api.github.com/repos/psf/requests/issues/1780 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1780/labels{/name} | https://api.github.com/repos/psf/requests/issues/1780/comments | https://api.github.com/repos/psf/requests/issues/1780/events | https://github.com/psf/requests/issues/1780 | 23,775,370 | MDU6SXNzdWUyMzc3NTM3MA== | 1,780 | Specifying POST body content-type | {
"avatar_url": "https://avatars.githubusercontent.com/u/343998?v=4",
"events_url": "https://api.github.com/users/bow/events{/privacy}",
"followers_url": "https://api.github.com/users/bow/followers",
"following_url": "https://api.github.com/users/bow/following{/other_user}",
"gists_url": "https://api.github.c... | [] | closed | true | null | [] | null | 7 | 2013-12-05T09:29:11Z | 2021-09-08T09:00:36Z | 2013-12-09T19:12:38Z | NONE | resolved | I was using requests to submit POST requests to a third-party website when I noticed that the `files` parameter can also accept a three- or four-element tuple that denotes body content-type (and another header?) (https://github.com/kennethreitz/requests/blob/master/requests/models.py#L120) instead of just two as noted ... | {
"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/1780/reactions"
} | https://api.github.com/repos/psf/requests/issues/1780/timeline | null | completed | null | null | false | [
"It's not mentioned in the docs primarily out of laziness. We do talk about it elsewhere, such as on Stack Overflow. I think more generally we're not very happy with that interface, so we're always considering changing it, but I think we'd be happy to accept a docs pull request anyway. =)\n",
"Is there any reason... |
https://api.github.com/repos/psf/requests/issues/1779 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1779/labels{/name} | https://api.github.com/repos/psf/requests/issues/1779/comments | https://api.github.com/repos/psf/requests/issues/1779/events | https://github.com/psf/requests/pull/1779 | 23,769,423 | MDExOlB1bGxSZXF1ZXN0MTA1NDM2Mjk= | 1,779 | Made default_user_agent reusable | {
"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 | 8 | 2013-12-05T06:41:57Z | 2021-09-08T23:06:31Z | 2013-12-05T19:44:06Z | CONTRIBUTOR | resolved | This is not exciting change, but will help for people who wants to change name of user agent alone. Also name can be unicode.
| {
"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/1779/reactions"
} | https://api.github.com/repos/psf/requests/issues/1779/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1779.diff",
"html_url": "https://github.com/psf/requests/pull/1779",
"merged_at": "2013-12-05T19:44:06Z",
"patch_url": "https://github.com/psf/requests/pull/1779.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1779"
} | true | [
"I'm strongly +0 on this change. I can see how it's useful, but it's hidden away in an undocumented library function that we never planned to expose to the world, so I'm quite happy to let this change go unmerged as well. It's not hard to construct a User-Agent on your own. =)\n\nMore importantly, the code isn't ri... |
https://api.github.com/repos/psf/requests/issues/1778 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1778/labels{/name} | https://api.github.com/repos/psf/requests/issues/1778/comments | https://api.github.com/repos/psf/requests/issues/1778/events | https://github.com/psf/requests/issues/1778 | 23,764,500 | MDU6SXNzdWUyMzc2NDUwMA== | 1,778 | Browser compatible redirects don't work for APIs | {
"avatar_url": "https://avatars.githubusercontent.com/u/416057?v=4",
"events_url": "https://api.github.com/users/jamielennox/events{/privacy}",
"followers_url": "https://api.github.com/users/jamielennox/followers",
"following_url": "https://api.github.com/users/jamielennox/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2013-12-05T03:28:14Z | 2021-09-09T00:28:31Z | 2013-12-09T19:12:46Z | NONE | resolved | In the redirection code there are a couple of special rules for handling redirections:
kennethreitz/requests@4bceb312f1b99d36a25f2985b5606e98b6f0d8cd/requests/sessions.py#L127 shows handling of rfc2616 and some browser specific handling for https://en.wikipedia.org/wiki/Post/Redirect/Get
I understand why that is the... | {
"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/1778/reactions"
} | https://api.github.com/repos/psf/requests/issues/1778/timeline | null | completed | null | null | false | [
"If you want to override Requests' redirect logic, the way to do it is to set `allow_redirects` to false.\n\nIt's also unclear to me why APIs would ignore that set of behaviours. Writing an API that assumes that a 301/302 will keep the verb the same on redirect is willfully blind, especially when two other status c... |
https://api.github.com/repos/psf/requests/issues/1777 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1777/labels{/name} | https://api.github.com/repos/psf/requests/issues/1777/comments | https://api.github.com/repos/psf/requests/issues/1777/events | https://github.com/psf/requests/issues/1777 | 23,736,831 | MDU6SXNzdWUyMzczNjgzMQ== | 1,777 | AttributeError: 'HTTPAdapter' object has no attribute 'proxy_manager' | {
"avatar_url": "https://avatars.githubusercontent.com/u/113129?v=4",
"events_url": "https://api.github.com/users/erikcw/events{/privacy}",
"followers_url": "https://api.github.com/users/erikcw/followers",
"following_url": "https://api.github.com/users/erikcw/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 7 | 2013-12-04T18:48:11Z | 2021-09-09T00:10:11Z | 2014-02-03T11:02:16Z | CONTRIBUTOR | resolved | I'm running requests version 2.0.1 on OSX 10.9 and proxying through Charles Proxy.
I've been getting the following traceback when trying query an API. Looks like the `proxy_manager` is not getting set in the object.
``` python
# requests session is setup like this:
headers = {
'User-Agen... | {
"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/1777/reactions"
} | https://api.github.com/repos/psf/requests/issues/1777/timeline | null | completed | null | null | false | [
"You're going to have to use some real code, I'm afraid, because that simply shouldn't be possible. Initialising the `HTTPAdapter` object also initialises `proxy_manager` to an empty dictionary, so it should be impossible for that `AttributeError` to be raised.\n",
"@erikcw Any updates on this issue? I'm really c... |
https://api.github.com/repos/psf/requests/issues/1776 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1776/labels{/name} | https://api.github.com/repos/psf/requests/issues/1776/comments | https://api.github.com/repos/psf/requests/issues/1776/events | https://github.com/psf/requests/pull/1776 | 23,713,024 | MDExOlB1bGxSZXF1ZXN0MTA1MTEzNzI= | 1,776 | Fix 1728 (Fixed up from #1729) | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 1 | 2013-12-04T12:46:50Z | 2021-09-08T23:06:15Z | 2013-12-05T22:26:58Z | CONTRIBUTOR | resolved | This is just @gazpachoking's PR #1729 in a mergable state and with the PR feedback that @Lukasa left on 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/1776/reactions"
} | https://api.github.com/repos/psf/requests/issues/1776/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1776.diff",
"html_url": "https://github.com/psf/requests/pull/1776",
"merged_at": "2013-12-05T22:26:58Z",
"patch_url": "https://github.com/psf/requests/pull/1776.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1776"
} | true | [
"LGTM. =) :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1775 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1775/labels{/name} | https://api.github.com/repos/psf/requests/issues/1775/comments | https://api.github.com/repos/psf/requests/issues/1775/events | https://github.com/psf/requests/pull/1775 | 23,649,105 | MDExOlB1bGxSZXF1ZXN0MTA0NzQ5OTQ= | 1,775 | Add README to requests/packages | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 15 | 2013-12-03T15:19:22Z | 2021-09-08T23:10:59Z | 2013-12-04T01:02:25Z | CONTRIBUTOR | resolved | - Hopefully people will read this before making changes to vendored libraries
Hopefully this will prevent PRs like: #1773
| {
"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/1775/reactions"
} | https://api.github.com/repos/psf/requests/issues/1775/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1775.diff",
"html_url": "https://github.com/psf/requests/pull/1775",
"merged_at": "2013-12-04T01:02:25Z",
"patch_url": "https://github.com/psf/requests/pull/1775.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1775"
} | true | [
"I approve this message. I don't approve the fact that Travis CI tested it instead of Jenkins.\n",
"@kennethreitz can you turn off the Travis integration hook altogether? This is annoying. I'd be willing to guess that they both ran this but Travis ran it last and got precendence over the other.\n",
"uh, i thoug... |
https://api.github.com/repos/psf/requests/issues/1774 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1774/labels{/name} | https://api.github.com/repos/psf/requests/issues/1774/comments | https://api.github.com/repos/psf/requests/issues/1774/events | https://github.com/psf/requests/issues/1774 | 23,643,925 | MDU6SXNzdWUyMzY0MzkyNQ== | 1,774 | Response should not return 'ISO-8859-1' as default encoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/494412?v=4",
"events_url": "https://api.github.com/users/weiqiyiji/events{/privacy}",
"followers_url": "https://api.github.com/users/weiqiyiji/followers",
"following_url": "https://api.github.com/users/weiqiyiji/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 6 | 2013-12-03T13:59:38Z | 2021-09-08T23:10:44Z | 2013-12-03T14:07:09Z | NONE | resolved | Hi, the code that get encoding, when fetching http://lianxu.me/blog/2012/11/14/10-cocoa-objc-newbie-problems/, it will return default encoding 'ISO-8859-1' (The page's content-type is `text/html`, not `text/html; charset=utf-8`)
```
def get_encoding_from_headers(headers):
"""Returns encodings from given HTTP Heade... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1774/reactions"
} | https://api.github.com/repos/psf/requests/issues/1774/timeline | null | completed | null | null | false | [
"I'm 90% sure we just received a similar issue. Let me find it before I give you what I think I remember as the conclusion\n",
"And [the issue I was thinking of](https://github.com/kennethreitz/requests/issues/1737) is still open. I'm closing this to centralize discussion over there with the added request that yo... |
https://api.github.com/repos/psf/requests/issues/1773 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1773/labels{/name} | https://api.github.com/repos/psf/requests/issues/1773/comments | https://api.github.com/repos/psf/requests/issues/1773/events | https://github.com/psf/requests/pull/1773 | 23,639,960 | MDExOlB1bGxSZXF1ZXN0MTA0Njk5NTg= | 1,773 | Ensure sockets are properly closed on object destruction | {
"avatar_url": "https://avatars.githubusercontent.com/u/3353832?v=4",
"events_url": "https://api.github.com/users/vincentxb/events{/privacy}",
"followers_url": "https://api.github.com/users/vincentxb/followers",
"following_url": "https://api.github.com/users/vincentxb/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2013-12-03T12:44:55Z | 2021-09-08T23:10:54Z | 2013-12-03T14:10:19Z | NONE | resolved | Fix issue @tardyp reported on #239
We have not been able to reproduce on a simple testcase. We can only make it happen on our complex environment; involving buildbot, twisted and txrequests.
This fix no longer exhibits the issue. Please, give us a feedback whether this solutions is correct.
| {
"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/1773/reactions"
} | https://api.github.com/repos/psf/requests/issues/1773/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1773.diff",
"html_url": "https://github.com/psf/requests/pull/1773",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1773.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1773"
} | true | [
"It's certainly possible that the fixes are correct, but all your changes are in urllib3. This is actually a third party library that is maintained separately from Requests, and we simply include a direct copy of their code. Can I suggest you raise the issue at [shazow/urllib3](https://github.com/shazow/urllib3)?\n... |
https://api.github.com/repos/psf/requests/issues/1772 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1772/labels{/name} | https://api.github.com/repos/psf/requests/issues/1772/comments | https://api.github.com/repos/psf/requests/issues/1772/events | https://github.com/psf/requests/pull/1772 | 23,618,218 | MDExOlB1bGxSZXF1ZXN0MTA0NTgyNzI= | 1,772 | Make morsel_to_cookie more pythonic | {
"avatar_url": "https://avatars.githubusercontent.com/u/1069047?v=4",
"events_url": "https://api.github.com/users/mdbecker/events{/privacy}",
"followers_url": "https://api.github.com/users/mdbecker/followers",
"following_url": "https://api.github.com/users/mdbecker/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 16 | 2013-12-03T02:56:53Z | 2021-09-08T23:07:16Z | 2013-12-06T15:38:12Z | CONTRIBUTOR | resolved | Fix a pep8 error. Prior to fixing this, I implemented some tests to cover the code I was fixing. This should help prevent regression issues.
| {
"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/1772/reactions"
} | https://api.github.com/repos/psf/requests/issues/1772/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1772.diff",
"html_url": "https://github.com/psf/requests/pull/1772",
"merged_at": "2013-12-06T15:38:12Z",
"patch_url": "https://github.com/psf/requests/pull/1772.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1772"
} | true | [
"@sigmavirus24 - Pushed the changes we discussed. Let me know if you have anything else!\n\nThanks!\n",
"With the exception that the diff is a bit noisy due to @mdbecker alphabetizing portions (imports and one functions params), this is good to merge in my opinion.\n\nFor those who don't care to read :+1: :shipit... |
https://api.github.com/repos/psf/requests/issues/1771 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1771/labels{/name} | https://api.github.com/repos/psf/requests/issues/1771/comments | https://api.github.com/repos/psf/requests/issues/1771/events | https://github.com/psf/requests/issues/1771 | 23,618,167 | MDU6SXNzdWUyMzYxODE2Nw== | 1,771 | Object type comparison in morsel_to_cookie is unpythonic | {
"avatar_url": "https://avatars.githubusercontent.com/u/1069047?v=4",
"events_url": "https://api.github.com/users/mdbecker/events{/privacy}",
"followers_url": "https://api.github.com/users/mdbecker/followers",
"following_url": "https://api.github.com/users/mdbecker/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2013-12-03T02:55:18Z | 2021-09-09T00:34:14Z | 2013-12-03T03:14:22Z | CONTRIBUTOR | resolved | Found this one via the pep8 tool:
requests/cookies.py:386:26: E721 do not compare types, use 'isinstance()'
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1771/reactions"
} | https://api.github.com/repos/psf/requests/issues/1771/timeline | null | completed | null | null | false | [
"Closing to centralize discussion on #1772\n"
] |
https://api.github.com/repos/psf/requests/issues/1770 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1770/labels{/name} | https://api.github.com/repos/psf/requests/issues/1770/comments | https://api.github.com/repos/psf/requests/issues/1770/events | https://github.com/psf/requests/pull/1770 | 23,604,803 | MDExOlB1bGxSZXF1ZXN0MTA0NTA1Njc= | 1,770 | Implemetation of IP address ranges for no_proxy environment variable | {
"avatar_url": "https://avatars.githubusercontent.com/u/3167253?v=4",
"events_url": "https://api.github.com/users/kmadac/events{/privacy}",
"followers_url": "https://api.github.com/users/kmadac/followers",
"following_url": "https://api.github.com/users/kmadac/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 8 | 2013-12-02T21:55:18Z | 2021-09-08T23:07:17Z | 2013-12-05T22:40:44Z | CONTRIBUTOR | resolved | Hello,
During OpenStack implementation we found out that it is not possible to use IP ranges in no_proxy environment variable. We needed to exclude whole range of IP addresses (172.28.1.0/24), not only domain names or particular IP addresses.
Now it is possible to specify no_proxy like
```
no_proxy=127.0.0.1,192.168... | {
"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/1770/reactions"
} | https://api.github.com/repos/psf/requests/issues/1770/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1770.diff",
"html_url": "https://github.com/psf/requests/pull/1770",
"merged_at": "2013-12-05T22:40:44Z",
"patch_url": "https://github.com/psf/requests/pull/1770.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1770"
} | true | [
"Hi Kamil, thanks for this work! Unfortunately, there are a number of problems that would need to be addressed before we could merge this pull request.\n1. You've checked in an Intellij IDEA file, `.idea/dictionaries/kmadac.xml`. This needs to be removed.\n2. `netaddr` is a third-party module that isn't part of the... |
https://api.github.com/repos/psf/requests/issues/1769 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1769/labels{/name} | https://api.github.com/repos/psf/requests/issues/1769/comments | https://api.github.com/repos/psf/requests/issues/1769/events | https://github.com/psf/requests/issues/1769 | 23,563,843 | MDU6SXNzdWUyMzU2Mzg0Mw== | 1,769 | Requests failing over integer in cookie | {
"avatar_url": "https://avatars.githubusercontent.com/u/2722815?v=4",
"events_url": "https://api.github.com/users/CarstVaartjes/events{/privacy}",
"followers_url": "https://api.github.com/users/CarstVaartjes/followers",
"following_url": "https://api.github.com/users/CarstVaartjes/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 3 | 2013-12-02T10:35:37Z | 2021-09-09T00:34:14Z | 2013-12-02T10:46:54Z | NONE | resolved | Hi,
I described it here:
http://stackoverflow.com/questions/20325571/python-requests-failing-over-integer-in-cookie
But basically this creates an error:
```
import requests
r = requests.get('http://www.c1000.nl/kies-uw-winkel.aspx')
...
File "/srv/www/li/venv/local/lib/python2.7/site-packages/requests/cookies.py"... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1769/reactions"
} | https://api.github.com/repos/psf/requests/issues/1769/timeline | null | completed | null | null | false | [
"Hi there!\n\nFirst, the answer. Yes, this is a known issue, and a fix is already present in master.\n\nNow, some notes. Asking this question on Stack Overflow was exactly the right thing to do. When you do that, please wait more than 30 minutes before moving to this issue tracker. Both I and @sigmavirus24 regularl... |
https://api.github.com/repos/psf/requests/issues/1768 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1768/labels{/name} | https://api.github.com/repos/psf/requests/issues/1768/comments | https://api.github.com/repos/psf/requests/issues/1768/events | https://github.com/psf/requests/pull/1768 | 23,535,179 | MDExOlB1bGxSZXF1ZXN0MTA0MTUwMDg= | 1,768 | Unencode usernames and passwords taken from URLs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 60620163,
"name": "Minion Seal of Approval",
"node_id": "MDU6TGFiZWw2MDYyMDE2Mw==",
"url": "https://api.github.com/repos/psf/requests/labels/Minion%20Seal%20of%20Approval"
}
] | closed | true | null | [] | null | 2 | 2013-12-01T11:34:25Z | 2021-09-08T23:08:18Z | 2013-12-04T01:36:00Z | MEMBER | resolved | Fixes #1767.
| {
"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/1768/reactions"
} | https://api.github.com/repos/psf/requests/issues/1768/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1768.diff",
"html_url": "https://github.com/psf/requests/pull/1768",
"merged_at": "2013-12-04T01:36:00Z",
"patch_url": "https://github.com/psf/requests/pull/1768.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1768"
} | true | [
":+1:\n",
"good call!\n"
] |
https://api.github.com/repos/psf/requests/issues/1767 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1767/labels{/name} | https://api.github.com/repos/psf/requests/issues/1767/comments | https://api.github.com/repos/psf/requests/issues/1767/events | https://github.com/psf/requests/issues/1767 | 23,533,930 | MDU6SXNzdWUyMzUzMzkzMA== | 1,767 | HTTP Basic Auth credentials extracted from URL are %-encoded | {
"avatar_url": "https://avatars.githubusercontent.com/u/120810?v=4",
"events_url": "https://api.github.com/users/lw/events{/privacy}",
"followers_url": "https://api.github.com/users/lw/followers",
"following_url": "https://api.github.com/users/lw/following{/other_user}",
"gists_url": "https://api.github.com/... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
... | closed | true | null | [] | null | 2 | 2013-12-01T09:22:15Z | 2021-09-09T00:34:14Z | 2013-12-04T01:36:00Z | NONE | resolved | I was relying on credential auto-extraction from the hostname [1] to perform HTTP Basic Auth but I was getting "401 Unauthorized": the spaces in the password were substituted by `%20`. Manually extracting them with `urlsplit` and passing them to the `auth` parameter as a tuple works.
[1] http://docs.python-requests.or... | {
"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/1767/reactions"
} | https://api.github.com/repos/psf/requests/issues/1767/timeline | null | completed | null | null | false | [
"Hmm, that behaviour feels wrong to me. Probably should fix this. =) Thanks! :cake:\n",
"Thanks for reporting this @lerks \n"
] |
https://api.github.com/repos/psf/requests/issues/1766 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1766/labels{/name} | https://api.github.com/repos/psf/requests/issues/1766/comments | https://api.github.com/repos/psf/requests/issues/1766/events | https://github.com/psf/requests/pull/1766 | 23,480,226 | MDExOlB1bGxSZXF1ZXN0MTAzODg0ODk= | 1,766 | Quote qop values in digest auth. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 60620163,
"name": "Minion Seal of Approval",
"node_id": "MDU6TGFiZWw2MDYyMDE2Mw==",
"url": "https://api.github.com/repos/psf/requests/labels/Minion%20Seal%20of%20Approval"
}
] | closed | true | null | [] | null | 4 | 2013-11-29T08:38:09Z | 2021-09-09T00:01:16Z | 2013-12-04T01:33:59Z | MEMBER | resolved | Resolves #1765.
| {
"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/1766/reactions"
} | https://api.github.com/repos/psf/requests/issues/1766/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1766.diff",
"html_url": "https://github.com/psf/requests/pull/1766",
"merged_at": "2013-12-04T01:33:59Z",
"patch_url": "https://github.com/psf/requests/pull/1766.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1766"
} | true | [
"#1765 was already a PR, why did you open this one? We could have added tests after the fact. Can you rebase this to work off of #1765 so that @bicycle1885 gets some credit?\n",
"Uh, yeah, that's because I'm an idiot and didn't spot it. Like a moron.\n",
"> Uh, yeah, that's because I'm an idiot and didn't spot ... |
https://api.github.com/repos/psf/requests/issues/1765 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1765/labels{/name} | https://api.github.com/repos/psf/requests/issues/1765/comments | https://api.github.com/repos/psf/requests/issues/1765/events | https://github.com/psf/requests/pull/1765 | 23,477,378 | MDExOlB1bGxSZXF1ZXN0MTAzODY5MDM= | 1,765 | quote qop options in Digest Auth | {
"avatar_url": "https://avatars.githubusercontent.com/u/905683?v=4",
"events_url": "https://api.github.com/users/bicycle1885/events{/privacy}",
"followers_url": "https://api.github.com/users/bicycle1885/followers",
"following_url": "https://api.github.com/users/bicycle1885/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 10 | 2013-11-29T06:45:00Z | 2021-09-09T00:01:15Z | 2013-11-29T16:47:12Z | CONTRIBUTOR | resolved | Based on RFC2617 (http://tools.ietf.org/html/rfc2617), the value of
'qop-options' directive should be quoted with double quotes:
```
qop-options
This directive is optional, but is made so only for backward
compatibility with RFC 2069 [6]; it SHOULD be used by all
implementations compliant with this vers... | {
"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/1765/reactions"
} | https://api.github.com/repos/psf/requests/issues/1765/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1765.diff",
"html_url": "https://github.com/psf/requests/pull/1765",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1765.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1765"
} | true | [
"These are packet dumps from wireshark. Please note the difference of quotes around the value of qop options.\n\ncurl:\n\n```\n0050 69 3f 6d 6f 64 65 3d 31 20 48 54 54 50 2f 31 2e i?mode=1 HTTP/1.\n0060 31 0d 0a 41 75 74 68 6f 72 69 7a 61 74 69 6f 6e 1..Authorization\n0070 3a 20 44 69 67 65 73 74 20 75 73 65... |
https://api.github.com/repos/psf/requests/issues/1764 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1764/labels{/name} | https://api.github.com/repos/psf/requests/issues/1764/comments | https://api.github.com/repos/psf/requests/issues/1764/events | https://github.com/psf/requests/pull/1764 | 23,463,487 | MDExOlB1bGxSZXF1ZXN0MTAzODAxMTg= | 1,764 | Prepare new release (2.1.0)? | {
"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 | 7 | 2013-11-28T18:36:29Z | 2021-09-08T23:07:33Z | 2013-12-04T01:35:02Z | MEMBER | resolved | There are a few nasty bugs that we've fixed since the last release, including the broken SNI support. It'd be good to get another release out. I think a few things have changed dramatically enough that this is probably a minor release (e.g. takes us to 2.1.0). Thoughts? /cc @kennethreitz @sigmavirus24
Still to do:
- [... | {
"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/1764/reactions"
} | https://api.github.com/repos/psf/requests/issues/1764/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1764.diff",
"html_url": "https://github.com/psf/requests/pull/1764",
"merged_at": "2013-12-04T01:35:02Z",
"patch_url": "https://github.com/psf/requests/pull/1764.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1764"
} | true | [
"2.1.0 is a little overdue so I'm :+1:. I'll review the PRs you listed and provide feedback again just to be safe (in case I missed any of them).\n",
"I would say \"definitely\" #1766. That shouldn't be a \"maybe\"\n",
"Looking over the PRs listed above now:\n- #1713 :+1: merge it\n- #1657 :+1: merge it\n- #172... |
https://api.github.com/repos/psf/requests/issues/1763 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1763/labels{/name} | https://api.github.com/repos/psf/requests/issues/1763/comments | https://api.github.com/repos/psf/requests/issues/1763/events | https://github.com/psf/requests/issues/1763 | 23,445,810 | MDU6SXNzdWUyMzQ0NTgxMA== | 1,763 | Requests to a domain name defined in /etc/hosts fails. | {
"avatar_url": "https://avatars.githubusercontent.com/u/229453?v=4",
"events_url": "https://api.github.com/users/Natim/events{/privacy}",
"followers_url": "https://api.github.com/users/Natim/followers",
"following_url": "https://api.github.com/users/Natim/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 4 | 2013-11-28T11:58:29Z | 2021-09-09T00:34:15Z | 2013-11-28T12:05:57Z | NONE | resolved | ```
~/workspace/venv/local/lib/python2.7/site-packages/requests/api.py line 55 in get
return request('get', url, **kwargs)
~/workspace/venv/local/lib/python2.7/site-packages/requests/api.py line 44 in request
return session.request(method=method, url=url, **kwargs)
~/workspace/venv/local/lib/python2.7... | {
"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/1763/reactions"
} | https://api.github.com/repos/psf/requests/issues/1763/timeline | null | completed | null | null | false | [
"Why is this a requests bug?\n",
"Ok let me explain it differently. I had the problem before and the fix was to use gevent master. Since gevent has been released, the bug came back.\n",
"Your references were useful, so I'm going to reproduce them here: surfly/gevent#271 and surfly/gevent#21.\n\nBoth of those re... |
https://api.github.com/repos/psf/requests/issues/1762 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1762/labels{/name} | https://api.github.com/repos/psf/requests/issues/1762/comments | https://api.github.com/repos/psf/requests/issues/1762/events | https://github.com/psf/requests/pull/1762 | 23,363,879 | MDExOlB1bGxSZXF1ZXN0MTAzMjQ3OTA= | 1,762 | Update urllib3 to 929f1586 | {
"avatar_url": "https://avatars.githubusercontent.com/u/145979?v=4",
"events_url": "https://api.github.com/users/dstufft/events{/privacy}",
"followers_url": "https://api.github.com/users/dstufft/followers",
"following_url": "https://api.github.com/users/dstufft/following{/other_user}",
"gists_url": "https://... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 1 | 2013-11-27T02:42:29Z | 2021-09-08T23:05:16Z | 2013-11-27T17:23:40Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1762/reactions"
} | https://api.github.com/repos/psf/requests/issues/1762/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1762.diff",
"html_url": "https://github.com/psf/requests/pull/1762",
"merged_at": "2013-11-27T17:23:40Z",
"patch_url": "https://github.com/psf/requests/pull/1762.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1762"
} | true | [
"Always good! :cake:\n"
] | |
https://api.github.com/repos/psf/requests/issues/1761 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1761/labels{/name} | https://api.github.com/repos/psf/requests/issues/1761/comments | https://api.github.com/repos/psf/requests/issues/1761/events | https://github.com/psf/requests/issues/1761 | 23,306,845 | MDU6SXNzdWUyMzMwNjg0NQ== | 1,761 | binary file upload fails with python 2.7 under windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/6039820?v=4",
"events_url": "https://api.github.com/users/kloodf/events{/privacy}",
"followers_url": "https://api.github.com/users/kloodf/followers",
"following_url": "https://api.github.com/users/kloodf/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 6 | 2013-11-26T10:57:13Z | 2021-09-09T00:34:16Z | 2013-11-26T14:17:42Z | NONE | resolved | Following three lines cause a decoding error under windows.
somehow something seems to attempt decoding the binary file contents.
Same code works fine on Linux ( with a real url of course ;-) )
```
#!/usr/bin/env python
import requests
files = { 'file' : ( 'raw.dat', '\xff' ) }
requests.post('http://example.dies.bef... | {
"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/1761/reactions"
} | https://api.github.com/repos/psf/requests/issues/1761/timeline | null | completed | null | null | false | [
"Not for me it doesn't: Windows 7, Python 2.7.4, Requests 2.0.1. Can you provide the versions of all of your software as well?\n",
"By the way, the overwhelming cause of this is having a unicode string as either the method or in the headers. Make sure that you don't do either of those things. =)\n",
"d:\\work\\... |
https://api.github.com/repos/psf/requests/issues/1760 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1760/labels{/name} | https://api.github.com/repos/psf/requests/issues/1760/comments | https://api.github.com/repos/psf/requests/issues/1760/events | https://github.com/psf/requests/pull/1760 | 23,245,156 | MDExOlB1bGxSZXF1ZXN0MTAyNjEwMDI= | 1,760 | Fix hangs on streaming uploads with HTTPDigestAuth | {
"avatar_url": "https://avatars.githubusercontent.com/u/53781?v=4",
"events_url": "https://api.github.com/users/akitada/events{/privacy}",
"followers_url": "https://api.github.com/users/akitada/followers",
"following_url": "https://api.github.com/users/akitada/following{/other_user}",
"gists_url": "https://a... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 2 | 2013-11-25T14:26:36Z | 2021-09-08T23:05:27Z | 2013-11-25T19:40:10Z | CONTRIBUTOR | resolved | When using Digest Authentication, the client resends the same request
after the server responds with the 401 "Unauthorized". However, when
doing streaming uploads, it gets stuck because the body data (a
file-like object) is already consumed at the initial request.
The patch fixes this by rewinding the file-like object... | {
"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/1760/reactions"
} | https://api.github.com/repos/psf/requests/issues/1760/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1760.diff",
"html_url": "https://github.com/psf/requests/pull/1760",
"merged_at": "2013-11-25T19:40:10Z",
"patch_url": "https://github.com/psf/requests/pull/1760.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1760"
} | true | [
"This fixes #1755\n",
"LGTM. Thanks for this! :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1759 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1759/labels{/name} | https://api.github.com/repos/psf/requests/issues/1759/comments | https://api.github.com/repos/psf/requests/issues/1759/events | https://github.com/psf/requests/issues/1759 | 23,235,742 | MDU6SXNzdWUyMzIzNTc0Mg== | 1,759 | builtin_str in python2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/747262?v=4",
"events_url": "https://api.github.com/users/nahuelange/events{/privacy}",
"followers_url": "https://api.github.com/users/nahuelange/followers",
"following_url": "https://api.github.com/users/nahuelange/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 3 | 2013-11-25T11:18:58Z | 2021-09-09T00:34:16Z | 2013-11-25T14:51:00Z | NONE | resolved | builtin_str should be defined as unicode for py2 version OR in models.py (line 107) don't re-encode data.
When passing files & datas, datas are réencoded from unicode to str, and raise an UnicodeEncodeError.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/747262?v=4",
"events_url": "https://api.github.com/users/nahuelange/events{/privacy}",
"followers_url": "https://api.github.com/users/nahuelange/followers",
"following_url": "https://api.github.com/users/nahuelange/following{/other_user}",
"gists_url": ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1759/reactions"
} | https://api.github.com/repos/psf/requests/issues/1759/timeline | null | completed | null | null | false | [
"`builtin_str` means literally natural `str` type of python. So, there is no reason that `builtin_str` should be defined as `unicode` in python2.\nCan you explain in detail about how you passed data to `requests`?\n",
"It's not clear to me what your problem is here. You've provided fixes, but not indicated what t... |
https://api.github.com/repos/psf/requests/issues/1757 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1757/labels{/name} | https://api.github.com/repos/psf/requests/issues/1757/comments | https://api.github.com/repos/psf/requests/issues/1757/events | https://github.com/psf/requests/issues/1757 | 23,213,540 | MDU6SXNzdWUyMzIxMzU0MA== | 1,757 | partial download using range header not working | {
"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 | 5 | 2013-11-24T21:42:18Z | 2021-09-09T00:34:15Z | 2013-11-27T06:45:07Z | NONE | resolved | This is supposed to download a partial chunk of the URL (bytes 1000 to 2000)
```
target = 'http://10.0.0.10/words.txt'
headers = {'Range':'bytes=1000-2000'}
r = requests.get (target, headers=headers)
print r.text
```
It's not working and I get the whole file.
It does however work with the standard library's urllib2.... | {
"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/1757/reactions"
} | https://api.github.com/repos/psf/requests/issues/1757/timeline | null | completed | null | null | false | [
"I suspect the server is at fault here.\n\n``` python\n>>> import requests\n>>> url = 'http://mirrors.manchester.m247.com/ubuntu-releases//precise/ubuntu-12.04.3-desktop-amd64.iso'\n>>> r = requests.get(url, headers={'Range': 'bytes=1000-2000'}, stream=True)\n>>> r.status_code\n206\n```\n\nIf you believe the differ... |
https://api.github.com/repos/psf/requests/issues/1756 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1756/labels{/name} | https://api.github.com/repos/psf/requests/issues/1756/comments | https://api.github.com/repos/psf/requests/issues/1756/events | https://github.com/psf/requests/issues/1756 | 23,209,412 | MDU6SXNzdWUyMzIwOTQxMg== | 1,756 | import error if ndg-httpsclient and pyasn1 are installed | {
"avatar_url": "https://avatars.githubusercontent.com/u/662249?v=4",
"events_url": "https://api.github.com/users/dimaqq/events{/privacy}",
"followers_url": "https://api.github.com/users/dimaqq/followers",
"following_url": "https://api.github.com/users/dimaqq/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2013-11-24T17:50:02Z | 2021-09-09T00:34:17Z | 2013-11-24T17:51:54Z | NONE | resolved | Supposedly these dependencies are needed for SNI support in python2.
However requests doesn't even import when these dependencies are installed.
virtualenv-2.7 testX; . testX/bin/activate
pip install ipython requests ndg-httpsclient pyasn1
```
In [1]: import requests
-------------------------------------------------... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1756/reactions"
} | https://api.github.com/repos/psf/requests/issues/1756/timeline | null | completed | null | null | false | [
"Please check the open issues before you raise one. This is being tracked in #1732.\n",
"thanks for catching this. glad to see it already got some attention!\n"
] |
https://api.github.com/repos/psf/requests/issues/1755 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1755/labels{/name} | https://api.github.com/repos/psf/requests/issues/1755/comments | https://api.github.com/repos/psf/requests/issues/1755/events | https://github.com/psf/requests/issues/1755 | 23,204,417 | MDU6SXNzdWUyMzIwNDQxNw== | 1,755 | Streaming uploads with HTTPBasicAuth causes stuck on resending the request | {
"avatar_url": "https://avatars.githubusercontent.com/u/53781?v=4",
"events_url": "https://api.github.com/users/akitada/events{/privacy}",
"followers_url": "https://api.github.com/users/akitada/followers",
"following_url": "https://api.github.com/users/akitada/following{/other_user}",
"gists_url": "https://a... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
... | closed | true | null | [] | null | 5 | 2013-11-24T12:30:06Z | 2021-09-09T00:28:34Z | 2013-12-05T23:04:56Z | CONTRIBUTOR | resolved | `HTTPBasicAuth` seems to have the same issue described in requests/requests-kerberos#23.
| {
"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/1755/reactions"
} | https://api.github.com/repos/psf/requests/issues/1755/timeline | null | completed | null | null | false | [
"Resolved by #1760\n",
"@akitada please don't close your own issues. We'll close them when we are ready to.\n",
"Oh, sorry! I'm not familiar with the process.\n",
"No need to apologize @akitada \n",
"Fixed in 2.1.0.\n"
] |
https://api.github.com/repos/psf/requests/issues/1754 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1754/labels{/name} | https://api.github.com/repos/psf/requests/issues/1754/comments | https://api.github.com/repos/psf/requests/issues/1754/events | https://github.com/psf/requests/pull/1754 | 23,203,552 | MDExOlB1bGxSZXF1ZXN0MTAyNDEzNjU= | 1,754 | Match the HTTPbis on HTTP 301. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 60620163,
"name": "Minion Seal of Approval",
"node_id": "MDU6TGFiZWw2MDYyMDE2Mw==",
"url": "https://api.github.com/repos/psf/requests/labels/Minion%20Seal%20of%20Approval"
}
] | closed | true | null | [] | null | 1 | 2013-11-24T11:20:20Z | 2021-09-08T23:05:26Z | 2013-11-25T19:40:00Z | MEMBER | resolved | See the discussion on issue #1704.
| {
"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/1754/reactions"
} | https://api.github.com/repos/psf/requests/issues/1754/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1754.diff",
"html_url": "https://github.com/psf/requests/pull/1754",
"merged_at": "2013-11-25T19:40:00Z",
"patch_url": "https://github.com/psf/requests/pull/1754.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1754"
} | true | [
":+1:\n"
] |
https://api.github.com/repos/psf/requests/issues/1753 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1753/labels{/name} | https://api.github.com/repos/psf/requests/issues/1753/comments | https://api.github.com/repos/psf/requests/issues/1753/events | https://github.com/psf/requests/issues/1753 | 23,193,409 | MDU6SXNzdWUyMzE5MzQwOQ== | 1,753 | Support method to gzip or otherwise compress HTTP request body? | {
"avatar_url": "https://avatars.githubusercontent.com/u/77864?v=4",
"events_url": "https://api.github.com/users/dkador/events{/privacy}",
"followers_url": "https://api.github.com/users/dkador/followers",
"following_url": "https://api.github.com/users/dkador/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 8 | 2013-11-23T20:22:39Z | 2018-08-31T22:42:22Z | 2013-11-27T02:24:26Z | NONE | resolved | It doesn't appear that requests currently supports any built-in mechanism for automatically compressing a given HTTP body payload (e.g. JSON). Correct me if I missed something terribly obvious here, and apologies if I did.
I could certainly just implement the compression part myself, but I was wondering if the reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/1753/reactions"
} | https://api.github.com/repos/psf/requests/issues/1753/timeline | null | completed | null | null | false | [
"I think it is a good idea to at least have methods for doing this documented (if not packaged in a separate library) but I'm pretty sure it doesn't belong in requests proper. \n",
"Agreed. The fact of the matter is that it isn't very hard to compress a request body yourself, and it's hard to see how we'd have a ... |
https://api.github.com/repos/psf/requests/issues/1752 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1752/labels{/name} | https://api.github.com/repos/psf/requests/issues/1752/comments | https://api.github.com/repos/psf/requests/issues/1752/events | https://github.com/psf/requests/issues/1752 | 23,122,581 | MDU6SXNzdWUyMzEyMjU4MQ== | 1,752 | Fails to make some https connections with PyPy 2.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2013-11-22T07:51:22Z | 2021-09-09T00:28:30Z | 2013-12-09T19:12:53Z | CONTRIBUTOR | resolved | This is effecting Pip pretty aggressively.
Also being tracked by PyPy: https://bugs.pypy.org/issue1645
/cc @Lukasa @sigmavirus24
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1752/reactions"
} | https://api.github.com/repos/psf/requests/issues/1752/timeline | null | completed | null | null | false | [
"Are both communities seeing the same bug? Because it looks like Alex fixed it [here](https://bitbucket.org/pypy/pypy/commits/963c6d6d7d6c8cb32d1e338ef620e9edd9e479fa). He's certainly marked it as fixed in the PyPy bug tracker.\n"
] |
https://api.github.com/repos/psf/requests/issues/1751 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1751/labels{/name} | https://api.github.com/repos/psf/requests/issues/1751/comments | https://api.github.com/repos/psf/requests/issues/1751/events | https://github.com/psf/requests/issues/1751 | 23,112,906 | MDU6SXNzdWUyMzExMjkwNg== | 1,751 | Add option to limit response downloads by size. | {
"avatar_url": "https://avatars.githubusercontent.com/u/23648?v=4",
"events_url": "https://api.github.com/users/skorokithakis/events{/privacy}",
"followers_url": "https://api.github.com/users/skorokithakis/followers",
"following_url": "https://api.github.com/users/skorokithakis/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 19 | 2013-11-22T01:55:19Z | 2021-09-09T00:10:00Z | 2013-11-22T08:29:38Z | NONE | resolved | Would it be possible to add a "limit" argument that will limit downloads to a certain size? I want my users to be able to make requests to URLs, but I don't want them to download gigabytes through them, I want the request to end after, say, 1 KB.
This will complement the "timeout" argument.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/23648?v=4",
"events_url": "https://api.github.com/users/skorokithakis/events{/privacy}",
"followers_url": "https://api.github.com/users/skorokithakis/followers",
"following_url": "https://api.github.com/users/skorokithakis/following{/other_user}",
"gist... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/1751/reactions"
} | https://api.github.com/repos/psf/requests/issues/1751/timeline | null | completed | null | null | false | [
"The API is frozen so the short answer is no.\n\nA longer answer can probably be found on other discussions of this exact same feature. If you want to do this for your users you can use the `stream` parameter and measure what you've downloaded thus far yourself. After you've hit your limit, you can close the connec... |
https://api.github.com/repos/psf/requests/issues/1750 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1750/labels{/name} | https://api.github.com/repos/psf/requests/issues/1750/comments | https://api.github.com/repos/psf/requests/issues/1750/events | https://github.com/psf/requests/issues/1750 | 23,111,514 | MDU6SXNzdWUyMzExMTUxNA== | 1,750 | sessions.request not processing cookies properly | {
"avatar_url": "https://avatars.githubusercontent.com/u/704592?v=4",
"events_url": "https://api.github.com/users/glennbach/events{/privacy}",
"followers_url": "https://api.github.com/users/glennbach/followers",
"following_url": "https://api.github.com/users/glennbach/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 4 | 2013-11-22T01:17:26Z | 2021-09-09T00:34:18Z | 2013-11-22T01:34:12Z | NONE | resolved | we do a post, passing the cookies from the previous response as the cookies:
requests.post(...,cookies=resp.cookies...)
the request function of the Session class appears to be presuming the cookies are always a dict, even though the comments indicate it could also be a cookiejar.
self.cookies = cookiejar_from_dict(c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1750/reactions"
} | https://api.github.com/repos/psf/requests/issues/1750/timeline | null | completed | null | null | false | [
"This is a duplicate of #1711.\n",
"Thanks for reporting it!\n",
"Excellent. Can I get an updated version from git? It doesn’t appear to be in master. I’m seeing other cookie problems, and I’d like to try the latest code.\n\nThanks!\n\nGlenn\n\nOn Nov 21, 2013, at 5:34 PM, Ian Cordasco notifications@github.com ... |
https://api.github.com/repos/psf/requests/issues/1749 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1749/labels{/name} | https://api.github.com/repos/psf/requests/issues/1749/comments | https://api.github.com/repos/psf/requests/issues/1749/events | https://github.com/psf/requests/issues/1749 | 23,094,666 | MDU6SXNzdWUyMzA5NDY2Ng== | 1,749 | The method resolve_redirects should also prepare_auth again so OAuth1 would work | {
"avatar_url": "https://avatars.githubusercontent.com/u/372914?v=4",
"events_url": "https://api.github.com/users/metatoaster/events{/privacy}",
"followers_url": "https://api.github.com/users/metatoaster/followers",
"following_url": "https://api.github.com/users/metatoaster/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 3 | 2013-11-21T20:22:21Z | 2021-09-09T00:10:11Z | 2014-02-03T11:01:44Z | NONE | resolved | Whenever a request made with an OAuth1 auth object results in a redirect to a new location, it would then result in the Authorization header becoming invalid (wrong signature) thus making the function provided by `allow_redirect` ultimately useless in the context of an OAuth1 session. A potential fix is to call `prepa... | {
"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/1749/reactions"
} | https://api.github.com/repos/psf/requests/issues/1749/timeline | null | completed | null | null | false | [
"Also this is reported under requests/requests-oauthlib#94.\n",
"So, the initial evaluation is that `prepare_auth` can't be placed there. We throw the authentication object away, we aren't carrying it around. The question is: do we think we should re-evaluate authentication for each new request? If we do, how sho... |
https://api.github.com/repos/psf/requests/issues/1748 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1748/labels{/name} | https://api.github.com/repos/psf/requests/issues/1748/comments | https://api.github.com/repos/psf/requests/issues/1748/events | https://github.com/psf/requests/issues/1748 | 23,054,631 | MDU6SXNzdWUyMzA1NDYzMQ== | 1,748 | Make charade library optional | {
"avatar_url": "https://avatars.githubusercontent.com/u/414336?v=4",
"events_url": "https://api.github.com/users/guettli/events{/privacy}",
"followers_url": "https://api.github.com/users/guettli/followers",
"following_url": "https://api.github.com/users/guettli/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2013-11-21T09:44:57Z | 2021-09-09T00:34:18Z | 2013-11-21T11:27:46Z | NONE | resolved | The charade library in the packages directory is quite big (500kByte)
It is only needed if you give a response not encoding. I think this is an error in the code which uses the request library.
Zen of Python "In the face of ambiguity, refuse the temptation to guess."
I think the library should be optional, and not i... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1748/reactions"
} | https://api.github.com/repos/psf/requests/issues/1748/timeline | null | completed | null | null | false | [
"Charade _is_ optional. As you've spotted, if you set the encoding yourself, we won't use it.\n\nAs for making the charade download itself optional, that doesn't fit Requests' policy of making the common use case easy. We're strongly disinclined to force people to go out and download charade to make encoding guessi... |
https://api.github.com/repos/psf/requests/issues/1747 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1747/labels{/name} | https://api.github.com/repos/psf/requests/issues/1747/comments | https://api.github.com/repos/psf/requests/issues/1747/events | https://github.com/psf/requests/pull/1747 | 22,903,571 | MDExOlB1bGxSZXF1ZXN0MTAwODQyMDg= | 1,747 | #1746 don't lowercase the whole url | {
"avatar_url": "https://avatars.githubusercontent.com/u/3482660?v=4",
"events_url": "https://api.github.com/users/daftshady/events{/privacy}",
"followers_url": "https://api.github.com/users/daftshady/followers",
"following_url": "https://api.github.com/users/daftshady/following{/other_user}",
"gists_url": "h... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 3 | 2013-11-19T11:01:25Z | 2021-09-08T23:06:26Z | 2013-11-20T09:05:15Z | CONTRIBUTOR | resolved | #1746
Modified adapters not to lowercase the whole url.
Because `urlparse` automatically makes scheme lowercase, `scheme.lower()` is unnecessary.
| {
"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/1747/reactions"
} | https://api.github.com/repos/psf/requests/issues/1747/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1747.diff",
"html_url": "https://github.com/psf/requests/pull/1747",
"merged_at": "2013-11-20T09:05:15Z",
"patch_url": "https://github.com/psf/requests/pull/1747.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1747"
} | true | [
"Heh, so it does. Good spot!\n\nI'm happy with this, :+1:.\n",
"Not sure if this is useful, but in the course of investigating urlparse/ursplit for my own purposes, I thought an explicit comment here might be good for the long term -- the standard library docs don't seem to mention at all that urlparse/urlsplit l... |
https://api.github.com/repos/psf/requests/issues/1746 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1746/labels{/name} | https://api.github.com/repos/psf/requests/issues/1746/comments | https://api.github.com/repos/psf/requests/issues/1746/events | https://github.com/psf/requests/issues/1746 | 22,895,987 | MDU6SXNzdWUyMjg5NTk4Nw== | 1,746 | Don't lowercase the whole URL when opening a connection | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
... | closed | true | null | [] | null | 8 | 2013-11-19T08:53:32Z | 2021-09-09T00:28:34Z | 2013-12-05T23:05:08Z | MEMBER | resolved | As mentioned [here](https://github.com/kennethreitz/requests/commit/01993d21dc7d6fa8f0acf657425d2fead9b2ddea).
The specific line of code in question is [here](https://github.com/kennethreitz/requests/blob/master/requests/adapters.py#L209). We're lowercasing the whole URL. This _should_ be fine, but in practice there a... | {
"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/1746/reactions"
} | https://api.github.com/repos/psf/requests/issues/1746/timeline | null | completed | null | null | false | [
"I agree; it probably should have just been an URL with lowered() scheme, leaving the rest intact. My apologies for this.\n",
"@ViktorHaag we will never forgive you. You've broken requests in such an irreparable way that you are banned for life. (I'm kidding of course. It isn't a big deal at all. We all make mist... |
https://api.github.com/repos/psf/requests/issues/1745 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1745/labels{/name} | https://api.github.com/repos/psf/requests/issues/1745/comments | https://api.github.com/repos/psf/requests/issues/1745/events | https://github.com/psf/requests/pull/1745 | 22,869,125 | MDExOlB1bGxSZXF1ZXN0MTAwNjY2MDM= | 1,745 | Small fix broken cookie parse | {
"avatar_url": "https://avatars.githubusercontent.com/u/5973312?v=4",
"events_url": "https://api.github.com/users/nonm/events{/privacy}",
"followers_url": "https://api.github.com/users/nonm/followers",
"following_url": "https://api.github.com/users/nonm/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 3 | 2013-11-18T21:35:38Z | 2021-09-08T23:06:19Z | 2013-11-20T08:58:21Z | CONTRIBUTOR | resolved | Code:
``` python
import requests
resp = requests.get('http://www.servanegaxotte.com')
# or khvigra.ru, nastersrl.ru, spcentre2000.ru etc.
```
Raised exception:
```
File "C:\Python27\lib\cookielib.py", line 1645, in extract_cookies
self.set_cookie(cookie)
File "C:\Python27\lib\site-packages\requests\cookies.... | {
"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/1745/reactions"
} | https://api.github.com/repos/psf/requests/issues/1745/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1745.diff",
"html_url": "https://github.com/psf/requests/pull/1745",
"merged_at": "2013-11-20T08:58:21Z",
"patch_url": "https://github.com/psf/requests/pull/1745.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1745"
} | true | [
"IMHO, is it better to check whether `cookie.value` is not None or catching AttributeError instead of using `hasattr`?\n",
"Ordinary I'd insist on catching `AttributeError`. However, because of short-circuit logical evaluation, in this case I think `hasattr` is the better way to go.\n",
" :sparkles: :cookie: :... |
https://api.github.com/repos/psf/requests/issues/1744 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1744/labels{/name} | https://api.github.com/repos/psf/requests/issues/1744/comments | https://api.github.com/repos/psf/requests/issues/1744/events | https://github.com/psf/requests/issues/1744 | 22,831,484 | MDU6SXNzdWUyMjgzMTQ4NA== | 1,744 | Upgrade to 2.0.1 breaks existing code wherever cookies are passed as keyword arguments. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3863128?v=4",
"events_url": "https://api.github.com/users/auworkshare/events{/privacy}",
"followers_url": "https://api.github.com/users/auworkshare/followers",
"following_url": "https://api.github.com/users/auworkshare/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 7 | 2013-11-18T12:29:48Z | 2021-09-09T00:34:19Z | 2013-11-18T15:46:30Z | NONE | resolved | We use request to run regression tests on restful services.
I upgraded to 2.0.1 now I get a Keyword error , wherever cookies are passed as keyword arguments.
Simple stacktrace:
self.result = requests.get(url, params=params, headers={'content-type':'application/json'}, cookies=self.cookies)
KeyError("name=Cookie(ver... | {
"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/1744/reactions"
} | https://api.github.com/repos/psf/requests/issues/1744/timeline | null | completed | null | null | false | [
"Tell me, is `self.cookies` in your example a `CookieJar`?\n",
"The cookie is obtained from a successful login which is done via requests post .. so whatever object that returns\nBTW I have reverted to version 1.2.3 and everything is working fine again\n\nFrom: Cory Benfield [mailto:notifications@github.com]\n... |
https://api.github.com/repos/psf/requests/issues/1743 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1743/labels{/name} | https://api.github.com/repos/psf/requests/issues/1743/comments | https://api.github.com/repos/psf/requests/issues/1743/events | https://github.com/psf/requests/pull/1743 | 22,821,719 | MDExOlB1bGxSZXF1ZXN0MTAwNDE3MTU= | 1,743 | Separate connect timeouts | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501249,
"name": "Needs BDFL Input",
"node_id": "MDU6TGFiZWw0NDUwMTI0OQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input"
},
{
"color": "e11d21",
"default": false,
"descrip... | closed | true | null | [] | null | 11 | 2013-11-18T08:54:49Z | 2021-09-08T23:06:28Z | 2013-12-05T22:29:56Z | CONTRIBUTOR | resolved | Support separate connect timeouts in Requests by allowing you to write something like
``` python
import requests.structures.Timeout
t = Timeout(connect=3, read=7)
requests.get('https://api.twilio.com', timeout=t)
```
Adds tests, docs and some new exceptions for this functionality.
Please note, this kills the current... | {
"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/1743/reactions"
} | https://api.github.com/repos/psf/requests/issues/1743/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1743.diff",
"html_url": "https://github.com/psf/requests/pull/1743",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1743.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1743"
} | true | [
"I'm 100% sitting on the fence here. This is an API change, so we need to see if @kennethreitz likes it or not. =)\n",
"I don't think this is needed, personally. I appreciate the contribution, though.\n\nPerhaps we should automatically enforce the timeout for the first bytes being sent for the stream. Would this ... |
https://api.github.com/repos/psf/requests/issues/1742 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1742/labels{/name} | https://api.github.com/repos/psf/requests/issues/1742/comments | https://api.github.com/repos/psf/requests/issues/1742/events | https://github.com/psf/requests/pull/1742 | 22,812,245 | MDExOlB1bGxSZXF1ZXN0MTAwMzcwMzA= | 1,742 | Add make target to build the documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/234019?v=4",
"events_url": "https://api.github.com/users/kevinburke/events{/privacy}",
"followers_url": "https://api.github.com/users/kevinburke/followers",
"following_url": "https://api.github.com/users/kevinburke/following{/other_user}",
"gists_url": ... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 2 | 2013-11-18T02:39:07Z | 2021-09-08T11:00:52Z | 2013-11-20T09:02:38Z | CONTRIBUTOR | resolved | Hooray makefiles :)
| {
"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/1742/reactions"
} | https://api.github.com/repos/psf/requests/issues/1742/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1742.diff",
"html_url": "https://github.com/psf/requests/pull/1742",
"merged_at": "2013-11-20T09:02:38Z",
"patch_url": "https://github.com/psf/requests/pull/1742.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1742"
} | true | [
"Sure, why not? :+1:\n",
"this is super cool! thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/1741 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1741/labels{/name} | https://api.github.com/repos/psf/requests/issues/1741/comments | https://api.github.com/repos/psf/requests/issues/1741/events | https://github.com/psf/requests/pull/1741 | 22,785,659 | MDExOlB1bGxSZXF1ZXN0MTAwMjc0MDc= | 1,741 | Significantly reduce library footprint | {
"avatar_url": "https://avatars.githubusercontent.com/u/5554910?v=4",
"events_url": "https://api.github.com/users/lordjabez/events{/privacy}",
"followers_url": "https://api.github.com/users/lordjabez/followers",
"following_url": "https://api.github.com/users/lordjabez/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 2 | 2013-11-16T21:50:05Z | 2021-09-08T23:05:07Z | 2013-11-16T21:52:44Z | NONE | resolved | Closes #1. Closes #2.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/5554910?v=4",
"events_url": "https://api.github.com/users/lordjabez/events{/privacy}",
"followers_url": "https://api.github.com/users/lordjabez/followers",
"following_url": "https://api.github.com/users/lordjabez/following{/other_user}",
"gists_url": "h... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1741/reactions"
} | https://api.github.com/repos/psf/requests/issues/1741/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1741.diff",
"html_url": "https://github.com/psf/requests/pull/1741",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1741.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1741"
} | true | [
"Oops, this was supposed to be a local pull request to my own fork. Sorry!\n",
"Err, what's going on?\n\nEdit: nvm :D \n"
] |
https://api.github.com/repos/psf/requests/issues/1740 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1740/labels{/name} | https://api.github.com/repos/psf/requests/issues/1740/comments | https://api.github.com/repos/psf/requests/issues/1740/events | https://github.com/psf/requests/pull/1740 | 22,745,473 | MDExOlB1bGxSZXF1ZXN0MTAwMDY5MjI= | 1,740 | Added multipart param, to be used in post request (harmless otherwise) | {
"avatar_url": "https://avatars.githubusercontent.com/u/657989?v=4",
"events_url": "https://api.github.com/users/bafio/events{/privacy}",
"followers_url": "https://api.github.com/users/bafio/followers",
"following_url": "https://api.github.com/users/bafio/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2013-11-15T17:12:17Z | 2021-09-08T22:01:05Z | 2013-11-15T17:16:45Z | NONE | resolved | basic usage:
r = requests.post(url, data=data, multipart=True)
it will behave same as
r = requests.post(url, data=data, files={'filename':data})
whithout having ----> ; filename="filename" <----- in the Content-Disposition's multipart body
this somethimes will not be accepted:
Content-Disposition: form-data; name="d... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1740/reactions"
} | https://api.github.com/repos/psf/requests/issues/1740/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1740.diff",
"html_url": "https://github.com/psf/requests/pull/1740",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1740.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1740"
} | true | [
"Thanks for this! However, we are almost never going to accept new parameters in the Requests functional API, especially not ones that are simply True/False. =)\n\nThe expected method for doing what you're trying to do [can be found here](http://stackoverflow.com/a/19974452/1401686). Basically what you want is:\n\n... |
https://api.github.com/repos/psf/requests/issues/1739 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1739/labels{/name} | https://api.github.com/repos/psf/requests/issues/1739/comments | https://api.github.com/repos/psf/requests/issues/1739/events | https://github.com/psf/requests/pull/1739 | 22,734,687 | MDExOlB1bGxSZXF1ZXN0MTAwMDA3Mjc= | 1,739 | add coverage make target | {
"avatar_url": "https://avatars.githubusercontent.com/u/1533151?v=4",
"events_url": "https://api.github.com/users/coldfire-x/events{/privacy}",
"followers_url": "https://api.github.com/users/coldfire-x/followers",
"following_url": "https://api.github.com/users/coldfire-x/following{/other_user}",
"gists_url":... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 3 | 2013-11-15T14:22:03Z | 2021-09-08T22:01:04Z | 2013-11-15T18:51:47Z | CONTRIBUTOR | resolved | [issue 1545](https://github.com/kennethreitz/requests/issues/1545), setup code coverage.
| {
"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/1739/reactions"
} | https://api.github.com/repos/psf/requests/issues/1739/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1739.diff",
"html_url": "https://github.com/psf/requests/pull/1739",
"merged_at": "2013-11-15T18:51:47Z",
"patch_url": "https://github.com/psf/requests/pull/1739.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1739"
} | true | [
"Sweet, this looks reasonable to me. Thanks so much for this! :+1:\n",
"i love py.test :)\n",
"i also love you, @pengfei-xue :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1738 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1738/labels{/name} | https://api.github.com/repos/psf/requests/issues/1738/comments | https://api.github.com/repos/psf/requests/issues/1738/events | https://github.com/psf/requests/pull/1738 | 22,723,903 | MDExOlB1bGxSZXF1ZXN0OTk5NDQ3MQ== | 1,738 | add coverage make target | {
"avatar_url": "https://avatars.githubusercontent.com/u/1533151?v=4",
"events_url": "https://api.github.com/users/coldfire-x/events{/privacy}",
"followers_url": "https://api.github.com/users/coldfire-x/followers",
"following_url": "https://api.github.com/users/coldfire-x/following{/other_user}",
"gists_url":... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 44501305,
"name": "Not Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTMwNQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Not%20Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 2 | 2013-11-15T10:16:41Z | 2021-09-08T23:05:11Z | 2013-11-15T14:24:16Z | CONTRIBUTOR | resolved | [issue 1545](https://github.com/kennethreitz/requests/issues/1545), setup code coverage.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1533151?v=4",
"events_url": "https://api.github.com/users/coldfire-x/events{/privacy}",
"followers_url": "https://api.github.com/users/coldfire-x/followers",
"following_url": "https://api.github.com/users/coldfire-x/following{/other_user}",
"gists_url":... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1738/reactions"
} | https://api.github.com/repos/psf/requests/issues/1738/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1738.diff",
"html_url": "https://github.com/psf/requests/pull/1738",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1738.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1738"
} | true | [
"Can you rebase against master? Some pull requests got accepted this morning that mean your `requirements.txt` is out of date. =)\n",
"@Lukasa i created another pull reuqest, please close this out thanks.\n"
] |
https://api.github.com/repos/psf/requests/issues/1737 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1737/labels{/name} | https://api.github.com/repos/psf/requests/issues/1737/comments | https://api.github.com/repos/psf/requests/issues/1737/events | https://github.com/psf/requests/issues/1737 | 22,655,515 | MDU6SXNzdWUyMjY1NTUxNQ== | 1,737 | [Suggestion] Simplify charset handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/142512?v=4",
"events_url": "https://api.github.com/users/itsadok/events{/privacy}",
"followers_url": "https://api.github.com/users/itsadok/followers",
"following_url": "https://api.github.com/users/itsadok/following{/other_user}",
"gists_url": "https://... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501249,
"name": "Needs BDFL Input",
"node_id": "MDU6TGFiZWw0NDUwMTI0OQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input"
},
{
"color": "eb6420",
"default": false,
"descrip... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2013-11-17T11:29:34Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
... | 6 | 2013-11-14T10:56:19Z | 2014-10-05T17:26:54Z | null | CONTRIBUTOR | null | To cut to the chase, here are my suggestions:
- Remove automatic character set detection (charade) from the library
- Have response.encoding represent the charset from the Content-Type header
- Mention the caveat in the documentation
### Long version
There seems to be a lot of confusion regarding how the `.text` prope... | {
"avatar_url": "https://avatars.githubusercontent.com/u/142512?v=4",
"events_url": "https://api.github.com/users/itsadok/events{/privacy}",
"followers_url": "https://api.github.com/users/itsadok/followers",
"following_url": "https://api.github.com/users/itsadok/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/1737/reactions"
} | https://api.github.com/repos/psf/requests/issues/1737/timeline | null | null | null | null | false | [
"You've got lots of good suggestions here. I'll respond to some of them. In no particular order:\n1. `Response.text` should never ever ever ever throw an exception if we can possibly avoid it. Properties throwing exceptions is bad. If we were going to start throwing exceptions from `Response.text` I'd want it to be... |
https://api.github.com/repos/psf/requests/issues/1736 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1736/labels{/name} | https://api.github.com/repos/psf/requests/issues/1736/comments | https://api.github.com/repos/psf/requests/issues/1736/events | https://github.com/psf/requests/issues/1736 | 22,645,627 | MDU6SXNzdWUyMjY0NTYyNw== | 1,736 | Accept per-field headers in multipart POST requests (and create multipart/mixed requests) | {
"avatar_url": "https://avatars.githubusercontent.com/u/141436?v=4",
"events_url": "https://api.github.com/users/JanJakes/events{/privacy}",
"followers_url": "https://api.github.com/users/JanJakes/followers",
"following_url": "https://api.github.com/users/JanJakes/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2013-11-14T06:39:24Z | 2021-09-09T00:34:17Z | 2013-11-24T10:53:11Z | NONE | resolved | Currently there is no way of doing such requests:
``` bash
POST /api/ HTTP/1.1
Host: 127.0.0.1:5000
Content-Type: multipart/form-data; boundary=495b38322a354377913185cb452518fd
--495b38322a354377913185cb452518fd
Content-Disposition: form-data; name="data"
Content-Type: application/json; charset=UTF-8
{"key2": "value... | {
"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/1736/reactions"
} | https://api.github.com/repos/psf/requests/issues/1736/timeline | null | completed | null | null | false | [
"Yes there is. Take a look at the [changelog](https://github.com/kennethreitz/requests/blob/master/HISTORY.rst#201-2013-10-24).\n\nThe syntax for doing this and including things that aren't files (like some JSON) is a bit of a pain, but here it is:\n\n``` python\nimport json\nfrom cStringIO import StringIO\n\nmetad... |
https://api.github.com/repos/psf/requests/issues/1735 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1735/labels{/name} | https://api.github.com/repos/psf/requests/issues/1735/comments | https://api.github.com/repos/psf/requests/issues/1735/events | https://github.com/psf/requests/pull/1735 | 22,599,396 | MDExOlB1bGxSZXF1ZXN0OTkzMzg0MQ== | 1,735 | Wheel | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 8 | 2013-11-13T15:39:09Z | 2021-09-08T22:01:18Z | 2013-11-15T09:33:38Z | MEMBER | resolved | Let's get ourselves green on [this list](http://pythonwheels.com/). We're pure python, so this should be totally trivial for us. I'll try to provide a PR tonight.
| {
"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/1735/reactions"
} | https://api.github.com/repos/psf/requests/issues/1735/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1735.diff",
"html_url": "https://github.com/psf/requests/pull/1735",
"merged_at": "2013-11-15T09:33:38Z",
"patch_url": "https://github.com/psf/requests/pull/1735.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1735"
} | true | [
"Alright, I've extended the Makefile so that it should be possible to just start doing this transparently. =) Let me know what we think!\n",
":+1:\n\nCan we add \"wheel\" to the (dev-)?requirements file? This means that any virtualenv will be fully equipped to deploy it. Then again not everyone needs it.\n",
"S... |
https://api.github.com/repos/psf/requests/issues/1734 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1734/labels{/name} | https://api.github.com/repos/psf/requests/issues/1734/comments | https://api.github.com/repos/psf/requests/issues/1734/events | https://github.com/psf/requests/issues/1734 | 22,397,098 | MDU6SXNzdWUyMjM5NzA5OA== | 1,734 | UnicodeDecodeError on a multipart file upload | {
"avatar_url": "https://avatars.githubusercontent.com/u/1396111?v=4",
"events_url": "https://api.github.com/users/gcq/events{/privacy}",
"followers_url": "https://api.github.com/users/gcq/followers",
"following_url": "https://api.github.com/users/gcq/following{/other_user}",
"gists_url": "https://api.github.... | [] | closed | true | null | [] | null | 6 | 2013-11-10T00:54:47Z | 2021-09-09T00:34:23Z | 2013-11-10T07:38:25Z | NONE | resolved | Since im in python3.3 and requests takes a file-like object as the file argument on a post request, why is there an Unicode error? What should i do to be able to upload a multimedia file using requests?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1734/reactions"
} | https://api.github.com/repos/psf/requests/issues/1734/timeline | null | completed | null | null | false | [
"Questions belong on [StackOverflow](http://stackoverflow.com/questions/tagged/python-requests). In general though, multimedia files will not be Unicode compatible because it will attempt to read sequences of bytes in the file object as Unicode multi-byte sequences instead. Ostensibly there's inherent string additi... |
https://api.github.com/repos/psf/requests/issues/1733 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1733/labels{/name} | https://api.github.com/repos/psf/requests/issues/1733/comments | https://api.github.com/repos/psf/requests/issues/1733/events | https://github.com/psf/requests/pull/1733 | 22,395,404 | MDExOlB1bGxSZXF1ZXN0OTgyNDE3Nw== | 1,733 | Response and Request objects are pickleable. | {
"avatar_url": "https://avatars.githubusercontent.com/u/509830?v=4",
"events_url": "https://api.github.com/users/ionrock/events{/privacy}",
"followers_url": "https://api.github.com/users/ionrock/followers",
"following_url": "https://api.github.com/users/ionrock/following{/other_user}",
"gists_url": "https://... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "207de5",
"default": false,
"description... | closed | true | null | [] | null | 3 | 2013-11-09T22:49:23Z | 2021-09-08T23:11:06Z | 2013-11-20T09:01:26Z | CONTRIBUTOR | resolved | Includes a basic test. More could be add to confirm known attributes
that could cause problems.
This should fix #1367.
| {
"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": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/1733/reactions"
} | https://api.github.com/repos/psf/requests/issues/1733/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1733.diff",
"html_url": "https://github.com/psf/requests/pull/1733",
"merged_at": "2013-11-20T09:01:26Z",
"patch_url": "https://github.com/psf/requests/pull/1733.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1733"
} | true | [
"Looks fine in principle to me, but I'd want @sigmavirus24 to take a look. =)\n",
"If you feel you want to add more tests @ionrock then go ahead but I'm happy with this as it is. :+1:\n",
":pickle: (this should be a thing)\n\nThanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/1732 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1732/labels{/name} | https://api.github.com/repos/psf/requests/issues/1732/comments | https://api.github.com/repos/psf/requests/issues/1732/events | https://github.com/psf/requests/issues/1732 | 22,382,764 | MDU6SXNzdWUyMjM4Mjc2NA== | 1,732 | SNI support broken on Python 2.X in 2.0.1. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": null,
"id": 67760318,
... | closed | true | null | [] | {
"closed_at": "2014-12-25T16:11:49Z",
"closed_issues": 1,
"created_at": "2013-11-09T08:57:36Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Luka... | 3 | 2013-11-09T08:57:36Z | 2021-09-08T23:08:00Z | 2013-12-05T23:05:18Z | MEMBER | resolved | `urllib3` had a bug, we accidentally pulled it in, we didn't catch it because we don't test with SNI support (should we have that as a separate build?). Happily the awesome @t-8ch has already provided us with a patch, which is already merged, so we don't necessarily have an action on this: it'll be quietly fixed in the... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1732/reactions"
} | https://api.github.com/repos/psf/requests/issues/1732/timeline | null | completed | null | null | false | [
"I bumped into this today, adding a little background to help some people who might have the same issue:\n\nIt's not just that SNI support is broken ; if you have the relevant dependencies installed, it will be impossible to install requests 2.0.1. To reproduce, do the following in a new virtualenv:\n- pip install ... |
https://api.github.com/repos/psf/requests/issues/1731 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1731/labels{/name} | https://api.github.com/repos/psf/requests/issues/1731/comments | https://api.github.com/repos/psf/requests/issues/1731/events | https://github.com/psf/requests/issues/1731 | 22,370,370 | MDU6SXNzdWUyMjM3MDM3MA== | 1,731 | SSL certificate verify failed | {
"avatar_url": "https://avatars.githubusercontent.com/u/1396111?v=4",
"events_url": "https://api.github.com/users/gcq/events{/privacy}",
"followers_url": "https://api.github.com/users/gcq/followers",
"following_url": "https://api.github.com/users/gcq/following{/other_user}",
"gists_url": "https://api.github.... | [] | closed | true | null | [] | null | 11 | 2013-11-08T23:07:02Z | 2021-09-09T00:28:13Z | 2013-11-09T12:06:20Z | NONE | resolved | When using requests on https://cloudconvert.org/ i get this Exception, but Firefox says the certificate is alright.
I alredy notified cloudconvert, and wil update this accordingly, but as far as i know this can be a requests issue.
```
Traceback (most recent call last):
File "C:\Users\Gcq\Documents\GitHub\python-cl... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1396111?v=4",
"events_url": "https://api.github.com/users/gcq/events{/privacy}",
"followers_url": "https://api.github.com/users/gcq/followers",
"following_url": "https://api.github.com/users/gcq/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/1731/reactions"
} | https://api.github.com/repos/psf/requests/issues/1731/timeline | null | completed | null | null | false | [
"Firstly, what version of Requests are you using? Requests 2.0.1 was released recently that contains a number of updates to our baked-in certificates.\n\nUsing 2.0.1, I get different behaviour to you. In Python 3, everything works perfectly out of the box. In Python 2, you'll need to install the requirements for SN... |
https://api.github.com/repos/psf/requests/issues/1730 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1730/labels{/name} | https://api.github.com/repos/psf/requests/issues/1730/comments | https://api.github.com/repos/psf/requests/issues/1730/events | https://github.com/psf/requests/pull/1730 | 22,324,227 | MDExOlB1bGxSZXF1ZXN0OTc4ODA0MQ== | 1,730 | lowercase cookie names when check | {
"avatar_url": "https://avatars.githubusercontent.com/u/542246?v=4",
"events_url": "https://api.github.com/users/solos/events{/privacy}",
"followers_url": "https://api.github.com/users/solos/followers",
"following_url": "https://api.github.com/users/solos/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 4 | 2013-11-08T08:47:55Z | 2021-09-08T22:01:03Z | 2013-11-08T10:08:26Z | NONE | resolved | lowercase cookie names when check badargs
| {
"avatar_url": "https://avatars.githubusercontent.com/u/542246?v=4",
"events_url": "https://api.github.com/users/solos/events{/privacy}",
"followers_url": "https://api.github.com/users/solos/followers",
"following_url": "https://api.github.com/users/solos/following{/other_user}",
"gists_url": "https://api.gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1730/reactions"
} | https://api.github.com/repos/psf/requests/issues/1730/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1730.diff",
"html_url": "https://github.com/psf/requests/pull/1730",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1730.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1730"
} | true | [
"I'm +1 on the replacing of `type` with `isinstance`. It's less clear to me that we need to lowercase all the keyword arguments to `create_cookie`. Why is this a problem?\n",
"I want to pass the badargs check and set a cookie which contains upper-case letter. I just lowercase cookie names when checking badargs.\n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.