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/328 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/328/labels{/name} | https://api.github.com/repos/psf/requests/issues/328/comments | https://api.github.com/repos/psf/requests/issues/328/events | https://github.com/psf/requests/pull/328 | 2,692,668 | MDExOlB1bGxSZXF1ZXN0NjQxNDgz | 328 | Implement automatic deflating when using response.iter_content. refs #327 | {
"avatar_url": "https://avatars.githubusercontent.com/u/187133?v=4",
"events_url": "https://api.github.com/users/gazpachoking/events{/privacy}",
"followers_url": "https://api.github.com/users/gazpachoking/followers",
"following_url": "https://api.github.com/users/gazpachoking/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2011-12-30T23:57:36Z | 2021-09-08T23:01:02Z | 2011-12-31T00:03:39Z | CONTRIBUTOR | resolved | Refactor response.iter_lines to use responset.iter_content.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/328/reactions"
} | https://api.github.com/repos/psf/requests/issues/328/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/328.diff",
"html_url": "https://github.com/psf/requests/pull/328",
"merged_at": "2011-12-31T00:03:39Z",
"patch_url": "https://github.com/psf/requests/pull/328.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/328"
} | true | [
"#327\n"
] |
https://api.github.com/repos/psf/requests/issues/327 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/327/labels{/name} | https://api.github.com/repos/psf/requests/issues/327/comments | https://api.github.com/repos/psf/requests/issues/327/events | https://github.com/psf/requests/issues/327 | 2,690,903 | MDU6SXNzdWUyNjkwOTAz | 327 | handle deflate encoding with iter_content | {
"avatar_url": "https://avatars.githubusercontent.com/u/187133?v=4",
"events_url": "https://api.github.com/users/gazpachoking/events{/privacy}",
"followers_url": "https://api.github.com/users/gazpachoking/followers",
"following_url": "https://api.github.com/users/gazpachoking/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2011-12-30T19:08:02Z | 2021-09-09T10:00:43Z | 2012-01-23T08:04:12Z | CONTRIBUTOR | resolved | Currently deflate compression is not handled when reading a response with response.iter_content(). Some way should be figured out to handle this situation.
| {
"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/327/reactions"
} | https://api.github.com/repos/psf/requests/issues/327/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/326 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/326/labels{/name} | https://api.github.com/repos/psf/requests/issues/326/comments | https://api.github.com/repos/psf/requests/issues/326/events | https://github.com/psf/requests/issues/326 | 2,686,461 | MDU6SXNzdWUyNjg2NDYx | 326 | `ImportError: No module named certifi` when using SSL | {
"avatar_url": "https://avatars.githubusercontent.com/u/221196?v=4",
"events_url": "https://api.github.com/users/mvanveen/events{/privacy}",
"followers_url": "https://api.github.com/users/mvanveen/followers",
"following_url": "https://api.github.com/users/mvanveen/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 23 | 2011-12-30T04:01:57Z | 2021-09-08T12:00:52Z | 2012-01-02T05:17:39Z | CONTRIBUTOR | resolved | I did a fresh clone of the requests repo and get the following traceback when I try to POST to the following endpoint:
``` python
>>> requests.post('https://api.dropbox.com/1/oauth/request_token')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "requests/api.py", line 83, in post
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/326/reactions"
} | https://api.github.com/repos/psf/requests/issues/326/timeline | null | completed | null | null | false | [
"Traditionally, requests has had 0 dependencies. With the new SSL support, a pem file must be distributed for standard validation. I'm using mozilla's. Mozilla's is GPL. So, certifi (which contains their pen file) is a separate module, and must be distributed as such. \n\nYou can make ssl requests without it, you j... |
https://api.github.com/repos/psf/requests/issues/325 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/325/labels{/name} | https://api.github.com/repos/psf/requests/issues/325/comments | https://api.github.com/repos/psf/requests/issues/325/events | https://github.com/psf/requests/issues/325 | 2,683,806 | MDU6SXNzdWUyNjgzODA2 | 325 | Clean way to silence warnings in connectionpool? | {
"avatar_url": "https://avatars.githubusercontent.com/u/59039?v=4",
"events_url": "https://api.github.com/users/dropwhile/events{/privacy}",
"followers_url": "https://api.github.com/users/dropwhile/followers",
"following_url": "https://api.github.com/users/dropwhile/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 6 | 2011-12-29T23:23:13Z | 2021-09-09T10:00:43Z | 2012-01-23T08:04:02Z | NONE | resolved | Logging messages in connectionpool.py are set to level warning, and there appears to be no clean (eg. in config/defaults) way to silence them (please correct me if I am wrong about that!).
Currently, after importing requests I am doing this:
```
logging.getLogger('requests.packages.urllib3').setLevel(logging.CRITICAL... | {
"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/325/reactions"
} | https://api.github.com/repos/psf/requests/issues/325/timeline | null | completed | null | null | false | [
"This is not inelegant in any way. That's how logging module is supposed to work.\n",
"I realize that is how it works (or I wouldn't have known to do it!). :P\n\nAs to 'inelegant', it just seemed that way to me because urllib3 is kind of a submodule of requests, and is otherwise relatively hidden underneath reque... |
https://api.github.com/repos/psf/requests/issues/324 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/324/labels{/name} | https://api.github.com/repos/psf/requests/issues/324/comments | https://api.github.com/repos/psf/requests/issues/324/events | https://github.com/psf/requests/issues/324 | 2,682,703 | MDU6SXNzdWUyNjgyNzAz | 324 | SOCKS proxy support | {
"avatar_url": "https://avatars.githubusercontent.com/u/692970?v=4",
"events_url": "https://api.github.com/users/thefinn93/events{/privacy}",
"followers_url": "https://api.github.com/users/thefinn93/followers",
"following_url": "https://api.github.com/users/thefinn93/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 3 | 2011-12-29T21:04:43Z | 2021-09-09T09:00:42Z | 2012-03-16T22:59:24Z | NONE | resolved | Maybe this exists and I just can't find it, but it'd be awfully nice if requests had support for SOCKS proxies. If this exists already, could someone give me a simple example? Thanks.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/692970?v=4",
"events_url": "https://api.github.com/users/thefinn93/events{/privacy}",
"followers_url": "https://api.github.com/users/thefinn93/followers",
"following_url": "https://api.github.com/users/thefinn93/following{/other_user}",
"gists_url": "ht... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/324/reactions"
} | https://api.github.com/repos/psf/requests/issues/324/timeline | null | completed | null | null | false | [
"I patched in socks5 support in my fork (https://github.com/kbatten/requests/commit/fb4676bcabcb53471272b6bfbecada7ce6161be6). I'm not sure if this specific implementation is appropriate for Requests though because it bypasses the proxies={'scheme':'host:port'} method and instead globally sets up the proxy to handl... |
https://api.github.com/repos/psf/requests/issues/323 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/323/labels{/name} | https://api.github.com/repos/psf/requests/issues/323/comments | https://api.github.com/repos/psf/requests/issues/323/events | https://github.com/psf/requests/issues/323 | 2,681,784 | MDU6SXNzdWUyNjgxNzg0 | 323 | Add ending slash to raw domains before query insertion | {
"avatar_url": "https://avatars.githubusercontent.com/u/1292974?v=4",
"events_url": "https://api.github.com/users/schluffo/events{/privacy}",
"followers_url": "https://api.github.com/users/schluffo/followers",
"following_url": "https://api.github.com/users/schluffo/following{/other_user}",
"gists_url": "http... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 6 | 2011-12-29T19:06:08Z | 2021-09-09T07:05:22Z | 2012-07-27T06:07:45Z | NONE | resolved | Method 'get' with not empty params ends with error:
File "/usr/lib/python2.6/site-packages/requests/packages/urllib3/connectionpool.py", line 524, in get_host
port = int(port)
ValueError: invalid literal for int() with base 10: '7766?test=s'
It is probably caused by invalid parsing of port in method get_host.
| {
"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/323/reactions"
} | https://api.github.com/repos/psf/requests/issues/323/timeline | null | completed | null | null | false | [
"Can you attach some code to reproduce?\n",
"import requests\nrequests.get(\"http://localhost:80\", params=dict(test=\"s\")) \n",
"Ah, we should fix that. Nice catch.\n\nTechnically, that's an invalid URL. Try this:\n\n``` python\nrequests.get(\"http://localhost:80/\", params=dict(test=\"s\"))\n```\n",
"Ok, t... |
https://api.github.com/repos/psf/requests/issues/322 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/322/labels{/name} | https://api.github.com/repos/psf/requests/issues/322/comments | https://api.github.com/repos/psf/requests/issues/322/events | https://github.com/psf/requests/issues/322 | 2,674,449 | MDU6SXNzdWUyNjc0NDQ5 | 322 | Test failures with requests 0.9.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/176984?v=4",
"events_url": "https://api.github.com/users/jbergstroem/events{/privacy}",
"followers_url": "https://api.github.com/users/jbergstroem/followers",
"following_url": "https://api.github.com/users/jbergstroem/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2011-12-28T20:27:48Z | 2021-09-09T10:00:47Z | 2011-12-28T20:34:36Z | CONTRIBUTOR | resolved | I get lots of these errors (most likely related to gunicorn starting correctly):
<pre>
# PYTHONPATH=build/lib python test_requests.py
EEEEEEEEEEEEEEEEEE.E..EEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_BASICAUTH_HTTP_200_OK_GET (__main__.RequestsTestSuite)
-... | {
"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/322/reactions"
} | https://api.github.com/repos/psf/requests/issues/322/timeline | null | completed | null | null | false | [
"looks like you aren't running httpbin correctly.\n"
] |
https://api.github.com/repos/psf/requests/issues/321 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/321/labels{/name} | https://api.github.com/repos/psf/requests/issues/321/comments | https://api.github.com/repos/psf/requests/issues/321/events | https://github.com/psf/requests/issues/321 | 2,671,113 | MDU6SXNzdWUyNjcxMTEz | 321 | `requests.get('https://httpbin.org', verify=True)` fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/24753?v=4",
"events_url": "https://api.github.com/users/zed/events{/privacy}",
"followers_url": "https://api.github.com/users/zed/followers",
"following_url": "https://api.github.com/users/zed/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 2 | 2011-12-28T13:09:34Z | 2021-09-09T10:00:46Z | 2011-12-28T20:48:01Z | NONE | resolved | Example from the docs doesn't work http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification
```
>>> import requests
>>> requests.get('https://httpbin.org', verify=True)
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/path/to/lib/python2.7/site-packages/requests/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/321/reactions"
} | https://api.github.com/repos/psf/requests/issues/321/timeline | null | completed | null | null | false | [
"I can reproduce this here:\n\n```\n$ pip freeze | grep certifi\npip freeze | grep certifi\n$ python -mplatform\nLinux-3.1.5-1-ARCH-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-glibc2.2.5\n```\n",
"Sorry, httpbin's cert is a little bit messed up. Depends on the ssl version.\n"
] |
https://api.github.com/repos/psf/requests/issues/320 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/320/labels{/name} | https://api.github.com/repos/psf/requests/issues/320/comments | https://api.github.com/repos/psf/requests/issues/320/events | https://github.com/psf/requests/issues/320 | 2,659,735 | MDU6SXNzdWUyNjU5NzM1 | 320 | mention binary mode for saving files | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2011-12-26T20:11:50Z | 2021-09-09T07:05:22Z | 2012-07-27T06:07:49Z | 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/320/reactions"
} | https://api.github.com/repos/psf/requests/issues/320/timeline | null | completed | null | null | false | [] | |
https://api.github.com/repos/psf/requests/issues/319 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/319/labels{/name} | https://api.github.com/repos/psf/requests/issues/319/comments | https://api.github.com/repos/psf/requests/issues/319/events | https://github.com/psf/requests/issues/319 | 2,657,111 | MDU6SXNzdWUyNjU3MTEx | 319 | Timeout when using authenticated proxy for https request | {
"avatar_url": "https://avatars.githubusercontent.com/u/118963?v=4",
"events_url": "https://api.github.com/users/j0hnsmith/events{/privacy}",
"followers_url": "https://api.github.com/users/j0hnsmith/followers",
"following_url": "https://api.github.com/users/j0hnsmith/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 0 | 2011-12-26T07:14:10Z | 2021-09-09T07:05:22Z | 2012-07-27T06:08:02Z | NONE | resolved | I get a timeout when I run this
```
import requests
proxies = {
'https': 'https://username:password@ip:port',
}
resp = requests.get('https://www.google.com/', proxies=proxies)
print resp.status_code`
```
This worked in 0.7.6, then 0.8.0 - 0.8.5 there's the `ValueError: invalid literal for int() with base 10: 'us... | {
"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/319/reactions"
} | https://api.github.com/repos/psf/requests/issues/319/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/318 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/318/labels{/name} | https://api.github.com/repos/psf/requests/issues/318/comments | https://api.github.com/repos/psf/requests/issues/318/events | https://github.com/psf/requests/pull/318 | 2,650,596 | MDExOlB1bGxSZXF1ZXN0NjI4Mjg3 | 318 | Make safe_mode handle exceptions more consistently | {
"avatar_url": "https://avatars.githubusercontent.com/u/376462?v=4",
"events_url": "https://api.github.com/users/atdt/events{/privacy}",
"followers_url": "https://api.github.com/users/atdt/followers",
"following_url": "https://api.github.com/users/atdt/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 3 | 2011-12-23T22:07:30Z | 2021-09-08T13:06:06Z | 2011-12-23T22:24:35Z | CONTRIBUTOR | resolved | I'm not sure how I feel about this patch, but I thought I'd submit a pull request regardless because if nothing else it raises a couple of issues that need some attention, IMHO.
Instead of passing None to `_build_response` when a request failed in safe mode, we now pass an empty `urllib3.HTTPResponse` object instead. ... | {
"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/318/reactions"
} | https://api.github.com/repos/psf/requests/issues/318/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/318.diff",
"html_url": "https://github.com/psf/requests/pull/318",
"merged_at": "2011-12-23T22:24:35Z",
"patch_url": "https://github.com/psf/requests/pull/318.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/318"
} | true | [
"Thanks for the thoughts — I'm glad someone noticed. I lot of these oddities that you noticed are remnants from old iterations of requests that need to be cleaned up. \n",
"I'm going to accept this. I think it's a good step going forward.\n",
"Thanks. I like this a lot.\n\nLast thing to do is have safe_mode be ... |
https://api.github.com/repos/psf/requests/issues/317 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/317/labels{/name} | https://api.github.com/repos/psf/requests/issues/317/comments | https://api.github.com/repos/psf/requests/issues/317/events | https://github.com/psf/requests/pull/317 | 2,644,228 | MDExOlB1bGxSZXF1ZXN0NjI2MDQ0 | 317 | fix iteration on null responses in safe_mode | {
"avatar_url": "https://avatars.githubusercontent.com/u/376462?v=4",
"events_url": "https://api.github.com/users/atdt/events{/privacy}",
"followers_url": "https://api.github.com/users/atdt/followers",
"following_url": "https://api.github.com/users/atdt/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2011-12-23T02:43:30Z | 2021-09-08T13:06:05Z | 2011-12-23T02:45:10Z | CONTRIBUTOR | resolved | Previously, calling `iter_lines` or `iter_content` on a blank response caused an `AttributeError` to be thrown, because it called `self.raw.read()` where `raw` was `None`. In my opinion, the correct behavior should be to return an empty iterator.
| {
"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/317/reactions"
} | https://api.github.com/repos/psf/requests/issues/317/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/317.diff",
"html_url": "https://github.com/psf/requests/pull/317",
"merged_at": "2011-12-23T02:45:10Z",
"patch_url": "https://github.com/psf/requests/pull/317.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/317"
} | true | [
"Excellent, thanks!\n\nFor the record, I commend you for adding tests to all of your pull requests. I wish everyone was like you.\n\n:sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/316 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/316/labels{/name} | https://api.github.com/repos/psf/requests/issues/316/comments | https://api.github.com/repos/psf/requests/issues/316/events | https://github.com/psf/requests/pull/316 | 2,642,280 | MDExOlB1bGxSZXF1ZXN0NjI1MzAy | 316 | Make safe_mode play nice with timeout (fixes #312) | {
"avatar_url": "https://avatars.githubusercontent.com/u/376462?v=4",
"events_url": "https://api.github.com/users/atdt/events{/privacy}",
"followers_url": "https://api.github.com/users/atdt/followers",
"following_url": "https://api.github.com/users/atdt/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 2 | 2011-12-22T21:53:36Z | 2021-09-08T13:06:07Z | 2011-12-22T23:17:45Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/316/reactions"
} | https://api.github.com/repos/psf/requests/issues/316/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/316.diff",
"html_url": "https://github.com/psf/requests/pull/316",
"merged_at": "2011-12-22T23:17:45Z",
"patch_url": "https://github.com/psf/requests/pull/316.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/316"
} | true | [
":sparkles: :cake: :sparkles:\n",
":sparkles: :cake: :sparkles:\n"
] | |
https://api.github.com/repos/psf/requests/issues/315 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/315/labels{/name} | https://api.github.com/repos/psf/requests/issues/315/comments | https://api.github.com/repos/psf/requests/issues/315/events | https://github.com/psf/requests/pull/315 | 2,621,807 | MDExOlB1bGxSZXF1ZXN0NjE3ODYx | 315 | Fix for #30: options for certificate validation and client certs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/39950?v=4",
"events_url": "https://api.github.com/users/sciyoshi/events{/privacy}",
"followers_url": "https://api.github.com/users/sciyoshi/followers",
"following_url": "https://api.github.com/users/sciyoshi/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 4 | 2011-12-21T05:16:06Z | 2021-09-08T13:06:04Z | 2011-12-28T09:20:24Z | NONE | resolved | Quick fix for issue #30. Note that this doesn't do hostname matching when verifying, although this is an issue in urllib3 - maybe it should use [`backports.ssl_match_hostname`](http://pypi.python.org/pypi/backports.ssl_match_hostname/) if available.
For example, you can set the global `ca_certs` and enable cert verifi... | {
"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/315/reactions"
} | https://api.github.com/repos/psf/requests/issues/315/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/315.diff",
"html_url": "https://github.com/psf/requests/pull/315",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/315.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/315"
} | true | [
"Awesome!\n\nThose default dicts shouldn't be touched by any users. There needs to be a better API for this.\n",
"> Those default dicts shouldn't be touched by any users.\n\nThis would be not quite pythonic I guess :)\n",
"shazow/urllib3#25\n",
"Requests v0.8.8 was just released that includes ssl verification... |
https://api.github.com/repos/psf/requests/issues/314 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/314/labels{/name} | https://api.github.com/repos/psf/requests/issues/314/comments | https://api.github.com/repos/psf/requests/issues/314/events | https://github.com/psf/requests/issues/314 | 2,611,645 | MDU6SXNzdWUyNjExNjQ1 | 314 | Exceptions inside greenlets | {
"avatar_url": "https://avatars.githubusercontent.com/u/6988?v=4",
"events_url": "https://api.github.com/users/j4mie/events{/privacy}",
"followers_url": "https://api.github.com/users/j4mie/followers",
"following_url": "https://api.github.com/users/j4mie/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 2 | 2011-12-20T10:59:48Z | 2021-09-09T09:00:42Z | 2011-12-28T09:21:19Z | NONE | resolved | Hi,
When using the async stuff, how do I correctly handle an exception that occurs inside the greenlet?
```
Traceback (most recent call last):
File "/Users/jamie/.virtualenvs/pulse/lib/python2.7/site-packages/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File "/Users/jami... | {
"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/314/reactions"
} | https://api.github.com/repos/psf/requests/issues/314/timeline | null | completed | null | null | false | [
"aync requests now have `safe_mode` enabled by default.\n",
"This doesn´t solve the problem. Same issue here. Adding \"ConnectionError\" on line 650 in models.py solves the problem, buts it´s just a workaround\n"
] |
https://api.github.com/repos/psf/requests/issues/313 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/313/labels{/name} | https://api.github.com/repos/psf/requests/issues/313/comments | https://api.github.com/repos/psf/requests/issues/313/events | https://github.com/psf/requests/pull/313 | 2,609,961 | MDExOlB1bGxSZXF1ZXN0NjEzMzE0 | 313 | fix bug that causes iter_lines to truncate content | {
"avatar_url": "https://avatars.githubusercontent.com/u/376462?v=4",
"events_url": "https://api.github.com/users/atdt/events{/privacy}",
"followers_url": "https://api.github.com/users/atdt/followers",
"following_url": "https://api.github.com/users/atdt/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2011-12-20T07:05:47Z | 2021-09-08T13:06:04Z | 2011-12-22T16:56:05Z | CONTRIBUTOR | resolved | Currently, if the response does not terminate with a newline, iter_lines truncates the trailing remainder.
| {
"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/313/reactions"
} | https://api.github.com/repos/psf/requests/issues/313/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/313.diff",
"html_url": "https://github.com/psf/requests/pull/313",
"merged_at": "2011-12-22T16:56:05Z",
"patch_url": "https://github.com/psf/requests/pull/313.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/313"
} | true | [
"Thanks for the awesome fix!\n"
] |
https://api.github.com/repos/psf/requests/issues/312 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/312/labels{/name} | https://api.github.com/repos/psf/requests/issues/312/comments | https://api.github.com/repos/psf/requests/issues/312/events | https://github.com/psf/requests/issues/312 | 2,608,975 | MDU6SXNzdWUyNjA4OTc1 | 312 | Unhandled exception on timeout in safe_mode | {
"avatar_url": "https://avatars.githubusercontent.com/u/187133?v=4",
"events_url": "https://api.github.com/users/gazpachoking/events{/privacy}",
"followers_url": "https://api.github.com/users/gazpachoking/followers",
"following_url": "https://api.github.com/users/gazpachoking/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2011-12-20T03:28:28Z | 2021-09-09T10:00:47Z | 2011-12-22T23:17:45Z | CONTRIBUTOR | resolved | If safe_mode is specified, and a timeout occurs, the following error is raised:
``` python
>>>requests.get('http://timeout.com', timeout=0.01, config=dict(safe_mode=True))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build\bdist.win32\egg\requests\api.py", line 79, in get
File "bu... | {
"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/312/reactions"
} | https://api.github.com/repos/psf/requests/issues/312/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/311 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/311/labels{/name} | https://api.github.com/repos/psf/requests/issues/311/comments | https://api.github.com/repos/psf/requests/issues/311/events | https://github.com/psf/requests/pull/311 | 2,602,685 | MDExOlB1bGxSZXF1ZXN0NjEwMzc1 | 311 | Add Twitter Streaming API example to Advanced Usage docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/18160?v=4",
"events_url": "https://api.github.com/users/jemerick/events{/privacy}",
"followers_url": "https://api.github.com/users/jemerick/followers",
"following_url": "https://api.github.com/users/jemerick/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2011-12-19T16:46:19Z | 2021-09-08T13:06:03Z | 2011-12-19T16:51:15Z | 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/311/reactions"
} | https://api.github.com/repos/psf/requests/issues/311/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/311.diff",
"html_url": "https://github.com/psf/requests/pull/311",
"merged_at": "2011-12-19T16:51:15Z",
"patch_url": "https://github.com/psf/requests/pull/311.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/311"
} | true | [
"Beautiful. Thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/310 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/310/labels{/name} | https://api.github.com/repos/psf/requests/issues/310/comments | https://api.github.com/repos/psf/requests/issues/310/events | https://github.com/psf/requests/issues/310 | 2,597,235 | MDU6SXNzdWUyNTk3MjM1 | 310 | Encode data according to Content-Type. | {
"avatar_url": "https://avatars.githubusercontent.com/u/100702?v=4",
"events_url": "https://api.github.com/users/jorgeecardona/events{/privacy}",
"followers_url": "https://api.github.com/users/jorgeecardona/followers",
"following_url": "https://api.github.com/users/jorgeecardona/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 18 | 2011-12-19T06:16:33Z | 2021-09-09T10:00:47Z | 2011-12-19T06:18:14Z | NONE | resolved | Hi,
It would be great that a request with a particular content-type would encode the "data" to the type given by the header Content-Type.
| {
"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/310/reactions"
} | https://api.github.com/repos/psf/requests/issues/310/timeline | null | completed | null | null | false | [
"Don't mean to be blunt, but... this is out of scope. \n",
"It's been heavily considered before, but it's definitely a step in the wrong direction.\n",
"Why? this will make my (and assume others) life really easy, If there\nis already some decoding in the response with the content-type, why is\na wrong directio... |
https://api.github.com/repos/psf/requests/issues/309 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/309/labels{/name} | https://api.github.com/repos/psf/requests/issues/309/comments | https://api.github.com/repos/psf/requests/issues/309/events | https://github.com/psf/requests/pull/309 | 2,590,245 | MDExOlB1bGxSZXF1ZXN0NjA2NTQ2 | 309 | Add Proxy Authorization Support | {
"avatar_url": "https://avatars.githubusercontent.com/u/1010392?v=4",
"events_url": "https://api.github.com/users/chrisguitarguy/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisguitarguy/followers",
"following_url": "https://api.github.com/users/chrisguitarguy/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2011-12-17T19:56:12Z | 2021-09-08T09:01:08Z | 2011-12-19T00:14:56Z | CONTRIBUTOR | resolved | A new class is auth.py adds the `Proxy-Authorization` header to a Request object.
If a proxy is specified in the request, the `send()` method is going to look for authentication info in the proxy URL string and set up the proxy auth from there.
None of this works with out the changes to urllib3 in #293, 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/309/reactions"
} | https://api.github.com/repos/psf/requests/issues/309/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/309.diff",
"html_url": "https://github.com/psf/requests/pull/309",
"merged_at": "2011-12-19T00:14:56Z",
"patch_url": "https://github.com/psf/requests/pull/309.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/309"
} | true | [
"Thanks a ton for this!\n",
"(Great pull request btw — honored to be your first :)\n"
] |
https://api.github.com/repos/psf/requests/issues/308 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/308/labels{/name} | https://api.github.com/repos/psf/requests/issues/308/comments | https://api.github.com/repos/psf/requests/issues/308/events | https://github.com/psf/requests/issues/308 | 2,559,650 | MDU6SXNzdWUyNTU5NjUw | 308 | Client Certificates in Requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/1264133?v=4",
"events_url": "https://api.github.com/users/johncwheeler/events{/privacy}",
"followers_url": "https://api.github.com/users/johncwheeler/followers",
"following_url": "https://api.github.com/users/johncwheeler/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 1 | 2011-12-14T22:09:30Z | 2021-09-09T10:00:48Z | 2011-12-19T00:23:27Z | NONE | resolved | In requests there doesn't seem to be a way to specify an SSL key and certificate for client certificate auth.
urllib and httplib both support the client cert approach. This is a commonly requested implementation for business to business communications.
Is this something that we would use the custom auth approach for, ... | {
"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/308/reactions"
} | https://api.github.com/repos/psf/requests/issues/308/timeline | null | completed | null | null | false | [
"Hey there. I'm looking forward to adding support for this soon.\n\nSee #30 for discussion and details. \n"
] |
https://api.github.com/repos/psf/requests/issues/307 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/307/labels{/name} | https://api.github.com/repos/psf/requests/issues/307/comments | https://api.github.com/repos/psf/requests/issues/307/events | https://github.com/psf/requests/issues/307 | 2,541,917 | MDU6SXNzdWUyNTQxOTE3 | 307 | Digest Authentication in 0.7.3 versus 0.8.4 | {
"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 | 2011-12-13T19:32:57Z | 2021-09-09T10:00:48Z | 2011-12-13T19:39:23Z | CONTRIBUTOR | resolved | After upgrading from 0.7.3 to 0.8.4:
A digest request such as:
``` python
r = requests.get('http://app.com/sensors.json', auth=('digest', 'username', 'password'))
```
Yields:
```
matt@Jenkins:~/Development/sensor-tools$ python pollsensors.py
Traceback (most recent call last):
File "pollsensors.py", line 84, in <... | {
"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... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/307/reactions"
} | https://api.github.com/repos/psf/requests/issues/307/timeline | null | completed | null | null | false | [
"There was a backwards incompatible change. \n\nHere's the new usage:\n\nhttp://docs.python-requests.org/en/latest/user/quickstart/#digest-authentication\n",
"ah, shit. I didn't see that\n\nworks now.\n",
"Sorry for the backwards-incompatible changes. They're for the best :)\n",
"no worries, I like this new s... |
https://api.github.com/repos/psf/requests/issues/306 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/306/labels{/name} | https://api.github.com/repos/psf/requests/issues/306/comments | https://api.github.com/repos/psf/requests/issues/306/events | https://github.com/psf/requests/issues/306 | 2,529,375 | MDU6SXNzdWUyNTI5Mzc1 | 306 | requests does not install if Python has no SSL support | {
"avatar_url": "https://avatars.githubusercontent.com/u/576874?v=4",
"events_url": "https://api.github.com/users/nisavid/events{/privacy}",
"followers_url": "https://api.github.com/users/nisavid/followers",
"following_url": "https://api.github.com/users/nisavid/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 8 | 2011-12-12T22:12:42Z | 2021-09-09T10:00:41Z | 2012-01-23T08:01:45Z | NONE | resolved | here's what happens if you try to install requests in a Python environment that doesn't have SSL support:
```
Downloading/unpacking requests
Downloading requests-0.8.4.tar.gz (52Kb): 52Kb downloaded
Running setup.py egg_info for package requests
Traceback (most recent call last):
File "<string>", line 14... | {
"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/306/reactions"
} | https://api.github.com/repos/psf/requests/issues/306/timeline | null | completed | null | null | false | [
"Interesting. We should definitely fix this.\n\nNow I'm curious though — what's the best way to hand this? Raise a `ConnectionError` when someone tries to open an https url? Or maybe a `ProtocolNotAvailable` error?\n",
"Shouldn't this be handled in the urllib3?\n",
"@piotr-dobrogost: urllib3 is, as always, not ... |
https://api.github.com/repos/psf/requests/issues/305 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/305/labels{/name} | https://api.github.com/repos/psf/requests/issues/305/comments | https://api.github.com/repos/psf/requests/issues/305/events | https://github.com/psf/requests/pull/305 | 2,515,123 | MDExOlB1bGxSZXF1ZXN0NTgxMjQw | 305 | Fix spelling errors, typos. | {
"avatar_url": "https://avatars.githubusercontent.com/u/47585?v=4",
"events_url": "https://api.github.com/users/hatchetation/events{/privacy}",
"followers_url": "https://api.github.com/users/hatchetation/followers",
"following_url": "https://api.github.com/users/hatchetation/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2011-12-11T08:02:29Z | 2021-09-08T13:06:03Z | 2011-12-11T16:04:27Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/305/reactions"
} | https://api.github.com/repos/psf/requests/issues/305/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/305.diff",
"html_url": "https://github.com/psf/requests/pull/305",
"merged_at": "2011-12-11T16:04:26Z",
"patch_url": "https://github.com/psf/requests/pull/305.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/305"
} | true | [
"Thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/304 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/304/labels{/name} | https://api.github.com/repos/psf/requests/issues/304/comments | https://api.github.com/repos/psf/requests/issues/304/events | https://github.com/psf/requests/issues/304 | 2,511,261 | MDU6SXNzdWUyNTExMjYx | 304 | Add caching support with pluggable storage classes | {
"avatar_url": "https://avatars.githubusercontent.com/u/308610?v=4",
"events_url": "https://api.github.com/users/jaraco/events{/privacy}",
"followers_url": "https://api.github.com/users/jaraco/followers",
"following_url": "https://api.github.com/users/jaraco/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 20 | 2011-12-10T14:56:07Z | 2021-09-09T07:05:21Z | 2012-07-27T06:08:15Z | CONTRIBUTOR | resolved | Our application relies heavily on the caching support of httplib2. We cannot consider switching to requests until requests has basic caching support with pluggable storage backends (we use a BSDDB backend for a multi-process shared cache).
Glancing over the code, I did not see any cache support. Let's sprint on this s... | {
"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/304/reactions"
} | https://api.github.com/repos/psf/requests/issues/304/timeline | null | completed | null | null | false | [
"What's the status of caching support? Has anyone considered it yet? Would pull requests be considered? Are there any other considerations that should be made before going down the path of an implementation?\n",
"Excellent! It's absolutely something that I'd like to support eventually, as long as the API is right... |
https://api.github.com/repos/psf/requests/issues/303 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/303/labels{/name} | https://api.github.com/repos/psf/requests/issues/303/comments | https://api.github.com/repos/psf/requests/issues/303/events | https://github.com/psf/requests/issues/303 | 2,511,120 | MDU6SXNzdWUyNTExMTIw | 303 | prefetch=True and RuntimeError: The content for this response was already consumed | {
"avatar_url": "https://avatars.githubusercontent.com/u/103396?v=4",
"events_url": "https://api.github.com/users/fillest/events{/privacy}",
"followers_url": "https://api.github.com/users/fillest/followers",
"following_url": "https://api.github.com/users/fillest/following{/other_user}",
"gists_url": "https://... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 1 | 2011-12-10T14:10:20Z | 2021-09-09T10:00:49Z | 2011-12-11T16:32:21Z | NONE | resolved | Hello!
requests 0.8.3 (was installed with pip), python 2.7.1
> > > import requests
> > > r = requests.get("http://www.httpbin.org/headers", prefetch=True)
> > > print r.content
> > > Traceback (most recent call last):
> > > File "<stdin>", line 1, in <module>
> > > File "/home/hurr/venvs/durr/local/lib/python2.7/... | {
"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/303/reactions"
} | https://api.github.com/repos/psf/requests/issues/303/timeline | null | completed | null | null | false | [
"Yikes, thanks for finding this. I'll push a fix up soon.\n"
] |
https://api.github.com/repos/psf/requests/issues/302 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/302/labels{/name} | https://api.github.com/repos/psf/requests/issues/302/comments | https://api.github.com/repos/psf/requests/issues/302/events | https://github.com/psf/requests/issues/302 | 2,505,608 | MDU6SXNzdWUyNTA1NjA4 | 302 | LICENSE file absent from pip based install | {
"avatar_url": "https://avatars.githubusercontent.com/u/281946?v=4",
"events_url": "https://api.github.com/users/devdave/events{/privacy}",
"followers_url": "https://api.github.com/users/devdave/followers",
"following_url": "https://api.github.com/users/devdave/following{/other_user}",
"gists_url": "https://... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | {
"closed_at": "2011-12-17T21:10:23Z",
"closed_issues": 4,
"created_at": "2011-08-23T15:07:10Z",
"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/users... | 1 | 2011-12-09T19:25:45Z | 2021-09-09T10:00:48Z | 2011-12-17T21:10:23Z | NONE | resolved | Should be a simple fix by adding a "package_data" configuration option to setup.py
| {
"avatar_url": "https://avatars.githubusercontent.com/u/281946?v=4",
"events_url": "https://api.github.com/users/devdave/events{/privacy}",
"followers_url": "https://api.github.com/users/devdave/followers",
"following_url": "https://api.github.com/users/devdave/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/302/reactions"
} | https://api.github.com/repos/psf/requests/issues/302/timeline | null | completed | null | null | false | [
"Interesting, we should definitely add that.\n"
] |
https://api.github.com/repos/psf/requests/issues/301 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/301/labels{/name} | https://api.github.com/repos/psf/requests/issues/301/comments | https://api.github.com/repos/psf/requests/issues/301/events | https://github.com/psf/requests/pull/301 | 2,499,217 | MDExOlB1bGxSZXF1ZXN0NTc2MDk5 | 301 | Fixed typo in documentation. | {
"avatar_url": "https://avatars.githubusercontent.com/u/30053?v=4",
"events_url": "https://api.github.com/users/cwvh/events{/privacy}",
"followers_url": "https://api.github.com/users/cwvh/followers",
"following_url": "https://api.github.com/users/cwvh/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 1 | 2011-12-09T07:49:39Z | 2021-09-08T13:06:01Z | 2011-12-09T16:42:19Z | 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/301/reactions"
} | https://api.github.com/repos/psf/requests/issues/301/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/301.diff",
"html_url": "https://github.com/psf/requests/pull/301",
"merged_at": "2011-12-09T16:42:19Z",
"patch_url": "https://github.com/psf/requests/pull/301.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/301"
} | true | [
"Thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/300 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/300/labels{/name} | https://api.github.com/repos/psf/requests/issues/300/comments | https://api.github.com/repos/psf/requests/issues/300/events | https://github.com/psf/requests/pull/300 | 2,470,559 | MDExOlB1bGxSZXF1ZXN0NTY2MTI4 | 300 | disable_redirects should be allow_redirects in docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/33829?v=4",
"events_url": "https://api.github.com/users/edsu/events{/privacy}",
"followers_url": "https://api.github.com/users/edsu/followers",
"following_url": "https://api.github.com/users/edsu/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 3 | 2011-12-07T02:37:34Z | 2021-09-08T13:06:01Z | 2011-12-07T02:38:31Z | CONTRIBUTOR | resolved | disable_redirects parameter does not seem to exist anymore, updated docs to point folks at allow_redirects
| {
"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/300/reactions"
} | https://api.github.com/repos/psf/requests/issues/300/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/300.diff",
"html_url": "https://github.com/psf/requests/pull/300",
"merged_at": "2011-12-07T02:38:31Z",
"patch_url": "https://github.com/psf/requests/pull/300.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/300"
} | true | [
"I must have been really tired when I wrote this. Thanks!\n",
"It's the least I could do. Thank you for requests. It has made life w/ http worth living :-)\n",
"My pleasure! Thanks for the support :)\n\n:sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/299 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/299/labels{/name} | https://api.github.com/repos/psf/requests/issues/299/comments | https://api.github.com/repos/psf/requests/issues/299/events | https://github.com/psf/requests/issues/299 | 2,466,910 | MDU6SXNzdWUyNDY2OTEw | 299 | honor .netrc | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2011-12-06T20:19:12Z | 2021-09-09T09:00:31Z | 2012-05-04T01:58:31Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4",
"events_url": "https://api.github.com/users/slingamn/events{/privacy}",
"followers_url": "https://api.github.com/users/slingamn/followers",
"following_url": "https://api.github.com/users/slingamn/following{/other_user}",
"gists_url": "https... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/299/reactions"
} | https://api.github.com/repos/psf/requests/issues/299/timeline | null | completed | null | null | false | [
"Looks like this was done in 793d314c8d45d.\n"
] | |
https://api.github.com/repos/psf/requests/issues/298 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/298/labels{/name} | https://api.github.com/repos/psf/requests/issues/298/comments | https://api.github.com/repos/psf/requests/issues/298/events | https://github.com/psf/requests/issues/298 | 2,451,226 | MDU6SXNzdWUyNDUxMjI2 | 298 | File upload not working with HTTP digest authentication | {
"avatar_url": "https://avatars.githubusercontent.com/u/733442?v=4",
"events_url": "https://api.github.com/users/ibrechin/events{/privacy}",
"followers_url": "https://api.github.com/users/ibrechin/followers",
"following_url": "https://api.github.com/users/ibrechin/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2011-12-05T16:25:41Z | 2021-09-09T09:00:36Z | 2012-05-01T09:42:59Z | NONE | resolved | This is due to a couple of issues involved with the fact that it is necessary to create two requests and the file already having been read and a boundary set in the content-type header by the first request, resulting in the second (authenticated) request lacking file data and having an incorrect boundary even if you 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/298/reactions"
} | https://api.github.com/repos/psf/requests/issues/298/timeline | null | completed | null | null | false | [
"Thanks for the report. I'm really unhappy with the post-hook thing that's being used in the Digest Auth handler. It feels really messy.\n\nI'd love to take a more elegant approach, but nothing seems immediately obvious.\n"
] |
https://api.github.com/repos/psf/requests/issues/297 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/297/labels{/name} | https://api.github.com/repos/psf/requests/issues/297/comments | https://api.github.com/repos/psf/requests/issues/297/events | https://github.com/psf/requests/issues/297 | 2,387,034 | MDU6SXNzdWUyMzg3MDM0 | 297 | File download: get the filename without the data | {
"avatar_url": "https://avatars.githubusercontent.com/u/319220?v=4",
"events_url": "https://api.github.com/users/Diaoul/events{/privacy}",
"followers_url": "https://api.github.com/users/Diaoul/followers",
"following_url": "https://api.github.com/users/Diaoul/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2011-11-29T16:34:21Z | 2021-09-09T10:00:49Z | 2011-11-29T16:42:31Z | NONE | resolved | Is it possible to just retrieve the filename when doing a get request without the file itself?
For example, any browsers prompts for a filename to save before actually downloading the file if the save button is hit.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/319220?v=4",
"events_url": "https://api.github.com/users/Diaoul/events{/privacy}",
"followers_url": "https://api.github.com/users/Diaoul/followers",
"following_url": "https://api.github.com/users/Diaoul/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/297/reactions"
} | https://api.github.com/repos/psf/requests/issues/297/timeline | null | completed | null | null | false | [
"This might help: http://docs.python-requests.org/en/latest/user/advanced/#body-content-workflow\n",
"Wow it seems the doc has been updated since last time I checked. Sorry for that useless issue, I may be able to read the filename in one of the header.\n\nThanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/296 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/296/labels{/name} | https://api.github.com/repos/psf/requests/issues/296/comments | https://api.github.com/repos/psf/requests/issues/296/events | https://github.com/psf/requests/issues/296 | 2,384,830 | MDU6SXNzdWUyMzg0ODMw | 296 | ConnectionError with Python 2.5 and SSL site | {
"avatar_url": "https://avatars.githubusercontent.com/u/334087?v=4",
"events_url": "https://api.github.com/users/davidwtbuxton/events{/privacy}",
"followers_url": "https://api.github.com/users/davidwtbuxton/followers",
"following_url": "https://api.github.com/users/davidwtbuxton/following{/other_user}",
"gis... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 10 | 2011-11-29T14:20:07Z | 2021-09-09T10:00:42Z | 2012-01-23T08:06:13Z | NONE | resolved | I am using requests 0.8.5 to GET the front page of an SSL site. This works fine with Python 2.7.2, Python 2.6.7, but throws ConnectionError with Python 2.5.6. Other SSL sites work as expected with Python 2.5.6.
Quick tests from the command-line:
```
veronica:test david$ python2.7 -c "import requests; print requests.g... | {
"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/296/reactions"
} | https://api.github.com/repos/psf/requests/issues/296/timeline | null | completed | null | null | false | [
"Hmm, very odd. Oddly enough, it's working properly on my local copy of Python 2.5.6. \n\nDo let me know what you come up with.\n",
"Mistake, I am using requests version 0.8.3\n",
"The test works fine using a local proxy. Dammit. Turning up the log level I see\n\n```\nINFO:requests.packages.urllib3.connectionpo... |
https://api.github.com/repos/psf/requests/issues/295 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/295/labels{/name} | https://api.github.com/repos/psf/requests/issues/295/comments | https://api.github.com/repos/psf/requests/issues/295/events | https://github.com/psf/requests/issues/295 | 2,383,619 | MDU6SXNzdWUyMzgzNjE5 | 295 | Don't read whole files into memory for multipart file uploads. | {
"avatar_url": "https://avatars.githubusercontent.com/u/55050?v=4",
"events_url": "https://api.github.com/users/zacharyvoase/events{/privacy}",
"followers_url": "https://api.github.com/users/zacharyvoase/followers",
"following_url": "https://api.github.com/users/zacharyvoase/following{/other_user}",
"gists_u... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "e102d8",
"default": false,
"description": null... | closed | true | null | [] | null | 19 | 2011-11-29T11:51:14Z | 2021-09-09T00:28:28Z | 2013-02-10T22:50:21Z | NONE | resolved | This: https://github.com/kennethreitz/requests/blob/develop/requests/models.py#L375 would indicate that files passed in `files` are being read into memory in their entirety. This is likely to get pathological for large files; the underlying `poster` library supports streaming requests. The solution to this issue is pro... | {
"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/295/reactions"
} | https://api.github.com/repos/psf/requests/issues/295/timeline | null | completed | null | null | false | [
"Correct. This is currently a bit of a fundamental limitation of the current architecture, but is something that I'd like to revisit on the longterm roadmap. \n\nRequests no longer utilizes Poster internally. \n\nI believe @mitsuhiko has some thoughts on this.\n",
"I see that this is planned. I just wanted to ve... |
https://api.github.com/repos/psf/requests/issues/294 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/294/labels{/name} | https://api.github.com/repos/psf/requests/issues/294/comments | https://api.github.com/repos/psf/requests/issues/294/events | https://github.com/psf/requests/pull/294 | 2,379,375 | MDExOlB1bGxSZXF1ZXN0NTM2NzIz | 294 | Documentation fix: clarification of keep-alive behavior. | {
"avatar_url": "https://avatars.githubusercontent.com/u/136931?v=4",
"events_url": "https://api.github.com/users/berg/events{/privacy}",
"followers_url": "https://api.github.com/users/berg/followers",
"following_url": "https://api.github.com/users/berg/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2011-11-29T06:58:22Z | 2021-09-08T13:06:02Z | 2011-11-29T08:06:54Z | CONTRIBUTOR | resolved | The existing behavior was a little opaque for me--I was making a PUT request which returned a HTTP 204 with a 0-byte body. I was never reading the body and was wondering why my connections were not being reused.
Thanks so much for the requests library--we use it at App.net and absolutely love it. I threw away a big sp... | {
"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/294/reactions"
} | https://api.github.com/repos/psf/requests/issues/294/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/294.diff",
"html_url": "https://github.com/psf/requests/pull/294",
"merged_at": "2011-11-29T08:06:54Z",
"patch_url": "https://github.com/psf/requests/pull/294.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/294"
} | true | [
"That's for the kind words!\n\nThis is a great addition. Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/293 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/293/labels{/name} | https://api.github.com/repos/psf/requests/issues/293/comments | https://api.github.com/repos/psf/requests/issues/293/events | https://github.com/psf/requests/issues/293 | 2,370,543 | MDU6SXNzdWUyMzcwNTQz | 293 | Proxy authentication broken with 0.76 -> 0.83 upgrade. | {
"avatar_url": "https://avatars.githubusercontent.com/u/795033?v=4",
"events_url": "https://api.github.com/users/steinster/events{/privacy}",
"followers_url": "https://api.github.com/users/steinster/followers",
"following_url": "https://api.github.com/users/steinster/following{/other_user}",
"gists_url": "ht... | [
{
"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 | 4 | 2011-11-28T17:25:20Z | 2021-09-09T09:00:40Z | 2012-03-31T07:16:31Z | NONE | resolved | Proxy authentication was possible in 0.76 using a string like "user:password@ip:port". In 0.83 I am getting the following error:
Traceback (most recent call last):
File "req.py", line 10, in <module>
print get('http://ipcheckit.com', proxies=p).content
File "build\bdist.win32\egg\requests\api.py", line 80, in... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/293/reactions"
} | https://api.github.com/repos/psf/requests/issues/293/timeline | null | completed | null | null | false | [
"This may be an unexpected side effect of @shazow's hated for the urlparse module :)\n",
"You are correct. :(\n\nI actually had a thought that @ would break my parsing last week but didn't get around to fixing it yet.\n\nSorry about this, I'll fix it this week. It's being tracked here: https://github.com/shazow/u... |
https://api.github.com/repos/psf/requests/issues/292 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/292/labels{/name} | https://api.github.com/repos/psf/requests/issues/292/comments | https://api.github.com/repos/psf/requests/issues/292/events | https://github.com/psf/requests/issues/292 | 2,369,635 | MDU6SXNzdWUyMzY5NjM1 | 292 | Accept file-like objects as request data | {
"avatar_url": "https://avatars.githubusercontent.com/u/55050?v=4",
"events_url": "https://api.github.com/users/zacharyvoase/events{/privacy}",
"followers_url": "https://api.github.com/users/zacharyvoase/followers",
"following_url": "https://api.github.com/users/zacharyvoase/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2011-11-28T16:42:28Z | 2021-09-09T07:05:21Z | 2012-07-27T06:08:28Z | NONE | resolved | I'd like it to be possible to pass in a file-like object as the source of request data, provided `Content-Length` and `Content-Type` headers have been specified already. Here's an example of what I'd like to do:
```
response = requests.put(
'http://example.com/endpoint',
data=open('filename', 'rb'),
header... | {
"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/292/reactions"
} | https://api.github.com/repos/psf/requests/issues/292/timeline | null | completed | null | null | false | [
"Interesting. I see no reason why we couldn't support that.\n\nSupporting this everywhere would also force us to revisit the `files` parameter. Currently, it expects file-like objects. It should also accept bytes/unicode strings.\n",
"In this case, I'd imagine that the `files` parameter wouldn't even be used in `... |
https://api.github.com/repos/psf/requests/issues/291 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/291/labels{/name} | https://api.github.com/repos/psf/requests/issues/291/comments | https://api.github.com/repos/psf/requests/issues/291/events | https://github.com/psf/requests/issues/291 | 2,360,630 | MDU6SXNzdWUyMzYwNjMw | 291 | models.Request.sent never set to `True`? | {
"avatar_url": "https://avatars.githubusercontent.com/u/68183?v=4",
"events_url": "https://api.github.com/users/mrtazz/events{/privacy}",
"followers_url": "https://api.github.com/users/mrtazz/followers",
"following_url": "https://api.github.com/users/mrtazz/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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | {
"closed_at": "2011-12-17T21:10:23Z",
"closed_issues": 4,
"created_at": "2011-08-23T15:07:10Z",
"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/users... | 1 | 2011-11-27T16:16:40Z | 2021-09-09T10:00:50Z | 2011-11-27T16:29:58Z | CONTRIBUTOR | resolved | While dissecting the `models.Request.send()` method for unit testing I tried to find the path where `return self.sent` actually returns `True`. I `ack`-ed through the code but failed to find a path. Did I miss something or is it really never set?
| {
"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/291/reactions"
} | https://api.github.com/repos/psf/requests/issues/291/timeline | null | completed | null | null | false | [
"Yikes! Thanks for the catch.\n"
] |
https://api.github.com/repos/psf/requests/issues/290 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/290/labels{/name} | https://api.github.com/repos/psf/requests/issues/290/comments | https://api.github.com/repos/psf/requests/issues/290/events | https://github.com/psf/requests/issues/290 | 2,355,061 | MDU6SXNzdWUyMzU1MDYx | 290 | timeout not working? | {
"avatar_url": "https://avatars.githubusercontent.com/u/59039?v=4",
"events_url": "https://api.github.com/users/dropwhile/events{/privacy}",
"followers_url": "https://api.github.com/users/dropwhile/followers",
"following_url": "https://api.github.com/users/dropwhile/following{/other_user}",
"gists_url": "htt... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 19127... | closed | true | null | [] | null | 12 | 2011-11-26T11:46:59Z | 2017-02-01T09:38:27Z | 2011-12-19T05:25:42Z | NONE | null | It seems that timeouts are not working when the host cannot be reached. It appears that the standard socket timeout timeframe is being used (I get similar timings with timeouts via telnet to the same non listening host/port for example).
``` .python
>>> import logging
>>> logging.basicConfig(level=logging.DEBUG)
>>> 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/290/reactions"
} | https://api.github.com/repos/psf/requests/issues/290/timeline | null | completed | null | null | false | [
"This should be causing a `ConnectionError`, but instead it just hangs. Very odd.\n",
"Does a timeout value need to be passed to HTTPConnection when you create one?\n\nhttps://github.com/kennethreitz/requests/blob/a76f4925b512b481375f0886a5b675d3e8522b34/requests/packages/urllib3/connectionpool.py#L151\n\nWhen I ... |
https://api.github.com/repos/psf/requests/issues/289 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/289/labels{/name} | https://api.github.com/repos/psf/requests/issues/289/comments | https://api.github.com/repos/psf/requests/issues/289/events | https://github.com/psf/requests/issues/289 | 2,355,022 | MDU6SXNzdWUyMzU1MDIy | 289 | original errors get swallowed due to retries | {
"avatar_url": "https://avatars.githubusercontent.com/u/59039?v=4",
"events_url": "https://api.github.com/users/dropwhile/events{/privacy}",
"followers_url": "https://api.github.com/users/dropwhile/followers",
"following_url": "https://api.github.com/users/dropwhile/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 6 | 2011-11-26T11:28:28Z | 2021-09-09T10:00:50Z | 2011-11-26T15:49:59Z | NONE | resolved | specifically, hostname nonexistence is being swallowed in my case.
It looks like this is because a retry is always attempted if a conn is None in urlib3 (it appears), then after the second invocation the retry is aborted if tries is too large, and finally a max connection exception is thrown (losing the original except... | {
"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/289/reactions"
} | https://api.github.com/repos/psf/requests/issues/289/timeline | null | completed | null | null | false | [
"note: the above output was generated testing against the current release version 0.8.2.\n",
"Is a `ConnectionError` not specific-enough?\n",
"I suppose it would be, but the message I get is about failing retries (even when retry is set to 0). I have no visibility at the api level into the actual cause (name no... |
https://api.github.com/repos/psf/requests/issues/288 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/288/labels{/name} | https://api.github.com/repos/psf/requests/issues/288/comments | https://api.github.com/repos/psf/requests/issues/288/events | https://github.com/psf/requests/pull/288 | 2,346,287 | MDExOlB1bGxSZXF1ZXN0NTI3ODAz | 288 | Add use_session argument to request method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/120119?v=4",
"events_url": "https://api.github.com/users/sharat87/events{/privacy}",
"followers_url": "https://api.github.com/users/sharat87/followers",
"following_url": "https://api.github.com/users/sharat87/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2011-11-25T03:18:59Z | 2021-09-08T13:06:00Z | 2011-11-26T04:04:24Z | CONTRIBUTOR | resolved | This allows usage of an existing session to make a request with the request and the get, post etc. function.
I made this so that it is easier to create async requests with pre-existing sessions. Currently, we have to do
```
async.map([my_session.get(url, return_response=False, prefetch=True) for url in urls])
```
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/288/reactions"
} | https://api.github.com/repos/psf/requests/issues/288/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/288.diff",
"html_url": "https://github.com/psf/requests/pull/288",
"merged_at": "2011-11-26T04:04:24Z",
"patch_url": "https://github.com/psf/requests/pull/288.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/288"
} | true | [
"Thanks! I've been thinking of this lately myself. \n\nCan you change from `user_session` to `session` ?\n",
"That's what I initially did, but that would mean changing the session's import. Ok with that?\n",
"That's fine ;)\n\n## \n\nKenneth Reitz\n\nOn Nov 25, 2011, at 12:04 AM, Shrikant Sharat Kandulareply@re... |
https://api.github.com/repos/psf/requests/issues/287 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/287/labels{/name} | https://api.github.com/repos/psf/requests/issues/287/comments | https://api.github.com/repos/psf/requests/issues/287/events | https://github.com/psf/requests/pull/287 | 2,346,115 | MDExOlB1bGxSZXF1ZXN0NTI3NzQz | 287 | Allow generators or any iterators for async.map | {
"avatar_url": "https://avatars.githubusercontent.com/u/120119?v=4",
"events_url": "https://api.github.com/users/sharat87/events{/privacy}",
"followers_url": "https://api.github.com/users/sharat87/followers",
"following_url": "https://api.github.com/users/sharat87/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2011-11-25T02:20:07Z | 2021-09-08T23:08:16Z | 2011-11-26T15:09:38Z | CONTRIBUTOR | resolved | Hey Kenneth,
If I call `async.map` this way
```
async.map(async.get(u) for u in urls)
```
I get an empty list as the list of responses. But it works if I do
```
async.map([async.get(u) for u in urls])
```
The proposed change fixes this.
If in case, this kind of usage is not intended, i.e., if only a list has to b... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/287/reactions"
} | https://api.github.com/repos/psf/requests/issues/287/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/287.diff",
"html_url": "https://github.com/psf/requests/pull/287",
"merged_at": "2011-11-26T15:09:38Z",
"patch_url": "https://github.com/psf/requests/pull/287.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/287"
} | true | [
":cake: \n\nThanks a ton!\n"
] |
https://api.github.com/repos/psf/requests/issues/286 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/286/labels{/name} | https://api.github.com/repos/psf/requests/issues/286/comments | https://api.github.com/repos/psf/requests/issues/286/events | https://github.com/psf/requests/issues/286 | 2,332,498 | MDU6SXNzdWUyMzMyNDk4 | 286 | Session Cookie doublequotes bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/173095?v=4",
"events_url": "https://api.github.com/users/benmao/events{/privacy}",
"followers_url": "https://api.github.com/users/benmao/followers",
"following_url": "https://api.github.com/users/benmao/following{/other_user}",
"gists_url": "https://api... | [
{
"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 | 2011-11-23T17:47:01Z | 2021-09-09T10:00:40Z | 2012-01-30T06:15:36Z | NONE | resolved | test code:
``` Python
from requests import session
with session() as c:
c.get('http://www.baidu.com')
#should have cookie headers
c.get('http://www.baidu.com')
```
Server:
``` Python
Set-Cookie: BAIDUID=DC1510722CF5A19A2A4C4E4DB720C5D4:FG=1; expires=Wed, 23-Nov-41 17:44:00 GMT; path=/; domain=.baidu.com... | {
"avatar_url": "https://avatars.githubusercontent.com/u/173095?v=4",
"events_url": "https://api.github.com/users/benmao/events{/privacy}",
"followers_url": "https://api.github.com/users/benmao/followers",
"following_url": "https://api.github.com/users/benmao/following{/other_user}",
"gists_url": "https://api... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/286/reactions"
} | https://api.github.com/repos/psf/requests/issues/286/timeline | null | completed | null | null | false | [
"It's because `:` is not regarded as legal character according to\n `_LegalChars = string.ascii_letters + string.digits + \"!#$%&'*+-.^_`|~[]_\"`\ndeclaration. Do you think it should be regarded as legal? Can you quote specification?\n",
"urllib2 with CookieJia works.\nWeb server can not get the cookie which requ... |
https://api.github.com/repos/psf/requests/issues/285 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/285/labels{/name} | https://api.github.com/repos/psf/requests/issues/285/comments | https://api.github.com/repos/psf/requests/issues/285/events | https://github.com/psf/requests/issues/285 | 2,327,462 | MDU6SXNzdWUyMzI3NDYy | 285 | Requests don't allow multiple files for a key | {
"avatar_url": "https://avatars.githubusercontent.com/u/617482?v=4",
"events_url": "https://api.github.com/users/obukhov-sergey/events{/privacy}",
"followers_url": "https://api.github.com/users/obukhov-sergey/followers",
"following_url": "https://api.github.com/users/obukhov-sergey/following{/other_user}",
"... | [
{
"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 | [] | null | 8 | 2011-11-23T08:11:59Z | 2021-09-09T06:00:43Z | 2012-09-21T22:35:17Z | NONE | resolved | We are a startup developing a programmable email platform and we love using Requests.
However we have encountered a problem recently.
Our API tends to send data in key value pairs where a key could have multiple values.
In order to do so we used multi dictionary and it worked pretty well with Requests 0.7.5.
But with ... | {
"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/285/reactions"
} | https://api.github.com/repos/psf/requests/issues/285/timeline | null | completed | null | null | false | [
"This applies to any HTTP request in general: multiple values for a single key must be allowed, not just file uploads.\n",
"@mailgun Multiple values for singe key **are** allowed. See [`test_urlencoded_post_query_multivalued_and_data`](https://github.com/kennethreitz/requests/blob/develop/test_requests.py#L390)\n... |
https://api.github.com/repos/psf/requests/issues/284 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/284/labels{/name} | https://api.github.com/repos/psf/requests/issues/284/comments | https://api.github.com/repos/psf/requests/issues/284/events | https://github.com/psf/requests/issues/284 | 2,303,319 | MDU6SXNzdWUyMzAzMzE5 | 284 | Support passing data and params in ordered dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 5 | 2011-11-21T10:38:12Z | 2021-09-09T10:00:51Z | 2011-11-26T15:53:59Z | NONE | resolved | Order of multiple params with the same name is important. To support sending such requests there should be an option to pass data and params in ordered dict (and then keep the ordering when building request of course).
| {
"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/284/reactions"
} | https://api.github.com/repos/psf/requests/issues/284/timeline | null | completed | null | null | false | [
"Item sequences will be supported everywhere soon (e.g. `[('name', 'kennethreitz'), ('key', 'value')]`\n",
"It has to be supported in urllib3 then, right?\n",
"urllib3 is, as always, a non-issue.\n",
"> Item sequences will be supported everywhere soon (e.g. `[('name', 'kennethreitz'), ('key', 'value')]`\n\nWe... |
https://api.github.com/repos/psf/requests/issues/283 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/283/labels{/name} | https://api.github.com/repos/psf/requests/issues/283/comments | https://api.github.com/repos/psf/requests/issues/283/events | https://github.com/psf/requests/pull/283 | 2,291,742 | MDExOlB1bGxSZXF1ZXN0NTEyMTk1 | 283 | Display full URL when logging. | {
"avatar_url": "https://avatars.githubusercontent.com/u/198537?v=4",
"events_url": "https://api.github.com/users/rgieseke/events{/privacy}",
"followers_url": "https://api.github.com/users/rgieseke/followers",
"following_url": "https://api.github.com/users/rgieseke/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2011-11-20T09:21:13Z | 2021-09-08T13:06:00Z | 2011-11-26T15:10:08Z | CONTRIBUTOR | resolved | Logging should display the query string as well, shouldn't it?
Test script:
``` python
import requests
import sys
my_config = {'verbose': sys.stderr}
my_params = {'q': 'test'}
r = requests.get('http://www.google.de/search', params=my_params, config=my_config)
```
Before:
`2011-11-20T10:13:37.502444 GET http://w... | {
"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/283/reactions"
} | https://api.github.com/repos/psf/requests/issues/283/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/283.diff",
"html_url": "https://github.com/psf/requests/pull/283",
"merged_at": "2011-11-26T15:10:08Z",
"patch_url": "https://github.com/psf/requests/pull/283.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/283"
} | true | [
"I agree — thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/282 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/282/labels{/name} | https://api.github.com/repos/psf/requests/issues/282/comments | https://api.github.com/repos/psf/requests/issues/282/events | https://github.com/psf/requests/issues/282 | 2,289,237 | MDU6SXNzdWUyMjg5MjM3 | 282 | Response.encoding should be available, overridable. | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2011-11-19T18:15:02Z | 2021-09-09T11:00:47Z | 2011-11-19T21:13:19Z | CONTRIBUTOR | resolved | - Japanese websites specify the incorrect charset.
- `r.content` would decode as accessed. only raw response will be cached.
- Exclude compression.
| {
"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/282/reactions"
} | https://api.github.com/repos/psf/requests/issues/282/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/281 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/281/labels{/name} | https://api.github.com/repos/psf/requests/issues/281/comments | https://api.github.com/repos/psf/requests/issues/281/events | https://github.com/psf/requests/issues/281 | 2,289,196 | MDU6SXNzdWUyMjg5MTk2 | 281 | Cookies need to be CookieJar-backed again. | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 39 | 2011-11-19T17:59:54Z | 2021-09-09T09:00:31Z | 2012-05-04T01:59:43Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/376448?v=4",
"events_url": "https://api.github.com/users/slingamn/events{/privacy}",
"followers_url": "https://api.github.com/users/slingamn/followers",
"following_url": "https://api.github.com/users/slingamn/following{/other_user}",
"gists_url": "https... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/281/reactions"
} | https://api.github.com/repos/psf/requests/issues/281/timeline | null | completed | null | null | false | [
"Why?\n",
"k/v only doesn't account for same keys with different paths.\n",
"So you're gonna use [kennethreitz/oreos](http://github.com/kennethreitz/oreos) then?\n",
"We'll see :)\n",
"Why was this issue closed? I'm having problems with exactly this at the moment. As it is requests can not handle cookies ac... | |
https://api.github.com/repos/psf/requests/issues/280 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/280/labels{/name} | https://api.github.com/repos/psf/requests/issues/280/comments | https://api.github.com/repos/psf/requests/issues/280/events | https://github.com/psf/requests/pull/280 | 2,285,560 | MDExOlB1bGxSZXF1ZXN0NTEwNDU4 | 280 | Updated docs with an example of explicit filename in file uploads section | {
"avatar_url": "https://avatars.githubusercontent.com/u/26015?v=4",
"events_url": "https://api.github.com/users/rmax/events{/privacy}",
"followers_url": "https://api.github.com/users/rmax/followers",
"following_url": "https://api.github.com/users/rmax/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 1 | 2011-11-18T22:58:43Z | 2021-09-08T13:05:59Z | 2011-11-19T05:26:08Z | 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/280/reactions"
} | https://api.github.com/repos/psf/requests/issues/280/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/280.diff",
"html_url": "https://github.com/psf/requests/pull/280",
"merged_at": "2011-11-19T05:26:08Z",
"patch_url": "https://github.com/psf/requests/pull/280.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/280"
} | true | [
"Awesome, thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/279 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/279/labels{/name} | https://api.github.com/repos/psf/requests/issues/279/comments | https://api.github.com/repos/psf/requests/issues/279/events | https://github.com/psf/requests/pull/279 | 2,285,513 | MDExOlB1bGxSZXF1ZXN0NTEwNDQw | 279 | use session's hooks as defaults for every requests.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/26015?v=4",
"events_url": "https://api.github.com/users/rmax/events{/privacy}",
"followers_url": "https://api.github.com/users/rmax/followers",
"following_url": "https://api.github.com/users/rmax/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 0 | 2011-11-18T22:53:41Z | 2021-09-08T13:05:59Z | 2011-11-19T05:26:11Z | CONTRIBUTOR | resolved | Current Session class allows to set a parameter hooks, but this parameter is not used in requests.
This change fixes that by using Session's hooks as defaults for every requests, letting override per 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/279/reactions"
} | https://api.github.com/repos/psf/requests/issues/279/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/279.diff",
"html_url": "https://github.com/psf/requests/pull/279",
"merged_at": "2011-11-19T05:26:11Z",
"patch_url": "https://github.com/psf/requests/pull/279.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/279"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/278 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/278/labels{/name} | https://api.github.com/repos/psf/requests/issues/278/comments | https://api.github.com/repos/psf/requests/issues/278/events | https://github.com/psf/requests/pull/278 | 2,285,234 | MDExOlB1bGxSZXF1ZXN0NTEwMzMz | 278 | use session's hooks as defaults for every requests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/26015?v=4",
"events_url": "https://api.github.com/users/rmax/events{/privacy}",
"followers_url": "https://api.github.com/users/rmax/followers",
"following_url": "https://api.github.com/users/rmax/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 1 | 2011-11-18T22:21:56Z | 2021-09-08T13:05:58Z | 2011-11-18T22:52:17Z | CONTRIBUTOR | resolved | Current `Session` class allows to set a parameter `hooks`, but this parameter is not used in requests.
This change fixes that by using `Session`'s hooks as defaults for every requests, letting override per request.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/26015?v=4",
"events_url": "https://api.github.com/users/rmax/events{/privacy}",
"followers_url": "https://api.github.com/users/rmax/followers",
"following_url": "https://api.github.com/users/rmax/following{/other_user}",
"gists_url": "https://api.github... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/278/reactions"
} | https://api.github.com/repos/psf/requests/issues/278/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/278.diff",
"html_url": "https://github.com/psf/requests/pull/278",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/278.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/278"
} | true | [
"messed up pull request. I'll repeat again.\n"
] |
https://api.github.com/repos/psf/requests/issues/277 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/277/labels{/name} | https://api.github.com/repos/psf/requests/issues/277/comments | https://api.github.com/repos/psf/requests/issues/277/events | https://github.com/psf/requests/pull/277 | 2,273,536 | MDExOlB1bGxSZXF1ZXN0NTA1OTUx | 277 | some additions to .gitignore | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 4 | 2011-11-17T20:46:58Z | 2021-09-08T13:05:58Z | 2011-11-17T21:05:51Z | NONE | resolved | added Eclipse project files and .egg-info dir
entries sorted alphabetically (case-insensitive)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/277/reactions"
} | https://api.github.com/repos/psf/requests/issues/277/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/277.diff",
"html_url": "https://github.com/psf/requests/pull/277",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/277.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/277"
} | true | [
"I'll add the `.egg-info`, but not the ecplise files. Those belong in your [global gitignore](http://help.github.com/ignore-files/) :)\n",
"So what's `.idea` entry doing there?\n",
"It should absolutely be removed :)\n",
"Global gitignore wasn't known when I started this :)\n"
] |
https://api.github.com/repos/psf/requests/issues/276 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/276/labels{/name} | https://api.github.com/repos/psf/requests/issues/276/comments | https://api.github.com/repos/psf/requests/issues/276/events | https://github.com/psf/requests/pull/276 | 2,267,845 | MDExOlB1bGxSZXF1ZXN0NTAzODg1 | 276 | Converted auth to use callable objects instead of tuples. | {
"avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4",
"events_url": "https://api.github.com/users/idan/events{/privacy}",
"followers_url": "https://api.github.com/users/idan/followers",
"following_url": "https://api.github.com/users/idan/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 12 | 2011-11-17T11:47:29Z | 2021-09-08T13:05:57Z | 2011-11-26T15:14:27Z | CONTRIBUTOR | resolved | My attempt to address #275.
This seems a lot more explicit/clean, though I confess that I'm not aware of the considerations that led to the current implementation.
I also think this is a good first step towards implementing OAuth support (#65).
| {
"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/276/reactions"
} | https://api.github.com/repos/psf/requests/issues/276/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/276.diff",
"html_url": "https://github.com/psf/requests/pull/276",
"merged_at": "2011-11-26T15:14:27Z",
"patch_url": "https://github.com/psf/requests/pull/276.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/276"
} | true | [
"@idangazit I can see you referenced this pull request in the main [OAUTH Feature request](https://github.com/kennethreitz/requests/issues/65).\n\nAfter reading the full thread thoroughly I can see how @maraujop [already thought about doing a pull request and then decided better](https://github.com/kennethreitz/req... |
https://api.github.com/repos/psf/requests/issues/275 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/275/labels{/name} | https://api.github.com/repos/psf/requests/issues/275/comments | https://api.github.com/repos/psf/requests/issues/275/events | https://github.com/psf/requests/issues/275 | 2,267,407 | MDU6SXNzdWUyMjY3NDA3 | 275 | Custom authentication is broken / incorrect docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/22723?v=4",
"events_url": "https://api.github.com/users/idan/events{/privacy}",
"followers_url": "https://api.github.com/users/idan/followers",
"following_url": "https://api.github.com/users/idan/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 3 | 2011-11-17T10:49:37Z | 2021-09-09T10:00:53Z | 2011-11-26T15:50:59Z | CONTRIBUTOR | resolved | # Teh broken
Consider the following code, mostly lifted from the docs:
``` python
def pizza_auth(r, username):
"""Attaches HTTP Pizza Authentication to the given Request object."""
r.headers['X-Pizza'] = username
return r
import requests
r = requests.get('http://www.google.com', auth=(pizza_auth, 'foo'))... | {
"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/275/reactions"
} | https://api.github.com/repos/psf/requests/issues/275/timeline | null | completed | null | null | false | [
"Here's an example implementation of header-based OAuth: https://gist.github.com/1373019\n\nI would probably break it into an OAuthBase class with the common methods, and then subclass for every OAuth parameter method (header, querystring, body).\n\nAll in all, it's only ~100 loc.\n",
"Sorry for the delay on this... |
https://api.github.com/repos/psf/requests/issues/274 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/274/labels{/name} | https://api.github.com/repos/psf/requests/issues/274/comments | https://api.github.com/repos/psf/requests/issues/274/events | https://github.com/psf/requests/pull/274 | 2,267,285 | MDExOlB1bGxSZXF1ZXN0NTAzNzA0 | 274 | Corrected period to comma. | {
"avatar_url": "https://avatars.githubusercontent.com/u/408526?v=4",
"events_url": "https://api.github.com/users/elpres/events{/privacy}",
"followers_url": "https://api.github.com/users/elpres/followers",
"following_url": "https://api.github.com/users/elpres/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2011-11-17T10:32:21Z | 2021-09-08T13:05:57Z | 2011-11-18T20:06:40Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/274/reactions"
} | https://api.github.com/repos/psf/requests/issues/274/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/274.diff",
"html_url": "https://github.com/psf/requests/pull/274",
"merged_at": "2011-11-18T20:06:40Z",
"patch_url": "https://github.com/psf/requests/pull/274.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/274"
} | true | [
"Thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/273 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/273/labels{/name} | https://api.github.com/repos/psf/requests/issues/273/comments | https://api.github.com/repos/psf/requests/issues/273/events | https://github.com/psf/requests/pull/273 | 2,263,757 | MDExOlB1bGxSZXF1ZXN0NTAyNTgy | 273 | Correct handling of URLs with quoted slashes. | {
"avatar_url": "https://avatars.githubusercontent.com/u/34695?v=4",
"events_url": "https://api.github.com/users/rfk/events{/privacy}",
"followers_url": "https://api.github.com/users/rfk/followers",
"following_url": "https://api.github.com/users/rfk/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 4 | 2011-11-17T00:04:53Z | 2021-09-08T23:05:27Z | 2011-11-18T19:48:49Z | CONTRIBUTOR | resolved | The Request class currently does a urllib.quote(urllib.unquote(path)) cycle to ensure consistent quoting on the input URL. Unfortunately this breaks paths that contain quoted slashes (i.e. "%2F") since they get unquoted by urllib.unquote but are re-quoted by urllib.quote.
This patch adds a requote_path() function tha... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/273/reactions"
} | https://api.github.com/repos/psf/requests/issues/273/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/273.diff",
"html_url": "https://github.com/psf/requests/pull/273",
"merged_at": "2011-11-18T19:48:49Z",
"patch_url": "https://github.com/psf/requests/pull/273.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/273"
} | true | [
"still broken. try to run\n\n``` requests.get('http://www.cocktail.uk.com/db/random.asp')\n```\n\nshould have 404\n",
"This appears unrelated to my change, as it also gives a 404 using the latest release build. In any case, I've pushed a change that makes it work for me.\n",
"Oh man, thank you ever so much.\nN... |
https://api.github.com/repos/psf/requests/issues/272 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/272/labels{/name} | https://api.github.com/repos/psf/requests/issues/272/comments | https://api.github.com/repos/psf/requests/issues/272/events | https://github.com/psf/requests/issues/272 | 2,257,713 | MDU6SXNzdWUyMjU3NzEz | 272 | Session cookies break requests-oauth | {
"avatar_url": "https://avatars.githubusercontent.com/u/252257?v=4",
"events_url": "https://api.github.com/users/maraujop/events{/privacy}",
"followers_url": "https://api.github.com/users/maraujop/followers",
"following_url": "https://api.github.com/users/maraujop/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 11 | 2011-11-16T15:47:52Z | 2021-09-09T11:00:48Z | 2011-11-17T13:04:35Z | NONE | resolved | Hi,
requests 0.8 breaks <a href="https://github.com/maraujop/requests-oauth">requests-oauth</a>. See the related issue in requests-oauth:
https://github.com/maraujop/requests-oauth/issues/5
After debugging both together, I've found out the culprit is this line:
https://github.com/kennethreitz/requests/blob/develop/re... | {
"avatar_url": "https://avatars.githubusercontent.com/u/252257?v=4",
"events_url": "https://api.github.com/users/maraujop/events{/privacy}",
"followers_url": "https://api.github.com/users/maraujop/followers",
"following_url": "https://api.github.com/users/maraujop/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/272/reactions"
} | https://api.github.com/repos/psf/requests/issues/272/timeline | null | completed | null | null | false | [
"I don't see what the problem is, but the requests behavior is intentional.\n",
"How would cookies break your hook? \n",
"Me neither, but trust me, if I set them to an empty dict, tests start passing again.\n\nI thought you would have a clue about it. I'm guessing Twitter OAuth API doesn't support cookies?\n",
... |
https://api.github.com/repos/psf/requests/issues/271 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/271/labels{/name} | https://api.github.com/repos/psf/requests/issues/271/comments | https://api.github.com/repos/psf/requests/issues/271/events | https://github.com/psf/requests/pull/271 | 2,252,776 | MDExOlB1bGxSZXF1ZXN0NDk4ODA5 | 271 | Filenames improvement and cookie fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/26015?v=4",
"events_url": "https://api.github.com/users/rmax/events{/privacy}",
"followers_url": "https://api.github.com/users/rmax/followers",
"following_url": "https://api.github.com/users/rmax/following{/other_user}",
"gists_url": "https://api.github... | [] | closed | true | null | [] | null | 1 | 2011-11-16T04:06:32Z | 2021-09-08T13:05:56Z | 2011-11-18T20:34:07Z | CONTRIBUTOR | resolved | - added support for explicit filenames
- use ";" as cookie separator for multiple values
| {
"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/271/reactions"
} | https://api.github.com/repos/psf/requests/issues/271/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/271.diff",
"html_url": "https://github.com/psf/requests/pull/271",
"merged_at": "2011-11-18T20:34:07Z",
"patch_url": "https://github.com/psf/requests/pull/271.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/271"
} | true | [
"Thanks! Do you think you could add this to the docs?\n"
] |
https://api.github.com/repos/psf/requests/issues/270 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/270/labels{/name} | https://api.github.com/repos/psf/requests/issues/270/comments | https://api.github.com/repos/psf/requests/issues/270/events | https://github.com/psf/requests/issues/270 | 2,245,579 | MDU6SXNzdWUyMjQ1NTc5 | 270 | allow_redirects=True by default also for post-requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/59132?v=4",
"events_url": "https://api.github.com/users/albertz/events{/privacy}",
"followers_url": "https://api.github.com/users/albertz/followers",
"following_url": "https://api.github.com/users/albertz/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2011-11-15T15:53:23Z | 2021-09-09T10:00:51Z | 2011-11-26T15:42:16Z | NONE | resolved | I think it makes sense to also have allow_redirects=True as default for POST-requests.
I have seen Ruby on Rails application in the wild which often directly redirect after a 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/270/reactions"
} | https://api.github.com/repos/psf/requests/issues/270/timeline | null | completed | null | null | false | [
"Absolutely not. Only 303 responses should be treated this way.\n\nPlease see http://tools.ietf.org/html/rfc1945. \n",
"If we agree to implement change requested in issue [#269](https://github.com/kennethreitz/requests/issues/269) we should also implement automatic redirects for 301 and 302 redirects after POST r... |
https://api.github.com/repos/psf/requests/issues/269 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/269/labels{/name} | https://api.github.com/repos/psf/requests/issues/269/comments | https://api.github.com/repos/psf/requests/issues/269/events | https://github.com/psf/requests/pull/269 | 2,245,134 | MDExOlB1bGxSZXF1ZXN0NDk2MDU3 | 269 | fix subsequent redirect request method type | {
"avatar_url": "https://avatars.githubusercontent.com/u/59132?v=4",
"events_url": "https://api.github.com/users/albertz/events{/privacy}",
"followers_url": "https://api.github.com/users/albertz/followers",
"following_url": "https://api.github.com/users/albertz/following{/other_user}",
"gists_url": "https://a... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
}
] | closed | true | null | [] | null | 19 | 2011-11-15T15:16:15Z | 2021-09-09T00:01:26Z | 2012-03-31T03:32:47Z | NONE | resolved | E.g., after a POST with a 302 response, we should do a GET. This is how all browsers do it for historical reasons. And some websites even don't work otherwise.
See also: http://stackoverflow.com/questions/8138137/http-post-request-receives-a-302-should-the-redirect-request-be-a-get
| {
"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/269/reactions"
} | https://api.github.com/repos/psf/requests/issues/269/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/269.diff",
"html_url": "https://github.com/psf/requests/pull/269",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/269.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/269"
} | true | [
"1. If elegance (among other things) means adhering to the spec then according to [10.3.3](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3) of rfc2616 _If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless... |
https://api.github.com/repos/psf/requests/issues/268 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/268/labels{/name} | https://api.github.com/repos/psf/requests/issues/268/comments | https://api.github.com/repos/psf/requests/issues/268/events | https://github.com/psf/requests/pull/268 | 2,240,957 | MDExOlB1bGxSZXF1ZXN0NDk0ODUy | 268 | fixed: 301 request does not use proxy. | {
"avatar_url": "https://avatars.githubusercontent.com/u/173095?v=4",
"events_url": "https://api.github.com/users/benmao/events{/privacy}",
"followers_url": "https://api.github.com/users/benmao/followers",
"following_url": "https://api.github.com/users/benmao/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2011-11-15T07:53:52Z | 2021-09-08T13:05:55Z | 2011-11-15T13:58:10Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/268/reactions"
} | https://api.github.com/repos/psf/requests/issues/268/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/268.diff",
"html_url": "https://github.com/psf/requests/pull/268",
"merged_at": "2011-11-15T13:58:10Z",
"patch_url": "https://github.com/psf/requests/pull/268.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/268"
} | true | [
"thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/267 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/267/labels{/name} | https://api.github.com/repos/psf/requests/issues/267/comments | https://api.github.com/repos/psf/requests/issues/267/events | https://github.com/psf/requests/pull/267 | 2,239,620 | MDExOlB1bGxSZXF1ZXN0NDk0NDQ1 | 267 | fixed proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/173095?v=4",
"events_url": "https://api.github.com/users/benmao/events{/privacy}",
"followers_url": "https://api.github.com/users/benmao/followers",
"following_url": "https://api.github.com/users/benmao/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2011-11-15T03:01:18Z | 2021-09-08T13:05:56Z | 2011-11-15T03:04:03Z | NONE | resolved | https://github.com/kennethreitz/requests/issues/266
| {
"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/267/reactions"
} | https://api.github.com/repos/psf/requests/issues/267/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/267.diff",
"html_url": "https://github.com/psf/requests/pull/267",
"merged_at": "2011-11-15T03:04:03Z",
"patch_url": "https://github.com/psf/requests/pull/267.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/267"
} | true | [
"Excellent, thanks! I need to add a unittest for that....\n"
] |
https://api.github.com/repos/psf/requests/issues/266 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/266/labels{/name} | https://api.github.com/repos/psf/requests/issues/266/comments | https://api.github.com/repos/psf/requests/issues/266/events | https://github.com/psf/requests/issues/266 | 2,231,452 | MDU6SXNzdWUyMjMxNDUy | 266 | Proxy dose not work. | {
"avatar_url": "https://avatars.githubusercontent.com/u/173095?v=4",
"events_url": "https://api.github.com/users/benmao/events{/privacy}",
"followers_url": "https://api.github.com/users/benmao/followers",
"following_url": "https://api.github.com/users/benmao/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 6 | 2011-11-14T15:18:20Z | 2021-09-09T11:00:50Z | 2011-11-15T15:03:29Z | NONE | resolved | My test Code:
``` Python
import requests
r = requests.get('http://www.google.com', proxies={'http': '127.0.0.1:888'})
print r.content
```
proxy, {'http': '127.0.0.1:888'} does not exist,so there should not return the correct results.
Looks like not using a proxy.
version: 0.8
| {
"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/266/reactions"
} | https://api.github.com/repos/psf/requests/issues/266/timeline | null | completed | null | null | false | [
"In addition to that, proxies are not used in redirects.\n",
"Fixed!\n",
"Need to find a way to test proxies btw.\n",
"I use Charles http://www.charlesproxy.com/ .\n",
"I meant in the testsuite.\n",
"v0.8.1 was just released, which fixes this!\n"
] |
https://api.github.com/repos/psf/requests/issues/265 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/265/labels{/name} | https://api.github.com/repos/psf/requests/issues/265/comments | https://api.github.com/repos/psf/requests/issues/265/events | https://github.com/psf/requests/issues/265 | 2,231,010 | MDU6SXNzdWUyMjMxMDEw | 265 | HTTP request uses full URL, should be path only | {
"avatar_url": "https://avatars.githubusercontent.com/u/201022?v=4",
"events_url": "https://api.github.com/users/pennersr/events{/privacy}",
"followers_url": "https://api.github.com/users/pennersr/followers",
"following_url": "https://api.github.com/users/pennersr/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 19 | 2011-11-14T14:30:31Z | 2021-09-09T05:00:47Z | 2011-11-15T14:54:51Z | CONTRIBUTOR | resolved | Possibly related to #174: these are links that work just fine in a browser or `curl`/`wget`, but `requests` seems to have trouble with them:
- http://www.rankingz.com
- http://my.jibecompany.com
Example:
```
>>> import requests
>>> requests.get('http://www.rankingz.com')
Traceback (most recent call last):
File "<st... | {
"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/265/reactions"
} | https://api.github.com/repos/psf/requests/issues/265/timeline | null | completed | null | null | false | [
"For what it is worth, an earlier version works fine:\n\n```\n>>> requests.__version__\n'0.6.2 (dev)'\n>>> requests.get('http://www.jibecompany.com')\n<Response [200]>\n```\n\nThis one indeed uses the following headers:\n\n```\nGET / HTTP/1.1\nHost: www.jibecompany.com\nUser-Agent: python-requests.org\nConnection: ... |
https://api.github.com/repos/psf/requests/issues/264 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/264/labels{/name} | https://api.github.com/repos/psf/requests/issues/264/comments | https://api.github.com/repos/psf/requests/issues/264/events | https://github.com/psf/requests/pull/264 | 2,228,338 | MDExOlB1bGxSZXF1ZXN0NDkwODI1 | 264 | Pass along timeout when following redirects (closes #263) | {
"avatar_url": "https://avatars.githubusercontent.com/u/201022?v=4",
"events_url": "https://api.github.com/users/pennersr/events{/privacy}",
"followers_url": "https://api.github.com/users/pennersr/followers",
"following_url": "https://api.github.com/users/pennersr/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 0 | 2011-11-14T09:04:19Z | 2021-09-08T13:05:55Z | 2011-11-14T21:42:18Z | 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/264/reactions"
} | https://api.github.com/repos/psf/requests/issues/264/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/264.diff",
"html_url": "https://github.com/psf/requests/pull/264",
"merged_at": "2011-11-14T21:42:18Z",
"patch_url": "https://github.com/psf/requests/pull/264.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/264"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/263 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/263/labels{/name} | https://api.github.com/repos/psf/requests/issues/263/comments | https://api.github.com/repos/psf/requests/issues/263/events | https://github.com/psf/requests/issues/263 | 2,228,315 | MDU6SXNzdWUyMjI4MzE1 | 263 | Timeout ignored when following redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/201022?v=4",
"events_url": "https://api.github.com/users/pennersr/events{/privacy}",
"followers_url": "https://api.github.com/users/pennersr/followers",
"following_url": "https://api.github.com/users/pennersr/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2011-11-14T08:59:15Z | 2021-09-09T11:00:51Z | 2011-11-14T21:42:20Z | CONTRIBUTOR | resolved | To reproduce, add a print to requests.models.Request.send():
```
def send(self, anyway=False, prefetch=False):
"""...."""
print "send with timeout %s" % self.timeout
```
Then:
```
>>> requests.head('http://httpbin.org/redirect/3', timeout=10)
send with timeout 10
send with timeout None
send with timeout None... | {
"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/263/reactions"
} | https://api.github.com/repos/psf/requests/issues/263/timeline | null | completed | null | null | false | [
"(Sorry for the closed/reopened -- me typing in the wrong window resulted in accidentally closing the ticket)\n"
] |
https://api.github.com/repos/psf/requests/issues/262 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/262/labels{/name} | https://api.github.com/repos/psf/requests/issues/262/comments | https://api.github.com/repos/psf/requests/issues/262/events | https://github.com/psf/requests/pull/262 | 2,228,213 | MDExOlB1bGxSZXF1ZXN0NDkwNzkw | 262 | Fixing status codes. Somehow these were wrong. | {
"avatar_url": "https://avatars.githubusercontent.com/u/292951?v=4",
"events_url": "https://api.github.com/users/petermanser/events{/privacy}",
"followers_url": "https://api.github.com/users/petermanser/followers",
"following_url": "https://api.github.com/users/petermanser/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 0 | 2011-11-14T08:45:15Z | 2021-09-08T13:05:54Z | 2011-11-14T21:42:24Z | CONTRIBUTOR | resolved | > > > requests.codes['temporary_redirect']
> > > 307
> > > requests.codes.teapot
> > > 418
> > > requests.codes['\o/']
> > > 200
| {
"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/262/reactions"
} | https://api.github.com/repos/psf/requests/issues/262/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/262.diff",
"html_url": "https://github.com/psf/requests/pull/262",
"merged_at": "2011-11-14T21:42:24Z",
"patch_url": "https://github.com/psf/requests/pull/262.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/262"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/261 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/261/labels{/name} | https://api.github.com/repos/psf/requests/issues/261/comments | https://api.github.com/repos/psf/requests/issues/261/events | https://github.com/psf/requests/issues/261 | 2,227,882 | MDU6SXNzdWUyMjI3ODgy | 261 | Version 0.8 breaks something from 0.7.4 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1113284?v=4",
"events_url": "https://api.github.com/users/Mike-Allen/events{/privacy}",
"followers_url": "https://api.github.com/users/Mike-Allen/followers",
"following_url": "https://api.github.com/users/Mike-Allen/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 3 | 2011-11-14T07:50:42Z | 2021-09-09T11:00:51Z | 2011-11-15T14:00:30Z | NONE | resolved | Something happened between version 0.7.4 and 0.8 that made requests stop working with two embedded devices that I have. One is an Axis video server and the other is a Digital-Loggers web power switch.
I’m using Python 2.6.6 and 2.7.2, under Windows and Linux.
I am able to connect to both devices using 0.7.4. When 0.8... | {
"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/261/reactions"
} | https://api.github.com/repos/psf/requests/issues/261/timeline | null | completed | null | null | false | [
"I also have problems with version 0.8.\n\nAt least _all_ Tumblr URLs are not working.\n\n```\n\n>>> a = requests.get('http://status.soundcloud.com/rss')\n>>> a.content\n'<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\\n<html xmlns... |
https://api.github.com/repos/psf/requests/issues/260 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/260/labels{/name} | https://api.github.com/repos/psf/requests/issues/260/comments | https://api.github.com/repos/psf/requests/issues/260/events | https://github.com/psf/requests/pull/260 | 2,227,732 | MDExOlB1bGxSZXF1ZXN0NDkwNjgw | 260 | Doc changes | {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 0 | 2011-11-14T07:15:36Z | 2021-09-08T13:05:54Z | 2011-11-14T21:43:01Z | CONTRIBUTOR | resolved | Removed some closed issues from todo and added a reference to [requests-oauth](https://github.com/maraujop/requests-oauth) in quickstart.
| {
"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/260/reactions"
} | https://api.github.com/repos/psf/requests/issues/260/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/260.diff",
"html_url": "https://github.com/psf/requests/pull/260",
"merged_at": "2011-11-14T21:43:01Z",
"patch_url": "https://github.com/psf/requests/pull/260.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/260"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/259 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/259/labels{/name} | https://api.github.com/repos/psf/requests/issues/259/comments | https://api.github.com/repos/psf/requests/issues/259/events | https://github.com/psf/requests/issues/259 | 2,227,639 | MDU6SXNzdWUyMjI3NjM5 | 259 | Timeout exception not being thrown - NoneType instead | {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2011-11-14T06:48:41Z | 2021-09-09T11:00:49Z | 2011-11-15T15:03:39Z | CONTRIBUTOR | resolved | On OS X, I'm not getting the nice Timeout exception.
``` python
>>> requests.get('http://github.com', timeout=0.001)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "requests/api.py", line 78, in get
return request('get', url, **kwargs)
File "requests/api.py", line 65, in 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/259/reactions"
} | https://api.github.com/repos/psf/requests/issues/259/timeline | null | completed | null | null | false | [
"Minor bug in urllib3 — thanks!\n",
"v0.8.1 was just released, which fixes this!\n"
] |
https://api.github.com/repos/psf/requests/issues/258 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/258/labels{/name} | https://api.github.com/repos/psf/requests/issues/258/comments | https://api.github.com/repos/psf/requests/issues/258/events | https://github.com/psf/requests/issues/258 | 2,223,695 | MDU6SXNzdWUyMjIzNjk1 | 258 | Make it possible to choose multipart encoding instead of form encoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2011-11-13T22:51:09Z | 2021-09-09T11:00:50Z | 2011-11-15T14:01:16Z | NONE | resolved | Currently multipart (multipart/form-data) encoding is used only for files. It should be possible to use it instead of form encoding (application/x-www-form-urlencoded) in every place the latter one can be used.
| {
"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/258/reactions"
} | https://api.github.com/repos/psf/requests/issues/258/timeline | null | completed | null | null | false | [
"Agreed! I've been wanting this for a while. Coming up with an elegant api is tricky though.\n",
"As much as I love elegant code I'm afraid that after reaching some level of complexity one has to leave elegance to others :( Could we just add yet another param (called transfer_encoding) to request method?\n",
"R... |
https://api.github.com/repos/psf/requests/issues/257 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/257/labels{/name} | https://api.github.com/repos/psf/requests/issues/257/comments | https://api.github.com/repos/psf/requests/issues/257/events | https://github.com/psf/requests/issues/257 | 2,223,544 | MDU6SXNzdWUyMjIzNTQ0 | 257 | Support forum | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2011-11-13T22:20:39Z | 2021-09-09T11:00:50Z | 2011-11-15T14:01:30Z | NONE | resolved | It would be nice to have some support forum for users.
| {
"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/257/reactions"
} | https://api.github.com/repos/psf/requests/issues/257/timeline | null | completed | null | null | false | [
"You're on it :)\n\n## \n\nKenneth Reitz\n\nOn Nov 13, 2011, at 5:20 PM, Piotr Dobrogostreply@reply.github.com wrote:\n\n> It would be nice to have some support forum for users.\n> \n> ---\n> \n> Reply to this email directly or view it on GitHub:\n> https://github.com/kennethreitz/requests/issues/257\n",
"Am I re... |
https://api.github.com/repos/psf/requests/issues/256 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/256/labels{/name} | https://api.github.com/repos/psf/requests/issues/256/comments | https://api.github.com/repos/psf/requests/issues/256/events | https://github.com/psf/requests/issues/256 | 2,221,215 | MDU6SXNzdWUyMjIxMjE1 | 256 | GET request sends full url to server - should be path only | {
"avatar_url": "https://avatars.githubusercontent.com/u/188771?v=4",
"events_url": "https://api.github.com/users/n1m3/events{/privacy}",
"followers_url": "https://api.github.com/users/n1m3/followers",
"following_url": "https://api.github.com/users/n1m3/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 8 | 2011-11-13T12:32:45Z | 2021-09-09T11:00:48Z | 2011-11-15T14:04:29Z | NONE | resolved | The command `requests.get("http://www.raumzeit-podcast.de/feed/")` results in
```
GET http://www.raumzeit-podcast.de/feed/ HTTP/1.1
Host: www.raumzeit-podcast.de
Accept-Encoding: identity, deflate, compress, gzip
Accept: */*
User-Agent: python-requests/0.8.0
HTTP/1.1 301 Moved Permanently
Location: http://www.raumze... | {
"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/256/reactions"
} | https://api.github.com/repos/psf/requests/issues/256/timeline | null | completed | null | null | false | [
"Confirmed this is an issue. Same issue arises on my rss feed as well\n\n``` python\n>>> r2 = requests.get(\"http://www.vertstudios.com/blog/feed\")\n>>> r2.url\n'http://www.vertstudios.comhttp/www.vertstudios.com/blog/feed'\n```\n",
"I also confirm. It's easy to reproduce:\n\n-) in shell A run \n\n```\npython -m... |
https://api.github.com/repos/psf/requests/issues/255 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/255/labels{/name} | https://api.github.com/repos/psf/requests/issues/255/comments | https://api.github.com/repos/psf/requests/issues/255/events | https://github.com/psf/requests/pull/255 | 2,219,857 | MDExOlB1bGxSZXF1ZXN0NDg5Mzgz | 255 | Adding me into a Urllib3 subsection (as was in urllib3-backup). | {
"avatar_url": "https://avatars.githubusercontent.com/u/6292?v=4",
"events_url": "https://api.github.com/users/shazow/events{/privacy}",
"followers_url": "https://api.github.com/users/shazow/followers",
"following_url": "https://api.github.com/users/shazow/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 1 | 2011-11-13T02:16:29Z | 2021-09-08T13:05:54Z | 2011-11-13T03:52:05Z | CONTRIBUTOR | resolved | > .>
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/255/reactions"
} | https://api.github.com/repos/psf/requests/issues/255/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/255.diff",
"html_url": "https://github.com/psf/requests/pull/255",
"merged_at": "2011-11-13T03:52:05Z",
"patch_url": "https://github.com/psf/requests/pull/255.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/255"
} | true | [
"Much needed :)\n"
] |
https://api.github.com/repos/psf/requests/issues/254 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/254/labels{/name} | https://api.github.com/repos/psf/requests/issues/254/comments | https://api.github.com/repos/psf/requests/issues/254/events | https://github.com/psf/requests/issues/254 | 2,216,192 | MDU6SXNzdWUyMjE2MTky | 254 | Ambiguous configuration settings | {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2011-11-12T06:51:01Z | 2021-09-09T11:00:57Z | 2011-11-13T00:08:55Z | CONTRIBUTOR | resolved | Couple of examples can be seen [here](https://github.com/kennethreitz/requests/blob/develop/requests/sessions.py#L66-67). `timeout` and `keep_alive` are both parameters by themselves but members of the config dict. I'm not sure if this was intended, but this allows the user to define these parameters ambiguously. I thi... | {
"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/254/reactions"
} | https://api.github.com/repos/psf/requests/issues/254/timeline | null | completed | null | null | false | [
"Don't worry, `keep_alive` won't be a parameter. Still debating `timeout` though.\n"
] |
https://api.github.com/repos/psf/requests/issues/253 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/253/labels{/name} | https://api.github.com/repos/psf/requests/issues/253/comments | https://api.github.com/repos/psf/requests/issues/253/events | https://github.com/psf/requests/issues/253 | 2,216,075 | MDU6SXNzdWUyMjE2MDc1 | 253 | Max timeout won't trigger | {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 6 | 2011-11-12T06:06:10Z | 2021-09-09T11:00:49Z | 2011-11-15T15:03:53Z | CONTRIBUTOR | resolved | Haven't looked at the code to see why yet, figured I'd post this here first.
``` python
>>> myconfig = {"timeout": 1.0}
>>> requests.get("www.google.com:81", config=myconfig)
```
The timeout never comes.
| {
"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/253/reactions"
} | https://api.github.com/repos/psf/requests/issues/253/timeline | null | completed | null | null | false | [
"So I misread the doc, timeout is actually passed as an argument to requests. This seems a bit weird, since timeout is both a possible key in the config= dictionary but also a default value in requests.defaults.\n\nRegardless, the timeout still is not working. \n\n``` python\n>>> r = requests.get(\"http://google.co... |
https://api.github.com/repos/psf/requests/issues/252 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/252/labels{/name} | https://api.github.com/repos/psf/requests/issues/252/comments | https://api.github.com/repos/psf/requests/issues/252/events | https://github.com/psf/requests/pull/252 | 2,215,957 | MDExOlB1bGxSZXF1ZXN0NDg4NDUz | 252 | Fix various documentation typos | {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2011-11-12T05:11:02Z | 2021-09-08T13:05:53Z | 2011-11-12T05:17:21Z | 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/252/reactions"
} | https://api.github.com/repos/psf/requests/issues/252/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/252.diff",
"html_url": "https://github.com/psf/requests/pull/252",
"merged_at": "2011-11-12T05:17:21Z",
"patch_url": "https://github.com/psf/requests/pull/252.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/252"
} | true | [
"I love these pull requests. Thanks so much :)\n",
"What was I doing at 11 11 11 11? Fixing documentation typos. I know how to party. \n",
":sparkles: :metal: :sparkles:\n"
] | |
https://api.github.com/repos/psf/requests/issues/251 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/251/labels{/name} | https://api.github.com/repos/psf/requests/issues/251/comments | https://api.github.com/repos/psf/requests/issues/251/events | https://github.com/psf/requests/pull/251 | 2,214,431 | MDExOlB1bGxSZXF1ZXN0NDg3ODU1 | 251 | Correct verbose logging documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2011-11-11T22:50:37Z | 2021-09-08T13:05:53Z | 2011-11-11T23:00:48Z | CONTRIBUTOR | resolved | Includes [Verbose logging example does not work](https://github.com/dasevilla/requests/commit/2d8440ea98301131edd537c4f2010b749f005e3b#commitcomment-712251), from @dasevilla and should close [issue #250](https://github.com/kennethreitz/requests/pull/250)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/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/251/reactions"
} | https://api.github.com/repos/psf/requests/issues/251/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/251.diff",
"html_url": "https://github.com/psf/requests/pull/251",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/251.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/251"
} | true | [
"Thanks! However, I would like to discourage (by not documenting) the ability to override the 'defaults'. Global state = bad :)\n",
"Alrighty, closing the request. \n",
"Sorry :)\n"
] |
https://api.github.com/repos/psf/requests/issues/250 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/250/labels{/name} | https://api.github.com/repos/psf/requests/issues/250/comments | https://api.github.com/repos/psf/requests/issues/250/events | https://github.com/psf/requests/pull/250 | 2,204,357 | MDExOlB1bGxSZXF1ZXN0NDg0NDA5 | 250 | Verbose logging example does not work | {
"avatar_url": "https://avatars.githubusercontent.com/u/162275?v=4",
"events_url": "https://api.github.com/users/dasevilla/events{/privacy}",
"followers_url": "https://api.github.com/users/dasevilla/followers",
"following_url": "https://api.github.com/users/dasevilla/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 5 | 2011-11-10T23:34:27Z | 2021-09-08T23:10:59Z | 2011-11-11T22:56:17Z | 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/250/reactions"
} | https://api.github.com/repos/psf/requests/issues/250/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/250.diff",
"html_url": "https://github.com/psf/requests/pull/250",
"merged_at": "2011-11-11T22:56:17Z",
"patch_url": "https://github.com/psf/requests/pull/250.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/250"
} | true | [
"I incorporated your example into pull request [#251](https://github.com/kennethreitz/requests/pull/251).\n",
"Sorry, the docs are a little out of date :) I would like to discourage (by not documenting) the ability to override the 'defaults'. Global state = bad :)\n",
"I understand this issue is closed but how... | |
https://api.github.com/repos/psf/requests/issues/249 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/249/labels{/name} | https://api.github.com/repos/psf/requests/issues/249/comments | https://api.github.com/repos/psf/requests/issues/249/events | https://github.com/psf/requests/pull/249 | 2,204,167 | MDExOlB1bGxSZXF1ZXN0NDg0MzQy | 249 | The 'requests-oauth-hook' project was renamed to requests-oauth | {
"avatar_url": "https://avatars.githubusercontent.com/u/162275?v=4",
"events_url": "https://api.github.com/users/dasevilla/events{/privacy}",
"followers_url": "https://api.github.com/users/dasevilla/followers",
"following_url": "https://api.github.com/users/dasevilla/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2011-11-10T23:14:46Z | 2021-09-08T13:05:51Z | 2011-11-12T15:19:04Z | 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/249/reactions"
} | https://api.github.com/repos/psf/requests/issues/249/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/249.diff",
"html_url": "https://github.com/psf/requests/pull/249",
"merged_at": "2011-11-12T15:19:11Z",
"patch_url": "https://github.com/psf/requests/pull/249.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/249"
} | true | [
"thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/248 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/248/labels{/name} | https://api.github.com/repos/psf/requests/issues/248/comments | https://api.github.com/repos/psf/requests/issues/248/events | https://github.com/psf/requests/pull/248 | 2,171,780 | MDExOlB1bGxSZXF1ZXN0NDcyNTMw | 248 | Added POST to quick start. | {
"avatar_url": "https://avatars.githubusercontent.com/u/503584?v=4",
"events_url": "https://api.github.com/users/joequery/events{/privacy}",
"followers_url": "https://api.github.com/users/joequery/followers",
"following_url": "https://api.github.com/users/joequery/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2011-11-08T07:39:43Z | 2021-09-08T13:05:52Z | 2011-11-10T06:01:50Z | 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/248/reactions"
} | https://api.github.com/repos/psf/requests/issues/248/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/248.diff",
"html_url": "https://github.com/psf/requests/pull/248",
"merged_at": "2011-11-10T06:01:50Z",
"patch_url": "https://github.com/psf/requests/pull/248.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/248"
} | true | [
"You changed the GET example, but the line above your change still says \"Let's get GitHub's public timeline\" :)\n",
"Ahhhhhhhhhhhh! I'll fix that real quick. \n",
"I love the POST example, but I'd like to stick to the GitHub example. Doing a get to httpbin is a bit confusing to newcomers, and isn't a very rea... | |
https://api.github.com/repos/psf/requests/issues/247 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/247/labels{/name} | https://api.github.com/repos/psf/requests/issues/247/comments | https://api.github.com/repos/psf/requests/issues/247/events | https://github.com/psf/requests/issues/247 | 2,171,048 | MDU6SXNzdWUyMTcxMDQ4 | 247 | POST doesn't appear to be documented | {
"avatar_url": "https://avatars.githubusercontent.com/u/663366?v=4",
"events_url": "https://api.github.com/users/r1chardj0n3s/events{/privacy}",
"followers_url": "https://api.github.com/users/r1chardj0n3s/followers",
"following_url": "https://api.github.com/users/r1chardj0n3s/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 5 | 2011-11-08T04:50:48Z | 2021-09-09T11:00:56Z | 2011-11-13T00:09:09Z | CONTRIBUTOR | resolved | It took me some time to figure out how requests.post worked, and the only mention appears to be in the API doc, and then not in great detail. Am I missing something?
| {
"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/247/reactions"
} | https://api.github.com/repos/psf/requests/issues/247/timeline | null | completed | null | null | false | [
"http://docs.python-requests.org/en/latest/api/#requests.post\n",
"It definitely needs to be added to the quickstart.\n",
"As I said, it's in the API doc, but not in the main doc, where other much more complex topics are covered but not something as basic as requests.post.\n",
"Yes, please :-)\n",
"I'll put... |
https://api.github.com/repos/psf/requests/issues/246 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/246/labels{/name} | https://api.github.com/repos/psf/requests/issues/246/comments | https://api.github.com/repos/psf/requests/issues/246/events | https://github.com/psf/requests/pull/246 | 2,169,300 | MDExOlB1bGxSZXF1ZXN0NDcxNjU1 | 246 | Added support for OPTIONS method. | {
"avatar_url": "https://avatars.githubusercontent.com/u/233741?v=4",
"events_url": "https://api.github.com/users/jbrendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrendel/followers",
"following_url": "https://api.github.com/users/jbrendel/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 0 | 2011-11-07T23:42:54Z | 2021-09-08T13:05:52Z | 2011-11-10T06:16:33Z | NONE | resolved | Hello!
While doing some work with a RESTful API, I noticed that the otherwise excellent requests library does not seem to support the OPTIONS request method. The way it should be handled apparently is the same as the HEAD method. So, this change here merely copies the various definitions and references to the HEAD met... | {
"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/246/reactions"
} | https://api.github.com/repos/psf/requests/issues/246/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/246.diff",
"html_url": "https://github.com/psf/requests/pull/246",
"merged_at": "2011-11-10T06:16:33Z",
"patch_url": "https://github.com/psf/requests/pull/246.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/246"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/245 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/245/labels{/name} | https://api.github.com/repos/psf/requests/issues/245/comments | https://api.github.com/repos/psf/requests/issues/245/events | https://github.com/psf/requests/issues/245 | 2,168,108 | MDU6SXNzdWUyMTY4MTA4 | 245 | malformed url when using digest with query-strings | {
"avatar_url": "https://avatars.githubusercontent.com/u/160125?v=4",
"events_url": "https://api.github.com/users/mfeif/events{/privacy}",
"followers_url": "https://api.github.com/users/mfeif/followers",
"following_url": "https://api.github.com/users/mfeif/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2011-11-07T22:08:26Z | 2021-09-09T11:00:56Z | 2011-11-13T00:10:11Z | NONE | resolved | When using digest auth and a URL containing a "?" the question mark is removed, it seems, from the url.
For example,
r = requests.get('http://foo.com/bar.json', auth=('digest', 'blah', 'bloh'))
works, but:
r = requests.get('http://foo.com/bar.json?really=yes', auth=('digest', 'blah', 'bloh'))
Fails. Inspecting r.... | {
"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/245/reactions"
} | https://api.github.com/repos/psf/requests/issues/245/timeline | null | completed | null | null | false | [
"For URL parameters, use the parameters argument in your request.\n\n``` python\n>>> url = \"http://httpbin.org/digest-auth/auth/user/passwd\"\n>>> auth = (\"digest\", \"user\", \"passwd\")\n>>> params = {\"really\":\"yes\"}\n>>> r = requests.get(url, auth=auth, params=params)\n>>> r.ok\nTrue\n>>> dir(r.request)\n[... |
https://api.github.com/repos/psf/requests/issues/244 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/244/labels{/name} | https://api.github.com/repos/psf/requests/issues/244/comments | https://api.github.com/repos/psf/requests/issues/244/events | https://github.com/psf/requests/pull/244 | 2,159,490 | MDExOlB1bGxSZXF1ZXN0NDY4NDEy | 244 | Updated your 2001, to 2011... unless you went back in time ;) | {
"avatar_url": "https://avatars.githubusercontent.com/u/141967?v=4",
"events_url": "https://api.github.com/users/neogenix/events{/privacy}",
"followers_url": "https://api.github.com/users/neogenix/followers",
"following_url": "https://api.github.com/users/neogenix/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2011-11-07T03:57:55Z | 2021-09-08T13:05:51Z | 2011-11-07T03:58:34Z | 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/244/reactions"
} | https://api.github.com/repos/psf/requests/issues/244/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/244.diff",
"html_url": "https://github.com/psf/requests/pull/244",
"merged_at": "2011-11-07T03:58:34Z",
"patch_url": "https://github.com/psf/requests/pull/244.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/244"
} | true | [
"whoops :)\n",
"I was hoping for time travel, personally ;)\n"
] | |
https://api.github.com/repos/psf/requests/issues/243 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/243/labels{/name} | https://api.github.com/repos/psf/requests/issues/243/comments | https://api.github.com/repos/psf/requests/issues/243/events | https://github.com/psf/requests/pull/243 | 2,157,862 | MDExOlB1bGxSZXF1ZXN0NDY3OTc0 | 243 | #GH-241 | {
"avatar_url": "https://avatars.githubusercontent.com/u/554079?v=4",
"events_url": "https://api.github.com/users/juanriaza/events{/privacy}",
"followers_url": "https://api.github.com/users/juanriaza/followers",
"following_url": "https://api.github.com/users/juanriaza/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 0 | 2011-11-06T20:49:17Z | 2021-09-08T13:05:50Z | 2011-11-06T20:59:43Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/554079?v=4",
"events_url": "https://api.github.com/users/juanriaza/events{/privacy}",
"followers_url": "https://api.github.com/users/juanriaza/followers",
"following_url": "https://api.github.com/users/juanriaza/following{/other_user}",
"gists_url": "ht... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/243/reactions"
} | https://api.github.com/repos/psf/requests/issues/243/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/243.diff",
"html_url": "https://github.com/psf/requests/pull/243",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/243.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/243"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/242 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/242/labels{/name} | https://api.github.com/repos/psf/requests/issues/242/comments | https://api.github.com/repos/psf/requests/issues/242/events | https://github.com/psf/requests/issues/242 | 2,157,295 | MDU6SXNzdWUyMTU3Mjk1 | 242 | Non-blocking async.map | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 19127... | closed | true | null | [] | null | 2 | 2011-11-06T18:32:00Z | 2021-09-09T09:00:40Z | 2012-03-31T07:16:09Z | CONTRIBUTOR | resolved | ``` python
q = [...list-of-requests...]
async.dispatch(q, size=10)
# Immediately continues.
q.append(...request...)
# Adds a new request to the queue.
```
| {
"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/242/reactions"
} | https://api.github.com/repos/psf/requests/issues/242/timeline | null | completed | null | null | false | [
"map should block. I modified requests.async.send to address this and to give a non-blocking option.\n",
"This has been implemented.\n"
] |
https://api.github.com/repos/psf/requests/issues/241 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/241/labels{/name} | https://api.github.com/repos/psf/requests/issues/241/comments | https://api.github.com/repos/psf/requests/issues/241/events | https://github.com/psf/requests/issues/241 | 2,157,198 | MDU6SXNzdWUyMTU3MTk4 | 241 | Add Throttling to async.map | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2011-11-06T18:11:23Z | 2021-09-09T11:00:57Z | 2011-11-12T15:43:56Z | CONTRIBUTOR | resolved | Currently, `async.map` will send all of the request objects at the same time. It'd be nice to limit the number of current connections.
``` python
async.map(size=3)
```
`size` would default to `None`, obviously.
| {
"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/241/reactions"
} | https://api.github.com/repos/psf/requests/issues/241/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/240 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/240/labels{/name} | https://api.github.com/repos/psf/requests/issues/240/comments | https://api.github.com/repos/psf/requests/issues/240/events | https://github.com/psf/requests/issues/240 | 2,152,275 | MDU6SXNzdWUyMTUyMjc1 | 240 | Timing HTTP Responses | {
"avatar_url": "https://avatars.githubusercontent.com/u/37787?v=4",
"events_url": "https://api.github.com/users/daleharvey/events{/privacy}",
"followers_url": "https://api.github.com/users/daleharvey/followers",
"following_url": "https://api.github.com/users/daleharvey/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 3 | 2011-11-05T15:05:30Z | 2021-09-09T11:00:58Z | 2011-11-05T15:28:56Z | NONE | resolved | I would like to be able to time HTTP responses, logging the url along with the time taken to a file
It seems like this should be reasonably easy with pre + post request hooks, I havent tried yet, this is mostly a feature request / asking if anyone else had already implemented this as I cant see a mailing list or anywh... | {
"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/240/reactions"
} | https://api.github.com/repos/psf/requests/issues/240/timeline | null | completed | null | null | false | [
"Super simple :)\n\n``` python\nimport time\nimport requests\n\n\ntime0 = time.time()\nr = requests.get('http://github.com')\ntime1 = time.time()\n\nprint time1 - time0\n```\n",
"heh yeh, I was looking more for the ability to inject the timing, as the requests code is buried inside various libraries and most of t... |
https://api.github.com/repos/psf/requests/issues/239 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/239/labels{/name} | https://api.github.com/repos/psf/requests/issues/239/comments | https://api.github.com/repos/psf/requests/issues/239/events | https://github.com/psf/requests/issues/239 | 2,151,723 | MDU6SXNzdWUyMTUxNzIz | 239 | Too many open files | {
"avatar_url": "https://avatars.githubusercontent.com/u/37787?v=4",
"events_url": "https://api.github.com/users/daleharvey/events{/privacy}",
"followers_url": "https://api.github.com/users/daleharvey/followers",
"following_url": "https://api.github.com/users/daleharvey/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"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 81 | 2011-11-05T12:37:30Z | 2021-09-08T01:21:03Z | 2012-07-27T06:07:41Z | NONE | resolved | I am building a basic load generator and started running into file descriptor limits, I havent seen any documentation pertaining to how to release resources, so either I am doing it wrong and the docs need updated, or requests is leaking file descriptors somewhere (without support for keepalive I am slightly confused 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/239/reactions"
} | https://api.github.com/repos/psf/requests/issues/239/timeline | null | completed | null | null | false | [
"Where you using `requests.async`?\n",
"nope, all requests were reasonably plain requests.get / requests.post, I am still seeing a few in there\n\n```\n$ lsof | grep localhost | wc -l\n110\n```\n\nall but 4/5 of them are of the format\n\n```\nPython 82117 daleharvey 123u IPv4 0xffffff800da304e0 0t0 ... |
https://api.github.com/repos/psf/requests/issues/238 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/238/labels{/name} | https://api.github.com/repos/psf/requests/issues/238/comments | https://api.github.com/repos/psf/requests/issues/238/events | https://github.com/psf/requests/pull/238 | 2,144,513 | MDExOlB1bGxSZXF1ZXN0NDY0MDUw | 238 | Fixed a broken link in the docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/31269?v=4",
"events_url": "https://api.github.com/users/brutasse/events{/privacy}",
"followers_url": "https://api.github.com/users/brutasse/followers",
"following_url": "https://api.github.com/users/brutasse/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2011-11-04T14:50:30Z | 2021-09-08T12:01:36Z | 2011-11-04T14:51:07Z | CONTRIBUTOR | resolved | The link to the advanced section on http://docs.python-requests.org/en/latest/user/quickstart/ was broken, so here's a quick fix!
Thanks,
Bruno
| {
"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/238/reactions"
} | https://api.github.com/repos/psf/requests/issues/238/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/238.diff",
"html_url": "https://github.com/psf/requests/pull/238",
"merged_at": "2011-11-04T14:51:07Z",
"patch_url": "https://github.com/psf/requests/pull/238.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/238"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/237 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/237/labels{/name} | https://api.github.com/repos/psf/requests/issues/237/comments | https://api.github.com/repos/psf/requests/issues/237/events | https://github.com/psf/requests/issues/237 | 2,138,560 | MDU6SXNzdWUyMTM4NTYw | 237 | infinite recursion on 401 error | {
"avatar_url": "https://avatars.githubusercontent.com/u/160125?v=4",
"events_url": "https://api.github.com/users/mfeif/events{/privacy}",
"followers_url": "https://api.github.com/users/mfeif/followers",
"following_url": "https://api.github.com/users/mfeif/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 11 | 2011-11-03T22:42:02Z | 2021-09-09T04:00:35Z | 2012-07-27T06:07:16Z | NONE | resolved | I'm using requests 0.7.4, and am having a strange problem with a GET that is digest protected.
The request takes a long time (2-3 minutes) to come back, and when it does, I get this:
hooks.py:38: UserWarning: maximum recursion depth exceeded while calling a Python object
warnings.warn(str(why))
401
HTTP Digest: Acc... | {
"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/237/reactions"
} | https://api.github.com/repos/psf/requests/issues/237/timeline | null | completed | null | null | false | [
"Ouch — Thanks for the the bug! \n",
"In 0.7.5 \"digest\" authentication fails for me too.\nI am sending a GET request with parameters (against Apache)\n\nIf I change line 70 of auth.py from:\n\n```\npath = urlparse(r.request.url).path\n```\n\nto:\n\n```\npath = r.url\n```\n\nauthentication succeeds.\n",
"@osuc... |
https://api.github.com/repos/psf/requests/issues/236 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/236/labels{/name} | https://api.github.com/repos/psf/requests/issues/236/comments | https://api.github.com/repos/psf/requests/issues/236/events | https://github.com/psf/requests/issues/236 | 2,130,686 | MDU6SXNzdWUyMTMwNjg2 | 236 | AttributeError while trying to read `content` attr | {
"avatar_url": "https://avatars.githubusercontent.com/u/111193?v=4",
"events_url": "https://api.github.com/users/OldhamMade/events{/privacy}",
"followers_url": "https://api.github.com/users/OldhamMade/followers",
"following_url": "https://api.github.com/users/OldhamMade/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 3 | 2011-11-03T09:46:18Z | 2021-09-09T11:00:59Z | 2011-11-05T03:24:45Z | NONE | resolved | It seems that if there's a problem with obtaining the body of a request, `requests` throws an error while trying to read it.
Code:
``` python
import requests
def main():
r = requests.get("some-flaky-url")
if not r.content:
raise Exception('content was flaky')
return r.content
main()
```
error:
... | {
"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/236/reactions"
} | https://api.github.com/repos/psf/requests/issues/236/timeline | null | completed | null | null | false | [
"It would be better to check the `ok` attribute on the response:\n\n``` python\nr = requests.get(\"some-flaky-url\")\nif not r.ok:\n raise Exception('content was flaky')\nreturn r.content\n```\n",
"Isn't it more pythonic to check what you're actually returning/working with (eg, the `content`)? One would expect... |
https://api.github.com/repos/psf/requests/issues/235 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/235/labels{/name} | https://api.github.com/repos/psf/requests/issues/235/comments | https://api.github.com/repos/psf/requests/issues/235/events | https://github.com/psf/requests/pull/235 | 2,129,755 | MDExOlB1bGxSZXF1ZXN0NDU5MTg1 | 235 | Fixes an issue with auth and redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/185043?v=4",
"events_url": "https://api.github.com/users/davidfischer/events{/privacy}",
"followers_url": "https://api.github.com/users/davidfischer/followers",
"following_url": "https://api.github.com/users/davidfischer/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2011-11-03T06:36:05Z | 2021-09-08T12:01:35Z | 2011-11-05T03:32:04Z | CONTRIBUTOR | resolved | The `auth.dispatch` method creates a modified `auth` tuple. When the tuple is passed to a new request (as a result of a redirect) then the new `auth` is incorrect and authorization will fail. This one-liner simply resets the `auth` tuple to the original tuple.
| {
"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/235/reactions"
} | https://api.github.com/repos/psf/requests/issues/235/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/235.diff",
"html_url": "https://github.com/psf/requests/pull/235",
"merged_at": "2011-11-05T03:32:04Z",
"patch_url": "https://github.com/psf/requests/pull/235.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/235"
} | true | [
"After sleeping on it, I don't think this solution is the best one. I think a better solution is to save the original `auth` tuple (`_auth`?) and then pass that to any new requests.\n",
"Excellent, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/234 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/234/labels{/name} | https://api.github.com/repos/psf/requests/issues/234/comments | https://api.github.com/repos/psf/requests/issues/234/events | https://github.com/psf/requests/pull/234 | 2,104,154 | MDExOlB1bGxSZXF1ZXN0NDUxMDEw | 234 | ch ch chcnages | {
"avatar_url": "https://avatars.githubusercontent.com/u/773186?v=4",
"events_url": "https://api.github.com/users/shanemcd/events{/privacy}",
"followers_url": "https://api.github.com/users/shanemcd/followers",
"following_url": "https://api.github.com/users/shanemcd/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 0 | 2011-11-01T01:52:18Z | 2021-09-08T13:05:50Z | 2011-11-01T01:53:07Z | CONTRIBUTOR | resolved | via @kennethreitz
| {
"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/234/reactions"
} | https://api.github.com/repos/psf/requests/issues/234/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/234.diff",
"html_url": "https://github.com/psf/requests/pull/234",
"merged_at": "2011-11-01T01:53:07Z",
"patch_url": "https://github.com/psf/requests/pull/234.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/234"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/233 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/233/labels{/name} | https://api.github.com/repos/psf/requests/issues/233/comments | https://api.github.com/repos/psf/requests/issues/233/events | https://github.com/psf/requests/pull/233 | 2,104,022 | MDExOlB1bGxSZXF1ZXN0NDUwOTc0 | 233 | Update docs/_themes/kr/static/flasky.css_t | {
"avatar_url": "https://avatars.githubusercontent.com/u/773186?v=4",
"events_url": "https://api.github.com/users/shanemcd/events{/privacy}",
"followers_url": "https://api.github.com/users/shanemcd/followers",
"following_url": "https://api.github.com/users/shanemcd/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2011-11-01T01:25:09Z | 2021-09-08T12:01:34Z | 2011-11-01T01:26:52Z | 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/233/reactions"
} | https://api.github.com/repos/psf/requests/issues/233/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/233.diff",
"html_url": "https://github.com/psf/requests/pull/233",
"merged_at": "2011-11-01T01:26:52Z",
"patch_url": "https://github.com/psf/requests/pull/233.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/233"
} | true | [
"THANK YOU HERE IS CAKE :cake:\n",
"See #234 for more\n"
] | |
https://api.github.com/repos/psf/requests/issues/232 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/232/labels{/name} | https://api.github.com/repos/psf/requests/issues/232/comments | https://api.github.com/repos/psf/requests/issues/232/events | https://github.com/psf/requests/issues/232 | 2,095,132 | MDU6SXNzdWUyMDk1MTMy | 232 | Document what exceptions may be raised | {
"avatar_url": "https://avatars.githubusercontent.com/u/73564?v=4",
"events_url": "https://api.github.com/users/rboulton/events{/privacy}",
"followers_url": "https://api.github.com/users/rboulton/followers",
"following_url": "https://api.github.com/users/rboulton/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 8 | 2011-10-31T09:29:53Z | 2021-09-09T11:00:55Z | 2011-11-13T00:10:42Z | CONTRIBUTOR | resolved | I'd like to be able to write something which will catch any exceptions raised when performing a request, so I can handle them appropriately. However, I'm not sure which exceptions might get raised; looking at the code, I think urllib{,2,3} exceptions can occur, as well as ones from requests.exceptions.
Ideally, I'd l... | {
"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/232/reactions"
} | https://api.github.com/repos/psf/requests/issues/232/timeline | null | completed | null | null | false | [
":+1:\n",
"@bitprophet has some further thoughts on connection issues that I may or may not agree with.\n",
"Yea, thoughts like \"man, that @kennethreitz is such a jerk!\". ;)\n\n---\n\nA weak Monday morning attempt to recapture my IRC arguments:\n\nThere are, IMO, two types of failure modes in this kind of lib... |
https://api.github.com/repos/psf/requests/issues/231 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/231/labels{/name} | https://api.github.com/repos/psf/requests/issues/231/comments | https://api.github.com/repos/psf/requests/issues/231/events | https://github.com/psf/requests/pull/231 | 2,094,640 | MDExOlB1bGxSZXF1ZXN0NDQ3NzU4 | 231 | Added support for source address selection. | {
"avatar_url": "https://avatars.githubusercontent.com/u/84084?v=4",
"events_url": "https://api.github.com/users/maximbo/events{/privacy}",
"followers_url": "https://api.github.com/users/maximbo/followers",
"following_url": "https://api.github.com/users/maximbo/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2011-10-31T08:07:55Z | 2021-09-08T12:01:35Z | 2011-11-05T03:30:42Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/231/reactions"
} | https://api.github.com/repos/psf/requests/issues/231/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/231.diff",
"html_url": "https://github.com/psf/requests/pull/231",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/231.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/231"
} | true | [
"Unfortunately, I won't be able to add this in right now. I'm currently porting requests off of urllib2. See `feature/rewrite` branch for more details.\n\nI love this functionality though. I think that it may be best as a `utils` function.\n"
] | |
https://api.github.com/repos/psf/requests/issues/230 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/230/labels{/name} | https://api.github.com/repos/psf/requests/issues/230/comments | https://api.github.com/repos/psf/requests/issues/230/events | https://github.com/psf/requests/pull/230 | 2,090,418 | MDExOlB1bGxSZXF1ZXN0NDQ2NTQx | 230 | Wrong default types for params and data | {
"avatar_url": "https://avatars.githubusercontent.com/u/252257?v=4",
"events_url": "https://api.github.com/users/maraujop/events{/privacy}",
"followers_url": "https://api.github.com/users/maraujop/followers",
"following_url": "https://api.github.com/users/maraujop/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2011-10-30T12:24:39Z | 2021-09-08T23:11:09Z | 2011-11-05T03:30:29Z | NONE | resolved | `params` and `data` are marked as dictionaries in the constructor prototype. However `_encode_params` returns lists or None sometimes.
There is a big inconsistency in `_encode_params` that could affect hooks. It's affecting me in request-oauth-hook. Thus I have to do these type of checkings:
https://github.com/maraujo... | {
"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/230/reactions"
} | https://api.github.com/repos/psf/requests/issues/230/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/230.diff",
"html_url": "https://github.com/psf/requests/pull/230",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/230.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/230"
} | true | [
"I forgot to say that I'm working on a better test suite for requests-oauth-hook, and some Request inconsistencies, make it very hard to write.\n",
"This will change in the next release.\n",
"This means it is fixed in version 0.7.6 ? \n\nAre you using my patch?\n",
"No, this will change in the next major rele... |
https://api.github.com/repos/psf/requests/issues/229 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/229/labels{/name} | https://api.github.com/repos/psf/requests/issues/229/comments | https://api.github.com/repos/psf/requests/issues/229/events | https://github.com/psf/requests/issues/229 | 2,073,036 | MDU6SXNzdWUyMDczMDM2 | 229 | retracted | {
"avatar_url": "https://avatars.githubusercontent.com/u/330954?v=4",
"events_url": "https://api.github.com/users/devjones/events{/privacy}",
"followers_url": "https://api.github.com/users/devjones/followers",
"following_url": "https://api.github.com/users/devjones/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 0 | 2011-10-27T21:40:35Z | 2021-09-09T11:01:00Z | 2011-10-27T22:32:22Z | NONE | resolved | ...
| {
"avatar_url": "https://avatars.githubusercontent.com/u/330954?v=4",
"events_url": "https://api.github.com/users/devjones/events{/privacy}",
"followers_url": "https://api.github.com/users/devjones/followers",
"following_url": "https://api.github.com/users/devjones/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/229/reactions"
} | https://api.github.com/repos/psf/requests/issues/229/timeline | null | completed | null | null | false | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.