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/928 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/928/labels{/name} | https://api.github.com/repos/psf/requests/issues/928/comments | https://api.github.com/repos/psf/requests/issues/928/events | https://github.com/psf/requests/issues/928 | 8,198,549 | MDU6SXNzdWU4MTk4NTQ5 | 928 | invalid charset | {
"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 | 7 | 2012-11-08T09:25:36Z | 2021-09-09T05:00:52Z | 2013-01-21T20:44:37Z | NONE | resolved | r=requests.get("http://export.yandex.ru/weather-ng/forecasts/26686.xml")
print r.encoding
> > ISO-8859-1
> > print r.text.**class**
> > <type 'unicode'>
cant write to file valid content
---
urllib return <type 'str'>, read/write to file dont break text
| {
"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/928/reactions"
} | https://api.github.com/repos/psf/requests/issues/928/timeline | null | completed | null | null | false | [
"You could call `.encode()` on `r.text`. If there aren't any characters \nthat can be converted to ASCII, try `.encode('utf-8')` and that should write \nwithout a problem to your file, you'll just need to open the file using \n`codecs.open`.\n",
"perhaps we should fallback to chardet detection if the provided enc... |
https://api.github.com/repos/psf/requests/issues/927 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/927/labels{/name} | https://api.github.com/repos/psf/requests/issues/927/comments | https://api.github.com/repos/psf/requests/issues/927/events | https://github.com/psf/requests/issues/927 | 8,185,272 | MDU6SXNzdWU4MTg1Mjcy | 927 | requests.post() adds unwanted Authorization: Basic header with anonymous:no@mail.dom | {
"avatar_url": "https://avatars.githubusercontent.com/u/27057?v=4",
"events_url": "https://api.github.com/users/temoto/events{/privacy}",
"followers_url": "https://api.github.com/users/temoto/followers",
"following_url": "https://api.github.com/users/temoto/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 6 | 2012-11-07T20:38:39Z | 2021-09-09T00:00:56Z | 2012-11-24T08:45:39Z | NONE | resolved | ```
import requests
requests.post("http://localhost:9091/", data="foobar")
$ nc -l -p 9091
POST / HTTP/1.1
Host: localhost:9091
Content-Length: 6
Authorization: Basic YW5vbnltb3VzOm5vQG1haWwuZG9t
Accept-Encoding: gzip, deflate, compress
Accept: */*
User-Agent: python-requests/0.14.2 CPython/2.7.3 Linux/3.6.0-1-ARCH
f... | {
"avatar_url": "https://avatars.githubusercontent.com/u/27057?v=4",
"events_url": "https://api.github.com/users/temoto/events{/privacy}",
"followers_url": "https://api.github.com/users/temoto/followers",
"following_url": "https://api.github.com/users/temoto/following{/other_user}",
"gists_url": "https://api.... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/927/reactions"
} | https://api.github.com/repos/psf/requests/issues/927/timeline | null | completed | null | null | false | [
"Interesting. I'd remove that from your `.netrc` immediately, fwiw :)\n\nAlso, there's a config you can set to diasble this: `trust_env=False`\n",
"Thank you. I did not touch .netrc in years, i think this line was useful for browsing public FTP.\n\nStill it is not clear why in one case requests does not send expl... |
https://api.github.com/repos/psf/requests/issues/926 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/926/labels{/name} | https://api.github.com/repos/psf/requests/issues/926/comments | https://api.github.com/repos/psf/requests/issues/926/events | https://github.com/psf/requests/issues/926 | 8,148,705 | MDU6SXNzdWU4MTQ4NzA1 | 926 | Installation problems on Windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/421098?v=4",
"events_url": "https://api.github.com/users/Captain-Sandwich/events{/privacy}",
"followers_url": "https://api.github.com/users/Captain-Sandwich/followers",
"following_url": "https://api.github.com/users/Captain-Sandwich/following{/other_user}... | [] | closed | true | null | [] | null | 2 | 2012-11-06T18:55:30Z | 2021-09-09T05:30:57Z | 2012-11-06T18:59:33Z | NONE | resolved | I wanted to install using pip and it gives me the following error:
``` python
PS C:\Users\bla> pip install requests
Downloading/unpacking requests
Real name of requirement requests is requests
Downloading requests-0.14.2.tar.gz (361Kb): 361Kb downloaded
Running setup.py egg_info for package requests
Tracebac... | {
"avatar_url": "https://avatars.githubusercontent.com/u/421098?v=4",
"events_url": "https://api.github.com/users/Captain-Sandwich/events{/privacy}",
"followers_url": "https://api.github.com/users/Captain-Sandwich/followers",
"following_url": "https://api.github.com/users/Captain-Sandwich/following{/other_user}... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/926/reactions"
} | https://api.github.com/repos/psf/requests/issues/926/timeline | null | completed | null | null | false | [
"Have you searched for `chardet2` in opened issues before raising this? It's a duplicate.\n",
"i searched for windows. sorry\n"
] |
https://api.github.com/repos/psf/requests/issues/925 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/925/labels{/name} | https://api.github.com/repos/psf/requests/issues/925/comments | https://api.github.com/repos/psf/requests/issues/925/events | https://github.com/psf/requests/pull/925 | 8,082,508 | MDExOlB1bGxSZXF1ZXN0Mjg3NDAxOQ== | 925 | Fix a bug in _encode_params | {
"avatar_url": "https://avatars.githubusercontent.com/u/551404?v=4",
"events_url": "https://api.github.com/users/russelldavis/events{/privacy}",
"followers_url": "https://api.github.com/users/russelldavis/followers",
"following_url": "https://api.github.com/users/russelldavis/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2012-11-03T20:08:12Z | 2021-09-08T23:06:00Z | 2012-11-15T10:13:30Z | CONTRIBUTOR | resolved | It wasn't utf-8 encoding strings in values that are iterable but not a list.
| {
"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/925/reactions"
} | https://api.github.com/repos/psf/requests/issues/925/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/925.diff",
"html_url": "https://github.com/psf/requests/pull/925",
"merged_at": "2012-11-15T10:13:30Z",
"patch_url": "https://github.com/psf/requests/pull/925.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/925"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/924 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/924/labels{/name} | https://api.github.com/repos/psf/requests/issues/924/comments | https://api.github.com/repos/psf/requests/issues/924/events | https://github.com/psf/requests/issues/924 | 8,063,372 | MDU6SXNzdWU4MDYzMzcy | 924 | Implement a peek method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/67232?v=4",
"events_url": "https://api.github.com/users/aleray/events{/privacy}",
"followers_url": "https://api.github.com/users/aleray/followers",
"following_url": "https://api.github.com/users/aleray/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 16 | 2012-11-02T16:20:18Z | 2021-09-09T05:00:42Z | 2013-02-10T22:34:10Z | NONE | resolved | From http://stackoverflow.com/questions/13197854/python-requests-fetching-the-head-of-the-response-content-without-consuming-it/
Using python-requests and python-magic, I would like to test the mime-type of a web resource without fetching all its content (especially if this resource happens to be eg. an ogg file or a ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/924/reactions"
} | https://api.github.com/repos/psf/requests/issues/924/timeline | null | completed | null | null | false | [
"Sorry about the delay in getting back to you on this!\n\nIs there any reason you can't do this with the HEAD request? For example, can you do:\n\n``` python\nimport requests\n\nurl = \"http://www.december.com/html/demo/hello.html'\n\nr = requests.head(url)\nif r.headers['Content-Type'] == 'text/html':\n r = req... |
https://api.github.com/repos/psf/requests/issues/923 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/923/labels{/name} | https://api.github.com/repos/psf/requests/issues/923/comments | https://api.github.com/repos/psf/requests/issues/923/events | https://github.com/psf/requests/issues/923 | 8,043,220 | MDU6SXNzdWU4MDQzMjIw | 923 | cookies problem | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2012-11-01T21:02:49Z | 2021-09-09T05:30:56Z | 2012-11-16T22:48:43Z | NONE | resolved | Hi, Iam trying to post a form with cookies.
When I post the form and see the page with the results, there is an error in the page, saying that I didnt fill one field right. Iam absolute sure I fill that field right. When I post the data with web browser, its all right.
I think it must be cookie problem, becose when I 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/923/reactions"
} | https://api.github.com/repos/psf/requests/issues/923/timeline | null | completed | null | null | false | [
"Resolved by user intervention.\n"
] |
https://api.github.com/repos/psf/requests/issues/922 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/922/labels{/name} | https://api.github.com/repos/psf/requests/issues/922/comments | https://api.github.com/repos/psf/requests/issues/922/events | https://github.com/psf/requests/pull/922 | 7,982,189 | MDExOlB1bGxSZXF1ZXN0MjgyNzI5Ng== | 922 | raise_for_status should raise when status_code is None | {
"avatar_url": "https://avatars.githubusercontent.com/u/165819?v=4",
"events_url": "https://api.github.com/users/drmaples/events{/privacy}",
"followers_url": "https://api.github.com/users/drmaples/followers",
"following_url": "https://api.github.com/users/drmaples/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2012-10-30T21:22:23Z | 2021-09-08T17:05:58Z | 2012-11-23T10:05:18Z | NONE | resolved | r.raise_for_status and r.ok should not report success when response has wonky data. this occurs when you use grequests and the greenlet encounters problems (timeout, etc)
``` python
import grequests
urls = [grequests.get('http://google.com/?q={}'.format(n), timeout=.001) for n in range(3)]
responses = grequests.map(ur... | {
"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/922/reactions"
} | https://api.github.com/repos/psf/requests/issues/922/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/922.diff",
"html_url": "https://github.com/psf/requests/pull/922",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/922.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/922"
} | true | [
"You might want to rebase this pull request to get Travis to test it again. There's really no reason for it to have failed. =)\n",
"Close/Repopen to trigger rebuild.\n",
"May have to update some of the tests as well ;)\n",
"Closing for now. Reopen if you update!\n"
] |
https://api.github.com/repos/psf/requests/issues/921 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/921/labels{/name} | https://api.github.com/repos/psf/requests/issues/921/comments | https://api.github.com/repos/psf/requests/issues/921/events | https://github.com/psf/requests/pull/921 | 7,971,285 | MDExOlB1bGxSZXF1ZXN0MjgyMTgzOQ== | 921 | Added 'zip_safe' flag to 'setup.py' & Fixed typo in 'MANIFEST.in' | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | false | null | [] | null | 1 | 2012-10-30T15:32:53Z | 2014-06-23T23:41:09Z | 2012-11-08T06:08:33Z | NONE | null | While installing `requests` using the `python setup.py --quiet install` command, I noticed the following warnings:
```
warning: no files found matching 'tests/*.'
zip_safe flag not set; analyzing archive contents...
requests.certs: module references __file__
```
After a bit of digging I found out that the first of th... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/921/reactions"
} | https://api.github.com/repos/psf/requests/issues/921/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/921.diff",
"html_url": "https://github.com/psf/requests/pull/921",
"merged_at": "2012-11-08T06:08:33Z",
"patch_url": "https://github.com/psf/requests/pull/921.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/921"
} | true | [
"thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/920 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/920/labels{/name} | https://api.github.com/repos/psf/requests/issues/920/comments | https://api.github.com/repos/psf/requests/issues/920/events | https://github.com/psf/requests/issues/920 | 7,955,629 | MDU6SXNzdWU3OTU1NjI5 | 920 | Settings wrong form-data format for params when used with file upload | {
"avatar_url": "https://avatars.githubusercontent.com/u/307597?v=4",
"events_url": "https://api.github.com/users/hartator/events{/privacy}",
"followers_url": "https://api.github.com/users/hartator/followers",
"following_url": "https://api.github.com/users/hartator/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2012-10-30T00:25:44Z | 2021-09-09T05:30:55Z | 2012-11-16T22:56:14Z | NONE | resolved | Hey to all, and thank you for great library!
I might have found an issue with the way of requests handle file POST upload when they are sent with additional params which aren't files. It adds an extra `Content-Type: text/plain` to fields that aren't a file. (according to the W3c and from sniffing my own browsers to 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/920/reactions"
} | https://api.github.com/repos/psf/requests/issues/920/timeline | null | completed | null | null | false | [
"Looks like your `urllib3` pull request was accepted, so I guess we can consider this resolved.\n\nUseful note: `params` does not do what you think it does. It builds a query string:\n\n``` python\n>>> r = requests.get('http://www.google.co.uk/', params={'key': 'value'})\n>>> r.url\nu'http://www.google.co.uk/?key=v... |
https://api.github.com/repos/psf/requests/issues/919 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/919/labels{/name} | https://api.github.com/repos/psf/requests/issues/919/comments | https://api.github.com/repos/psf/requests/issues/919/events | https://github.com/psf/requests/issues/919 | 7,946,460 | MDU6SXNzdWU3OTQ2NDYw | 919 | Add an option to disable netrc parsing | {
"avatar_url": "https://avatars.githubusercontent.com/u/49615?v=4",
"events_url": "https://api.github.com/users/tgecho/events{/privacy}",
"followers_url": "https://api.github.com/users/tgecho/followers",
"following_url": "https://api.github.com/users/tgecho/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 1 | 2012-10-29T18:19:45Z | 2021-09-09T05:30:57Z | 2012-10-31T00:24:52Z | NONE | resolved | As suggested here: https://github.com/kennethreitz/requests/pull/446
| {
"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/919/reactions"
} | https://api.github.com/repos/psf/requests/issues/919/timeline | null | completed | null | null | false | [
"trust_env = False\n"
] |
https://api.github.com/repos/psf/requests/issues/918 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/918/labels{/name} | https://api.github.com/repos/psf/requests/issues/918/comments | https://api.github.com/repos/psf/requests/issues/918/events | https://github.com/psf/requests/issues/918 | 7,930,988 | MDU6SXNzdWU3OTMwOTg4 | 918 | Requests 0.14.2 fails with Python 3.2 on Travis.ci | {
"avatar_url": "https://avatars.githubusercontent.com/u/145201?v=4",
"events_url": "https://api.github.com/users/swernerx/events{/privacy}",
"followers_url": "https://api.github.com/users/swernerx/followers",
"following_url": "https://api.github.com/users/swernerx/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2012-10-29T10:14:53Z | 2021-09-09T05:30:55Z | 2012-11-16T23:07:03Z | NONE | resolved | Somehow chardet2 is missing;
```
File "requests/compat.py", line 112, in <module>
from .packages import chardet2 as chardet
ImportError: cannot import name chardet2
```
See this log output for details: https://travis-ci.org/#!/zynga/jasy/builds/2972117
| {
"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/918/reactions"
} | https://api.github.com/repos/psf/requests/issues/918/timeline | null | completed | null | null | false | [
"0.14.1 works fine BTW\n",
"Duplicate issue [here](https://github.com/kennethreitz/requests/issues/916).\n",
"Closed: duplicate.\n"
] |
https://api.github.com/repos/psf/requests/issues/917 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/917/labels{/name} | https://api.github.com/repos/psf/requests/issues/917/comments | https://api.github.com/repos/psf/requests/issues/917/events | https://github.com/psf/requests/issues/917 | 7,926,839 | MDU6SXNzdWU3OTI2ODM5 | 917 | 'params' argument does not accept custom query string | {
"avatar_url": "https://avatars.githubusercontent.com/u/813479?v=4",
"events_url": "https://api.github.com/users/airnandez/events{/privacy}",
"followers_url": "https://api.github.com/users/airnandez/followers",
"following_url": "https://api.github.com/users/airnandez/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 17 | 2012-10-29T04:31:55Z | 2021-09-09T05:30:47Z | 2012-11-26T08:18:17Z | NONE | resolved | Hello,
I'm evaluating `requests` as a building block to develop a client that needs to query a third party web service. I like the succinctness of the API so I would like to be able to use it. However, I'm facing the problem below.
I need to be able to send requests using URLs of the form below:
https://www.example.... | {
"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/917/reactions"
} | https://api.github.com/repos/psf/requests/issues/917/timeline | null | completed | null | null | false | [
"The docs need to be updated, sorry for the trouble. You should be adding the string directly to the URL that you're passing in.\n",
"I think this can be closed now. See: https://github.com/kennethreitz/requests/commit/50877717c810d47e90281c85ecce198c08af40a5\n",
"Good spot. Resolved by #940.\n",
"I think pas... |
https://api.github.com/repos/psf/requests/issues/916 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/916/labels{/name} | https://api.github.com/repos/psf/requests/issues/916/comments | https://api.github.com/repos/psf/requests/issues/916/events | https://github.com/psf/requests/issues/916 | 7,915,276 | MDU6SXNzdWU3OTE1Mjc2 | 916 | requests.packages.chardet2 missing in 0.14.2, preventing installation on Python 3.3 | {
"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 | 19 | 2012-10-27T23:49:00Z | 2021-09-09T05:30:48Z | 2012-11-24T11:09:44Z | NONE | resolved | Requests-0.14.1 included requests.packages.chardet2. This module is missing in 0.14.2 but the setup process still attempts to load it for python3 builds. This prevents installing/upgrading to this version with pip3.
| {
"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/916/reactions"
} | https://api.github.com/repos/psf/requests/issues/916/timeline | null | completed | null | null | false | [
"Travis-ci have just say to me this is present with python3.2 too.\n",
"I imagine this will present the same problem on any Python3.x platform, but I only tested it locally against 3.3.\n",
"I can confirm this happens with Python 3.1, 3.2 and 3.3 while installing from PyPI. As a side note, `pip install requests... |
https://api.github.com/repos/psf/requests/issues/915 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/915/labels{/name} | https://api.github.com/repos/psf/requests/issues/915/comments | https://api.github.com/repos/psf/requests/issues/915/events | https://github.com/psf/requests/issues/915 | 7,915,258 | MDU6SXNzdWU3OTE1MjU4 | 915 | oauthlib should not use random.getrandbits() | {
"avatar_url": "https://avatars.githubusercontent.com/u/444071?v=4",
"events_url": "https://api.github.com/users/tiran/events{/privacy}",
"followers_url": "https://api.github.com/users/tiran/followers",
"following_url": "https://api.github.com/users/tiran/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2012-10-27T23:46:23Z | 2021-09-09T05:30:54Z | 2012-11-16T23:07:37Z | CONTRIBUTOR | resolved | The function generate_nonce() of the module requests.packages.oauthlib.common uses random.getrandbits() to create the nounce. The global mersenne twister PRNG instance should not be used for the task. For example the instance isn't reseeded on fork() which results in a very high probability of collisions in a forking s... | {
"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/915/reactions"
} | https://api.github.com/repos/psf/requests/issues/915/timeline | null | completed | null | null | false | [
"Wrong project. You should open this on idan/oauthlib\n"
] |
https://api.github.com/repos/psf/requests/issues/914 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/914/labels{/name} | https://api.github.com/repos/psf/requests/issues/914/comments | https://api.github.com/repos/psf/requests/issues/914/events | https://github.com/psf/requests/issues/914 | 7,914,660 | MDU6SXNzdWU3OTE0NjYw | 914 | Tests missing in requests-0.14.2.tar.gz | {
"avatar_url": "https://avatars.githubusercontent.com/u/656294?v=4",
"events_url": "https://api.github.com/users/Arfrever/events{/privacy}",
"followers_url": "https://api.github.com/users/Arfrever/followers",
"following_url": "https://api.github.com/users/Arfrever/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2012-10-27T22:19:28Z | 2021-09-09T05:30:54Z | 2012-11-16T23:11:53Z | NONE | resolved | `tests` directory is missing in requests-0.14.2.tar.gz (available on PyPI). It was present in requests-0.14.1.tar.gz.
| {
"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/914/reactions"
} | https://api.github.com/repos/psf/requests/issues/914/timeline | null | completed | null | null | false | [
"There are a few problems associated with the packaging of 0.14.2, as you can see [here](https://github.com/kennethreitz/requests/issues/916). These are being resolved as part of #939. For the moment I'm closing this, but if the next patch release of `requests` is still affected, please reopen this issue.\n"
] |
https://api.github.com/repos/psf/requests/issues/913 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/913/labels{/name} | https://api.github.com/repos/psf/requests/issues/913/comments | https://api.github.com/repos/psf/requests/issues/913/events | https://github.com/psf/requests/pull/913 | 7,912,465 | MDExOlB1bGxSZXF1ZXN0Mjc5NjkxMw== | 913 | Fix IRI encoding issue [updated] | {
"avatar_url": "https://avatars.githubusercontent.com/u/579693?v=4",
"events_url": "https://api.github.com/users/rrjamie/events{/privacy}",
"followers_url": "https://api.github.com/users/rrjamie/followers",
"following_url": "https://api.github.com/users/rrjamie/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2012-10-27T16:58:18Z | 2021-09-08T17:05:57Z | 2012-11-23T10:05:53Z | NONE | resolved | We ran in to this issue where IRIs convert to URIs (through Django's iri_to_uri) would blow up in requests.
The issues seems to be when IRIs are converted to URIs they are percent-quote encoded, and when requests processes it with IDNA, it blows up because the URL components exceed 64 characters (since now it's three ... | {
"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/913/reactions"
} | https://api.github.com/repos/psf/requests/issues/913/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/913.diff",
"html_url": "https://github.com/psf/requests/pull/913",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/913.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/913"
} | true | [
"Would the `encode_urls` configuration assist you here?\n",
"@kennethreitz I don't see `encode_urls` anywhere.\n",
"What `encode_urls` are you referring to? Is there a better around this?\n"
] |
https://api.github.com/repos/psf/requests/issues/912 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/912/labels{/name} | https://api.github.com/repos/psf/requests/issues/912/comments | https://api.github.com/repos/psf/requests/issues/912/events | https://github.com/psf/requests/pull/912 | 7,911,271 | MDExOlB1bGxSZXF1ZXN0Mjc5NjUwMQ== | 912 | Make sure that url has fragment removed when using a proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/357333?v=4",
"events_url": "https://api.github.com/users/jhalcrow/events{/privacy}",
"followers_url": "https://api.github.com/users/jhalcrow/followers",
"following_url": "https://api.github.com/users/jhalcrow/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2012-10-27T14:03:56Z | 2021-09-08T17:05:57Z | 2012-10-27T15:01:17Z | CONTRIBUTOR | resolved | When making a request that uses a proxy Request.path_url falls back to Request.full_url. However Request.full_url does not strip the fragment from the url, which is improper and will cause some HTTP servers to respond with a 400 error.
This patch modifies Request.path_url to pass full_url through urlparse.urldefrag be... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/912/reactions"
} | https://api.github.com/repos/psf/requests/issues/912/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/912.diff",
"html_url": "https://github.com/psf/requests/pull/912",
"merged_at": "2012-10-27T15:01:17Z",
"patch_url": "https://github.com/psf/requests/pull/912.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/912"
} | true | [
"Looks good, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/911 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/911/labels{/name} | https://api.github.com/repos/psf/requests/issues/911/comments | https://api.github.com/repos/psf/requests/issues/911/events | https://github.com/psf/requests/pull/911 | 7,905,003 | MDExOlB1bGxSZXF1ZXN0Mjc5MzkwNw== | 911 | Fix IRI encoding issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/579693?v=4",
"events_url": "https://api.github.com/users/rrjamie/events{/privacy}",
"followers_url": "https://api.github.com/users/rrjamie/followers",
"following_url": "https://api.github.com/users/rrjamie/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2012-10-26T22:12:18Z | 2021-09-08T17:05:56Z | 2012-10-27T15:01:58Z | NONE | resolved | We ran in to this issue where IRIs convert to URIs (through Django's `iri_to_uri`) would blow up in requests.
The issues seems to be when IRIs are converted to URIs they are percent-quote encoded, and when requests processes it with IDNA, it blows up because the URL components exceed 64 characters (since now it's thre... | {
"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/911/reactions"
} | https://api.github.com/repos/psf/requests/issues/911/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/911.diff",
"html_url": "https://github.com/psf/requests/pull/911",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/911.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/911"
} | true | [
"(Rebased)\n",
"Can you send another pull request? Merge conflict.\n"
] |
https://api.github.com/repos/psf/requests/issues/910 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/910/labels{/name} | https://api.github.com/repos/psf/requests/issues/910/comments | https://api.github.com/repos/psf/requests/issues/910/events | https://github.com/psf/requests/issues/910 | 7,868,747 | MDU6SXNzdWU3ODY4NzQ3 | 910 | POST with json data and oauth auth_header signature_type not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/677604?v=4",
"events_url": "https://api.github.com/users/alex-ethier/events{/privacy}",
"followers_url": "https://api.github.com/users/alex-ethier/followers",
"following_url": "https://api.github.com/users/alex-ethier/following{/other_user}",
"gists_url... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 32 | 2012-10-25T17:29:41Z | 2021-09-09T04:00:40Z | 2013-04-01T18:40:16Z | NONE | resolved | The following code does not generate an Authorization header.
``` python
import requests
from requests.auth import OAuth1
import json
client_key = u'mykey'
client_secret = u'mysecret'
headeroauth = OAuth1(
client_key,
client_secret,
None,
None,
signature_type='auth_header'
)
payload = {
"ty... | {
"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/910/reactions"
} | https://api.github.com/repos/psf/requests/issues/910/timeline | null | completed | null | null | false | [
"Nowhere in requests does `data` mean `json data` (at least from reading the code). If it's in the documentation then that needs to be corrected, but there is no section I know of where what you expect is promised.\n\nGranted, I would support a separate parameter `json` that would guarantee encoding of the data as ... |
https://api.github.com/repos/psf/requests/issues/909 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/909/labels{/name} | https://api.github.com/repos/psf/requests/issues/909/comments | https://api.github.com/repos/psf/requests/issues/909/events | https://github.com/psf/requests/pull/909 | 7,865,504 | MDExOlB1bGxSZXF1ZXN0Mjc3NDA5MQ== | 909 | Use a JSON-specific encoding detection when no encoding has been specified | {
"avatar_url": "https://avatars.githubusercontent.com/u/46775?v=4",
"events_url": "https://api.github.com/users/mjpieters/events{/privacy}",
"followers_url": "https://api.github.com/users/mjpieters/followers",
"following_url": "https://api.github.com/users/mjpieters/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 7 | 2012-10-25T15:47:38Z | 2021-09-08T23:06:01Z | 2012-10-27T15:02:55Z | CONTRIBUTOR | resolved | Here's a proposed fix for issue #765.
When requesting JSON data for a response with no encoding specified, detect the encoding from `self.content` using a custom UTF encoding detector that uses knowledge about JSON to make an educated guess as to the encoding used.
If no encoding could be determined, decoding fails, ... | {
"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/909/reactions"
} | https://api.github.com/repos/psf/requests/issues/909/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/909.diff",
"html_url": "https://github.com/psf/requests/pull/909",
"merged_at": "2012-10-27T15:02:55Z",
"patch_url": "https://github.com/psf/requests/pull/909.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/909"
} | true | [
"To clarify: if the body is RFC-compliant JSON, determining the UTF encoding is fully deterministic, no guessing required.\n\nIf the body is _not_ RFC compliant, then this method is no worse than the current 'guess-the-characterset' method used. If we cannot find evidence of any of the UTF encodings (no BOM, wrong ... |
https://api.github.com/repos/psf/requests/issues/908 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/908/labels{/name} | https://api.github.com/repos/psf/requests/issues/908/comments | https://api.github.com/repos/psf/requests/issues/908/events | https://github.com/psf/requests/issues/908 | 7,828,625 | MDU6SXNzdWU3ODI4NjI1 | 908 | FR: Include round trip time as a response attribute | {
"avatar_url": "https://avatars.githubusercontent.com/u/1552962?v=4",
"events_url": "https://api.github.com/users/bmannix/events{/privacy}",
"followers_url": "https://api.github.com/users/bmannix/followers",
"following_url": "https://api.github.com/users/bmannix/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 5 | 2012-10-24T14:18:39Z | 2021-09-09T05:30:59Z | 2012-10-24T14:32:34Z | NONE | resolved | This is a feature request.
It would be very useful if the requests package included a round trip time attribute on responses received. pyCurl includes this functionality via pycurl.TOTAL_TIME.
This can be worked around currently with something like this:
``` python
gc.disable()
start = time.time()
request = reque... | {
"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/908/reactions"
} | https://api.github.com/repos/psf/requests/issues/908/timeline | null | completed | null | null | false | [
"This has been considered in the past, but I've turned it down because it's simply out of scope.\n\nIt's quite simple to do this yourself with hooks, however.\n",
"@bmannix\nSee issue #361.\n\n@kennethreitz\nHow about contrib module?\n",
"No, but thank you for the suggestion.\n\nSent from my iPhone\n\nOn Oct 24... |
https://api.github.com/repos/psf/requests/issues/907 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/907/labels{/name} | https://api.github.com/repos/psf/requests/issues/907/comments | https://api.github.com/repos/psf/requests/issues/907/events | https://github.com/psf/requests/pull/907 | 7,788,648 | MDExOlB1bGxSZXF1ZXN0MjczNzgwOA== | 907 | expunge PYTHONDONTWRITEBYTECODE | {
"avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4",
"events_url": "https://api.github.com/users/slingamn/events{/privacy}",
"followers_url": "https://api.github.com/users/slingamn/followers",
"following_url": "https://api.github.com/users/slingamn/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 34 | 2012-10-23T06:23:34Z | 2021-09-08T23:07:13Z | 2012-10-23T14:26:09Z | CONTRIBUTOR | resolved | See #889 for motivation.
My understanding is that this was added in order to fix tests, which were trying to POST `__file__` and failing on the second run, once `__file__` began to refer to a .pyc instead of a .py?
It looks like postbin/httpbin no longer choke on .pyc files, so we should be able to omit this.
cc @si... | {
"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/907/reactions"
} | https://api.github.com/repos/psf/requests/issues/907/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/907.diff",
"html_url": "https://github.com/psf/requests/pull/907",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/907.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/907"
} | true | [
"Ah, bad time, the `develop` build is red. Although, I do have a unique error message for this pull request:\n\n```\nExecuting your 3 (export TRAVIS_PYTHON_VERSION=2.6) took longer than 0 minutes and was terminated.\n```\n",
"`longer than 0 minutes` sounds almost like eternity...\n",
"This wasn't exactly my dec... |
https://api.github.com/repos/psf/requests/issues/906 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/906/labels{/name} | https://api.github.com/repos/psf/requests/issues/906/comments | https://api.github.com/repos/psf/requests/issues/906/events | https://github.com/psf/requests/pull/906 | 7,781,135 | MDExOlB1bGxSZXF1ZXN0MjczNDY3Ng== | 906 | quote_plus, unquote_plus added | {
"avatar_url": "https://avatars.githubusercontent.com/u/202696?v=4",
"events_url": "https://api.github.com/users/Atheuz/events{/privacy}",
"followers_url": "https://api.github.com/users/Atheuz/followers",
"following_url": "https://api.github.com/users/Atheuz/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2012-10-22T22:04:01Z | 2021-09-08T17:05:56Z | 2012-10-22T23:49:15Z | NONE | resolved | compat.py: relevant imports added
utils.py: then those imports are imported here.
Nothing else was changed, but I saw mentions of quoting later in
utils.py but I wasnt sure what to do about that.
| {
"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/906/reactions"
} | https://api.github.com/repos/psf/requests/issues/906/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/906.diff",
"html_url": "https://github.com/psf/requests/pull/906",
"merged_at": "2012-10-22T23:49:15Z",
"patch_url": "https://github.com/psf/requests/pull/906.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/906"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/905 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/905/labels{/name} | https://api.github.com/repos/psf/requests/issues/905/comments | https://api.github.com/repos/psf/requests/issues/905/events | https://github.com/psf/requests/issues/905 | 7,760,113 | MDU6SXNzdWU3NzYwMTEz | 905 | https under proxy doesn't work | {
"avatar_url": "https://avatars.githubusercontent.com/u/2503879?v=4",
"events_url": "https://api.github.com/users/Eric-Cui/events{/privacy}",
"followers_url": "https://api.github.com/users/Eric-Cui/followers",
"following_url": "https://api.github.com/users/Eric-Cui/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 14 | 2012-10-22T08:53:07Z | 2021-09-09T03:00:24Z | 2013-02-10T22:45:33Z | NONE | resolved | The current Requests implementation seems not to work for https request under proxy.
I have posted a question on stackoverflow:
http://stackoverflow.com/questions/13005301/https-proxy-support-in-python-requests-library
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/905/reactions"
} | https://api.github.com/repos/psf/requests/issues/905/timeline | null | completed | null | null | false | [
"This is a repeat of #881. The problem actually exists in urllib3 for which there is a pull request pending and is related to shazow/urllib3#50 and shazow/urllib3#68\n",
"Thanks for the reply. So it seems to be resolved in the latest release. But why it still exist in my installation, which is already latest rele... |
https://api.github.com/repos/psf/requests/issues/904 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/904/labels{/name} | https://api.github.com/repos/psf/requests/issues/904/comments | https://api.github.com/repos/psf/requests/issues/904/events | https://github.com/psf/requests/pull/904 | 7,748,315 | MDExOlB1bGxSZXF1ZXN0MjcyMDk1OA== | 904 | Remove path hacks that break chardet in Python 3. Closes #858. | {
"avatar_url": "https://avatars.githubusercontent.com/u/61678?v=4",
"events_url": "https://api.github.com/users/g2p/events{/privacy}",
"followers_url": "https://api.github.com/users/g2p/followers",
"following_url": "https://api.github.com/users/g2p/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 2 | 2012-10-21T15:09:19Z | 2021-09-08T17:05:55Z | 2012-10-21T15:49:39Z | CONTRIBUTOR | resolved | This replaces the sys.path hack with a slightly less objectionable
sys.modules hack.
Both have the effect of making the vendored lib's absolue imports work
as expected when oauthlib isn't installed. The sys.modules hack doesn't
insert the rest of the vendored crap in a global path, however.
| {
"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/904/reactions"
} | https://api.github.com/repos/psf/requests/issues/904/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/904.diff",
"html_url": "https://github.com/psf/requests/pull/904",
"merged_at": "2012-10-21T15:49:38Z",
"patch_url": "https://github.com/psf/requests/pull/904.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/904"
} | true | [
"Wow, I like this a lot better actually. Thanks!\n",
"FYI, this sparked some very interesting conversations at PyCarolinas :)\n"
] |
https://api.github.com/repos/psf/requests/issues/903 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/903/labels{/name} | https://api.github.com/repos/psf/requests/issues/903/comments | https://api.github.com/repos/psf/requests/issues/903/events | https://github.com/psf/requests/pull/903 | 7,725,990 | MDExOlB1bGxSZXF1ZXN0MjcxMzM3Mg== | 903 | Issue 901: | {
"avatar_url": "https://avatars.githubusercontent.com/u/875327?v=4",
"events_url": "https://api.github.com/users/building39/events{/privacy}",
"followers_url": "https://api.github.com/users/building39/followers",
"following_url": "https://api.github.com/users/building39/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2012-10-19T19:18:54Z | 2021-09-08T17:05:54Z | 2012-10-21T15:52:03Z | NONE | resolved | Make value of Contents-Encoding header case insensitive per RFC 2616.
| {
"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/903/reactions"
} | https://api.github.com/repos/psf/requests/issues/903/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/903.diff",
"html_url": "https://github.com/psf/requests/pull/903",
"merged_at": "2012-10-21T15:52:03Z",
"patch_url": "https://github.com/psf/requests/pull/903.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/903"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/902 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/902/labels{/name} | https://api.github.com/repos/psf/requests/issues/902/comments | https://api.github.com/repos/psf/requests/issues/902/events | https://github.com/psf/requests/pull/902 | 7,725,324 | MDExOlB1bGxSZXF1ZXN0MjcxMzA4MA== | 902 | issue-901 | {
"avatar_url": "https://avatars.githubusercontent.com/u/875327?v=4",
"events_url": "https://api.github.com/users/building39/events{/privacy}",
"followers_url": "https://api.github.com/users/building39/followers",
"following_url": "https://api.github.com/users/building39/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 4 | 2012-10-19T18:56:04Z | 2021-09-08T17:05:55Z | 2012-10-19T19:13:29Z | NONE | resolved | RFC 2616 says that header values should be case insensitive. This patch fixes Content-Encoding to be case insensitive. This particular header was giving me grief - there may be others that need the same treatment.
Pull request has been submitted.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/875327?v=4",
"events_url": "https://api.github.com/users/building39/events{/privacy}",
"followers_url": "https://api.github.com/users/building39/followers",
"following_url": "https://api.github.com/users/building39/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/902/reactions"
} | https://api.github.com/repos/psf/requests/issues/902/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/902.diff",
"html_url": "https://github.com/psf/requests/pull/902",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/902.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/902"
} | true | [
"Changes to urllib3 should be submitted there, not here. Once that's accepted \nyou can make the pull here for your changes to utils unless they're \nindependent of each other.\nOn Fri, Oct 19, 2012 at 11:56:22AM -0700, Michael wrote:\n\n> RFC 2616 says that header values should be case insensitive. This patch fixe... |
https://api.github.com/repos/psf/requests/issues/901 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/901/labels{/name} | https://api.github.com/repos/psf/requests/issues/901/comments | https://api.github.com/repos/psf/requests/issues/901/events | https://github.com/psf/requests/issues/901 | 7,724,871 | MDU6SXNzdWU3NzI0ODcx | 901 | Content-Encoding expects values to always be lower case | {
"avatar_url": "https://avatars.githubusercontent.com/u/875327?v=4",
"events_url": "https://api.github.com/users/building39/events{/privacy}",
"followers_url": "https://api.github.com/users/building39/followers",
"following_url": "https://api.github.com/users/building39/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 3 | 2012-10-19T18:46:45Z | 2021-09-09T05:30:59Z | 2012-10-26T18:16:20Z | NONE | resolved | RFC 2616 says that header values should be case insensitive. This patch fixes Content-Encoding to be case insensitive. This particular header was giving me grief - there may be others that need the same treatment.
| {
"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/901/reactions"
} | https://api.github.com/repos/psf/requests/issues/901/timeline | null | completed | null | null | false | [
"Was this supposed to be a pull request?\n",
"I just now submitted the pull request.\n\nOn 10/19/2012 01:49 PM, Ian Cordasco wrote:\n\n> Was this supposed to be a pull request?\n> \n> —\n> Reply to this email directly or view it on GitHub \n> https://github.com/kennethreitz/requests/issues/901#issuecomment-961245... |
https://api.github.com/repos/psf/requests/issues/900 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/900/labels{/name} | https://api.github.com/repos/psf/requests/issues/900/comments | https://api.github.com/repos/psf/requests/issues/900/events | https://github.com/psf/requests/pull/900 | 7,723,448 | MDExOlB1bGxSZXF1ZXN0MjcxMjMwMA== | 900 | Added ability to choose SSL version | {
"avatar_url": "https://avatars.githubusercontent.com/u/181952?v=4",
"events_url": "https://api.github.com/users/dandrzejewski/events{/privacy}",
"followers_url": "https://api.github.com/users/dandrzejewski/followers",
"following_url": "https://api.github.com/users/dandrzejewski/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 5 | 2012-10-19T18:01:07Z | 2021-09-08T23:08:27Z | 2012-10-23T14:30:11Z | NONE | resolved | This also acts as a workaround for #827, which in some cases, if you are
connecting to an SSL server that does not support SSLv2 or SSLv3 (and,
for exapmle, only supports TLSv1), would cause an illegal EOL SSL error.
If you select the right SSL protocol version, you won't see this error.
Kenneth, it looks like you tri... | {
"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/900/reactions"
} | https://api.github.com/repos/psf/requests/issues/900/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/900.diff",
"html_url": "https://github.com/psf/requests/pull/900",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/900.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/900"
} | true | [
"I made one last change to correct an issue where you could have a crash if Python was built without SSL support.\n\nAlso, I've submitted all of these changes to the urllib3 project, and it looks like @shazow is interested in merging, so you should be good there.\n",
"Interesting - build 802 failed because it tim... |
https://api.github.com/repos/psf/requests/issues/899 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/899/labels{/name} | https://api.github.com/repos/psf/requests/issues/899/comments | https://api.github.com/repos/psf/requests/issues/899/events | https://github.com/psf/requests/issues/899 | 7,717,227 | MDU6SXNzdWU3NzE3MjI3 | 899 | Chunked Transfer Encoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/374677?v=4",
"events_url": "https://api.github.com/users/Kontakter/events{/privacy}",
"followers_url": "https://api.github.com/users/Kontakter/followers",
"following_url": "https://api.github.com/users/Kontakter/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2012-10-19T14:25:49Z | 2021-09-09T05:31:00Z | 2012-10-20T12:35:50Z | NONE | resolved | Thank you for this amazing library.
But, I have not found support of the chunked transfer encoding (for outcomings messages, of course). Do you planning to implement it? And is it proper solution to implement it inside requests?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/899/reactions"
} | https://api.github.com/repos/psf/requests/issues/899/timeline | null | completed | null | null | false | [
"#295\n"
] |
https://api.github.com/repos/psf/requests/issues/898 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/898/labels{/name} | https://api.github.com/repos/psf/requests/issues/898/comments | https://api.github.com/repos/psf/requests/issues/898/events | https://github.com/psf/requests/pull/898 | 7,697,136 | MDExOlB1bGxSZXF1ZXN0MjY5OTY3OA== | 898 | Replace assert statements with unittest's self.assert* | {
"avatar_url": "https://avatars.githubusercontent.com/u/156810?v=4",
"events_url": "https://api.github.com/users/rvoicilas/events{/privacy}",
"followers_url": "https://api.github.com/users/rvoicilas/followers",
"following_url": "https://api.github.com/users/rvoicilas/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2012-10-18T19:28:07Z | 2021-09-08T17:05:54Z | 2012-10-20T12:37:57Z | CONTRIBUTOR | resolved | -- the incetive for this being that with self.assertEqual you get an
error message if the test fails
| {
"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/898/reactions"
} | https://api.github.com/repos/psf/requests/issues/898/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/898.diff",
"html_url": "https://github.com/psf/requests/pull/898",
"merged_at": "2012-10-20T12:37:57Z",
"patch_url": "https://github.com/psf/requests/pull/898.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/898"
} | true | [
"Why not :)\n"
] |
https://api.github.com/repos/psf/requests/issues/897 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/897/labels{/name} | https://api.github.com/repos/psf/requests/issues/897/comments | https://api.github.com/repos/psf/requests/issues/897/events | https://github.com/psf/requests/pull/897 | 7,655,721 | MDExOlB1bGxSZXF1ZXN0MjY3OTIyOQ== | 897 | Fix the cheeseshop mirror url from pip.kennethreitz to crate.io | {
"avatar_url": "https://avatars.githubusercontent.com/u/67073?v=4",
"events_url": "https://api.github.com/users/almet/events{/privacy}",
"followers_url": "https://api.github.com/users/almet/followers",
"following_url": "https://api.github.com/users/almet/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2012-10-17T13:32:56Z | 2021-09-08T17:05:53Z | 2012-10-17T13:37:27Z | CONTRIBUTOR | resolved | The former doesn't work anymore it seems (due to ep.io closing some time ago, if I'm not mistaken)
| {
"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/897/reactions"
} | https://api.github.com/repos/psf/requests/issues/897/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/897.diff",
"html_url": "https://github.com/psf/requests/pull/897",
"merged_at": "2012-10-17T13:37:26Z",
"patch_url": "https://github.com/psf/requests/pull/897.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/897"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/896 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/896/labels{/name} | https://api.github.com/repos/psf/requests/issues/896/comments | https://api.github.com/repos/psf/requests/issues/896/events | https://github.com/psf/requests/issues/896 | 7,639,701 | MDU6SXNzdWU3NjM5NzAx | 896 | POSTing file while passing data as well using OAuth | {
"avatar_url": "https://avatars.githubusercontent.com/u/352270?v=4",
"events_url": "https://api.github.com/users/michaelhelmick/events{/privacy}",
"followers_url": "https://api.github.com/users/michaelhelmick/followers",
"following_url": "https://api.github.com/users/michaelhelmick/following{/other_user}",
"... | [] | closed | true | null | [] | null | 11 | 2012-10-16T21:23:54Z | 2021-09-09T05:00:44Z | 2013-02-09T23:10:59Z | NONE | resolved | Alright,
So, in 0.14.1, I've ran into the problem with using OAuth and posting a file and data (specifically with Twitter, updating a status with media (passing the media file and parameter `status`) or updating background image (passing image file and parameter `tile`).
``` python
auth = OAuth1(self.app_key, self.ap... | {
"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/896/reactions"
} | https://api.github.com/repos/psf/requests/issues/896/timeline | null | completed | null | null | false | [
"Sorry for taking so long to get around to this, I've been getting settled in to a new job. Totally my bad.\n\nTwo questions: first, is this still a problem for you? Second: if it does, does it look anything like #910?\n",
"M'kay, I'm closing this for inactivity. Please feel free to reopen it if this is still a p... |
https://api.github.com/repos/psf/requests/issues/895 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/895/labels{/name} | https://api.github.com/repos/psf/requests/issues/895/comments | https://api.github.com/repos/psf/requests/issues/895/events | https://github.com/psf/requests/pull/895 | 7,638,113 | MDExOlB1bGxSZXF1ZXN0MjY3MDg3Mw== | 895 | Transport Adapters | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
}
] | closed | true | null | [] | {
"closed_at": "2013-05-29T07:59:12Z",
"closed_issues": 12,
"created_at": "2012-11-27T18:41:46Z",
"creator": {
"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/user... | 17 | 2012-10-16T20:32:47Z | 2021-09-08T23:10:58Z | 2012-11-27T18:32:58Z | CONTRIBUTOR | resolved | Let's not wait for urllib3 for this.
http://kennethreitz.com/the-future-of-python-http.html
- Requests would ship with HTTP and HTTPS TransportAdapters.
- Take the current urllib3 integration and move it into said adapters.
As far as I can tell, we'd need two types of Adapters:
- Connections
- Requests/Responses
Per... | {
"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/895/reactions"
} | https://api.github.com/repos/psf/requests/issues/895/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/895.diff",
"html_url": "https://github.com/psf/requests/pull/895",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/895.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/895"
} | true | [
"Can you point towards the current urllib3 integration?\n",
"Everything in Request.send :)\n",
"Hmm, I think the example in the post may work well:\n\n```\nclass DistributedAdapter(BaseAdapter):\n def __init__(self):\n self.connect_pool = …\n\n def send(self, request):\n \"\"\"Takes a Reques... |
https://api.github.com/repos/psf/requests/issues/894 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/894/labels{/name} | https://api.github.com/repos/psf/requests/issues/894/comments | https://api.github.com/repos/psf/requests/issues/894/events | https://github.com/psf/requests/pull/894 | 7,636,518 | MDExOlB1bGxSZXF1ZXN0MjY2OTU1Mw== | 894 | Allowing iter_content() to have a value for len() | {
"avatar_url": "https://avatars.githubusercontent.com/u/65021?v=4",
"events_url": "https://api.github.com/users/radiosilence/events{/privacy}",
"followers_url": "https://api.github.com/users/radiosilence/followers",
"following_url": "https://api.github.com/users/radiosilence/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2012-10-16T19:39:10Z | 2021-09-08T17:05:52Z | 2012-10-17T14:19:22Z | NONE | resolved | Based on content-length divided by chunk_size.
Kind of a rough commit, more for the idea or anything else.
Other options would be to make a new release of clint, or create a generator class to wrap iter_content in application code.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/894/reactions"
} | https://api.github.com/repos/psf/requests/issues/894/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/894.diff",
"html_url": "https://github.com/psf/requests/pull/894",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/894.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/894"
} | true | [
"See #855 :)\n"
] |
https://api.github.com/repos/psf/requests/issues/893 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/893/labels{/name} | https://api.github.com/repos/psf/requests/issues/893/comments | https://api.github.com/repos/psf/requests/issues/893/events | https://github.com/psf/requests/pull/893 | 7,601,285 | MDExOlB1bGxSZXF1ZXN0MjY1MzI2NA== | 893 | Add EditorConfig file | {
"avatar_url": "https://avatars.githubusercontent.com/u/285352?v=4",
"events_url": "https://api.github.com/users/treyhunner/events{/privacy}",
"followers_url": "https://api.github.com/users/treyhunner/followers",
"following_url": "https://api.github.com/users/treyhunner/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2012-10-15T18:30:47Z | 2021-09-08T17:05:53Z | 2012-10-15T20:07:15Z | MEMBER | resolved | This adds an [EditorConfig file](http://editorconfig.org) to denote code style for `*.py` and `*.rst` files. This EditorConfig file is a human and machine readable code style guide. Currently EditorConfig files can be read by various text editors/IDEs using plugins.
This EditorConfig file correctly reflects your cod... | {
"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/893/reactions"
} | https://api.github.com/repos/psf/requests/issues/893/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/893.diff",
"html_url": "https://github.com/psf/requests/pull/893",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/893.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/893"
} | true | [
"Hmm, I think this is a bit out of scope for now. I'll definitely consider it in the future though. Trying to keep things minimal :)\n\nThanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/892 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/892/labels{/name} | https://api.github.com/repos/psf/requests/issues/892/comments | https://api.github.com/repos/psf/requests/issues/892/events | https://github.com/psf/requests/pull/892 | 7,601,126 | MDExOlB1bGxSZXF1ZXN0MjY1MzE5MA== | 892 | Fix multiple code style (whitespace) in docs/ | {
"avatar_url": "https://avatars.githubusercontent.com/u/285352?v=4",
"events_url": "https://api.github.com/users/treyhunner/events{/privacy}",
"followers_url": "https://api.github.com/users/treyhunner/followers",
"following_url": "https://api.github.com/users/treyhunner/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2012-10-15T18:25:24Z | 2021-09-08T08:00:51Z | 2012-10-15T19:55:51Z | MEMBER | resolved | This fixes the following code style issues in all `*.rst` and `*.py` files outside of `requests/packages`:
- use 4 spaces for indentation (not tabs)
- trim trailing whitespace from the ends of lines
- insert a final newline in every file (except for completely empty ones)
| {
"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/892/reactions"
} | https://api.github.com/repos/psf/requests/issues/892/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/892.diff",
"html_url": "https://github.com/psf/requests/pull/892",
"merged_at": "2012-10-15T19:55:51Z",
"patch_url": "https://github.com/psf/requests/pull/892.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/892"
} | true | [
"Excellent, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/891 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/891/labels{/name} | https://api.github.com/repos/psf/requests/issues/891/comments | https://api.github.com/repos/psf/requests/issues/891/events | https://github.com/psf/requests/issues/891 | 7,557,860 | MDU6SXNzdWU3NTU3ODYw | 891 | error when trying to use oauth | {
"avatar_url": "https://avatars.githubusercontent.com/u/4378?v=4",
"events_url": "https://api.github.com/users/chrisdrackett/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisdrackett/followers",
"following_url": "https://api.github.com/users/chrisdrackett/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 7 | 2012-10-13T00:46:48Z | 2021-09-09T05:31:01Z | 2012-10-13T16:52:41Z | NONE | resolved | So I've been porting my code from using requests-oauth to the built in requests oauth. So far I haven't had any luck. Here is what I'm doing:
https://github.com/shelfworthy/flixpy/blob/requests_oauth/flixpy/client.py#L41
vs. before with requests-oauth:
https://github.com/shelfworthy/flixpy/blob/master/flixpy/client.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4378?v=4",
"events_url": "https://api.github.com/users/chrisdrackett/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisdrackett/followers",
"following_url": "https://api.github.com/users/chrisdrackett/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/891/reactions"
} | https://api.github.com/repos/psf/requests/issues/891/timeline | null | completed | null | null | false | [
"I've spent some more time on this and think I know what is causing the error. The url I get from requests looks like this:\n\n```\nhttp://api-public.netflix.com/catalog/titles?term=thor&oauth_nonce=38117121406491052691350135419&oauth_timestamp=1350135419&oauth_consumer_key=k3cuh3wwvdfe434rc8pzyng&oauth_signature_m... |
https://api.github.com/repos/psf/requests/issues/890 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/890/labels{/name} | https://api.github.com/repos/psf/requests/issues/890/comments | https://api.github.com/repos/psf/requests/issues/890/events | https://github.com/psf/requests/issues/890 | 7,547,405 | MDU6SXNzdWU3NTQ3NDA1 | 890 | correct url getting 400 status with requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/4378?v=4",
"events_url": "https://api.github.com/users/chrisdrackett/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisdrackett/followers",
"following_url": "https://api.github.com/users/chrisdrackett/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 3 | 2012-10-12T16:25:25Z | 2021-09-09T05:31:01Z | 2012-10-13T00:44:02Z | NONE | resolved | I'm not sure if this is a requests or requests-oauth issue, so I've opened it both places:
https://github.com/maraujop/requests-oauth/issues/40
basically I'm sending a request that gets a 400 status from requests. However, if I take response.url and request it again, I get the correct response. Odd?
``` python
respo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4378?v=4",
"events_url": "https://api.github.com/users/chrisdrackett/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisdrackett/followers",
"following_url": "https://api.github.com/users/chrisdrackett/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/890/reactions"
} | https://api.github.com/repos/psf/requests/issues/890/timeline | null | completed | null | null | false | [
"Why are you using requests-oauth, and not the built in oauth support?\n",
"because I was reading your docs ;)\n\nhttp://docs.python-requests.org/en/latest/user/quickstart/#oauth-authentication\n",
"@chrisdrackett _cough_ check again ;)\n"
] |
https://api.github.com/repos/psf/requests/issues/889 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/889/labels{/name} | https://api.github.com/repos/psf/requests/issues/889/comments | https://api.github.com/repos/psf/requests/issues/889/events | https://github.com/psf/requests/issues/889 | 7,463,211 | MDU6SXNzdWU3NDYzMjEx | 889 | python setup.py bdist_rpm fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/87697?v=4",
"events_url": "https://api.github.com/users/tebeka/events{/privacy}",
"followers_url": "https://api.github.com/users/tebeka/followers",
"following_url": "https://api.github.com/users/tebeka/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 7 | 2012-10-09T21:06:09Z | 2021-09-09T05:31:00Z | 2012-10-23T14:28:19Z | NONE | resolved | I fixed that by:
- Removing all but the 1'st line in LICENSE
- Deleting the two lines containing PYTHONDONTWRITEBYTECODE in setup.py
Python 2.7, Ubuntu 12.04 amd64
| {
"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/889/reactions"
} | https://api.github.com/repos/psf/requests/issues/889/timeline | null | completed | null | null | false | [
"It requires there to be no license?\n\n---\n\nI've never even heard of this command before :)\n",
"If you're packaging this for a repository, I'm fairly certain that you're going to introduce a bug by removing `PYTHONDONTWRITEBYTECODE`. That was a specific bug fix for posting files. As for the LICENSE, why does ... |
https://api.github.com/repos/psf/requests/issues/888 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/888/labels{/name} | https://api.github.com/repos/psf/requests/issues/888/comments | https://api.github.com/repos/psf/requests/issues/888/events | https://github.com/psf/requests/issues/888 | 7,438,927 | MDU6SXNzdWU3NDM4OTI3 | 888 | safe_mode not catching error on session.get | {
"avatar_url": "https://avatars.githubusercontent.com/u/488202?v=4",
"events_url": "https://api.github.com/users/flytwokites/events{/privacy}",
"followers_url": "https://api.github.com/users/flytwokites/followers",
"following_url": "https://api.github.com/users/flytwokites/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 2 | 2012-10-09T06:01:45Z | 2021-09-09T05:30:48Z | 2012-11-24T11:10:38Z | NONE | resolved | for this code
``` python
import requests
config = {'safe_mode': True}
# this url will get a connection reset
url = 'http://www.dapenti.com'
```
when set safe mode on requests.get, it worked:
``` python
r = requests.get(url, config=config)
print r.error
# ==> requests.exceptions.ConnectionError(socket.error(104, 'Con... | {
"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/888/reactions"
} | https://api.github.com/repos/psf/requests/issues/888/timeline | null | completed | null | null | false | [
"Good catch. It looks like it's due to issue #639. I fixed this but my patch hasn't been merged, yet.\n",
"As shown above we actually have two open pull requests to resolve this issue, so I'm going to direct any discussion that way. Thanks for the report @flytwokites!\n"
] |
https://api.github.com/repos/psf/requests/issues/887 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/887/labels{/name} | https://api.github.com/repos/psf/requests/issues/887/comments | https://api.github.com/repos/psf/requests/issues/887/events | https://github.com/psf/requests/pull/887 | 7,432,346 | MDExOlB1bGxSZXF1ZXN0MjU3OTQwNQ== | 887 | Small changes to make the code more PEP8 compliant | {
"avatar_url": "https://avatars.githubusercontent.com/u/156810?v=4",
"events_url": "https://api.github.com/users/rvoicilas/events{/privacy}",
"followers_url": "https://api.github.com/users/rvoicilas/followers",
"following_url": "https://api.github.com/users/rvoicilas/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2012-10-08T21:44:44Z | 2021-09-08T17:05:52Z | 2012-10-17T14:20:55Z | 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/887/reactions"
} | https://api.github.com/repos/psf/requests/issues/887/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/887.diff",
"html_url": "https://github.com/psf/requests/pull/887",
"merged_at": "2012-10-17T14:20:55Z",
"patch_url": "https://github.com/psf/requests/pull/887.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/887"
} | true | [
"Agreed on all fronts. Thanks so much!\n\n:sparkles: :cake: :sparkles:\n"
] | |
https://api.github.com/repos/psf/requests/issues/886 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/886/labels{/name} | https://api.github.com/repos/psf/requests/issues/886/comments | https://api.github.com/repos/psf/requests/issues/886/events | https://github.com/psf/requests/issues/886 | 7,427,370 | MDU6SXNzdWU3NDI3Mzcw | 886 | Return server's SSL certificate in Response or Session | {
"avatar_url": "https://avatars.githubusercontent.com/u/616047?v=4",
"events_url": "https://api.github.com/users/kravietz/events{/privacy}",
"followers_url": "https://api.github.com/users/kravietz/followers",
"following_url": "https://api.github.com/users/kravietz/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 6 | 2012-10-08T18:18:02Z | 2021-09-08T22:00:52Z | 2012-11-16T23:35:50Z | NONE | resolved | It's sometimes necessary to see not only boolean SSL certificate validation status but also SSL certificate contents. It would be nice to have a way to access the SSL cert as dict() available from Response or Session objects.
P.S. I can add that as I've written a module to do exactly that http://ipsec.pl/node/1068
| {
"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/886/reactions"
} | https://api.github.com/repos/psf/requests/issues/886/timeline | null | completed | null | null | false | [
"`requests` is going through a pretty major refactoring right now. If you'd like to make a pull request with this change, I'm sure Kenneth will consider it. In the meantime, I'm going to close this issue. =)\n",
"What has the refactoring got to do with a feature request?\n",
"I'm sorry, that was a lousy explana... |
https://api.github.com/repos/psf/requests/issues/885 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/885/labels{/name} | https://api.github.com/repos/psf/requests/issues/885/comments | https://api.github.com/repos/psf/requests/issues/885/events | https://github.com/psf/requests/issues/885 | 7,418,207 | MDU6SXNzdWU3NDE4MjA3 | 885 | Function like urllib.urlretrieve for downloading files | {
"avatar_url": "https://avatars.githubusercontent.com/u/201930?v=4",
"events_url": "https://api.github.com/users/matrixik/events{/privacy}",
"followers_url": "https://api.github.com/users/matrixik/followers",
"following_url": "https://api.github.com/users/matrixik/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 7 | 2012-10-08T12:00:50Z | 2021-09-08T18:00:47Z | 2012-10-08T15:04:36Z | NONE | resolved | Hello,
I would like to request function for downloading files.
Something like:
`r = requests.get_file('https://example.com/big_file.zip', 'path_to_file')`
I'm looking for it mainly for downloading big files (over 1GB), without fully loading them to memory.
Best regards
| {
"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/885/reactions"
} | https://api.github.com/repos/psf/requests/issues/885/timeline | null | completed | null | null | false | [
"You can write a file without loading it into memory currently:\n\n```\nr = requests.get('https://example.com/big_file.zip'', prefetch=False)\n\nwith open('file', 'w') as f:\n for chunk in r.iter_chunks():\n f.write(chunk)\n```\n",
"Nice to know but still I would prefer short one-liner over 4 lines.... |
https://api.github.com/repos/psf/requests/issues/884 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/884/labels{/name} | https://api.github.com/repos/psf/requests/issues/884/comments | https://api.github.com/repos/psf/requests/issues/884/events | https://github.com/psf/requests/pull/884 | 7,415,124 | MDExOlB1bGxSZXF1ZXN0MjU3MTE5Mw== | 884 | Support CJK parameters when post files | {
"avatar_url": "https://avatars.githubusercontent.com/u/142570?v=4",
"events_url": "https://api.github.com/users/everbird/events{/privacy}",
"followers_url": "https://api.github.com/users/everbird/followers",
"following_url": "https://api.github.com/users/everbird/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2012-10-08T09:21:19Z | 2021-09-08T17:05:51Z | 2012-10-17T14:21:40Z | CONTRIBUTOR | resolved | When I post files with CJK parameters I got this exception:
```
Traceback (most recent call last):
File "/home/everbird/code/requests/tests/test_requests.py", line 358, in test_POSTBIN_GET_POST_FILES_WITH_CJK_PARAMS
data={'some': '中文'})
File "/home/everbird/code/requests/requests/api.py", line 98, in post
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/884/reactions"
} | https://api.github.com/repos/psf/requests/issues/884/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/884.diff",
"html_url": "https://github.com/psf/requests/pull/884",
"merged_at": "2012-10-17T14:21:40Z",
"patch_url": "https://github.com/psf/requests/pull/884.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/884"
} | true | [
"What does CJK mean?\n",
"@piotr-dobrogost `CJK` is a collective term for `Chinese`, `Japanese`, and `Korean`. You can find more details [here](http://en.wikipedia.org/wiki/CJK_characters).\n",
"Thanks for the fix!\n"
] |
https://api.github.com/repos/psf/requests/issues/883 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/883/labels{/name} | https://api.github.com/repos/psf/requests/issues/883/comments | https://api.github.com/repos/psf/requests/issues/883/events | https://github.com/psf/requests/issues/883 | 7,392,216 | MDU6SXNzdWU3MzkyMjE2 | 883 | Incompatibility with Python 3.3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/656294?v=4",
"events_url": "https://api.github.com/users/Arfrever/events{/privacy}",
"followers_url": "https://api.github.com/users/Arfrever/followers",
"following_url": "https://api.github.com/users/Arfrever/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2012-10-05T23:13:00Z | 2021-09-09T05:30:50Z | 2012-11-23T10:05:31Z | NONE | resolved | Test results from git head:
```
$ PYTHONPATH="$(pwd)" python3.3 tests/test_cookies.py -v
test_convert_jar_to_dict (__main__.CookieTests)
Test that keys, values, and items are defined and that we can convert ... ok
test_cookies_from_response (__main__.CookieTests)
Basic test that we correctly parse received cookies in ... | {
"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/883/reactions"
} | https://api.github.com/repos/psf/requests/issues/883/timeline | null | completed | null | null | false | [
"Closing for #882\n",
"This issue is about incompatibility with Python 3.3, not 3.1. Python 3.3 has `callable`, so the fix will be certainly different.\n",
"Woops, didn't read closely enough :)\n",
"Resolved by #942.\n"
] |
https://api.github.com/repos/psf/requests/issues/882 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/882/labels{/name} | https://api.github.com/repos/psf/requests/issues/882/comments | https://api.github.com/repos/psf/requests/issues/882/events | https://github.com/psf/requests/issues/882 | 7,391,424 | MDU6SXNzdWU3MzkxNDI0 | 882 | Incompatibility with Python 3.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/656294?v=4",
"events_url": "https://api.github.com/users/Arfrever/events{/privacy}",
"followers_url": "https://api.github.com/users/Arfrever/followers",
"following_url": "https://api.github.com/users/Arfrever/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 23 | 2012-10-05T22:34:50Z | 2021-09-09T05:30:45Z | 2012-11-27T10:12:06Z | NONE | resolved | requests/models.py and tests/test_requests.py recently started using callable(), which is not available in Python 3.1.
```
$ python3.1 tests/test_requests.py -v
...
======================================================================
ERROR: test_allow_list_of_hooks_to_register_hook (__main__.RequestsTestSuite)
Issue... | {
"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/882/reactions"
} | https://api.github.com/repos/psf/requests/issues/882/timeline | null | completed | null | null | false | [
"`callable()` is back starting from Python 3.2 so just move forward :)\n",
"Wow, they removed callable?\n",
"Yeah, seems they did. This is just ridiculous. Is there a better way to test this? \n",
"When callable() does not exist, then you can use `hasattr(x, \"__call__\")` or `isinstance(x, collections.Callab... |
https://api.github.com/repos/psf/requests/issues/881 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/881/labels{/name} | https://api.github.com/repos/psf/requests/issues/881/comments | https://api.github.com/repos/psf/requests/issues/881/events | https://github.com/psf/requests/issues/881 | 7,366,526 | MDU6SXNzdWU3MzY2NTI2 | 881 | squid proxy server says requests.get is "Unsupported Request Method and Protocol" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1609634?v=4",
"events_url": "https://api.github.com/users/shoibalc/events{/privacy}",
"followers_url": "https://api.github.com/users/shoibalc/followers",
"following_url": "https://api.github.com/users/shoibalc/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 8 | 2012-10-04T23:59:24Z | 2021-09-09T03:00:39Z | 2012-10-07T04:03:15Z | NONE | resolved | I am behind a squid proxy server (2.7) with authentication. request.get (version 0.14) is rejected by squid.
```
r = requests.get('https://www.google.com')
r.headers
{'connection': 'close',
'content-length': '1168',
'content-type': 'text/html',
'date': 'Thu, 04 Oct 2012 23:49:49 GMT',
... | {
"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/881/reactions"
} | https://api.github.com/repos/psf/requests/issues/881/timeline | null | completed | null | null | false | [
"That's.... bizzare.\n\nI hate proxies :)\n",
"501 error? Any idea what the issue is? Has anybody else faced something like this. \n",
"My bad! Solved.\n\n```\nproxies = { \"http\": \"proxy_server:proxy_port\"}\nr = requests.get('https://www.google.com',proxies=proxies)\n```\n",
"@shoibalc I thought I saw an... |
https://api.github.com/repos/psf/requests/issues/880 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/880/labels{/name} | https://api.github.com/repos/psf/requests/issues/880/comments | https://api.github.com/repos/psf/requests/issues/880/events | https://github.com/psf/requests/issues/880 | 7,339,527 | MDU6SXNzdWU3MzM5NTI3 | 880 | SSL validation doesn't consider subjectAltName | {
"avatar_url": "https://avatars.githubusercontent.com/u/565197?v=4",
"events_url": "https://api.github.com/users/mitchwalker1979/events{/privacy}",
"followers_url": "https://api.github.com/users/mitchwalker1979/followers",
"following_url": "https://api.github.com/users/mitchwalker1979/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2012-10-04T01:13:54Z | 2021-09-09T05:30:54Z | 2012-11-16T23:55:12Z | NONE | resolved | When performing SSL certificate validation, requests raises an SSLError when the domain name from the URL and the Subject CN don't match. Many recent SSL client implementations (including major browsers) now respect the subjectAltName extension, and consider a certificate valid if that matches, despite a mismatching 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/880/reactions"
} | https://api.github.com/repos/psf/requests/issues/880/timeline | null | completed | null | null | false | [
"`requests` doesn't handle SSL authentication on its own, [`urllib3`](https://github.com/shazow/urllib3) handles it on our behalf. Thanks for the suggestion!\n"
] |
https://api.github.com/repos/psf/requests/issues/879 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/879/labels{/name} | https://api.github.com/repos/psf/requests/issues/879/comments | https://api.github.com/repos/psf/requests/issues/879/events | https://github.com/psf/requests/issues/879 | 7,306,804 | MDU6SXNzdWU3MzA2ODA0 | 879 | Issues with HTTP proxy and accessing localhost - does requests ignore no_proxy? | {
"avatar_url": "https://avatars.githubusercontent.com/u/243499?v=4",
"events_url": "https://api.github.com/users/victorhooi/events{/privacy}",
"followers_url": "https://api.github.com/users/victorhooi/followers",
"following_url": "https://api.github.com/users/victorhooi/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 12 | 2012-10-02T21:42:44Z | 2018-09-01T22:35:15Z | 2012-11-23T10:06:54Z | NONE | resolved | Hi,
I have a Django app, exposing a REST API using TastyPie.
I have it running locally using Django's runserver, and I'm trying to access it using Requests.
For some reason though, accessing it with Curl or Firefox works fine:
```
curl "http://localhost:8000/api/v1/host/?name__regex=&format=json"
```
And on th... | {
"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/879/reactions"
} | https://api.github.com/repos/psf/requests/issues/879/timeline | null | completed | null | null | false | [
"I have a similar problem where I just want to disable the proxy for certain requests (connecting to internal WebServices that are not available outside our DMZ). After digging through the requests code to find out how proxies are handled and how proxy configuration is loaded I have come up with a work-around to di... |
https://api.github.com/repos/psf/requests/issues/878 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/878/labels{/name} | https://api.github.com/repos/psf/requests/issues/878/comments | https://api.github.com/repos/psf/requests/issues/878/events | https://github.com/psf/requests/pull/878 | 7,294,727 | MDExOlB1bGxSZXF1ZXN0MjUxNTUwNw== | 878 | miss the encoding declaration | {
"avatar_url": "https://avatars.githubusercontent.com/u/108762?v=4",
"events_url": "https://api.github.com/users/tokuda109/events{/privacy}",
"followers_url": "https://api.github.com/users/tokuda109/followers",
"following_url": "https://api.github.com/users/tokuda109/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2012-10-02T14:37:38Z | 2021-09-08T23:01:07Z | 2012-10-02T15:25:16Z | CONTRIBUTOR | resolved | Build error occurs when I translate this documentation.
| {
"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/878/reactions"
} | https://api.github.com/repos/psf/requests/issues/878/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/878.diff",
"html_url": "https://github.com/psf/requests/pull/878",
"merged_at": "2012-10-02T15:25:16Z",
"patch_url": "https://github.com/psf/requests/pull/878.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/878"
} | true | [
"thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/877 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/877/labels{/name} | https://api.github.com/repos/psf/requests/issues/877/comments | https://api.github.com/repos/psf/requests/issues/877/events | https://github.com/psf/requests/pull/877 | 7,278,762 | MDExOlB1bGxSZXF1ZXN0MjUwODY5Nw== | 877 | Add function for clearing cookies from a session | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | false | null | [] | null | 4 | 2012-10-01T22:51:12Z | 2014-07-20T01:34:51Z | 2012-10-02T00:05:42Z | NONE | null | Don't know if this is worth it, but it helps me on a project I'm working on. It's a little nicer than handling the cookie object directly.
| null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/877/reactions"
} | https://api.github.com/repos/psf/requests/issues/877/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/877.diff",
"html_url": "https://github.com/psf/requests/pull/877",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/877.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/877"
} | true | [
"Hmm, I wonder if we can subclass CookieJar and add a `purge` method.\n",
"I forget if we're using the standard cookielib, but if so: http://docs.python.org/library/cookielib.html#cookielib.CookieJar.clear\n",
"Perfection.\n",
"Oh wow, that does it much better. This is unneeded.\nThanks.\n"
] |
https://api.github.com/repos/psf/requests/issues/876 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/876/labels{/name} | https://api.github.com/repos/psf/requests/issues/876/comments | https://api.github.com/repos/psf/requests/issues/876/events | https://github.com/psf/requests/pull/876 | 7,269,751 | MDExOlB1bGxSZXF1ZXN0MjUwNDEyMA== | 876 | Only register callable items in lists | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 5 | 2012-10-01T17:13:58Z | 2021-09-08T17:05:51Z | 2012-10-01T18:15:48Z | CONTRIBUTOR | resolved | Prior to this, you could sneak a list of anything to register_hook and it
would accept it. This will check if the items in the list are callable before
registering them. Also added a regression test to make sure if this gets
changed it will be noticed.
| {
"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/876/reactions"
} | https://api.github.com/repos/psf/requests/issues/876/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/876.diff",
"html_url": "https://github.com/psf/requests/pull/876",
"merged_at": "2012-10-01T18:15:48Z",
"patch_url": "https://github.com/psf/requests/pull/876.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/876"
} | true | [
"Rebased to avoid any problems with merging.\n",
"Looks great! Waiting for travis...\n",
"Seems Travis likes it too.\n",
"Thanks!\n",
"No problem. Should have been written this way in the first place.\n"
] |
https://api.github.com/repos/psf/requests/issues/875 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/875/labels{/name} | https://api.github.com/repos/psf/requests/issues/875/comments | https://api.github.com/repos/psf/requests/issues/875/events | https://github.com/psf/requests/issues/875 | 7,268,544 | MDU6SXNzdWU3MjY4NTQ0 | 875 | Keep-alive doesn't work over http proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/1771332?v=4",
"events_url": "https://api.github.com/users/vlaci/events{/privacy}",
"followers_url": "https://api.github.com/users/vlaci/followers",
"following_url": "https://api.github.com/users/vlaci/following{/other_user}",
"gists_url": "https://api.g... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 11 | 2012-10-01T16:28:39Z | 2021-09-09T05:29:54Z | 2012-12-03T10:09:18Z | CONTRIBUTOR | resolved | Although, requests sends a `Proxy-Connection: keep-alive` header, it forcibly closes the connection after each requests.
I tracked down the issue's origin to models.py, how the connection is acquired:
``` python
if proxy and not any(map(_p.hostname.endswith, no_proxy)):
conn = poolmanager.proxy_from_url(proxy)
```... | {
"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/875/reactions"
} | https://api.github.com/repos/psf/requests/issues/875/timeline | null | completed | null | null | false | [
"I just ran into this limitation myself, and came here to see whether I needed to open a ticket with this information! I strongly support your proposed patch.\n",
"@Lukasa @shazow @kennethreitz opinions on this? It seems reasonable to me, but I'm not as familiar with urllib3 honestly.\n",
"+1 to the issue. The... |
https://api.github.com/repos/psf/requests/issues/874 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/874/labels{/name} | https://api.github.com/repos/psf/requests/issues/874/comments | https://api.github.com/repos/psf/requests/issues/874/events | https://github.com/psf/requests/issues/874 | 7,257,903 | MDU6SXNzdWU3MjU3OTAz | 874 | Support for request body streaming | {
"avatar_url": "https://avatars.githubusercontent.com/u/65913?v=4",
"events_url": "https://api.github.com/users/rbu/events{/privacy}",
"followers_url": "https://api.github.com/users/rbu/followers",
"following_url": "https://api.github.com/users/rbu/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 3 | 2012-10-01T11:26:44Z | 2021-09-09T06:00:41Z | 2012-10-01T16:52:11Z | NONE | resolved | Sending a request with a large request body (i.e. a large file that is being multipart-encoded) will consume a large amount of memory.
It would be very helpful if it were possible to specify a file-like object (and the content-length separately) and request as well as its helper libraries read only the chunks that are... | {
"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/874/reactions"
} | https://api.github.com/repos/psf/requests/issues/874/timeline | null | completed | null | null | false | [
"The plan is to support generators. Work in progress :)\n",
"Thanks for letting me know. Just to confirm, did you close the ticket because you're not tracking features as issues or you're currently working on it? Is it appropriate to raise new features as issues in the future?\n",
"Oh, I should have mentioned #... |
https://api.github.com/repos/psf/requests/issues/873 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/873/labels{/name} | https://api.github.com/repos/psf/requests/issues/873/comments | https://api.github.com/repos/psf/requests/issues/873/events | https://github.com/psf/requests/pull/873 | 7,250,543 | MDExOlB1bGxSZXF1ZXN0MjQ5NjkwMw== | 873 | Use __iter__ rather than the inefficient nested for loops | {
"avatar_url": "https://avatars.githubusercontent.com/u/81392?v=4",
"events_url": "https://api.github.com/users/legoktm/events{/privacy}",
"followers_url": "https://api.github.com/users/legoktm/followers",
"following_url": "https://api.github.com/users/legoktm/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2012-10-01T00:26:06Z | 2021-09-08T17:05:50Z | 2012-10-01T16:52:32Z | CONTRIBUTOR | resolved | Since you can iterate over a cookiejar, this is simpler and more efficient than using nested for loops.
| {
"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/873/reactions"
} | https://api.github.com/repos/psf/requests/issues/873/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/873.diff",
"html_url": "https://github.com/psf/requests/pull/873",
"merged_at": "2012-10-01T16:52:32Z",
"patch_url": "https://github.com/psf/requests/pull/873.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/873"
} | true | [
"+1\n"
] |
https://api.github.com/repos/psf/requests/issues/872 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/872/labels{/name} | https://api.github.com/repos/psf/requests/issues/872/comments | https://api.github.com/repos/psf/requests/issues/872/events | https://github.com/psf/requests/issues/872 | 7,241,639 | MDU6SXNzdWU3MjQxNjM5 | 872 | Trouble posting some json | {
"avatar_url": "https://avatars.githubusercontent.com/u/282578?v=4",
"events_url": "https://api.github.com/users/bimargulies/events{/privacy}",
"followers_url": "https://api.github.com/users/bimargulies/followers",
"following_url": "https://api.github.com/users/bimargulies/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 0 | 2012-09-29T22:51:59Z | 2021-09-09T06:00:41Z | 2012-09-30T01:43:25Z | NONE | resolved | ```
headers = {'content-type': 'application/json', 'accept' : 'application/json' }
my_config = {'verbose': sys.stderr}
return requests.post(url + '/doc/processText', data=PlainTextInputOptionsEncoder().encode(request), headers=headers, config=my_config)
```
The above is rewarded with a 500 from the tomcat hosting the ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/282578?v=4",
"events_url": "https://api.github.com/users/bimargulies/events{/privacy}",
"followers_url": "https://api.github.com/users/bimargulies/followers",
"following_url": "https://api.github.com/users/bimargulies/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/872/reactions"
} | https://api.github.com/repos/psf/requests/issues/872/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/871 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/871/labels{/name} | https://api.github.com/repos/psf/requests/issues/871/comments | https://api.github.com/repos/psf/requests/issues/871/events | https://github.com/psf/requests/pull/871 | 7,241,509 | MDExOlB1bGxSZXF1ZXN0MjQ5NDA1NQ== | 871 | Python 3.3 compatible update | {
"avatar_url": "https://avatars.githubusercontent.com/u/146133?v=4",
"events_url": "https://api.github.com/users/yegle/events{/privacy}",
"followers_url": "https://api.github.com/users/yegle/followers",
"following_url": "https://api.github.com/users/yegle/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 9 | 2012-09-29T22:36:24Z | 2021-09-08T23:05:06Z | 2012-10-01T17:26:59Z | CONTRIBUTOR | resolved | `httplib.cookiejar.DefaultCookiePolicy` changed its implementation of function `set_ok_verifiability` in Python 3.3
It now checks `request.unverifiable` instead of `request.is_unverifiable()`
| {
"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/871/reactions"
} | https://api.github.com/repos/psf/requests/issues/871/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/871.diff",
"html_url": "https://github.com/psf/requests/pull/871",
"merged_at": "2012-10-01T17:26:59Z",
"patch_url": "https://github.com/psf/requests/pull/871.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/871"
} | true | [
"Traceback without my modification:\nhttp://pastie.org/4867827\n",
"@piotr-dobrogost I was thinking the same thing.\n",
"Well I think this modification has the least code change. Adding an `unverifiable` property may needs more code change. But anyway it's just a proposal to fix this problem.\n",
"From what I... |
https://api.github.com/repos/psf/requests/issues/870 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/870/labels{/name} | https://api.github.com/repos/psf/requests/issues/870/comments | https://api.github.com/repos/psf/requests/issues/870/events | https://github.com/psf/requests/issues/870 | 7,168,440 | MDU6SXNzdWU3MTY4NDQw | 870 | Session API doc doesn't mention attributes | {
"avatar_url": "https://avatars.githubusercontent.com/u/219470?v=4",
"events_url": "https://api.github.com/users/benjaminp/events{/privacy}",
"followers_url": "https://api.github.com/users/benjaminp/followers",
"following_url": "https://api.github.com/users/benjaminp/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2012-09-27T00:39:27Z | 2021-09-09T05:30:52Z | 2012-11-17T11:21:39Z | CONTRIBUTOR | resolved | The API docs for `Session` don't mention that it has useful attributes like `cookies`, which can be used to mutate its state.
| {
"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/870/reactions"
} | https://api.github.com/repos/psf/requests/issues/870/timeline | null | completed | null | null | false | [
":+1:\n",
"+1\n"
] |
https://api.github.com/repos/psf/requests/issues/869 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/869/labels{/name} | https://api.github.com/repos/psf/requests/issues/869/comments | https://api.github.com/repos/psf/requests/issues/869/events | https://github.com/psf/requests/issues/869 | 7,162,078 | MDU6SXNzdWU3MTYyMDc4 | 869 | Installing Requests with PIP 1.2.1 and Python 3.1 encounters errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/1351003?v=4",
"events_url": "https://api.github.com/users/amckinlay/events{/privacy}",
"followers_url": "https://api.github.com/users/amckinlay/followers",
"following_url": "https://api.github.com/users/amckinlay/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 3 | 2012-09-26T20:43:46Z | 2021-09-09T05:30:59Z | 2012-10-27T15:18:50Z | NONE | resolved | Requests still installs, but setup.py seems to be running Python 2 code?
https://gist.github.com/3790404
| {
"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/869/reactions"
} | https://api.github.com/repos/psf/requests/issues/869/timeline | null | completed | null | null | false | [
"Those are all just warnings. Requests vendorizes a package called chardet which is specifically for python2. It doesn't break python3, but it gives those horrible and ugly warnings that you saw. A package maintainer complained about the same thing (#832). #858 is also related but only in that @craigholm was hoping... |
https://api.github.com/repos/psf/requests/issues/868 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/868/labels{/name} | https://api.github.com/repos/psf/requests/issues/868/comments | https://api.github.com/repos/psf/requests/issues/868/events | https://github.com/psf/requests/issues/868 | 7,159,517 | MDU6SXNzdWU3MTU5NTE3 | 868 | Replacing usage of isinstance in requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 20 | 2012-09-26T19:18:24Z | 2021-09-09T05:31:02Z | 2012-10-01T16:55:53Z | CONTRIBUTOR | resolved | https://github.com/sigmavirus24/requests/commit/4dd3d1a1a2534f2996a368ebe26114bf974e15f9#commitcomment-1904600
For reference, I'm going to copy the comments into here.
---
@piotr-dobrogost
Explicit type checking is code smell. We should be checking for iterability not types. See http://stackoverflow.com/questions/1... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/868/reactions"
} | https://api.github.com/repos/psf/requests/issues/868/timeline | null | completed | null | null | false | [
"> Well that was painful\n\n@sigmavirus24 What do you mean? Btw, thanks for creating this issue.\n",
"It was painful copying over the comments is all I meant. And no problem. Thanks for bringing up the entirely valid point of the issue. You also likely caught a bug in my logic for registering hooks that I overloo... |
https://api.github.com/repos/psf/requests/issues/867 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/867/labels{/name} | https://api.github.com/repos/psf/requests/issues/867/comments | https://api.github.com/repos/psf/requests/issues/867/events | https://github.com/psf/requests/pull/867 | 7,136,423 | MDExOlB1bGxSZXF1ZXN0MjQ1MDYwNw== | 867 | Handle encoding of `None` when decoding unicode | {
"avatar_url": "https://avatars.githubusercontent.com/u/212338?v=4",
"events_url": "https://api.github.com/users/sweenzor/events{/privacy}",
"followers_url": "https://api.github.com/users/sweenzor/followers",
"following_url": "https://api.github.com/users/sweenzor/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2012-09-25T22:36:15Z | 2021-09-08T17:05:50Z | 2012-10-01T16:53:56Z | CONTRIBUTOR | resolved | If encoding is None, decoding will throw the following TypeError:
```
File "/home/env/local/lib/python2.7/site-packages/requests-0.14.0-py2.7.egg/requests/models.py", line 825, in text
content = str(self.content, encoding, errors='replace')
TypeError: unicode() argument 2 must be string, not None
```
If this i... | {
"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/867/reactions"
} | https://api.github.com/repos/psf/requests/issues/867/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/867.diff",
"html_url": "https://github.com/psf/requests/pull/867",
"merged_at": "2012-10-01T16:53:56Z",
"patch_url": "https://github.com/psf/requests/pull/867.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/867"
} | true | [
"Since you're handling this the same way as a `LookupError`, why not fold the two together, e.g.,\n\n``` python\nexcept (LookupError, TypeError):\n # A LookupError is raised if the encoding was not found which could\n # indicate a misspelling or similar mistake.\n #\n # A TypeError can be raised if enco... |
https://api.github.com/repos/psf/requests/issues/866 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/866/labels{/name} | https://api.github.com/repos/psf/requests/issues/866/comments | https://api.github.com/repos/psf/requests/issues/866/events | https://github.com/psf/requests/pull/866 | 7,095,922 | MDExOlB1bGxSZXF1ZXN0MjQzMTY1OQ== | 866 | Accept integers in header values, e.g., | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2012-09-24T16:03:04Z | 2021-09-08T17:05:49Z | 2012-09-26T20:37:38Z | CONTRIBUTOR | resolved | headers = {'Content-Length': 0}
Also add regression test.
Fixes #865.
| {
"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/866/reactions"
} | https://api.github.com/repos/psf/requests/issues/866/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/866.diff",
"html_url": "https://github.com/psf/requests/pull/866",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/866.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/866"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/865 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/865/labels{/name} | https://api.github.com/repos/psf/requests/issues/865/comments | https://api.github.com/repos/psf/requests/issues/865/events | https://github.com/psf/requests/issues/865 | 7,095,234 | MDU6SXNzdWU3MDk1MjM0 | 865 | Setting a custom header to integer 0 (zero) results in 'int' object is not iterable error | {
"avatar_url": "https://avatars.githubusercontent.com/u/109316?v=4",
"events_url": "https://api.github.com/users/PAStheLoD/events{/privacy}",
"followers_url": "https://api.github.com/users/PAStheLoD/followers",
"following_url": "https://api.github.com/users/PAStheLoD/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 6 | 2012-09-24T15:42:13Z | 2021-09-09T06:00:41Z | 2012-10-01T16:56:16Z | NONE | resolved | When a custom header has a value of integer 0, here's the stacktrace:
```
Traceback (most recent call last):
File "gtest.py", line 169, in <module>
parse()
File "gtest.py", line 158, in parse
add_to_group(domain, argz[0], argz[1])
File "gtest.py", line 107, in add_to_group
r = requests.post('https://... | {
"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/865/reactions"
} | https://api.github.com/repos/psf/requests/issues/865/timeline | null | completed | null | null | false | [
"Seems like this might be something I introduced. I'm looking into it right now.\n",
"Headers should be strings, really.\n",
"Ah, well then feel free to ignore 865. Jumped on this a bit too quickly it seems. :P\n",
"You can convince me otherwise :)\n",
"Oh I have nothing invested in this. It was a quick/sim... |
https://api.github.com/repos/psf/requests/issues/864 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/864/labels{/name} | https://api.github.com/repos/psf/requests/issues/864/comments | https://api.github.com/repos/psf/requests/issues/864/events | https://github.com/psf/requests/issues/864 | 7,075,463 | MDU6SXNzdWU3MDc1NDYz | 864 | Data of array not converted properly on content-type application/x-www-form-urlencoded | {
"avatar_url": "https://avatars.githubusercontent.com/u/474302?v=4",
"events_url": "https://api.github.com/users/jeanlucmongrain/events{/privacy}",
"followers_url": "https://api.github.com/users/jeanlucmongrain/followers",
"following_url": "https://api.github.com/users/jeanlucmongrain/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2012-09-23T22:17:15Z | 2021-09-09T06:00:42Z | 2012-09-24T14:38:41Z | NONE | resolved | if you try to post `data={'key': ['value1', 'value2']}` with `headers={'content-type': 'application/x-www-form-urlencoded'}` it's translated into `key=value1&key=value2`.
while it should be `key[]=value1&key[]=value2`
the workaround for that is to do: `data={'key[]':['value1','value2']}`
| {
"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/864/reactions"
} | https://api.github.com/repos/psf/requests/issues/864/timeline | null | completed | null | null | false | [
"Is there a spec for this somewhere?\n\nI've never seen the foo[] semantic anywhere outside of PHP.\n",
"I'm with @shazow on this one, and I hadn't even seen it in use with PHP until I saw it [here](http://stackoverflow.com/questions/353379/how-to-get-multiple-parameters-with-same-name-from-a-url-in-php).\n",
"... |
https://api.github.com/repos/psf/requests/issues/863 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/863/labels{/name} | https://api.github.com/repos/psf/requests/issues/863/comments | https://api.github.com/repos/psf/requests/issues/863/events | https://github.com/psf/requests/pull/863 | 7,016,397 | MDExOlB1bGxSZXF1ZXN0MjQwMTYxNQ== | 863 | Fix #785 & add regression test. | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2012-09-20T15:48:00Z | 2021-09-08T17:05:49Z | 2012-09-23T01:49:19Z | CONTRIBUTOR | resolved | Sorry for the delay on this.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/863/reactions"
} | https://api.github.com/repos/psf/requests/issues/863/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/863.diff",
"html_url": "https://github.com/psf/requests/pull/863",
"merged_at": "2012-09-23T01:49:19Z",
"patch_url": "https://github.com/psf/requests/pull/863.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/863"
} | true | [
"Hm, seems I submitted this while Travis was dead. I'm going to close and reopen.\n",
"<3\n"
] |
https://api.github.com/repos/psf/requests/issues/862 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/862/labels{/name} | https://api.github.com/repos/psf/requests/issues/862/comments | https://api.github.com/repos/psf/requests/issues/862/events | https://github.com/psf/requests/issues/862 | 7,003,071 | MDU6SXNzdWU3MDAzMDcx | 862 | digest authentication fails because of wrongly nonce-count | {
"avatar_url": "https://avatars.githubusercontent.com/u/76891?v=4",
"events_url": "https://api.github.com/users/koenvb/events{/privacy}",
"followers_url": "https://api.github.com/users/koenvb/followers",
"following_url": "https://api.github.com/users/koenvb/following{/other_user}",
"gists_url": "https://api.... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 5 | 2012-09-20T06:47:59Z | 2021-09-09T05:30:53Z | 2012-11-17T11:04:27Z | NONE | resolved | I was trying to use the httpie library which uses requests and I had a server implementation
which strictly follows the RFC (http://www.ietf.org/rfc/rfc2617.txt)
When using curl everything is fine, when using httpie, it did not work.
after some help it looks like the nonce-count (nc) is not correctly generated
nonce-... | {
"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/862/reactions"
} | https://api.github.com/repos/psf/requests/issues/862/timeline | null | completed | null | null | false | [
"Seems something wrong in the auth.py:\n\n``` python\n if qop == 'auth':\n if nonce == self.last_nonce:\n self.nonce_count += 1\n else:\n self.nonce_count = 1\n\n ncvalue = '%08x' % self.nonce_count\n s = str(self.nonce_count).encode('utf... |
https://api.github.com/repos/psf/requests/issues/861 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/861/labels{/name} | https://api.github.com/repos/psf/requests/issues/861/comments | https://api.github.com/repos/psf/requests/issues/861/events | https://github.com/psf/requests/issues/861 | 6,970,805 | MDU6SXNzdWU2OTcwODA1 | 861 | parsing encoding utf-8 page doesn't as expected | {
"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 | 2 | 2012-09-19T02:58:13Z | 2021-09-09T00:34:20Z | 2012-09-19T09:16:50Z | NONE | resolved | Test code:
```
#!/usr/bin/env python
import httplib
import requests
def test_by_req():
url = "http://183.61.6.11/playerSearch.php"
headers = {"Host" : "lolbox.duowan.com"}
r = requests.get(url = url , headers = headers)
assert r.status_code == httplib.OK
print r.text
def test_by_httplib():
p... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/861/reactions"
} | https://api.github.com/repos/psf/requests/issues/861/timeline | null | completed | null | null | false | [
"Please be cordial, and don't ask me to fix things for you?\n\n---\n\nThe URL you are providing doesn't provide proper headers, so requests is guessing. You should be using `response.content`\n",
"Thanks for your reply.\n\n---\n\nI do add following into NGINX instance configuration file\n\n```\n...\ncharset utf-8... |
https://api.github.com/repos/psf/requests/issues/860 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/860/labels{/name} | https://api.github.com/repos/psf/requests/issues/860/comments | https://api.github.com/repos/psf/requests/issues/860/events | https://github.com/psf/requests/issues/860 | 6,964,341 | MDU6SXNzdWU2OTY0MzQx | 860 | response.raw.read() not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/1119967?v=4",
"events_url": "https://api.github.com/users/bmhatfield/events{/privacy}",
"followers_url": "https://api.github.com/users/bmhatfield/followers",
"following_url": "https://api.github.com/users/bmhatfield/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 3 | 2012-09-18T20:37:23Z | 2021-09-09T06:00:44Z | 2012-09-19T09:22:18Z | NONE | resolved | The following code works, but will load the entire file in memory:
```
def save_url(url, file_handle, size=(8 * 1024)):
req = requests.get(url)
file_handle.write(req.content)
```
This code, designed to improve upon the above code, writes 0 byte files without error. I'm having a hard time seeing where I've ... | {
"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/860/reactions"
} | https://api.github.com/repos/psf/requests/issues/860/timeline | null | completed | null | null | false | [
"The second bit of code should do this:\n\n``` python\ndef save_url(url, file_handle, size=(8 * 1024)):\n req = requests.get(url, prefetch=False) # <<< prefetch is the key\n\n while True:\n chunk = req.raw.read(size)\n if chunk:\n file_handle.write(chunk)\n else:\n ... |
https://api.github.com/repos/psf/requests/issues/859 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/859/labels{/name} | https://api.github.com/repos/psf/requests/issues/859/comments | https://api.github.com/repos/psf/requests/issues/859/events | https://github.com/psf/requests/issues/859 | 6,955,639 | MDU6SXNzdWU2OTU1NjM5 | 859 | No connection pooling for proxies | {
"avatar_url": "https://avatars.githubusercontent.com/u/45057?v=4",
"events_url": "https://api.github.com/users/russss/events{/privacy}",
"followers_url": "https://api.github.com/users/russss/followers",
"following_url": "https://api.github.com/users/russss/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 4 | 2012-09-18T15:14:30Z | 2021-09-09T05:00:52Z | 2013-01-21T20:24:43Z | NONE | resolved | It appears to me that connection pooling plain doesn't work if you're connecting through a proxy.
In the [Request.send method](https://github.com/kennethreitz/requests/blob/develop/requests/models.py#L546), when connecting through a proxy, instead of using the provided self._poolmanager object, it uses the static mod... | {
"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/859/reactions"
} | https://api.github.com/repos/psf/requests/issues/859/timeline | null | completed | null | null | false | [
"For whatever proxies urllib3 already supports, there's no reason why it shouldn't be able to reuse the same connection. I suspect this is a requests-level thing.\n",
"Oh yes, it's just struck me how this should work. If there's a proxy involved then we should be using a ProxyManager instead of a ConnectionManage... |
https://api.github.com/repos/psf/requests/issues/858 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/858/labels{/name} | https://api.github.com/repos/psf/requests/issues/858/comments | https://api.github.com/repos/psf/requests/issues/858/events | https://github.com/psf/requests/issues/858 | 6,903,227 | MDU6SXNzdWU2OTAzMjI3 | 858 | requests adds packages directory to sys.path | {
"avatar_url": "https://avatars.githubusercontent.com/u/1476786?v=4",
"events_url": "https://api.github.com/users/craigholm/events{/privacy}",
"followers_url": "https://api.github.com/users/craigholm/followers",
"following_url": "https://api.github.com/users/craigholm/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 5 | 2012-09-16T14:12:24Z | 2021-09-09T06:00:42Z | 2012-09-24T14:39:25Z | NONE | resolved | Importing requests adds its internal packages directory to sys.path. This causes problems on Python 3, because modules that try to use chardet end up importing requests.packages.chardet (which is incompatible with Python 3), even if a Python 3 chardet is available.
For example, beautifulsoup4:
``` Python
>>> import ... | {
"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/858/reactions"
} | https://api.github.com/repos/psf/requests/issues/858/timeline | null | completed | null | null | false | [
"I think this is an okay caveat for now. I'd be open to other suggestions though.\n",
"Is it possible to rename the modules in requests.packages so they're less likely to conflict with other modules (ie, \"requests-chardet\")? Or have the requests setup script exclude (or rename) requests.packages.chardet when i... |
https://api.github.com/repos/psf/requests/issues/857 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/857/labels{/name} | https://api.github.com/repos/psf/requests/issues/857/comments | https://api.github.com/repos/psf/requests/issues/857/events | https://github.com/psf/requests/issues/857 | 6,901,392 | MDU6SXNzdWU2OTAxMzky | 857 | Streaming requests should raise an error when network problems occur | {
"avatar_url": "https://avatars.githubusercontent.com/u/27806?v=4",
"events_url": "https://api.github.com/users/swinton/events{/privacy}",
"followers_url": "https://api.github.com/users/swinton/followers",
"following_url": "https://api.github.com/users/swinton/following{/other_user}",
"gists_url": "https://a... | [
{
"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 | 9 | 2012-09-16T07:24:57Z | 2021-09-09T05:00:41Z | 2013-02-10T22:48:02Z | NONE | resolved | It seems streaming requests (as per example given [here](http://docs.python-requests.org/en/latest/user/advanced/#streaming-requests)) do not raise an error when the connection is dropped or when there are network problems that prevent the stream from being consumed. This makes it difficult to know if we should reconne... | {
"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/857/reactions"
} | https://api.github.com/repos/psf/requests/issues/857/timeline | null | completed | null | null | false | [
"See also #844.\n",
"I'd quite happily have a go at implementing a fix for this myself, if someone more familiar with the codebase could give me a few pointers of where to start?\n",
"Check out `iter_content` in `requests/models.py`. This defines an iterator that does `self.raw.read(chunk_size)` repeatedly --- ... |
https://api.github.com/repos/psf/requests/issues/856 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/856/labels{/name} | https://api.github.com/repos/psf/requests/issues/856/comments | https://api.github.com/repos/psf/requests/issues/856/events | https://github.com/psf/requests/pull/856 | 6,850,174 | MDExOlB1bGxSZXF1ZXN0MjMzMjUzOA== | 856 | adds Response.__len__ #854 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144197?v=4",
"events_url": "https://api.github.com/users/btoews/events{/privacy}",
"followers_url": "https://api.github.com/users/btoews/followers",
"following_url": "https://api.github.com/users/btoews/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 8 | 2012-09-13T15:12:12Z | 2021-09-08T17:05:48Z | 2012-09-17T17:23:57Z | CONTRIBUTOR | resolved | I think it should be okay to use response headers for content length, falling back on len(response.content) if they aren't provided. I tested this against httpbin('stream') and it seems okay. #854
| {
"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/856/reactions"
} | https://api.github.com/repos/psf/requests/issues/856/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/856.diff",
"html_url": "https://github.com/psf/requests/pull/856",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/856.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/856"
} | true | [
"I think this is a bad idea, see how `len()` builtin is limited on python2 32bit\n\n```\n>>> class A(object):\n... def __len__(self):\n... return 2*1024**3 # use sys.maxint+1 to reproduce on 64bits \n... \n... \n>>> a = A()\n>>> a.__len__()\n2147483648L\n>>> len(a)\n-----------------------------... |
https://api.github.com/repos/psf/requests/issues/855 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/855/labels{/name} | https://api.github.com/repos/psf/requests/issues/855/comments | https://api.github.com/repos/psf/requests/issues/855/events | https://github.com/psf/requests/pull/855 | 6,848,929 | MDExOlB1bGxSZXF1ZXN0MjMzMTk3OA== | 855 | added __len__ to response. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144197?v=4",
"events_url": "https://api.github.com/users/btoews/events{/privacy}",
"followers_url": "https://api.github.com/users/btoews/followers",
"following_url": "https://api.github.com/users/btoews/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2012-09-13T14:35:51Z | 2021-09-08T17:05:48Z | 2012-09-13T14:47:40Z | CONTRIBUTOR | resolved | #854
I added **len** . I have it checking the headers first for content-length. If it must it will do check length of content, but that should be avoided if possible, right?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1144197?v=4",
"events_url": "https://api.github.com/users/btoews/events{/privacy}",
"followers_url": "https://api.github.com/users/btoews/followers",
"following_url": "https://api.github.com/users/btoews/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/855/reactions"
} | https://api.github.com/repos/psf/requests/issues/855/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/855.diff",
"html_url": "https://github.com/psf/requests/pull/855",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/855.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/855"
} | true | [
"I messed this up. Didn't pull the latest before updating.\n",
"That isn't a problem since Travis showed that it would merge without a problem. You can also do:\n\n```\ngit pull git://github.com/kennethreitz/requests.git --rebase\ngit push --force\n```\n\nto get it to update the pull request. Please don't open a ... |
https://api.github.com/repos/psf/requests/issues/854 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/854/labels{/name} | https://api.github.com/repos/psf/requests/issues/854/comments | https://api.github.com/repos/psf/requests/issues/854/events | https://github.com/psf/requests/issues/854 | 6,848,888 | MDU6SXNzdWU2ODQ4ODg4 | 854 | Add response.__len__ | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144197?v=4",
"events_url": "https://api.github.com/users/btoews/events{/privacy}",
"followers_url": "https://api.github.com/users/btoews/followers",
"following_url": "https://api.github.com/users/btoews/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 7 | 2012-09-13T14:34:30Z | 2021-09-09T06:00:43Z | 2012-09-24T14:40:16Z | CONTRIBUTOR | resolved | Do people think it would be nice to have a response.__len__ simply as a convenience function?
| {
"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/854/reactions"
} | https://api.github.com/repos/psf/requests/issues/854/timeline | null | completed | null | null | false | [
"How well would this work with streaming APIs?\n",
"good point. it probably wouldn't work well. I will do some testing.\n",
"is there anyway with httpbin to simulate infinite streaming? I think thats the main concern, right?\n",
"I'm no expert on streaming APIs but it wouldn't make sense to me that they would... |
https://api.github.com/repos/psf/requests/issues/853 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/853/labels{/name} | https://api.github.com/repos/psf/requests/issues/853/comments | https://api.github.com/repos/psf/requests/issues/853/events | https://github.com/psf/requests/pull/853 | 6,839,632 | MDExOlB1bGxSZXF1ZXN0MjMyNzcyMQ== | 853 | Create label for the ISC License, which is referenced from the index page | {
"avatar_url": "https://avatars.githubusercontent.com/u/91895?v=4",
"events_url": "https://api.github.com/users/plaes/events{/privacy}",
"followers_url": "https://api.github.com/users/plaes/followers",
"following_url": "https://api.github.com/users/plaes/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2012-09-13T06:29:00Z | 2021-09-08T17:05:48Z | 2012-09-13T06:36:37Z | CONTRIBUTOR | resolved | Documentation index references label called `isc`, but it's nowhere to be found (changed section title maybe?). Therefore create it.
And Pardon me for creating these single liners ;)
| {
"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/853/reactions"
} | https://api.github.com/repos/psf/requests/issues/853/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/853.diff",
"html_url": "https://github.com/psf/requests/pull/853",
"merged_at": "2012-09-13T06:36:36Z",
"patch_url": "https://github.com/psf/requests/pull/853.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/853"
} | true | [
"excellent!\n"
] |
https://api.github.com/repos/psf/requests/issues/852 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/852/labels{/name} | https://api.github.com/repos/psf/requests/issues/852/comments | https://api.github.com/repos/psf/requests/issues/852/events | https://github.com/psf/requests/pull/852 | 6,839,443 | MDExOlB1bGxSZXF1ZXN0MjMyNzYzNA== | 852 | Use the include directive instead of rewriting the license in docs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/91895?v=4",
"events_url": "https://api.github.com/users/plaes/events{/privacy}",
"followers_url": "https://api.github.com/users/plaes/followers",
"following_url": "https://api.github.com/users/plaes/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2012-09-13T06:09:07Z | 2021-09-08T17:05:47Z | 2012-09-13T06:10:11Z | CONTRIBUTOR | resolved | Helps also keeping the copyright years in sync \o/
| {
"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/852/reactions"
} | https://api.github.com/repos/psf/requests/issues/852/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/852.diff",
"html_url": "https://github.com/psf/requests/pull/852",
"merged_at": "2012-09-13T06:10:11Z",
"patch_url": "https://github.com/psf/requests/pull/852.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/852"
} | true | [
"tremendous, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/851 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/851/labels{/name} | https://api.github.com/repos/psf/requests/issues/851/comments | https://api.github.com/repos/psf/requests/issues/851/events | https://github.com/psf/requests/issues/851 | 6,837,189 | MDU6SXNzdWU2ODM3MTg5 | 851 | SSL "unknown protocol" is returned when it should be "certificate verify failed" | {
"avatar_url": "https://avatars.githubusercontent.com/u/39916?v=4",
"events_url": "https://api.github.com/users/joeshaw/events{/privacy}",
"followers_url": "https://api.github.com/users/joeshaw/followers",
"following_url": "https://api.github.com/users/joeshaw/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": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 18 | 2012-09-13T02:17:35Z | 2021-09-09T05:00:51Z | 2013-01-21T20:23:07Z | NONE | resolved | This may be related to issue #606 and is caused by pull request #799.
With requests 0.14.0, if you attempt to visit a site with a certificate whose CA is not trusted and who doesn't support SSLv2, you'll get an error like this:
```
_ssl.c:480: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
```
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/851/reactions"
} | https://api.github.com/repos/psf/requests/issues/851/timeline | null | completed | null | null | false | [
"Hmm, maybe this belongs in urllib3. @shazow ?\n",
"@joeshaw If the issue is under VerifiedHTTPSConnection, then please re-open this under https://github.com/shazow/urllib3. :)\n",
"Ack, sorry, this problem was caused by pull request #799, not #797.\n",
"It would appear as though the code that causes the prob... |
https://api.github.com/repos/psf/requests/issues/850 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/850/labels{/name} | https://api.github.com/repos/psf/requests/issues/850/comments | https://api.github.com/repos/psf/requests/issues/850/events | https://github.com/psf/requests/pull/850 | 6,826,599 | MDExOlB1bGxSZXF1ZXN0MjMyMTU3Nw== | 850 | Resolve issue in #849 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1146703?v=4",
"events_url": "https://api.github.com/users/SecurityForUs/events{/privacy}",
"followers_url": "https://api.github.com/users/SecurityForUs/followers",
"following_url": "https://api.github.com/users/SecurityForUs/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 5 | 2012-09-12T17:51:13Z | 2021-09-08T17:05:46Z | 2012-09-12T17:58:03Z | CONTRIBUTOR | resolved | Resolves issue discovered in https://github.com/kennethreitz/requests/pull/849 for fixing empty proxies.
Thanks to all in that thread who helped in this!
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/850/reactions"
} | https://api.github.com/repos/psf/requests/issues/850/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/850.diff",
"html_url": "https://github.com/psf/requests/pull/850",
"merged_at": "2012-09-12T17:58:03Z",
"patch_url": "https://github.com/psf/requests/pull/850.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/850"
} | true | [
"Apparently working with a new branch doesn't do me any good, heh. Will fix if wanting just the new commit to be in pull request.\n",
"Actually the second commit hasn't finished being tested yet. The first commit doesn't pass but that's that commit alone. Give it a second. (And it just went green for me)\n",
"... |
https://api.github.com/repos/psf/requests/issues/849 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/849/labels{/name} | https://api.github.com/repos/psf/requests/issues/849/comments | https://api.github.com/repos/psf/requests/issues/849/events | https://github.com/psf/requests/pull/849 | 6,799,758 | MDExOlB1bGxSZXF1ZXN0MjMwOTc4Mg== | 849 | Fixed issue with empty proxies being passed | {
"avatar_url": "https://avatars.githubusercontent.com/u/1146703?v=4",
"events_url": "https://api.github.com/users/SecurityForUs/events{/privacy}",
"followers_url": "https://api.github.com/users/SecurityForUs/followers",
"following_url": "https://api.github.com/users/SecurityForUs/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 8 | 2012-09-11T19:42:14Z | 2021-09-08T17:05:47Z | 2012-09-12T17:50:03Z | CONTRIBUTOR | resolved | Redone pull for fixing proxies using empty proxies as if they are real.
I.e.: if you had this set up:
``` python
proxy = {"https" : ""}
```
Requests would try to connect via empty proxy ("") instead of through a regular connection.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1146703?v=4",
"events_url": "https://api.github.com/users/SecurityForUs/events{/privacy}",
"followers_url": "https://api.github.com/users/SecurityForUs/followers",
"following_url": "https://api.github.com/users/SecurityForUs/following{/other_user}",
"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/849/reactions"
} | https://api.github.com/repos/psf/requests/issues/849/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/849.diff",
"html_url": "https://github.com/psf/requests/pull/849",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/849.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/849"
} | true | [
"Apparently Travis says this doesn't build against 3.2, but as I don't have that environment set up I wasn't able to test it.\n",
"You could iter over a copy to prevent the runtime error?\n\n``` python\nfor proxy_type,uri_ref in self.proxies.copy().items():\n if not uri_ref:\n del self.proxies[proxy_typ... |
https://api.github.com/repos/psf/requests/issues/848 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/848/labels{/name} | https://api.github.com/repos/psf/requests/issues/848/comments | https://api.github.com/repos/psf/requests/issues/848/events | https://github.com/psf/requests/pull/848 | 6,789,566 | MDExOlB1bGxSZXF1ZXN0MjMwNDk2NA== | 848 | None is not iterable | {
"avatar_url": "https://avatars.githubusercontent.com/u/503436?v=4",
"events_url": "https://api.github.com/users/barberj/events{/privacy}",
"followers_url": "https://api.github.com/users/barberj/followers",
"following_url": "https://api.github.com/users/barberj/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2012-09-11T12:40:15Z | 2021-09-08T23:10:57Z | 2012-09-12T17:58:20Z | CONTRIBUTOR | resolved | Cut the fat... rebased.
Related to #843
| {
"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/848/reactions"
} | https://api.github.com/repos/psf/requests/issues/848/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/848.diff",
"html_url": "https://github.com/psf/requests/pull/848",
"merged_at": "2012-09-12T17:58:20Z",
"patch_url": "https://github.com/psf/requests/pull/848.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/848"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/847 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/847/labels{/name} | https://api.github.com/repos/psf/requests/issues/847/comments | https://api.github.com/repos/psf/requests/issues/847/events | https://github.com/psf/requests/issues/847 | 6,762,208 | MDU6SXNzdWU2NzYyMjA4 | 847 | Support 'file' scheme | {
"avatar_url": "https://avatars.githubusercontent.com/u/223776?v=4",
"events_url": "https://api.github.com/users/seppo0010/events{/privacy}",
"followers_url": "https://api.github.com/users/seppo0010/followers",
"following_url": "https://api.github.com/users/seppo0010/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 12 | 2012-09-10T13:43:32Z | 2021-09-09T03:00:23Z | 2012-09-11T03:07:33Z | NONE | resolved | I was using urllib on a project and decided to change to requests, but I was using a mix of 'http' and 'file' schemes on some scenarios which is handled by urllib. I know requests is mostly about network and doesn't make much sense to use for files but transparency would be useful.
Would this be possible?
| {
"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/847/reactions"
} | https://api.github.com/repos/psf/requests/issues/847/timeline | null | completed | null | null | false | [
"I'm pretty sure this support would have to be added to urllib3 (or if it's already there, the vendorized package would have to be updated). @shazow might be a better person to talk to about this. In the meantime, I'll see if it's part of urllib3.\n",
"It could be done on the requests side since `file` scheme won... |
https://api.github.com/repos/psf/requests/issues/846 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/846/labels{/name} | https://api.github.com/repos/psf/requests/issues/846/comments | https://api.github.com/repos/psf/requests/issues/846/events | https://github.com/psf/requests/pull/846 | 6,753,965 | MDExOlB1bGxSZXF1ZXN0MjI5MDAyOQ== | 846 | Update requests/models.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/1995640?v=4",
"events_url": "https://api.github.com/users/yoshiaki-nakagawa/events{/privacy}",
"followers_url": "https://api.github.com/users/yoshiaki-nakagawa/followers",
"following_url": "https://api.github.com/users/yoshiaki-nakagawa/following{/other_u... | [] | closed | true | null | [] | null | 0 | 2012-09-10T05:49:22Z | 2021-09-08T17:05:46Z | 2012-09-11T03:03:35Z | NONE | resolved | no_proxies not use full URLs.
| {
"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/846/reactions"
} | https://api.github.com/repos/psf/requests/issues/846/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/846.diff",
"html_url": "https://github.com/psf/requests/pull/846",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/846.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/846"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/845 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/845/labels{/name} | https://api.github.com/repos/psf/requests/issues/845/comments | https://api.github.com/repos/psf/requests/issues/845/events | https://github.com/psf/requests/pull/845 | 6,741,128 | MDExOlB1bGxSZXF1ZXN0MjI4NzI5OA== | 845 | fixed typo in docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/522344?v=4",
"events_url": "https://api.github.com/users/alanhamlett/events{/privacy}",
"followers_url": "https://api.github.com/users/alanhamlett/followers",
"following_url": "https://api.github.com/users/alanhamlett/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2012-09-09T08:56:40Z | 2021-09-08T17:05:45Z | 2012-09-09T09:29:37Z | 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/845/reactions"
} | https://api.github.com/repos/psf/requests/issues/845/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/845.diff",
"html_url": "https://github.com/psf/requests/pull/845",
"merged_at": "2012-09-09T09:29:37Z",
"patch_url": "https://github.com/psf/requests/pull/845.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/845"
} | true | [
"nice catch, thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/844 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/844/labels{/name} | https://api.github.com/repos/psf/requests/issues/844/comments | https://api.github.com/repos/psf/requests/issues/844/events | https://github.com/psf/requests/issues/844 | 6,705,803 | MDU6SXNzdWU2NzA1ODAz | 844 | umbrella ticket to resolve iteration / read size / chunked encoding questions | {
"avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4",
"events_url": "https://api.github.com/users/slingamn/events{/privacy}",
"followers_url": "https://api.github.com/users/slingamn/followers",
"following_url": "https://api.github.com/users/slingamn/following{/other_user}",
"gists_url": "https... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 52 | 2012-09-07T03:54:10Z | 2021-09-08T23:06:04Z | 2015-01-19T09:29:14Z | CONTRIBUTOR | resolved | This ticket is intended to aggregate previous discussion from #539, #589, and #597 about the default value of `chunk_size` used by `iter_content` and `iter_lines`.
cc @mponton @gwrtheyrn @shazow
Issues:
1. The default read size of `iter_content` is 1 byte; this is probably inefficient
2. Requests does not expose 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": 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/844/reactions"
} | https://api.github.com/repos/psf/requests/issues/844/timeline | null | completed | null | null | false | [
":+1: for `iter_chunks` \n",
"@slingamn thanks so much for stepping up with this ;)\n",
"I'm not sure using 1024 as the default size for `iter_lines` is appropriate, I think it should be 1 byte. Don't get me wrong, **I KNOW** how bad this is for performance. But I stick with my original reasoning: If someone it... |
https://api.github.com/repos/psf/requests/issues/843 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/843/labels{/name} | https://api.github.com/repos/psf/requests/issues/843/comments | https://api.github.com/repos/psf/requests/issues/843/events | https://github.com/psf/requests/pull/843 | 6,704,204 | MDExOlB1bGxSZXF1ZXN0MjI3MjczOQ== | 843 | 'NoneType' object is not iterable | {
"avatar_url": "https://avatars.githubusercontent.com/u/503436?v=4",
"events_url": "https://api.github.com/users/barberj/events{/privacy}",
"followers_url": "https://api.github.com/users/barberj/followers",
"following_url": "https://api.github.com/users/barberj/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2012-09-07T01:20:11Z | 2021-09-08T17:05:45Z | 2012-09-11T03:03:23Z | CONTRIBUTOR | resolved | 'NoneType' object is not iterable
| {
"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/843/reactions"
} | https://api.github.com/repos/psf/requests/issues/843/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/843.diff",
"html_url": "https://github.com/psf/requests/pull/843",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/843.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/843"
} | true | [
"Would you mind removing the fudge stuff? I don't want to add another dependency for development just yet :)\n",
"Sure not a problem. Just wanted to prove my work!\n"
] |
https://api.github.com/repos/psf/requests/issues/842 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/842/labels{/name} | https://api.github.com/repos/psf/requests/issues/842/comments | https://api.github.com/repos/psf/requests/issues/842/events | https://github.com/psf/requests/pull/842 | 6,702,768 | MDExOlB1bGxSZXF1ZXN0MjI3MjAwMQ== | 842 | fix some tests to correctly cover the API | {
"avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4",
"events_url": "https://api.github.com/users/slingamn/events{/privacy}",
"followers_url": "https://api.github.com/users/slingamn/followers",
"following_url": "https://api.github.com/users/slingamn/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2012-09-06T23:33:28Z | 2021-09-08T17:05:44Z | 2012-09-07T07:10:21Z | CONTRIBUTOR | resolved | After #831, the tests added in #764 (which relied on iter_content()
crashing if the response was prefetched) no longer tested what they
were intended to test.
Test-only change, no expected changes in functionality.
| {
"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/842/reactions"
} | https://api.github.com/repos/psf/requests/issues/842/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/842.diff",
"html_url": "https://github.com/psf/requests/pull/842",
"merged_at": "2012-09-07T07:10:21Z",
"patch_url": "https://github.com/psf/requests/pull/842.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/842"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/841 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/841/labels{/name} | https://api.github.com/repos/psf/requests/issues/841/comments | https://api.github.com/repos/psf/requests/issues/841/events | https://github.com/psf/requests/pull/841 | 6,689,170 | MDExOlB1bGxSZXF1ZXN0MjI2NDkyMA== | 841 | Reset PYTHONDONTWRITEBYTECODE after installation | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 4 | 2012-09-06T14:24:29Z | 2021-09-08T23:10:56Z | 2012-09-11T03:15:43Z | CONTRIBUTOR | resolved | Fixes #839.
| {
"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/841/reactions"
} | https://api.github.com/repos/psf/requests/issues/841/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/841.diff",
"html_url": "https://github.com/psf/requests/pull/841",
"merged_at": "2012-09-11T03:15:43Z",
"patch_url": "https://github.com/psf/requests/pull/841.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/841"
} | true | [
"I actually think that Python just checks for the existence of the environ, so we should remove it completely if it didn't exist. \n",
"Ok then. You want me to submit a separate patch just doing:\n\n``` python\ndel os.environ['PYTHONDONTWRITEBYTECODE']\n```\n",
"Oh you could have just added another commit, it w... |
https://api.github.com/repos/psf/requests/issues/840 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/840/labels{/name} | https://api.github.com/repos/psf/requests/issues/840/comments | https://api.github.com/repos/psf/requests/issues/840/events | https://github.com/psf/requests/pull/840 | 6,688,980 | MDExOlB1bGxSZXF1ZXN0MjI2NDgyOQ== | 840 | add prefetch=False to streaming example | {
"avatar_url": "https://avatars.githubusercontent.com/u/325146?v=4",
"events_url": "https://api.github.com/users/gareth-lloyd/events{/privacy}",
"followers_url": "https://api.github.com/users/gareth-lloyd/followers",
"following_url": "https://api.github.com/users/gareth-lloyd/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2012-09-06T14:17:06Z | 2021-09-08T17:05:44Z | 2012-09-07T07:06:51Z | CONTRIBUTOR | resolved | I was tripped up when playing around with streaming APIs by the non-inclusion of the prefetch=False parameter in the documentation's example.
I see that the default value of prefetch was changed in v 0.13.6, so this is probably just a hangover of that change.
| {
"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/840/reactions"
} | https://api.github.com/repos/psf/requests/issues/840/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/840.diff",
"html_url": "https://github.com/psf/requests/pull/840",
"merged_at": "2012-09-07T07:06:51Z",
"patch_url": "https://github.com/psf/requests/pull/840.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/840"
} | true | [
"Thanks!\n",
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/839 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/839/labels{/name} | https://api.github.com/repos/psf/requests/issues/839/comments | https://api.github.com/repos/psf/requests/issues/839/events | https://github.com/psf/requests/issues/839 | 6,685,599 | MDU6SXNzdWU2Njg1NTk5 | 839 | os.environ['PYTHONDONTWRITEBYTECODE'] = '1' in setup.py breaks other packages | {
"avatar_url": "https://avatars.githubusercontent.com/u/121624?v=4",
"events_url": "https://api.github.com/users/io41/events{/privacy}",
"followers_url": "https://api.github.com/users/io41/followers",
"following_url": "https://api.github.com/users/io41/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2012-09-06T11:32:47Z | 2021-09-09T06:00:44Z | 2012-09-11T03:15:43Z | NONE | resolved | os.environ['PYTHONDONTWRITEBYTECODE'] = '1' globally changes behaviour for all packages installing along side requests, if requests is installed as a dependancy of another package.
| {
"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/839/reactions"
} | https://api.github.com/repos/psf/requests/issues/839/timeline | null | completed | null | null | false | [
"i.e. if pyro & requests are dependencies of the same python package, pyro breaks since it requires writing bytecode as part of it's setup.\n"
] |
https://api.github.com/repos/psf/requests/issues/838 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/838/labels{/name} | https://api.github.com/repos/psf/requests/issues/838/comments | https://api.github.com/repos/psf/requests/issues/838/events | https://github.com/psf/requests/pull/838 | 6,648,088 | MDExOlB1bGxSZXF1ZXN0MjI0NTg2NA== | 838 | Remove Authorization header when following redirection | {
"avatar_url": "https://avatars.githubusercontent.com/u/188302?v=4",
"events_url": "https://api.github.com/users/hamstah/events{/privacy}",
"followers_url": "https://api.github.com/users/hamstah/followers",
"following_url": "https://api.github.com/users/hamstah/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 6 | 2012-09-04T22:31:11Z | 2021-09-08T23:11:05Z | 2012-09-09T09:32:43Z | NONE | resolved | See http://bugs.python.org/issue3819 for a discussion
on a similar change in urllib2
| {
"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/838/reactions"
} | https://api.github.com/repos/psf/requests/issues/838/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/838.diff",
"html_url": "https://github.com/psf/requests/pull/838",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/838.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/838"
} | true | [
"This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/2337758) (merged 73ca5943 into c8f166f6).\n",
"I need to think about this.\n",
"Sure. One other option is to keep the authorization if the host/port etc is the same.\nAs the bugzilla discussion shows the rfc is ambiguous about it, but... |
https://api.github.com/repos/psf/requests/issues/837 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/837/labels{/name} | https://api.github.com/repos/psf/requests/issues/837/comments | https://api.github.com/repos/psf/requests/issues/837/events | https://github.com/psf/requests/pull/837 | 6,627,551 | MDExOlB1bGxSZXF1ZXN0MjIzNjI5Mg== | 837 | Test for iter_content() | {
"avatar_url": "https://avatars.githubusercontent.com/u/621306?v=4",
"events_url": "https://api.github.com/users/alicebob/events{/privacy}",
"followers_url": "https://api.github.com/users/alicebob/followers",
"following_url": "https://api.github.com/users/alicebob/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2012-09-04T06:58:52Z | 2021-09-08T16:01:02Z | 2012-09-11T03:04:45Z | NONE | resolved | Take #4.
Thanks @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/837/reactions"
} | https://api.github.com/repos/psf/requests/issues/837/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/837.diff",
"html_url": "https://github.com/psf/requests/pull/837",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/837.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/837"
} | true | [
"This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/2327773) (merged d46ac076 into c8f166f6).\n",
"Glad to help. \n"
] |
https://api.github.com/repos/psf/requests/issues/836 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/836/labels{/name} | https://api.github.com/repos/psf/requests/issues/836/comments | https://api.github.com/repos/psf/requests/issues/836/events | https://github.com/psf/requests/issues/836 | 6,620,922 | MDU6SXNzdWU2NjIwOTIy | 836 | NTLM support | {
"avatar_url": "https://avatars.githubusercontent.com/u/340979?v=4",
"events_url": "https://api.github.com/users/fruch/events{/privacy}",
"followers_url": "https://api.github.com/users/fruch/followers",
"following_url": "https://api.github.com/users/fruch/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2012-09-03T18:44:53Z | 2021-09-09T06:00:42Z | 2012-09-24T14:41:11Z | NONE | resolved | python-ntlm has HTTPNtlmAuthHandler for urllib2
http://code.google.com/p/python-ntlm/
shame I have to work with urllib2, for ntlm authentication.
Can someone help in implementing it in requests style ?
[tried looking at the code, got me confused]
Israel
| {
"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/836/reactions"
} | https://api.github.com/repos/psf/requests/issues/836/timeline | null | completed | null | null | false | [
"So, based on a cursory reading of the code it looks like NTLM would be difficult to implement in Requests' style. Part of the problem is that NTLM authenticates whole connections, not individual requests. This means that you can't simply implement a subclass of `requests.AuthBase`.\n\nWhat you'd need to do is fork... |
https://api.github.com/repos/psf/requests/issues/835 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/835/labels{/name} | https://api.github.com/repos/psf/requests/issues/835/comments | https://api.github.com/repos/psf/requests/issues/835/events | https://github.com/psf/requests/pull/835 | 6,610,692 | MDExOlB1bGxSZXF1ZXN0MjIyOTQ4OA== | 835 | Test for iter_content() | {
"avatar_url": "https://avatars.githubusercontent.com/u/621306?v=4",
"events_url": "https://api.github.com/users/alicebob/events{/privacy}",
"followers_url": "https://api.github.com/users/alicebob/followers",
"following_url": "https://api.github.com/users/alicebob/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 6 | 2012-09-03T08:19:14Z | 2021-09-08T17:05:43Z | 2012-09-04T06:59:22Z | NONE | resolved | Replaces #834 and #823. We can do this ;)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/621306?v=4",
"events_url": "https://api.github.com/users/alicebob/events{/privacy}",
"followers_url": "https://api.github.com/users/alicebob/followers",
"following_url": "https://api.github.com/users/alicebob/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/835/reactions"
} | https://api.github.com/repos/psf/requests/issues/835/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/835.diff",
"html_url": "https://github.com/psf/requests/pull/835",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/835.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/835"
} | true | [
"<3\n",
"Actually, this appears to be against an old version of the code :(\n",
"Want to do a rebase or should i deal with it? :P\n",
"I give up :)\n",
"@alicebob it would be fairly simple.\n\n```\n$ git branch\n develop\n master\n pullrequest\n pullrequest2\n* pullrequest3\n$ git pull --rebase git://gi... |
https://api.github.com/repos/psf/requests/issues/834 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/834/labels{/name} | https://api.github.com/repos/psf/requests/issues/834/comments | https://api.github.com/repos/psf/requests/issues/834/events | https://github.com/psf/requests/pull/834 | 6,610,132 | MDExOlB1bGxSZXF1ZXN0MjIyOTI3Mg== | 834 | iter_content unittest | {
"avatar_url": "https://avatars.githubusercontent.com/u/621306?v=4",
"events_url": "https://api.github.com/users/alicebob/events{/privacy}",
"followers_url": "https://api.github.com/users/alicebob/followers",
"following_url": "https://api.github.com/users/alicebob/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2012-09-03T07:36:38Z | 2021-09-08T16:01:02Z | 2012-09-03T08:22:24Z | NONE | resolved | Test for iter_content() (replaces pullrequest #823)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/621306?v=4",
"events_url": "https://api.github.com/users/alicebob/events{/privacy}",
"followers_url": "https://api.github.com/users/alicebob/followers",
"following_url": "https://api.github.com/users/alicebob/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/834/reactions"
} | https://api.github.com/repos/psf/requests/issues/834/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/834.diff",
"html_url": "https://github.com/psf/requests/pull/834",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/834.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/834"
} | true | [
"Can you revert 520e983 ? That's no longer the case :)\n",
"_sigh_ ;)\n"
] |
https://api.github.com/repos/psf/requests/issues/833 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/833/labels{/name} | https://api.github.com/repos/psf/requests/issues/833/comments | https://api.github.com/repos/psf/requests/issues/833/events | https://github.com/psf/requests/pull/833 | 6,608,013 | MDExOlB1bGxSZXF1ZXN0MjIyODQ1OA== | 833 | Fixes #817. | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2012-09-03T03:13:19Z | 2021-09-08T16:01:01Z | 2012-09-11T03:05:07Z | CONTRIBUTOR | resolved | Use dicts and lists where necessary but accept both dicts and lists of
2-tuples everywhere.
| {
"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/833/reactions"
} | https://api.github.com/repos/psf/requests/issues/833/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/833.diff",
"html_url": "https://github.com/psf/requests/pull/833",
"merged_at": "2012-09-11T03:05:07Z",
"patch_url": "https://github.com/psf/requests/pull/833.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/833"
} | true | [
"This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/2315204) (merged 8081d7b1 into c8f166f6).\n",
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/832 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/832/labels{/name} | https://api.github.com/repos/psf/requests/issues/832/comments | https://api.github.com/repos/psf/requests/issues/832/events | https://github.com/psf/requests/issues/832 | 6,602,253 | MDU6SXNzdWU2NjAyMjUz | 832 | request 0.14.0 doesn't bytecompile with python 3.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/151255?v=4",
"events_url": "https://api.github.com/users/sagarun/events{/privacy}",
"followers_url": "https://api.github.com/users/sagarun/followers",
"following_url": "https://api.github.com/users/sagarun/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 7 | 2012-09-02T12:32:04Z | 2021-09-09T05:30:58Z | 2012-09-24T14:45:15Z | NONE | resolved | I am trying to build requests rpm using python 3.2,
rpmbuild -ba ~/rpmbuild/SPECS/python-requests.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.b6OCbb
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.796rl5
running build
running build_py
creating build
creating build/lib
creating build/lib/requests
copying request... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/832/reactions"
} | https://api.github.com/repos/psf/requests/issues/832/timeline | null | completed | null | null | false | [
"Oh, that's interesting.\n\nBasically, Requests is supposed to enable chardet on Python 2 and chardet2 on Python 3. This special-casing is referred to in the setup.py, but it looks like the effects don't extend to telling Python 3 not to compile chardet.\n\nI'm guessing if you remove the chardet directory, everythi... |
https://api.github.com/repos/psf/requests/issues/831 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/831/labels{/name} | https://api.github.com/repos/psf/requests/issues/831/comments | https://api.github.com/repos/psf/requests/issues/831/events | https://github.com/psf/requests/pull/831 | 6,601,254 | MDExOlB1bGxSZXF1ZXN0MjIyNjUwNg== | 831 | permissive implementation of iter_content | {
"avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4",
"events_url": "https://api.github.com/users/slingamn/events{/privacy}",
"followers_url": "https://api.github.com/users/slingamn/followers",
"following_url": "https://api.github.com/users/slingamn/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2012-09-02T08:45:33Z | 2021-09-08T23:07:17Z | 2012-09-02T08:47:19Z | CONTRIBUTOR | resolved | This is #781 but it respects chunk_size.
This should also fix the issue from #823?
| {
"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/831/reactions"
} | https://api.github.com/repos/psf/requests/issues/831/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/831.diff",
"html_url": "https://github.com/psf/requests/pull/831",
"merged_at": "2012-09-02T08:47:19Z",
"patch_url": "https://github.com/psf/requests/pull/831.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/831"
} | true | [
"Beautiful! Just waiting for the tests now :)\n",
"This pull request [passes](http://travis-ci.org/kennethreitz/requests/builds/2309298) (merged 77cf9951 into 11758660).\n",
":sparkles: :cake: :sparkles:\n",
"Requests v0.14.0 just released, which includes this awesome fix :) \n"
] |
https://api.github.com/repos/psf/requests/issues/830 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/830/labels{/name} | https://api.github.com/repos/psf/requests/issues/830/comments | https://api.github.com/repos/psf/requests/issues/830/events | https://github.com/psf/requests/pull/830 | 6,592,501 | MDExOlB1bGxSZXF1ZXN0MjIyMzk5OQ== | 830 | Sfufix | {
"avatar_url": "https://avatars.githubusercontent.com/u/1146703?v=4",
"events_url": "https://api.github.com/users/SecurityForUs/events{/privacy}",
"followers_url": "https://api.github.com/users/SecurityForUs/followers",
"following_url": "https://api.github.com/users/SecurityForUs/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 4 | 2012-09-01T02:12:32Z | 2021-09-08T16:01:01Z | 2012-09-11T03:05:51Z | CONTRIBUTOR | resolved | This is for commit https://github.com/SecurityForUs/requests/commit/e35e561a55f4223b4b69312c01677042a854327c
Currently if you pass proxy settings like this:
``` python
proxy = {"https" : ""}
req = requests.get("http://www.google.com", proxies=proxy)
```
The request will be sent through an empty proxy (""). Every re... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/830/reactions"
} | https://api.github.com/repos/psf/requests/issues/830/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/830.diff",
"html_url": "https://github.com/psf/requests/pull/830",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/830.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/830"
} | true | [
"This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/2300350) (merged 784ee71f into 11758660).\n",
"Sorry for opening this up twice, I was hoping to clean up the commit list it showed but didn't work as planned.\n",
"You may want to fork another branch off of the official develop branch,... |
https://api.github.com/repos/psf/requests/issues/829 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/829/labels{/name} | https://api.github.com/repos/psf/requests/issues/829/comments | https://api.github.com/repos/psf/requests/issues/829/events | https://github.com/psf/requests/pull/829 | 6,592,344 | MDExOlB1bGxSZXF1ZXN0MjIyMzkzNg== | 829 | Develop | {
"avatar_url": "https://avatars.githubusercontent.com/u/1146703?v=4",
"events_url": "https://api.github.com/users/SecurityForUs/events{/privacy}",
"followers_url": "https://api.github.com/users/SecurityForUs/followers",
"following_url": "https://api.github.com/users/SecurityForUs/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 2 | 2012-09-01T01:43:24Z | 2021-09-08T16:01:00Z | 2012-09-01T02:11:49Z | CONTRIBUTOR | resolved | This is for commit https://github.com/SecurityForUs/requests/commit/e35e561a55f4223b4b69312c01677042a854327c
Currently if you pass proxy settings like this:
``` python
proxy = {"https" : ""}
req = requests.get("http://www.google.com", proxies=proxy)
```
The request will be sent through an empty proxy (""). Every re... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1146703?v=4",
"events_url": "https://api.github.com/users/SecurityForUs/events{/privacy}",
"followers_url": "https://api.github.com/users/SecurityForUs/followers",
"following_url": "https://api.github.com/users/SecurityForUs/following{/other_user}",
"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/829/reactions"
} | https://api.github.com/repos/psf/requests/issues/829/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/829.diff",
"html_url": "https://github.com/psf/requests/pull/829",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/829.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/829"
} | true | [
"This pull request [fails](http://travis-ci.org/kennethreitz/requests/builds/2300273) (merged e35e561a into 11758660).\n",
"Probably should've named the first var name something else besides \"type\". Can push a new commit if requested.\n"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.