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/428 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/428/labels{/name} | https://api.github.com/repos/psf/requests/issues/428/comments | https://api.github.com/repos/psf/requests/issues/428/events | https://github.com/psf/requests/pull/428 | 3,216,604 | MDExOlB1bGxSZXF1ZXN0ODI1NTcy | 428 | Keep non RFC cookie key characters separate. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2012-02-14T10:31:45Z | 2021-09-08T14:00:57Z | 2012-02-15T06:08:21Z | MEMBER | resolved | Discussion on commit Lukasa/requests@f72c13ffdad47ff684d102b6d9fb6122db899891 suggested it might be better to keep the characters that are disallowed in the RFC separate from those that are. This is mostly stylistic, so you can take it or leave it.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/428/reactions"
} | https://api.github.com/repos/psf/requests/issues/428/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/428.diff",
"html_url": "https://github.com/psf/requests/pull/428",
"merged_at": "2012-02-15T06:08:21Z",
"patch_url": "https://github.com/psf/requests/pull/428.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/428"
} | true | [
"Thanks :)\n"
] |
https://api.github.com/repos/psf/requests/issues/427 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/427/labels{/name} | https://api.github.com/repos/psf/requests/issues/427/comments | https://api.github.com/repos/psf/requests/issues/427/events | https://github.com/psf/requests/issues/427 | 3,215,770 | MDU6SXNzdWUzMjE1Nzcw | 427 | Installation of v0.10.1 on Windows 7 & Py2.5 fails - syntax error in utils.randombytes | {
"avatar_url": "https://avatars.githubusercontent.com/u/163996?v=4",
"events_url": "https://api.github.com/users/jqb/events{/privacy}",
"followers_url": "https://api.github.com/users/jqb/followers",
"following_url": "https://api.github.com/users/jqb/following{/other_user}",
"gists_url": "https://api.github.c... | [] | closed | true | null | [] | null | 15 | 2012-02-14T09:17:56Z | 2021-09-09T06:00:47Z | 2012-08-24T10:28:35Z | NONE | resolved | ver 0.10.1 contains new implementation of `requests.utils.randombytes`.
line https://github.com/kennethreitz/requests/blob/v0.10.1/requests/utils.py#L185
causes an error on Windows 7 with Python 2.5.4
Older versions 0.10.0 & 0.9.x works.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/427/reactions"
} | https://api.github.com/repos/psf/requests/issues/427/timeline | null | completed | null | null | false | [
"Python 2.5 is no longer supported.\n",
"Why is 2.5 no longer supported?\n",
"I'd say because it's old, and prevents from using new stuff of 2.6+ versions.\n",
"Yep, but still there's a lot of code that runs on Py2.5. Sad but true. I guess I'll need to use older version to run it on Py2.5. Should I close an i... |
https://api.github.com/repos/psf/requests/issues/426 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/426/labels{/name} | https://api.github.com/repos/psf/requests/issues/426/comments | https://api.github.com/repos/psf/requests/issues/426/events | https://github.com/psf/requests/pull/426 | 3,212,974 | MDExOlB1bGxSZXF1ZXN0ODI0MzU5 | 426 | URI encoding fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/228433?v=4",
"events_url": "https://api.github.com/users/mgiuca/events{/privacy}",
"followers_url": "https://api.github.com/users/mgiuca/followers",
"following_url": "https://api.github.com/users/mgiuca/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 7 | 2012-02-14T02:16:51Z | 2021-09-08T05:01:00Z | 2012-02-14T09:49:09Z | CONTRIBUTOR | resolved | Fixes for Issue #369, as described in my [comment on that thread](https://github.com/kennethreitz/requests/issues/369#issuecomment-3953802).
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/426/reactions"
} | https://api.github.com/repos/psf/requests/issues/426/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/426.diff",
"html_url": "https://github.com/psf/requests/pull/426",
"merged_at": "2012-02-14T09:49:09Z",
"patch_url": "https://github.com/psf/requests/pull/426.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/426"
} | true | [
"Hey,\n\nCan someone please compare this with our hotfix to see which is the better method to use:\n\nhttps://github.com/kennethreitz/requests/issues/429\n\nThanks\n\nCal\n",
"@kennethreitz Thanks for merging. I forgot to add my name to AUTHORS. Could you please do that (Matt Giuca)?\n@foxx I don't think we are t... |
https://api.github.com/repos/psf/requests/issues/425 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/425/labels{/name} | https://api.github.com/repos/psf/requests/issues/425/comments | https://api.github.com/repos/psf/requests/issues/425/events | https://github.com/psf/requests/pull/425 | 3,211,833 | MDExOlB1bGxSZXF1ZXN0ODIzODU1 | 425 | Issue #335: Accept unusual keys in cookies. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2012-02-14T00:13:29Z | 2021-09-08T14:00:57Z | 2012-02-14T00:14:39Z | MEMBER | resolved | Fixed a bug: RFC 2109 forbids certain characters, including colons and braces, from being in the key field of a cookie. Requests is compliant with RFC 2109, but many web frameworks are not. When requests receives such a key, a CookieError is raised and execution halts. This fix allows requests to accept and send such n... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/425/reactions"
} | https://api.github.com/repos/psf/requests/issues/425/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/425.diff",
"html_url": "https://github.com/psf/requests/pull/425",
"merged_at": "2012-02-14T00:14:39Z",
"patch_url": "https://github.com/psf/requests/pull/425.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/425"
} | true | [
"Hah, the whole reason oreos exists is to add `[]_` to that list :)\n",
"Thanks, this looks great.\n"
] |
https://api.github.com/repos/psf/requests/issues/424 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/424/labels{/name} | https://api.github.com/repos/psf/requests/issues/424/comments | https://api.github.com/repos/psf/requests/issues/424/events | https://github.com/psf/requests/issues/424 | 3,209,519 | MDU6SXNzdWUzMjA5NTE5 | 424 | Unicode header dict values cause unhandled exception | {
"avatar_url": "https://avatars.githubusercontent.com/u/651797?v=4",
"events_url": "https://api.github.com/users/foxx/events{/privacy}",
"followers_url": "https://api.github.com/users/foxx/followers",
"following_url": "https://api.github.com/users/foxx/following{/other_user}",
"gists_url": "https://api.githu... | [
{
"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 | 1 | 2012-02-13T21:27:39Z | 2021-09-09T00:01:00Z | 2012-07-27T06:00:53Z | NONE | resolved | Hey,
The following problem happens when you use a unicode string for a header dict:
```
_headers = {
'test' : u'hello world'
}
requests.get('http://example.com', headers = _headers)
File "/home/foxx/dev/iz/webapp/../webapp/libs/_requests/utils.py", line 152, in header_expand
for i, (value, params) in enum... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/424/reactions"
} | https://api.github.com/repos/psf/requests/issues/424/timeline | null | completed | null | null | false | [
"This is working for me in trunk:\n\n```\n[shivaram@good-fortune ~/workspace/requests]$ cat header_test.py \nimport requests\n\n_headers = {\n 'test' : u'hello world'\n}\n\nr = requests.get('http://httpbin.org/headers', headers = _headers)\n\nprint r.content\n[shivaram@good-fortune ~/workspace/requests]$ python ... |
https://api.github.com/repos/psf/requests/issues/423 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/423/labels{/name} | https://api.github.com/repos/psf/requests/issues/423/comments | https://api.github.com/repos/psf/requests/issues/423/events | https://github.com/psf/requests/issues/423 | 3,195,794 | MDU6SXNzdWUzMTk1Nzk0 | 423 | Cast the request URL as a string before using it | {
"avatar_url": "https://avatars.githubusercontent.com/u/127497?v=4",
"events_url": "https://api.github.com/users/fletom/events{/privacy}",
"followers_url": "https://api.github.com/users/fletom/followers",
"following_url": "https://api.github.com/users/fletom/following{/other_user}",
"gists_url": "https://api... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 5 | 2012-02-13T04:35:29Z | 2021-09-09T06:00:54Z | 2012-08-08T20:20:54Z | NONE | resolved | It would be great if requests would call `unicode()` on the URL parameter before using it, so that users can pass things masquerading as URL-strings, like an object from the excellent and extremely useful library [furl](https://github.com/gruns/furl).
This would turn this code:
```
requests.get(furl('http://example.c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/423/reactions"
} | https://api.github.com/repos/psf/requests/issues/423/timeline | null | completed | null | null | false | [
"This would be fantastic. \n",
"As far you know, is it as simple as wrapping the URL argument with `unicode()`?\n",
"I think this would get hairy in python3 :)\n",
"I do welcome this change.\n",
"Resolved by #766.\n"
] |
https://api.github.com/repos/psf/requests/issues/422 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/422/labels{/name} | https://api.github.com/repos/psf/requests/issues/422/comments | https://api.github.com/repos/psf/requests/issues/422/events | https://github.com/psf/requests/pull/422 | 3,190,572 | MDExOlB1bGxSZXF1ZXN0ODE3MDUy | 422 | Issue #285 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1404241?v=4",
"events_url": "https://api.github.com/users/kojit/events{/privacy}",
"followers_url": "https://api.github.com/users/kojit/followers",
"following_url": "https://api.github.com/users/kojit/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 1 | 2012-02-12T12:43:50Z | 2021-09-08T23:00:59Z | 2012-02-20T17:35:04Z | NONE | resolved | fixed a bug: Requests doesn't allow multiple values for a single key if the request is with files.
This fix is not elegant though...
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/422/reactions"
} | https://api.github.com/repos/psf/requests/issues/422/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/422.diff",
"html_url": "https://github.com/psf/requests/pull/422",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/422.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/422"
} | true | [
"This fix belongs in [urllib3](https://github.com/shazow/urllib3). I hope you submit it there.\n"
] |
https://api.github.com/repos/psf/requests/issues/421 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/421/labels{/name} | https://api.github.com/repos/psf/requests/issues/421/comments | https://api.github.com/repos/psf/requests/issues/421/events | https://github.com/psf/requests/issues/421 | 3,189,528 | MDU6SXNzdWUzMTg5NTI4 | 421 | unicode strings not allowed in headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/586800?v=4",
"events_url": "https://api.github.com/users/pmdarrow/events{/privacy}",
"followers_url": "https://api.github.com/users/pmdarrow/followers",
"following_url": "https://api.github.com/users/pmdarrow/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 5 | 2012-02-12T06:47:58Z | 2021-09-09T10:00:37Z | 2012-02-13T21:10:46Z | NONE | resolved | ```
>>> import requests
>>> requests.get('www.google.com', headers={'foo': u'bar'})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/peter/Code/envs/test/lib/python2.7/site-packages/requests/api.py", line 51, in get
return request('get', url, **kwargs)
File "/Users/peter/Cod... | {
"avatar_url": "https://avatars.githubusercontent.com/u/586800?v=4",
"events_url": "https://api.github.com/users/pmdarrow/events{/privacy}",
"followers_url": "https://api.github.com/users/pmdarrow/followers",
"following_url": "https://api.github.com/users/pmdarrow/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/421/reactions"
} | https://api.github.com/repos/psf/requests/issues/421/timeline | null | completed | null | null | false | [
"We have a failing test for this right now. Working on it ;)\n",
"Contributions welcome, of course :)\n",
"I forked requests and was going to fix this but it appears that the latest checkout of the develop branch does not have this problem. I was using requests 0.10.1 from PyPI.\n",
"Dupe of https://github.co... |
https://api.github.com/repos/psf/requests/issues/420 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/420/labels{/name} | https://api.github.com/repos/psf/requests/issues/420/comments | https://api.github.com/repos/psf/requests/issues/420/events | https://github.com/psf/requests/issues/420 | 3,185,568 | MDU6SXNzdWUzMTg1NTY4 | 420 | request.get('www.httpbin.org') throws error | {
"avatar_url": "https://avatars.githubusercontent.com/u/311929?v=4",
"events_url": "https://api.github.com/users/kracekumar/events{/privacy}",
"followers_url": "https://api.github.com/users/kracekumar/followers",
"following_url": "https://api.github.com/users/kracekumar/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 4 | 2012-02-11T16:10:15Z | 2021-09-09T10:00:38Z | 2012-02-12T00:12:29Z | CONTRIBUTOR | resolved | ## In [2]: r = requests.get("www.httpbin.org")
ValueError Traceback (most recent call last)
/home/kracekumar/<ipython-input-2-4bfef4bceb42> in <module>()
----> 1 r = requests.get("www.httpbin.org")
/usr/local/lib/python2.7/dist-packages/requests/api.pyc in get(url, *_kwargs)
78
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/311929?v=4",
"events_url": "https://api.github.com/users/kracekumar/events{/privacy}",
"followers_url": "https://api.github.com/users/kracekumar/followers",
"following_url": "https://api.github.com/users/kracekumar/following{/other_user}",
"gists_url": ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/420/reactions"
} | https://api.github.com/repos/psf/requests/issues/420/timeline | null | completed | null | null | false | [
"That's not a valid URL.\n",
"Browsers had made people to forget valid URL, everyone thinks www.xyz.com is valid. \n",
"Developers don't.\n",
"oops. Then I aint look one :(\n"
] |
https://api.github.com/repos/psf/requests/issues/419 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/419/labels{/name} | https://api.github.com/repos/psf/requests/issues/419/comments | https://api.github.com/repos/psf/requests/issues/419/events | https://github.com/psf/requests/issues/419 | 3,184,400 | MDU6SXNzdWUzMTg0NDAw | 419 | RequestException should subclass RuntimeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/14172?v=4",
"events_url": "https://api.github.com/users/timbertson/events{/privacy}",
"followers_url": "https://api.github.com/users/timbertson/followers",
"following_url": "https://api.github.com/users/timbertson/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 2 | 2012-02-11T10:19:40Z | 2021-09-09T02:11:39Z | 2012-02-15T07:06:55Z | NONE | resolved | At the very least, it should subclass StandardError so that it can easily be caught without mentioning specifically or catching Exception (which is bad practice).
All of its subclasses except for maybe URLRequired are clearly runtime errors, rather than coding errors. URLRequired should possibly subclass ValueError, 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/419/reactions"
} | https://api.github.com/repos/psf/requests/issues/419/timeline | null | completed | null | null | false | [
"Sounds good to me.\n",
"Done!\n"
] |
https://api.github.com/repos/psf/requests/issues/418 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/418/labels{/name} | https://api.github.com/repos/psf/requests/issues/418/comments | https://api.github.com/repos/psf/requests/issues/418/events | https://github.com/psf/requests/issues/418 | 3,153,244 | MDU6SXNzdWUzMTUzMjQ0 | 418 | get with HTTPDigestAuth is returning 401 in 12.1 [EDIT: more data, updated requests]] | {
"avatar_url": "https://avatars.githubusercontent.com/u/471587?v=4",
"events_url": "https://api.github.com/users/telejester/events{/privacy}",
"followers_url": "https://api.github.com/users/telejester/followers",
"following_url": "https://api.github.com/users/telejester/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2012-02-09T06:57:50Z | 2021-09-09T07:05:24Z | 2012-07-27T06:03:05Z | NONE | resolved | Although I can get HTTPDigestAuth to work on some servers, I have a case where it doesn't seem to trap the 401 and apply the credentials. I should state for the record that this all works in the browser.
The server should reply with a 301 to another page, but it doesn't seem to be getting that far.
```
$ python
>>> ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/418/reactions"
} | https://api.github.com/repos/psf/requests/issues/418/timeline | null | completed | null | null | false | [
"Aha! Requests' 401 hook is grabbing the 301 the server is returning -- and clobbering it by treating it like another 401.\n\nWhen I send the request in such a way that no redirect is required, it works as advertised. \n\nVerbose logging makes it clear that the 301 is trapped and handled, but as the current code ru... |
https://api.github.com/repos/psf/requests/issues/417 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/417/labels{/name} | https://api.github.com/repos/psf/requests/issues/417/comments | https://api.github.com/repos/psf/requests/issues/417/events | https://github.com/psf/requests/pull/417 | 3,151,631 | MDExOlB1bGxSZXF1ZXN0ODAzMTg3 | 417 | Zlib decompress fix | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | false | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 7 | 2012-02-09T02:53:38Z | 2014-07-02T14:30:56Z | 2012-02-15T08:06:03Z | NONE | null | #336 fixed.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/417/reactions"
} | https://api.github.com/repos/psf/requests/issues/417/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/417.diff",
"html_url": "https://github.com/psf/requests/pull/417",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/417.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/417"
} | true | [
"Can't this argument to `decompress` be somehow calculated before call?\n",
"We shouldn't be relying on urllib3 for decompression right now, actually.\n",
"The fact that we are is a bug.\n",
"> We shouldn't be relying on urllib3 for decompression right now, actually.\n> The fact that we are is a bug.\n\n@kenn... |
https://api.github.com/repos/psf/requests/issues/416 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/416/labels{/name} | https://api.github.com/repos/psf/requests/issues/416/comments | https://api.github.com/repos/psf/requests/issues/416/events | https://github.com/psf/requests/issues/416 | 3,134,790 | MDU6SXNzdWUzMTM0Nzkw | 416 | Make requests.request data kwarg accept file-like objects | {
"avatar_url": "https://avatars.githubusercontent.com/u/75556?v=4",
"events_url": "https://api.github.com/users/gtaylor/events{/privacy}",
"followers_url": "https://api.github.com/users/gtaylor/followers",
"following_url": "https://api.github.com/users/gtaylor/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2012-02-08T01:45:00Z | 2021-09-09T07:05:24Z | 2012-07-27T06:03:11Z | NONE | resolved | It would be of great help to boto and others dealing with large files if requests.request's data kwarg accepted file-like objects, in addition to bytes and dicts. In the case of boto and S3, the max file upload size is 5GB. Many VMs and lesser machines don't have that much RAM, so this quickly grinds them to a halt. Be... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/416/reactions"
} | https://api.github.com/repos/psf/requests/issues/416/timeline | null | completed | null | null | false | [
"@garnaat mentioning you here so you're aware of this issue.\n",
"why not use parameter `files`?\n\n`:param files: (optional) Dictionary of 'filename': file-like-objects for multipart encoding upload.`\n",
"Because we're not dealing with multi-part uploads, if I understand correctly.\n\nAlso, @kennethreitz ment... |
https://api.github.com/repos/psf/requests/issues/415 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/415/labels{/name} | https://api.github.com/repos/psf/requests/issues/415/comments | https://api.github.com/repos/psf/requests/issues/415/events | https://github.com/psf/requests/issues/415 | 3,126,823 | MDU6SXNzdWUzMTI2ODIz | 415 | Tests fail for application/json content type | {
"avatar_url": "https://avatars.githubusercontent.com/u/404227?v=4",
"events_url": "https://api.github.com/users/francescomari/events{/privacy}",
"followers_url": "https://api.github.com/users/francescomari/followers",
"following_url": "https://api.github.com/users/francescomari/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 2 | 2012-02-07T16:41:02Z | 2021-09-09T10:00:39Z | 2012-02-07T18:27:35Z | NONE | resolved | Almost every test case reads the property `response.text` to assert against response data. According to `Response.text()`, this property is `None` if it's not possible to detect the encoding of the content in the response. Should the tests use `response.content` instead?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/404227?v=4",
"events_url": "https://api.github.com/users/francescomari/events{/privacy}",
"followers_url": "https://api.github.com/users/francescomari/followers",
"following_url": "https://api.github.com/users/francescomari/following{/other_user}",
"gis... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/415/reactions"
} | https://api.github.com/repos/psf/requests/issues/415/timeline | null | completed | null | null | false | [
"You don't have the dependency `chardet` installed then.\n",
"Me so stupid. Closing the issue.\n"
] |
https://api.github.com/repos/psf/requests/issues/414 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/414/labels{/name} | https://api.github.com/repos/psf/requests/issues/414/comments | https://api.github.com/repos/psf/requests/issues/414/events | https://github.com/psf/requests/issues/414 | 3,111,900 | MDU6SXNzdWUzMTExOTAw | 414 | Redirect to unicode URL fails. | {
"avatar_url": "https://avatars.githubusercontent.com/u/95922?v=4",
"events_url": "https://api.github.com/users/jvangael/events{/privacy}",
"followers_url": "https://api.github.com/users/jvangael/followers",
"following_url": "https://api.github.com/users/jvangael/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 3 | 2012-02-06T18:07:27Z | 2021-09-09T09:00:50Z | 2012-02-15T06:14:44Z | NONE | resolved | When I use requests 0.10.1 to get a URL like the following
http://www.amazon.co.uk/dp/B0002862UW
with a special user agent so that amazon redirects to a URL with unicode in it, requests will fail with a TooManyRedirects exception. E.g.
`r = requests.get(u'http://www.amazon.co.uk/dp/B0002862UW', headers={'User-Agent'... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/414/reactions"
} | https://api.github.com/repos/psf/requests/issues/414/timeline | null | completed | null | null | false | [
"Thanks for the report. I'll try to push out a fix in the next release.\n",
"done!\n",
"Thank you so much!\n\nOn Wednesday, 15 February 2012 at 06:14, Kenneth Reitz wrote:\n\n> done!\n> \n> ---\n> \n> Reply to this email directly or view it on GitHub:\n> https://github.com/kennethreitz/requests/issues/414#issue... |
https://api.github.com/repos/psf/requests/issues/413 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/413/labels{/name} | https://api.github.com/repos/psf/requests/issues/413/comments | https://api.github.com/repos/psf/requests/issues/413/events | https://github.com/psf/requests/pull/413 | 3,107,280 | MDExOlB1bGxSZXF1ZXN0Nzg2NDI4 | 413 | Typo fix in oreos/structures.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/367440?v=4",
"events_url": "https://api.github.com/users/bancek/events{/privacy}",
"followers_url": "https://api.github.com/users/bancek/followers",
"following_url": "https://api.github.com/users/bancek/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2012-02-06T12:42:45Z | 2021-09-08T14:00:56Z | 2012-02-06T17:08: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/413/reactions"
} | https://api.github.com/repos/psf/requests/issues/413/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/413.diff",
"html_url": "https://github.com/psf/requests/pull/413",
"merged_at": "2012-02-06T17:08:03Z",
"patch_url": "https://github.com/psf/requests/pull/413.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/413"
} | true | [
"Thanks :)\n"
] | |
https://api.github.com/repos/psf/requests/issues/412 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/412/labels{/name} | https://api.github.com/repos/psf/requests/issues/412/comments | https://api.github.com/repos/psf/requests/issues/412/events | https://github.com/psf/requests/pull/412 | 3,106,755 | MDExOlB1bGxSZXF1ZXN0Nzg2MjM1 | 412 | added use_2to3=True to setup. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1269088?v=4",
"events_url": "https://api.github.com/users/doloopwhile/events{/privacy}",
"followers_url": "https://api.github.com/users/doloopwhile/followers",
"following_url": "https://api.github.com/users/doloopwhile/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2012-02-06T11:47:35Z | 2021-09-08T14:00:56Z | 2012-02-12T10:14:03Z | 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/412/reactions"
} | https://api.github.com/repos/psf/requests/issues/412/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/412.diff",
"html_url": "https://github.com/psf/requests/pull/412",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/412.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/412"
} | true | [
"Why did you do this?\n",
"Sorry. I want to make the package 3.x compatible. use_2to3 is a keyword parameter added by Distribute. If use_2to3=True was set, setup script automatically apply 2to3 to package.\n\nBut, the code that I commit include a bug. Due to use_2to3=True, setup() in my commit will apply 2to3 eve... | |
https://api.github.com/repos/psf/requests/issues/411 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/411/labels{/name} | https://api.github.com/repos/psf/requests/issues/411/comments | https://api.github.com/repos/psf/requests/issues/411/events | https://github.com/psf/requests/issues/411 | 3,101,431 | MDU6SXNzdWUzMTAxNDMx | 411 | Indicated version on python-requests.org higher than what's actually released | {
"avatar_url": "https://avatars.githubusercontent.com/u/78236?v=4",
"events_url": "https://api.github.com/users/mineo/events{/privacy}",
"followers_url": "https://api.github.com/users/mineo/followers",
"following_url": "https://api.github.com/users/mineo/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 5 | 2012-02-05T20:28:26Z | 2021-09-09T10:00:39Z | 2012-02-05T20:58:23Z | NONE | resolved | [python-requests.org](http://docs.python-requests.org/en/latest/index.html) shows 0.10.2, but neither [PyPI](http://pypi.python.org/pypi/requests/) nor gits tags know about that release.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/78236?v=4",
"events_url": "https://api.github.com/users/mineo/events{/privacy}",
"followers_url": "https://api.github.com/users/mineo/followers",
"following_url": "https://api.github.com/users/mineo/following{/other_user}",
"gists_url": "https://api.git... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/411/reactions"
} | https://api.github.com/repos/psf/requests/issues/411/timeline | null | completed | null | null | false | [
"It's the development docs of the next release. \n",
"But that means these docs are not for the version I get when following the installation instructions right next to the version number (well, at least not if I use pip or easy_install). That's not really elegant, is it?\n",
"Usually the overlap is only for a ... |
https://api.github.com/repos/psf/requests/issues/410 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/410/labels{/name} | https://api.github.com/repos/psf/requests/issues/410/comments | https://api.github.com/repos/psf/requests/issues/410/events | https://github.com/psf/requests/pull/410 | 3,097,386 | MDExOlB1bGxSZXF1ZXN0NzgzNjE5 | 410 | Fix SyntaxError on Python3 because "except Error, e" is not supported anymore | {
"avatar_url": "https://avatars.githubusercontent.com/u/212279?v=4",
"events_url": "https://api.github.com/users/eriol/events{/privacy}",
"followers_url": "https://api.github.com/users/eriol/followers",
"following_url": "https://api.github.com/users/eriol/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 2 | 2012-02-05T03:27:08Z | 2021-09-08T14:00:55Z | 2012-02-12T10:16:48Z | CONTRIBUTOR | resolved | Since requests 0.10.1 dropped Python5 support, to catch an exception and
store the exception object in a variable the "as" keyword can be used so
Python3 will not raise a SyntaxError.
Kind regards,
Daniele Tricoli
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/410/reactions"
} | https://api.github.com/repos/psf/requests/issues/410/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/410.diff",
"html_url": "https://github.com/psf/requests/pull/410",
"merged_at": "2012-02-12T10:16:48Z",
"patch_url": "https://github.com/psf/requests/pull/410.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/410"
} | true | [
"s/Python5/Python2.5/ of course!\n\nCheers,\nDaniele Tricoli\n",
"Oreos isn't imported or included in python 3. I'll merge anyway though :)\n"
] |
https://api.github.com/repos/psf/requests/issues/409 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/409/labels{/name} | https://api.github.com/repos/psf/requests/issues/409/comments | https://api.github.com/repos/psf/requests/issues/409/events | https://github.com/psf/requests/pull/409 | 3,097,302 | MDExOlB1bGxSZXF1ZXN0NzgzNTg5 | 409 | Correct header enumeration with unicode instances | {
"avatar_url": "https://avatars.githubusercontent.com/u/75556?v=4",
"events_url": "https://api.github.com/users/gtaylor/events{/privacy}",
"followers_url": "https://api.github.com/users/gtaylor/followers",
"following_url": "https://api.github.com/users/gtaylor/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2012-02-05T02:58:02Z | 2021-09-08T14:00:55Z | 2012-02-05T19:00:40Z | NONE | resolved | Use basestring instead of str to determine when to return headers as-is. This makes sure that unicode instances aren't enumerated.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/409/reactions"
} | https://api.github.com/repos/psf/requests/issues/409/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/409.diff",
"html_url": "https://github.com/psf/requests/pull/409",
"merged_at": "2012-02-05T19:00:40Z",
"patch_url": "https://github.com/psf/requests/pull/409.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/409"
} | true | [
"Hmm, this isn't compatible with Python 3.\n",
"Added the necessary basestring fun to requests.compat to make this work on Python 3.\n"
] |
https://api.github.com/repos/psf/requests/issues/408 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/408/labels{/name} | https://api.github.com/repos/psf/requests/issues/408/comments | https://api.github.com/repos/psf/requests/issues/408/events | https://github.com/psf/requests/issues/408 | 3,070,135 | MDU6SXNzdWUzMDcwMTM1 | 408 | Requests no longer python2.5 compatible | {
"avatar_url": "https://avatars.githubusercontent.com/u/95281?v=4",
"events_url": "https://api.github.com/users/seanodonnell/events{/privacy}",
"followers_url": "https://api.github.com/users/seanodonnell/followers",
"following_url": "https://api.github.com/users/seanodonnell/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 5 | 2012-02-02T16:20:23Z | 2021-09-09T10:00:39Z | 2012-02-03T18:30:15Z | NONE | resolved | Looks like this commit took it down
https://github.com/kennethreitz/requests/commit/b0e2e4f284f619536b7f405122bb1a93900cd743
and specificially the use of the byte literal here
- L = [chr(random.randrange(0, 256)).encode('utf-8') for i in range(n)]
189
- return b"".join(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/408/reactions"
} | https://api.github.com/repos/psf/requests/issues/408/timeline | null | completed | null | null | false | [
"There are many commits that took it down — it was an intentional decision ;)\n",
"fair enough, you may want to take 2.5 off the listof supported versions in the docs so\n",
"Where do you see it?\n",
" http://docs.python-requests.org/en/latest/community/faq/ in the python 3 support section\n",
"Whoops, I th... |
https://api.github.com/repos/psf/requests/issues/407 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/407/labels{/name} | https://api.github.com/repos/psf/requests/issues/407/comments | https://api.github.com/repos/psf/requests/issues/407/events | https://github.com/psf/requests/issues/407 | 3,069,558 | MDU6SXNzdWUzMDY5NTU4 | 407 | Cannot upload binary data using auth | {
"avatar_url": "https://avatars.githubusercontent.com/u/133055?v=4",
"events_url": "https://api.github.com/users/arty-name/events{/privacy}",
"followers_url": "https://api.github.com/users/arty-name/followers",
"following_url": "https://api.github.com/users/arty-name/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 3 | 2012-02-02T15:46:03Z | 2021-09-09T10:00:36Z | 2012-02-15T07:01:42Z | NONE | resolved | Simplest way to reproduce that:
```
requests.get('http://example.com/', auth=('a','b'), data='\xff')
…
File "/usr/lib/python2.7/httplib.py", line 810, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 0: ordinal not in range(128)
```
It appear that when yo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/407/reactions"
} | https://api.github.com/repos/psf/requests/issues/407/timeline | null | completed | null | null | false | [
"I don't think that's the issue. It seems there's an issue with uploading binary data in general in 0.10.1. Working on it ;)\n",
"+1 for this problem. I will downgrade the requests if this is related only to 0.10.1.\n",
"Yes, It works in version 0.10.0.\n"
] |
https://api.github.com/repos/psf/requests/issues/406 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/406/labels{/name} | https://api.github.com/repos/psf/requests/issues/406/comments | https://api.github.com/repos/psf/requests/issues/406/events | https://github.com/psf/requests/issues/406 | 3,066,624 | MDU6SXNzdWUzMDY2NjI0 | 406 | Ability to override quote per request / session | {
"avatar_url": "https://avatars.githubusercontent.com/u/290976?v=4",
"events_url": "https://api.github.com/users/vmihailenco/events{/privacy}",
"followers_url": "https://api.github.com/users/vmihailenco/followers",
"following_url": "https://api.github.com/users/vmihailenco/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 2 | 2012-02-02T11:44:23Z | 2021-09-09T10:00:36Z | 2012-02-15T06:15:20Z | NONE | resolved | Amazon S3 allows serving images with signed URLs. Such URL looks like:
https://BUCKET.s3.amazonaws.com/IMAGE?AWSAccessKeyId=KEY&Expires=EXPIRES&Signature=SIGNATURE
So site should calculate SIGNATURE for given URL and expiration time. Then I can fetch that URL using python-requests.
But the problem is that some langu... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/406/reactions"
} | https://api.github.com/repos/psf/requests/issues/406/timeline | null | completed | null | null | false | [
"Related: issue #392 colon in url path is escaped\n",
"I still think this is a good idea, but it should be unnecessary now.\n"
] |
https://api.github.com/repos/psf/requests/issues/405 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/405/labels{/name} | https://api.github.com/repos/psf/requests/issues/405/comments | https://api.github.com/repos/psf/requests/issues/405/events | https://github.com/psf/requests/issues/405 | 3,038,242 | MDU6SXNzdWUzMDM4MjQy | 405 | POST request without data payload leads to 411 | {
"avatar_url": "https://avatars.githubusercontent.com/u/105398?v=4",
"events_url": "https://api.github.com/users/nickdeveaux/events{/privacy}",
"followers_url": "https://api.github.com/users/nickdeveaux/followers",
"following_url": "https://api.github.com/users/nickdeveaux/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 3 | 2012-01-31T16:27:48Z | 2021-09-09T10:00:37Z | 2012-02-12T10:20:37Z | NONE | resolved | This behavior was observed while using the requests.post() function on a cherrypy server. The response from the server: HTTP error 411 : no content-length specified.
When the data parameter was passed into the requests.post() function, issue was 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/405/reactions"
} | https://api.github.com/repos/psf/requests/issues/405/timeline | null | completed | null | null | false | [
"It would be nice if you wrote what version was used...\nAlso, [searching](https://github.com/kennethreitz/requests/issues/search?q=length) for length in opened issues brings issue #223 \"Content-Length is missing\" as the first hit.\n",
"Same here #356 & #223\n",
"Closing for #223\n"
] |
https://api.github.com/repos/psf/requests/issues/404 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/404/labels{/name} | https://api.github.com/repos/psf/requests/issues/404/comments | https://api.github.com/repos/psf/requests/issues/404/events | https://github.com/psf/requests/issues/404 | 3,035,202 | MDU6SXNzdWUzMDM1MjAy | 404 | Redirection problem | {
"avatar_url": "https://avatars.githubusercontent.com/u/86238?v=4",
"events_url": "https://api.github.com/users/namlook/events{/privacy}",
"followers_url": "https://api.github.com/users/namlook/followers",
"following_url": "https://api.github.com/users/namlook/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 8 | 2012-01-31T12:48:04Z | 2021-09-09T09:00:49Z | 2012-02-18T17:45:52Z | NONE | resolved | Making a GET request with the python module Requests ends up with strange url:
``` python
>>> import requests
>>> r = requests.get("http://t.co/Uspy071j")
>>> print r.url
http://feeds.feedburner.com/%257Er/LesArdoises/%257E3/bD2JuJagz5I/roxino-cest-tout-vert.html?utm_source=twitterfeed&utm_medium=twitter
```
This url... | {
"avatar_url": "https://avatars.githubusercontent.com/u/86238?v=4",
"events_url": "https://api.github.com/users/namlook/events{/privacy}",
"followers_url": "https://api.github.com/users/namlook/followers",
"following_url": "https://api.github.com/users/namlook/following{/other_user}",
"gists_url": "https://a... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/404/reactions"
} | https://api.github.com/repos/psf/requests/issues/404/timeline | null | completed | null | null | false | [
"Well... suits this issue right to be #404.\n",
"Probably due to issue #269 fix subsequent redirect request method type\n",
"@yuvadm Yep, this is really a deal breaker for me. Its a shame 'cause requests fill all my needs but this redirection problem break the tool...\n\n@piotr-dobrogost I hope this will be fix... |
https://api.github.com/repos/psf/requests/issues/403 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/403/labels{/name} | https://api.github.com/repos/psf/requests/issues/403/comments | https://api.github.com/repos/psf/requests/issues/403/events | https://github.com/psf/requests/issues/403 | 3,028,476 | MDU6SXNzdWUzMDI4NDc2 | 403 | Binary POST data stopped working in requests 0.10.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1081620?v=4",
"events_url": "https://api.github.com/users/vimalb/events{/privacy}",
"followers_url": "https://api.github.com/users/vimalb/followers",
"following_url": "https://api.github.com/users/vimalb/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 5 | 2012-01-30T23:13:57Z | 2021-09-09T04:00:49Z | 2012-02-15T07:05:36Z | NONE | resolved | The following method for POSTing binary data worked with requests 0.10.0 on Python 2.7.1 (Ubuntu 11.04 x64) :
```
bodybytes = '\xDE\xAD\xBE\xEF'
r = requests.post(url, data=bodybytes)
```
With requests 0.10.1 on the same environment, it no longer works correctly. Specifically, the body data does not get appended corr... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/403/reactions"
} | https://api.github.com/repos/psf/requests/issues/403/timeline | null | completed | null | null | false | [
"Not sure if this is related but I also got problem uploading binary data with 0.10.1 which work just fine in 0.9.0. I have the following code which upload photo to Flickr API:-\n\n<pre>\ndef upload_photo(self, inputfile, **kwargs):\n parameters = kwargs\n req = self.sign_request(UPLOAD_URL, parameter... |
https://api.github.com/repos/psf/requests/issues/402 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/402/labels{/name} | https://api.github.com/repos/psf/requests/issues/402/comments | https://api.github.com/repos/psf/requests/issues/402/events | https://github.com/psf/requests/pull/402 | 3,020,051 | MDExOlB1bGxSZXF1ZXN0NzU0MDkw | 402 | The `self` was missing again, and I think the two blocks were redundant. | {
"avatar_url": "https://avatars.githubusercontent.com/u/223663?v=4",
"events_url": "https://api.github.com/users/Telofy/events{/privacy}",
"followers_url": "https://api.github.com/users/Telofy/followers",
"following_url": "https://api.github.com/users/Telofy/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2012-01-30T13:02:58Z | 2021-09-08T14:00:54Z | 2012-01-30T14:41:17Z | NONE | resolved | I hope I’m not overlooking something regarding the two try-except blocks, but I can’t think of a scenario where they’d make any difference. Thanks.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/402/reactions"
} | https://api.github.com/repos/psf/requests/issues/402/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/402.diff",
"html_url": "https://github.com/psf/requests/pull/402",
"merged_at": "2012-01-30T14:41:17Z",
"patch_url": "https://github.com/psf/requests/pull/402.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/402"
} | true | [
"Hmm, I think you're right. Good call.\n"
] |
https://api.github.com/repos/psf/requests/issues/401 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/401/labels{/name} | https://api.github.com/repos/psf/requests/issues/401/comments | https://api.github.com/repos/psf/requests/issues/401/events | https://github.com/psf/requests/pull/401 | 3,016,949 | MDExOlB1bGxSZXF1ZXN0NzUzMDg1 | 401 | Added ability to check if missing trailing slash in path. | {
"avatar_url": "https://avatars.githubusercontent.com/u/425026?v=4",
"events_url": "https://api.github.com/users/brendon-codes/events{/privacy}",
"followers_url": "https://api.github.com/users/brendon-codes/followers",
"following_url": "https://api.github.com/users/brendon-codes/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 2 | 2012-01-30T07:28:31Z | 2021-09-08T14:00:54Z | 2012-01-30T14:33:37Z | CONTRIBUTOR | resolved | Previously this URL would not work:
```
http://example.com?foo=bar
```
But this URL would work:
```
http://example.com/?foo=bar
```
Even though a slash is required for a valid URL, it is a common use case
for the slash to be left out, so it would be a good idea to account for this.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/401/reactions"
} | https://api.github.com/repos/psf/requests/issues/401/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/401.diff",
"html_url": "https://github.com/psf/requests/pull/401",
"merged_at": "2012-01-30T14:33:36Z",
"patch_url": "https://github.com/psf/requests/pull/401.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/401"
} | true | [
"A supporting reason to consider this patch...\n\nAn example of a missing slash can actually been seen on the Requests documentation homepage at http://docs.python-requests.org/en/latest/index.html :\n\n```\nr = requests.get('https://api.github.com', auth=('user', 'pass'))\n```\n\nIf that example had any params suc... |
https://api.github.com/repos/psf/requests/issues/400 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/400/labels{/name} | https://api.github.com/repos/psf/requests/issues/400/comments | https://api.github.com/repos/psf/requests/issues/400/events | https://github.com/psf/requests/issues/400 | 3,014,651 | MDU6SXNzdWUzMDE0NjUx | 400 | Unfortunate header unicode interactions | {
"avatar_url": "https://avatars.githubusercontent.com/u/46565?v=4",
"events_url": "https://api.github.com/users/acdha/events{/privacy}",
"followers_url": "https://api.github.com/users/acdha/followers",
"following_url": "https://api.github.com/users/acdha/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 12 | 2012-01-30T00:19:28Z | 2021-09-09T10:00:35Z | 2012-02-15T07:01:05Z | CONTRIBUTOR | resolved | header_expand (https://github.com/kennethreitz/requests/blob/develop/requests/utils.py#L149) has a fast path which only supports `str`. Unfortunately, `response.url` will contain a unicode string which means that anyone doing something like `requests.get(response.url, headers={'Referer': response.url})` will get a `Val... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/400/reactions"
} | https://api.github.com/repos/psf/requests/issues/400/timeline | null | completed | null | null | false | [
"We have a failing test in `develop` right now for this actually :)\n",
"Spent some time scratching my head over this.\n\nThe language of http://www.ietf.org/rfc/rfc2047.txt suggests that headers can only be ASCII (maybe latin1?) so it seems that the behavior is correct.\n\nAdding:\n\n``` python\nelif isinstance(... |
https://api.github.com/repos/psf/requests/issues/399 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/399/labels{/name} | https://api.github.com/repos/psf/requests/issues/399/comments | https://api.github.com/repos/psf/requests/issues/399/events | https://github.com/psf/requests/pull/399 | 3,014,532 | MDExOlB1bGxSZXF1ZXN0NzUyMzY2 | 399 | Fix for #239: “Too many open files” | {
"avatar_url": "https://avatars.githubusercontent.com/u/46565?v=4",
"events_url": "https://api.github.com/users/acdha/events{/privacy}",
"followers_url": "https://api.github.com/users/acdha/followers",
"following_url": "https://api.github.com/users/acdha/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 7 | 2012-01-29T23:58:02Z | 2021-09-08T23:07:29Z | 2012-01-30T00:06:46Z | CONTRIBUTOR | resolved | The underlying problem appears to have been consuming async replies too late in two places:
1. async.send(prefetch=True) did not pass prefetch=True to the request.send() call but instead consumed the responses _after_ all of them had been processed, leading to an error any time the total number of requests exceeded the... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/399/reactions"
} | https://api.github.com/repos/psf/requests/issues/399/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/399.diff",
"html_url": "https://github.com/psf/requests/pull/399",
"merged_at": "2012-01-30T00:06:46Z",
"patch_url": "https://github.com/psf/requests/pull/399.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/399"
} | true | [
"Beautiful.\n",
"I might revisit this — there's really no need to download the content at all.\n",
"I'm not sure how much difference it will make for redirects - are you receiving non-zero byte contents from many servers? I'm assuming that if it fits in one 1500 byte packet it's probably not worth worrying abou... |
https://api.github.com/repos/psf/requests/issues/398 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/398/labels{/name} | https://api.github.com/repos/psf/requests/issues/398/comments | https://api.github.com/repos/psf/requests/issues/398/events | https://github.com/psf/requests/issues/398 | 3,014,020 | MDU6SXNzdWUzMDE0MDIw | 398 | Header capitalization causes problems with some web servers | {
"avatar_url": "https://avatars.githubusercontent.com/u/651797?v=4",
"events_url": "https://api.github.com/users/foxx/events{/privacy}",
"followers_url": "https://api.github.com/users/foxx/followers",
"following_url": "https://api.github.com/users/foxx/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 10 | 2012-01-29T22:34:19Z | 2021-09-09T10:00:35Z | 2012-02-15T07:06:35Z | NONE | resolved | As raised here:
http://bugs.python.org/issue12455
Although your documentation states:
"The dictionary is special, though: it’s made just for HTTP headers. According to RFC 2616 , HTTP Headers are case-insensitive"
It should be noted that many web servers do not conform to this standard, and enforcing it makes some 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/398/reactions"
} | https://api.github.com/repos/psf/requests/issues/398/timeline | null | completed | null | null | false | [
"Also note, this is affecting cookies (name/value) as well.\n",
"Headers should be sent upstream untouched. If they aren't currently, there's a bug.\n",
"I'm making a patch for this now, along with full debug, will send shortly.\n",
"Thanks a ton!\n",
"Only queries should be case-insensitive. \n",
"Okay, ... |
https://api.github.com/repos/psf/requests/issues/397 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/397/labels{/name} | https://api.github.com/repos/psf/requests/issues/397/comments | https://api.github.com/repos/psf/requests/issues/397/events | https://github.com/psf/requests/issues/397 | 3,009,623 | MDU6SXNzdWUzMDA5NjIz | 397 | Ability to declare how the content should be parsed | {
"avatar_url": "https://avatars.githubusercontent.com/u/27889?v=4",
"events_url": "https://api.github.com/users/timClicks/events{/privacy}",
"followers_url": "https://api.github.com/users/timClicks/followers",
"following_url": "https://api.github.com/users/timClicks/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 9 | 2012-01-29T03:39:39Z | 2021-09-09T10:00:40Z | 2012-01-29T04:03:41Z | NONE | resolved | Just an idea. Make it super-simple to get the objects to users. When playing in the Python prompt with a new API, this looks pretty normal:
``` python
>>> import json
>>> import requests
>>> res = requests.get('http://example.com/data.json')
>>> data = json.loads(res.content)
...
```
Here's a suggestion that might ad... | {
"avatar_url": "https://avatars.githubusercontent.com/u/27889?v=4",
"events_url": "https://api.github.com/users/timClicks/events{/privacy}",
"followers_url": "https://api.github.com/users/timClicks/followers",
"following_url": "https://api.github.com/users/timClicks/following{/other_user}",
"gists_url": "htt... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/397/reactions"
} | https://api.github.com/repos/psf/requests/issues/397/timeline | null | completed | null | null | false | [
"This has been deeply considered before and decided against.\n\nI definitely see the use case and understand the desire for this functionality, but it would quickly get out of scope. At the end of the day, requests is a HTTP module, not a HTML, JSON, YAML, XML, etc module. I'll link to a few past discussions below.... |
https://api.github.com/repos/psf/requests/issues/396 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/396/labels{/name} | https://api.github.com/repos/psf/requests/issues/396/comments | https://api.github.com/repos/psf/requests/issues/396/events | https://github.com/psf/requests/issues/396 | 3,004,043 | MDU6SXNzdWUzMDA0MDQz | 396 | Track upload/download progress | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 8 | 2012-01-28T08:45:15Z | 2021-09-09T07:05:24Z | 2012-07-27T06:03:23Z | NONE | resolved | I think this would be an interesting feature for Requests.
I really miss it!
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/396/reactions"
} | https://api.github.com/repos/psf/requests/issues/396/timeline | null | completed | null | null | false | [
"Moved to [Urllib3](https://github.com/shazow/urllib3/issues/43).\n",
"Use the content-length header to find out the size of the content being downloaded, and then use [iter_content](http://docs.python-requests.org/en/latest/api/?highlight=iter#requests.Response.iter_content) to download it, updating your downloa... |
https://api.github.com/repos/psf/requests/issues/395 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/395/labels{/name} | https://api.github.com/repos/psf/requests/issues/395/comments | https://api.github.com/repos/psf/requests/issues/395/events | https://github.com/psf/requests/issues/395 | 3,003,859 | MDU6SXNzdWUzMDAzODU5 | 395 | Quoted urls don't work in newer versions | {
"avatar_url": "https://avatars.githubusercontent.com/u/14459?v=4",
"events_url": "https://api.github.com/users/bwhite/events{/privacy}",
"followers_url": "https://api.github.com/users/bwhite/followers",
"following_url": "https://api.github.com/users/bwhite/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 2 | 2012-01-28T07:30:29Z | 2021-09-09T10:00:37Z | 2012-02-15T06:14:15Z | NONE | resolved | This worked in 9.1
requests.get('http://knowyourmeme.com/memes/ming-general-sushi-%E6%98%8E%E5%B0%87%E5%A3%BD%E5%8F%B8/photos').status_code
And would give 200 as a status code. In 10.1 it doesn't work. I also tried to unquote it and utf-8 decode it and neither of those worked. I see that several unicode changes hap... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/395/reactions"
} | https://api.github.com/repos/psf/requests/issues/395/timeline | null | completed | null | null | false | [
"This was fixed in #387. It works with current develop branch.\n",
"200 again!\n"
] |
https://api.github.com/repos/psf/requests/issues/394 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/394/labels{/name} | https://api.github.com/repos/psf/requests/issues/394/comments | https://api.github.com/repos/psf/requests/issues/394/events | https://github.com/psf/requests/issues/394 | 2,996,931 | MDU6SXNzdWUyOTk2OTMx | 394 | Binding a particular IP | {
"avatar_url": "https://avatars.githubusercontent.com/u/184600?v=4",
"events_url": "https://api.github.com/users/jibaku/events{/privacy}",
"followers_url": "https://api.github.com/users/jibaku/followers",
"following_url": "https://api.github.com/users/jibaku/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 15 | 2012-01-27T16:59:42Z | 2018-12-20T20:25:15Z | 2012-02-12T10:22:11Z | NONE | resolved | It would be great to be able to bound a particular IP as the source address (for hosts with multiple IP addresses).
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/394/reactions"
} | https://api.github.com/repos/psf/requests/issues/394/timeline | null | completed | null | null | false | [
"Interesting. How do you invision the usage?\n",
"^ shazow/urllib3#9\n",
"The goal is to write a crawler using an IP associated with a particular country. But I don't know how it would be used on a API level. \n",
"Couldn't you just send a request to an IP with a particular `Host` header?\n",
"No, because i... |
https://api.github.com/repos/psf/requests/issues/393 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/393/labels{/name} | https://api.github.com/repos/psf/requests/issues/393/comments | https://api.github.com/repos/psf/requests/issues/393/events | https://github.com/psf/requests/issues/393 | 2,993,677 | MDU6SXNzdWUyOTkzNjc3 | 393 | Support proxies set in environment variables | {
"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 | 5 | 2012-01-27T12:30:26Z | 2021-09-09T07:05:20Z | 2012-07-27T06:03:40Z | NONE | resolved | A common standard supported by many command-line tools is to use environment variables to configure proxies. The variables are described in full here:
http://www.gnu.org/software/wget/manual/html_node/Proxies.html
According to the documentation, urllib and urllib2 support this.
Note that the environment variable nam... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/393/reactions"
} | https://api.github.com/repos/psf/requests/issues/393/timeline | null | completed | null | null | false | [
"I would _love_ this.\n",
"Are you sure this is not working already - I tested using\n\n``` sh\npip install mitmproxy\nmitmproxy\n```\n\nThis works:\n\n``` sh\nexport https_proxy=http://localhost:8080\npython -c \"import requests; requests.get('https://github.com/')\"\n```\n\nThis doesn't\n\n``` sh\nexport https_... |
https://api.github.com/repos/psf/requests/issues/392 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/392/labels{/name} | https://api.github.com/repos/psf/requests/issues/392/comments | https://api.github.com/repos/psf/requests/issues/392/events | https://github.com/psf/requests/issues/392 | 2,993,014 | MDU6SXNzdWUyOTkzMDE0 | 392 | colon in url path is escaped | {
"avatar_url": "https://avatars.githubusercontent.com/u/49957?v=4",
"events_url": "https://api.github.com/users/fmarani/events{/privacy}",
"followers_url": "https://api.github.com/users/fmarani/followers",
"following_url": "https://api.github.com/users/fmarani/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 12 | 2012-01-27T11:07:35Z | 2021-09-09T09:00:44Z | 2012-03-08T01:36:36Z | NONE | resolved | if you get a url with this format http://www.colon.com/kql:a/in, the colon after kql becomes escaped and as far as i understood it shouldn't.
Same behavior does not happen in urllib2.
See http://stackoverflow.com/questions/2053132/is-a-colon-safe-for-friendly-url-use
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/392/reactions"
} | https://api.github.com/repos/psf/requests/issues/392/timeline | null | completed | null | null | false | [
"The question you refer to talks specifically about [fragment part](http://tools.ietf.org/html/rfc3986#section-3.5) (the part of url after `#` sign). The example you show has `:` sign in the **path** part. However, according to [3.3. Path](http://tools.ietf.org/html/rfc3986#section-3.3) section of RFC3986 `:` is al... |
https://api.github.com/repos/psf/requests/issues/391 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/391/labels{/name} | https://api.github.com/repos/psf/requests/issues/391/comments | https://api.github.com/repos/psf/requests/issues/391/events | https://github.com/psf/requests/issues/391 | 2,986,702 | MDU6SXNzdWUyOTg2NzAy | 391 | re-enable support for scalar values in headers dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/862013?v=4",
"events_url": "https://api.github.com/users/kislyuk/events{/privacy}",
"followers_url": "https://api.github.com/users/kislyuk/followers",
"following_url": "https://api.github.com/users/kislyuk/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2012-01-26T21:53:59Z | 2021-09-09T10:00:38Z | 2012-01-28T20:25:15Z | NONE | resolved | Between 0.8.x and 0.10.x, support for this was dropped:
requests.get(resource, headers={'Authorization': 'string'})
It now requires a dict as the header value. Can we get support for both dict and string as the value?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/862013?v=4",
"events_url": "https://api.github.com/users/kislyuk/events{/privacy}",
"followers_url": "https://api.github.com/users/kislyuk/followers",
"following_url": "https://api.github.com/users/kislyuk/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/391/reactions"
} | https://api.github.com/repos/psf/requests/issues/391/timeline | null | completed | null | null | false | [
"Never mind, looks like I was passing a dict as the header value (expecting it to be automagically json dumped), and getting confused by the error. Sorry about the noise.\n",
"No worries, I'm glad you got it figured out ;)\n",
"FYI, I came back to this and realized it was because of the problem this fixed: http... |
https://api.github.com/repos/psf/requests/issues/390 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/390/labels{/name} | https://api.github.com/repos/psf/requests/issues/390/comments | https://api.github.com/repos/psf/requests/issues/390/events | https://github.com/psf/requests/pull/390 | 2,984,778 | MDExOlB1bGxSZXF1ZXN0NzQyMjUz | 390 | add failing test for unicode headers (python 2.x only) | {
"avatar_url": "https://avatars.githubusercontent.com/u/631620?v=4",
"events_url": "https://api.github.com/users/davidarkemp/events{/privacy}",
"followers_url": "https://api.github.com/users/davidarkemp/followers",
"following_url": "https://api.github.com/users/davidarkemp/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2012-01-26T19:44:48Z | 2021-09-08T14:00:53Z | 2012-01-27T17:16:58Z | NONE | resolved | This adds a failing test for unicode headers in python 2.x (I've tested python 2.6)
I've tried to fix this the original problem is that in [utils.py (line 149)](https://github.com/kennethreitz/requests/blob/develop/requests/utils.py#L149) doesn't check for unicode, or rather that it doesn't import the str and bytes de... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/390/reactions"
} | https://api.github.com/repos/psf/requests/issues/390/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/390.diff",
"html_url": "https://github.com/psf/requests/pull/390",
"merged_at": "2012-01-27T17:16:58Z",
"patch_url": "https://github.com/psf/requests/pull/390.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/390"
} | true | [
"Thanks a lot! We'll have to fix this.\n"
] |
https://api.github.com/repos/psf/requests/issues/389 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/389/labels{/name} | https://api.github.com/repos/psf/requests/issues/389/comments | https://api.github.com/repos/psf/requests/issues/389/events | https://github.com/psf/requests/pull/389 | 2,974,838 | MDExOlB1bGxSZXF1ZXN0NzM4NDY2 | 389 | Fix httpbin urls with missing .org in docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/830800?v=4",
"events_url": "https://api.github.com/users/johtso/events{/privacy}",
"followers_url": "https://api.github.com/users/johtso/followers",
"following_url": "https://api.github.com/users/johtso/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2012-01-26T02:22:51Z | 2021-09-08T14:00:53Z | 2012-01-26T06:40:30Z | 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/389/reactions"
} | https://api.github.com/repos/psf/requests/issues/389/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/389.diff",
"html_url": "https://github.com/psf/requests/pull/389",
"merged_at": "2012-01-26T06:40:30Z",
"patch_url": "https://github.com/psf/requests/pull/389.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/389"
} | true | [
"whoops :)\n"
] | |
https://api.github.com/repos/psf/requests/issues/388 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/388/labels{/name} | https://api.github.com/repos/psf/requests/issues/388/comments | https://api.github.com/repos/psf/requests/issues/388/events | https://github.com/psf/requests/pull/388 | 2,974,152 | MDExOlB1bGxSZXF1ZXN0NzM4MjA0 | 388 | Develop | {
"avatar_url": "https://avatars.githubusercontent.com/u/128454?v=4",
"events_url": "https://api.github.com/users/seanjensengrey/events{/privacy}",
"followers_url": "https://api.github.com/users/seanjensengrey/followers",
"following_url": "https://api.github.com/users/seanjensengrey/following{/other_user}",
"... | [] | closed | true | null | [] | null | 4 | 2012-01-26T00:56:22Z | 2021-09-08T23:07:30Z | 2012-02-12T10:15:09Z | NONE | resolved | I noticed yesterday that requests doesn't work on Python 2.5 ( or Jython ). These commits make running the tests slightly easier to setup.
The core tests now pass on cPython 2.5. All tests (core, async, ext) pass on cPython 2.6. Working on changes to support Jython (currently one failing test in test_safe_mode).
If y... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/388/reactions"
} | https://api.github.com/repos/psf/requests/issues/388/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/388.diff",
"html_url": "https://github.com/psf/requests/pull/388",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/388.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/388"
} | true | [
"I appreciate the contribution, but Python 2.5 support was dropped intentionally. \n\nWhile it is fairly simple to support again (as this pull request shows), It's a bit more subtle than that. The main issue is that `except RequestException, e` is invalid syntax in Python 3. I'd also like to move to modern string f... |
https://api.github.com/repos/psf/requests/issues/387 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/387/labels{/name} | https://api.github.com/repos/psf/requests/issues/387/comments | https://api.github.com/repos/psf/requests/issues/387/events | https://github.com/psf/requests/pull/387 | 2,967,225 | MDExOlB1bGxSZXF1ZXN0NzM1MzAw | 387 | fix problem with path being double escaped | {
"avatar_url": "https://avatars.githubusercontent.com/u/631620?v=4",
"events_url": "https://api.github.com/users/davidarkemp/events{/privacy}",
"followers_url": "https://api.github.com/users/davidarkemp/followers",
"following_url": "https://api.github.com/users/davidarkemp/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 2 | 2012-01-25T16:24:25Z | 2021-09-09T00:01:25Z | 2012-01-25T16:25:26Z | NONE | resolved | On python 2.6.4 (at least) the path portion is getting escaped twice -> once in Request.full_url and once in Request.path_url
This fixes it, but I don't know why there was a commented test for Python 3.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/387/reactions"
} | https://api.github.com/repos/psf/requests/issues/387/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/387.diff",
"html_url": "https://github.com/psf/requests/pull/387",
"merged_at": "2012-01-25T16:25:26Z",
"patch_url": "https://github.com/psf/requests/pull/387.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/387"
} | true | [
"Nice catch. thanks!\n",
"Removing the check is not the right way to go. It fails exactly the same way in Py3. You have to remove the two lines to get it working there too.\n"
] |
https://api.github.com/repos/psf/requests/issues/386 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/386/labels{/name} | https://api.github.com/repos/psf/requests/issues/386/comments | https://api.github.com/repos/psf/requests/issues/386/events | https://github.com/psf/requests/issues/386 | 2,965,723 | MDU6SXNzdWUyOTY1NzIz | 386 | Requests and urllib3 using one test platform? | {
"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 | 8 | 2012-01-25T14:39:23Z | 2021-09-09T10:00:41Z | 2012-01-29T04:05:14Z | NONE | resolved | Basically the needs of the two libs as far as test environment is concerned are the same. It looks like there would be much benefit if requests could reuse test platform provided by urllib3.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/386/reactions"
} | https://api.github.com/repos/psf/requests/issues/386/timeline | null | completed | null | null | false | [
"@shazow have (_very_ lightly) been discussing the idea of merging our projects in the mid-future. If that comes to fruition, that will be the time to merge test suites.\n\nIn the meantime, I'm fine with requests \"trusting\" that `urllib3` is tested and reliable.\n",
"> @shazow have (very lightly) been discussin... |
https://api.github.com/repos/psf/requests/issues/385 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/385/labels{/name} | https://api.github.com/repos/psf/requests/issues/385/comments | https://api.github.com/repos/psf/requests/issues/385/events | https://github.com/psf/requests/issues/385 | 2,963,240 | MDU6SXNzdWUyOTYzMjQw | 385 | docs - how to do authentication against a proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/684948?v=4",
"events_url": "https://api.github.com/users/guillermooo/events{/privacy}",
"followers_url": "https://api.github.com/users/guillermooo/followers",
"following_url": "https://api.github.com/users/guillermooo/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 0 | 2012-01-25T10:37:45Z | 2021-09-09T07:05:35Z | 2012-07-12T21:19:34Z | NONE | resolved | The docs should mention more or less what's explained here, because it isn't obvious:
http://stackoverflow.com/questions/8862492/python-proxy-error-with-requests-library
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/385/reactions"
} | https://api.github.com/repos/psf/requests/issues/385/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/384 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/384/labels{/name} | https://api.github.com/repos/psf/requests/issues/384/comments | https://api.github.com/repos/psf/requests/issues/384/events | https://github.com/psf/requests/issues/384 | 2,957,900 | MDU6SXNzdWUyOTU3OTAw | 384 | Docs don't show how to use config API | {
"avatar_url": "https://avatars.githubusercontent.com/u/137979?v=4",
"events_url": "https://api.github.com/users/tartley/events{/privacy}",
"followers_url": "https://api.github.com/users/tartley/followers",
"following_url": "https://api.github.com/users/tartley/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2012-01-24T22:19:54Z | 2021-09-09T06:00:57Z | 2012-07-27T06:04:56Z | NONE | resolved | Hey. Newb user here. I've just spent about 30 minutes figuring out how to use the config API to set 'danger_mode' = True.
The docs don't seem to show this (or at least, I couldn't find it)
I was trying all sorts of wrong things, based on what I saw in the docs under 'Configuration API Docs' (http://docs.python-reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/384/reactions"
} | https://api.github.com/repos/psf/requests/issues/384/timeline | null | completed | null | null | false | [
"I was looking at config today and ran into the same issue. For the time being, requests.get('http://example.com').config gives a good summary of what config options are available. \n",
"http://docs.python-requests.org/en/latest/user/advanced/#configuring-requests\n",
"I don't want to be unhelpful, but I follow... |
https://api.github.com/repos/psf/requests/issues/383 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/383/labels{/name} | https://api.github.com/repos/psf/requests/issues/383/comments | https://api.github.com/repos/psf/requests/issues/383/events | https://github.com/psf/requests/pull/383 | 2,956,597 | MDExOlB1bGxSZXF1ZXN0NzMxMjMy | 383 | Standard tests from RequestsTestSuite run using async api | {
"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 | 2012-01-24T20:50:08Z | 2021-09-08T14:00:52Z | 2012-01-25T14:27:09Z | NONE | resolved | Almost all are failing... Need some feedback if it makes any sense.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/383/reactions"
} | https://api.github.com/repos/psf/requests/issues/383/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/383.diff",
"html_url": "https://github.com/psf/requests/pull/383",
"merged_at": "2012-01-25T14:27:09Z",
"patch_url": "https://github.com/psf/requests/pull/383.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/383"
} | true | [
"I haven't tried running these yet, but at first-glance these look great.\n\nI'm not a fan of the `session=s`, but I see the use case :)\n",
"@piotr-dobrogost I am seeing all the async tests pass under python 2.6, I am not able test under 2.5 right now as my gevent isn't installed properly.\n\n```\nnosetests --wi... |
https://api.github.com/repos/psf/requests/issues/382 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/382/labels{/name} | https://api.github.com/repos/psf/requests/issues/382/comments | https://api.github.com/repos/psf/requests/issues/382/events | https://github.com/psf/requests/pull/382 | 2,956,279 | MDExOlB1bGxSZXF1ZXN0NzMxMDg0 | 382 | Moved dispatch_hook call for pre_request into send method | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144197?v=4",
"events_url": "https://api.github.com/users/btoews/events{/privacy}",
"followers_url": "https://api.github.com/users/btoews/followers",
"following_url": "https://api.github.com/users/btoews/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 6 | 2012-01-24T20:25:16Z | 2021-09-08T14:00:52Z | 2012-01-25T14:27:08Z | CONTRIBUTOR | resolved | In the case of using requests.Request or async.request the pre_request hook wasn't very useful because it was called when the request was made rather than when the request was being sent. I moved the dispatch_hook call to just before the call out to conn.urlopen in request.send. Considering that multiple hooks was impl... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/382/reactions"
} | https://api.github.com/repos/psf/requests/issues/382/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/382.diff",
"html_url": "https://github.com/psf/requests/pull/382",
"merged_at": "2012-01-25T14:27:08Z",
"patch_url": "https://github.com/psf/requests/pull/382.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/382"
} | true | [
"Thanks, I like this!\n\nMaybe it would be better to have a pre-pre-request hook too ;)\n",
"I considered that, but I didn't know how much value people would find in it. We already have the args hood being called wen the request is created.\n",
"Now that we can have multiple hooks, I'd like to use hooks interna... |
https://api.github.com/repos/psf/requests/issues/381 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/381/labels{/name} | https://api.github.com/repos/psf/requests/issues/381/comments | https://api.github.com/repos/psf/requests/issues/381/events | https://github.com/psf/requests/issues/381 | 2,935,216 | MDU6SXNzdWUyOTM1MjE2 | 381 | requests.async -- catch DNS errors more explicitly? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1305819?v=4",
"events_url": "https://api.github.com/users/computableinsights/events{/privacy}",
"followers_url": "https://api.github.com/users/computableinsights/followers",
"following_url": "https://api.github.com/users/computableinsights/following{/othe... | [] | closed | true | null | [] | null | 2 | 2012-01-23T14:19:55Z | 2021-09-09T08:00:44Z | 2012-05-10T22:05:51Z | NONE | resolved | This is related to #380, however the manifestation is different when using requests.async
This could be handled by detected that the redirect URL is bogus. On the other hand, it would be good to have a more explicit exception than an low-level IOError when gevent's DNS infrastructure gets confused.
What's the best 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/381/reactions"
} | https://api.github.com/repos/psf/requests/issues/381/timeline | null | completed | null | null | false | [
"You're right. We should be catching these gevent errors and mapping them to regular request exceptions.\n",
"Async is removed from requests now. A new module, [grequests](https://github.com/kennethreitz/grequests) will replace it.\n"
] |
https://api.github.com/repos/psf/requests/issues/380 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/380/labels{/name} | https://api.github.com/repos/psf/requests/issues/380/comments | https://api.github.com/repos/psf/requests/issues/380/events | https://github.com/psf/requests/issues/380 | 2,934,841 | MDU6SXNzdWUyOTM0ODQx | 380 | redirect to bogus URL generates low-level exception; can do better | {
"avatar_url": "https://avatars.githubusercontent.com/u/1305819?v=4",
"events_url": "https://api.github.com/users/computableinsights/events{/privacy}",
"followers_url": "https://api.github.com/users/computableinsights/followers",
"following_url": "https://api.github.com/users/computableinsights/following{/othe... | [] | closed | true | null | [] | null | 5 | 2012-01-23T13:50:28Z | 2021-09-09T07:05:23Z | 2012-07-27T06:03:51Z | NONE | resolved | This issue is reported in tickets [#38](https://github.com/shazow/urllib3/issues/38) and [#39](https://github.com/shazow/urllib3/issues/39) in urllib3.
These two URLs are examples that generate bogus redirect URLs. The exceptions raised by urllib3 and by requests are not useful. Can we create a more useful exceptio... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/380/reactions"
} | https://api.github.com/repos/psf/requests/issues/380/timeline | null | completed | null | null | false | [
"Hmm, all we currently do is check that a schema exists in the url to verify that it's kosher. \n",
"This problem is not only with redirects:\n\n``` python\n>>> requests.get('http://http://')\nTraceback (most recent call last):\n File \"<stdin>\", line 1, in <module>\n File \"requests\\api.py\", line 51, in ge... |
https://api.github.com/repos/psf/requests/issues/379 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/379/labels{/name} | https://api.github.com/repos/psf/requests/issues/379/comments | https://api.github.com/repos/psf/requests/issues/379/events | https://github.com/psf/requests/pull/379 | 2,928,532 | MDExOlB1bGxSZXF1ZXN0NzIxMTE4 | 379 | Added missing parentheses and “self.” | {
"avatar_url": "https://avatars.githubusercontent.com/u/223663?v=4",
"events_url": "https://api.github.com/users/Telofy/events{/privacy}",
"followers_url": "https://api.github.com/users/Telofy/followers",
"following_url": "https://api.github.com/users/Telofy/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2012-01-22T20:24:03Z | 2021-09-08T14:00:51Z | 2012-01-22T20:25:05Z | NONE | resolved | Use e.g., http://telofy.spline.de/foo/lxml-bug-690110.html to test
the error handling. (Originally created for an lxml bug.)
Is the first block (ll. 751–755) even necessary?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/379/reactions"
} | https://api.github.com/repos/psf/requests/issues/379/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/379.diff",
"html_url": "https://github.com/psf/requests/pull/379",
"merged_at": "2012-01-22T20:25:04Z",
"patch_url": "https://github.com/psf/requests/pull/379.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/379"
} | true | [
"Parens aren't needed there, but I'll take it :)\n",
"Thanks for pulling; great library you have here. Regarding the parentheses, I think they are. Otherwise any `UnicodeError` is assigned to `TypeError`, while a `TypeError` is not caught, leading to behavior that looks utterly mind-boggling at first glance:\n\n`... |
https://api.github.com/repos/psf/requests/issues/378 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/378/labels{/name} | https://api.github.com/repos/psf/requests/issues/378/comments | https://api.github.com/repos/psf/requests/issues/378/events | https://github.com/psf/requests/issues/378 | 2,926,889 | MDU6SXNzdWUyOTI2ODg5 | 378 | Should None values in data be handled differently? | {
"avatar_url": "https://avatars.githubusercontent.com/u/830800?v=4",
"events_url": "https://api.github.com/users/johtso/events{/privacy}",
"followers_url": "https://api.github.com/users/johtso/followers",
"following_url": "https://api.github.com/users/johtso/following{/other_user}",
"gists_url": "https://api... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 19 | 2012-01-22T14:39:05Z | 2021-09-09T06:00:46Z | 2012-08-25T14:35:49Z | CONTRIBUTOR | resolved | Currently, if data contains `None` values they are passed on to `urllib.urlencode` as normal. The behaviour of `urllib.urlencode` is to always call `str()` on the key/value.
This results in the following:
``` python
urllib.urlencode({'key': None})
# 'key=None'
```
To me this seems like odd behaviour. If anything it ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/378/reactions"
} | https://api.github.com/repos/psf/requests/issues/378/timeline | null | completed | null | null | false | [
"Good idea but we should check for `None` instead of `v = v or ''` to support falsy values like `{'key': 0}`.\n",
"@johtso Strange thing. I got notification about your post which begins with _Ah yes, of course, forgot about 0. What about False? if (v is None) or (v is False): v =_ but I don't see your post from n... |
https://api.github.com/repos/psf/requests/issues/377 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/377/labels{/name} | https://api.github.com/repos/psf/requests/issues/377/comments | https://api.github.com/repos/psf/requests/issues/377/events | https://github.com/psf/requests/issues/377 | 2,926,597 | MDU6SXNzdWUyOTI2NTk3 | 377 | async - RuntimeError: The content for this response was already consumed | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 5 | 2012-01-22T13:17:41Z | 2021-09-09T09:00:38Z | 2012-04-09T03:42:59Z | NONE | resolved | ``` python
from requests import async
request = async.get('http://httpbin.org/get')
response = async.map([request])[0]
print response, len(response.content)
```
OUTPUT
``` pytb
Traceback (most recent call last):
File "C:\Users\Piotr\sandbox\python\requets_content_already_consumed.py", line 5, in <module>
print... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/377/reactions"
} | https://api.github.com/repos/psf/requests/issues/377/timeline | null | completed | null | null | false | [
"I get the same error with requests 0.10.1, gevent 0.13.6, on ubuntu\n",
"I have this error when the server I'm trying to make a request to is not reachable.\n",
"I am seeing the same thing on centos with gevent 0.13.6.\n",
"I have been having troubles with this as well.\n\nLooking at this, the problem is is ... |
https://api.github.com/repos/psf/requests/issues/376 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/376/labels{/name} | https://api.github.com/repos/psf/requests/issues/376/comments | https://api.github.com/repos/psf/requests/issues/376/events | https://github.com/psf/requests/pull/376 | 2,926,491 | MDExOlB1bGxSZXF1ZXN0NzIwNTg4 | 376 | Instead of select, we should use poll. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1305819?v=4",
"events_url": "https://api.github.com/users/computableinsights/events{/privacy}",
"followers_url": "https://api.github.com/users/computableinsights/followers",
"following_url": "https://api.github.com/users/computableinsights/following{/othe... | [] | closed | true | null | [] | null | 1 | 2012-01-22T12:50:22Z | 2021-09-08T14:00:51Z | 2012-01-23T07:56:44Z | NONE | resolved | select only goes up to 1024 FDs. So once we have used more than that,
this would fail. poll (or epoll) fixes this. This solution uses poll
and seems to work.
My only test has been using a single session to fetch 10**4 pages a few
times.
Is there a more robust testing tool (framework?) that I should use.
PS: Ken ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/376/reactions"
} | https://api.github.com/repos/psf/requests/issues/376/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/376.diff",
"html_url": "https://github.com/psf/requests/pull/376",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/376.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/376"
} | true | [
"Because urllib3 is package from outside (http://code.google.com/p/urllib3/) I think you should push this patch to them directly.\n"
] |
https://api.github.com/repos/psf/requests/issues/375 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/375/labels{/name} | https://api.github.com/repos/psf/requests/issues/375/comments | https://api.github.com/repos/psf/requests/issues/375/events | https://github.com/psf/requests/issues/375 | 2,926,099 | MDU6SXNzdWUyOTI2MDk5 | 375 | Should standard tests be run in async mode - feedback needed | {
"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 | 0 | 2012-01-22T10:43:26Z | 2021-09-09T09:00:46Z | 2012-03-08T01:26:48Z | NONE | resolved | There's going to be new module test_requests_async with tests for requests.async module.
Should tests from current test_requests be somehow included in this new module so that each "standard" test would be run in async mode as well?
If so how to go about "reusing" these tests without coping them to the new test_reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/375/reactions"
} | https://api.github.com/repos/psf/requests/issues/375/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/374 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/374/labels{/name} | https://api.github.com/repos/psf/requests/issues/374/comments | https://api.github.com/repos/psf/requests/issues/374/events | https://github.com/psf/requests/issues/374 | 2,924,928 | MDU6SXNzdWUyOTI0OTI4 | 374 | which Gevent to install? | {
"avatar_url": "https://avatars.githubusercontent.com/u/751825?v=4",
"events_url": "https://api.github.com/users/pengkui/events{/privacy}",
"followers_url": "https://api.github.com/users/pengkui/followers",
"following_url": "https://api.github.com/users/pengkui/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2012-01-22T03:36:24Z | 2021-09-09T10:00:45Z | 2012-01-22T04:12:40Z | NONE | resolved | Requests.async relies on the Gevent package.
Question: which Gevent should I install, 0.9.x or 1.x?
(The 0.9.x branch of Gevent relies on libevent, but 1.x is based on libev.
Does this have any consequence on requests.async?
##
Pengkui
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/374/reactions"
} | https://api.github.com/repos/psf/requests/issues/374/timeline | null | completed | null | null | false | [
"It shouldn't matter. The latest is recommended though :)\n"
] |
https://api.github.com/repos/psf/requests/issues/373 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/373/labels{/name} | https://api.github.com/repos/psf/requests/issues/373/comments | https://api.github.com/repos/psf/requests/issues/373/events | https://github.com/psf/requests/pull/373 | 2,922,897 | MDExOlB1bGxSZXF1ZXN0NzE5NTg1 | 373 | Wrong indent if docstring is correct | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | false | null | [] | null | 0 | 2012-01-21T19:06:56Z | 2014-07-20T01:36:21Z | 2012-01-23T07:56:55Z | NONE | null | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/373/reactions"
} | https://api.github.com/repos/psf/requests/issues/373/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/373.diff",
"html_url": "https://github.com/psf/requests/pull/373",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/373.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/373"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/372 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/372/labels{/name} | https://api.github.com/repos/psf/requests/issues/372/comments | https://api.github.com/repos/psf/requests/issues/372/events | https://github.com/psf/requests/pull/372 | 2,920,929 | MDExOlB1bGxSZXF1ZXN0NzE5MDkx | 372 | Facilitate for multiple hooks | {
"avatar_url": "https://avatars.githubusercontent.com/u/195266?v=4",
"events_url": "https://api.github.com/users/jgorset/events{/privacy}",
"followers_url": "https://api.github.com/users/jgorset/followers",
"following_url": "https://api.github.com/users/jgorset/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 4 | 2012-01-21T11:15:40Z | 2021-09-08T14:00:50Z | 2012-01-21T12:14:35Z | CONTRIBUTOR | resolved | I implemented support for multiple hooks by passing a list of callables:
```
requests.get(
url = 'http://example.org',
hooks = {
'args': [do_something, do_something_else]
}
)
```
In the interest of backwards compatibility (but mostly just because I think it's practical),
it remains possible to pas... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/372/reactions"
} | https://api.github.com/repos/psf/requests/issues/372/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/372.diff",
"html_url": "https://github.com/psf/requests/pull/372",
"merged_at": "2012-01-21T12:14:35Z",
"patch_url": "https://github.com/psf/requests/pull/372.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/372"
} | true | [
"You're the man! \n",
"This probably a wise approach. I feel like there should ben an append-mechanism though. LIke a hook register.\n",
"I'll add an `add_hook` method to `Request`. We can then have the top-levels just utilize that internally.\n",
"`register_hook`.\n"
] |
https://api.github.com/repos/psf/requests/issues/371 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/371/labels{/name} | https://api.github.com/repos/psf/requests/issues/371/comments | https://api.github.com/repos/psf/requests/issues/371/events | https://github.com/psf/requests/pull/371 | 2,920,690 | MDExOlB1bGxSZXF1ZXN0NzE5MDM1 | 371 | Default the encoding of "text" media subtypes to "ISO-8859-1" | {
"avatar_url": "https://avatars.githubusercontent.com/u/195266?v=4",
"events_url": "https://api.github.com/users/jgorset/events{/privacy}",
"followers_url": "https://api.github.com/users/jgorset/followers",
"following_url": "https://api.github.com/users/jgorset/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 11 | 2012-01-21T10:09:51Z | 2021-09-08T13:06:15Z | 2012-01-21T11:44:51Z | CONTRIBUTOR | resolved | Ref. HyperText Transfer Protocol, [section 3.7.1](http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7.1) on Canonicalization and Text Defaults.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/195266?v=4",
"events_url": "https://api.github.com/users/jgorset/events{/privacy}",
"followers_url": "https://api.github.com/users/jgorset/followers",
"following_url": "https://api.github.com/users/jgorset/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/371/reactions"
} | https://api.github.com/repos/psf/requests/issues/371/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/371.diff",
"html_url": "https://github.com/psf/requests/pull/371",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/371.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/371"
} | true | [
"I'm going to merge this, but into the `redsea` branch.\n",
"Merged.\n",
"What is the `redsea` branch, exactly?\n",
"It'll be 0.10.0 ;)\n\nIt makes `Response.content` bytes-only, and a new `Response.text` unicode-only.\n",
"oh, that's awesome!\n",
"so, you're +1 then?\n",
"Yes; I already decode `respons... |
https://api.github.com/repos/psf/requests/issues/370 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/370/labels{/name} | https://api.github.com/repos/psf/requests/issues/370/comments | https://api.github.com/repos/psf/requests/issues/370/events | https://github.com/psf/requests/pull/370 | 2,917,198 | MDExOlB1bGxSZXF1ZXN0NzE3NzA5 | 370 | tiny map() refactoring | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2012-01-20T21:35:47Z | 2021-09-08T14:00:50Z | 2012-01-21T13:13:15Z | 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/370/reactions"
} | https://api.github.com/repos/psf/requests/issues/370/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/370.diff",
"html_url": "https://github.com/psf/requests/pull/370",
"merged_at": "2012-01-21T13:13:15Z",
"patch_url": "https://github.com/psf/requests/pull/370.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/370"
} | true | [
"Thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/369 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/369/labels{/name} | https://api.github.com/repos/psf/requests/issues/369/comments | https://api.github.com/repos/psf/requests/issues/369/events | https://github.com/psf/requests/issues/369 | 2,912,641 | MDU6SXNzdWUyOTEyNjQx | 369 | requests.get() URL Encode Issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/83122?v=4",
"events_url": "https://api.github.com/users/jerryji/events{/privacy}",
"followers_url": "https://api.github.com/users/jerryji/followers",
"following_url": "https://api.github.com/users/jerryji/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 19 | 2012-01-20T15:40:11Z | 2021-09-09T00:28:17Z | 2012-07-27T06:04:13Z | NONE | resolved | Hi,
I noticed URL encode issue in get() --
In [32]: r = requests.get(r'http://i.ebayimg.com/00/s/ODAzWDEyODA=/$%28KGrHqV,!o8E63YcElkoBPFMhH2vUQ~~60_1.JPG')
In [33]: r.status_code
Out[33]: 404
In [34]: r = urllib2.urlopen("http://i.ebayimg.com/00/s/ODAzWDEyODA=/$%28KGrHqV,!o8E63YcElkoBPFMhH2vUQ~~60_1.JPG")
In [35]: 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/369/reactions"
} | https://api.github.com/repos/psf/requests/issues/369/timeline | null | completed | null | null | false | [
"No, escaping urls is proper. Someone's working on a patch to make this optional, though.\n",
"Thanks Kenneth (though this implies the default behavior of urllib2.urlopen is improper...)\n",
"I'm having this issue with a project I'm working on and would like the patch for this being optional. Do you know who th... |
https://api.github.com/repos/psf/requests/issues/368 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/368/labels{/name} | https://api.github.com/repos/psf/requests/issues/368/comments | https://api.github.com/repos/psf/requests/issues/368/events | https://github.com/psf/requests/pull/368 | 2,905,333 | MDExOlB1bGxSZXF1ZXN0NzEzMDIy | 368 | Decode response URL to a unicode string. | {
"avatar_url": "https://avatars.githubusercontent.com/u/195266?v=4",
"events_url": "https://api.github.com/users/jgorset/events{/privacy}",
"followers_url": "https://api.github.com/users/jgorset/followers",
"following_url": "https://api.github.com/users/jgorset/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2012-01-19T23:36:19Z | 2021-09-08T13:06:15Z | 2012-01-19T23:42:28Z | 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/368/reactions"
} | https://api.github.com/repos/psf/requests/issues/368/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/368.diff",
"html_url": "https://github.com/psf/requests/pull/368",
"merged_at": "2012-01-19T23:42:28Z",
"patch_url": "https://github.com/psf/requests/pull/368.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/368"
} | true | [
"\\o/! \n\nI've been waiting for this ;)\n"
] | |
https://api.github.com/repos/psf/requests/issues/367 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/367/labels{/name} | https://api.github.com/repos/psf/requests/issues/367/comments | https://api.github.com/repos/psf/requests/issues/367/events | https://github.com/psf/requests/issues/367 | 2,905,282 | MDU6SXNzdWUyOTA1Mjgy | 367 | Impossible to submit multiple query parameter values on a single key cleanly | {
"avatar_url": "https://avatars.githubusercontent.com/u/118035?v=4",
"events_url": "https://api.github.com/users/MostAwesomeDude/events{/privacy}",
"followers_url": "https://api.github.com/users/MostAwesomeDude/followers",
"following_url": "https://api.github.com/users/MostAwesomeDude/following{/other_user}",
... | [] | closed | true | null | [] | {
"closed_at": "2012-07-12T21:19:34Z",
"closed_issues": 12,
"created_at": "2012-02-12T10:25:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/user... | 7 | 2012-01-19T23:32:17Z | 2021-09-09T07:05:36Z | 2012-07-12T21:18:29Z | NONE | resolved | Related is #179, which theoretically fixes this.
If there are a bunch of query parameters all with the same key and differing values, it is impossible to cleanly pass them in using the `params` kwarg, because whatever object is passed in on that route is `dict`ified.
Real use case: Ganeti's API has a few calls which ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/367/reactions"
} | https://api.github.com/repos/psf/requests/issues/367/timeline | null | completed | null | null | false | [
"Actually, this is super simple :)\n\n``` python\nparams={'tag': ('spam', 'eggs', 'spam', 'spam', 'bacon')}\n```\n\nThis should be documented.\n",
"Sorry for not confirming your fix yet; it was a long weekend. I'll close upon confirmation. Should I also submit a docs patch for this?\n",
"No worries :)\n\nA pull... |
https://api.github.com/repos/psf/requests/issues/366 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/366/labels{/name} | https://api.github.com/repos/psf/requests/issues/366/comments | https://api.github.com/repos/psf/requests/issues/366/events | https://github.com/psf/requests/pull/366 | 2,905,061 | MDExOlB1bGxSZXF1ZXN0NzEyOTA4 | 366 | Elaborate on how to help | {
"avatar_url": "https://avatars.githubusercontent.com/u/195266?v=4",
"events_url": "https://api.github.com/users/jgorset/events{/privacy}",
"followers_url": "https://api.github.com/users/jgorset/followers",
"following_url": "https://api.github.com/users/jgorset/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2012-01-19T23:14:02Z | 2021-09-08T13:06:14Z | 2012-01-19T23:42:55Z | CONTRIBUTOR | resolved | I couldn't get the tests to run without `gunicorn` and `httpbin` installed, so I thought I'd mention them in the documentation on how to contribute.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/366/reactions"
} | https://api.github.com/repos/psf/requests/issues/366/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/366.diff",
"html_url": "https://github.com/psf/requests/pull/366",
"merged_at": "2012-01-19T23:42:55Z",
"patch_url": "https://github.com/psf/requests/pull/366.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/366"
} | true | [
"This is great! I'm going to change it slightly, but thanks :)\n"
] |
https://api.github.com/repos/psf/requests/issues/365 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/365/labels{/name} | https://api.github.com/repos/psf/requests/issues/365/comments | https://api.github.com/repos/psf/requests/issues/365/events | https://github.com/psf/requests/issues/365 | 2,902,753 | MDU6SXNzdWUyOTAyNzUz | 365 | Install Failed on CentOS 5.6 + Python 2.4 | {
"avatar_url": "https://avatars.githubusercontent.com/u/989846?v=4",
"events_url": "https://api.github.com/users/raullenchai/events{/privacy}",
"followers_url": "https://api.github.com/users/raullenchai/followers",
"following_url": "https://api.github.com/users/raullenchai/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 2 | 2012-01-19T20:05:31Z | 2021-09-09T10:00:45Z | 2012-01-19T20:06:15Z | NONE | resolved | [root@raullen ~]# easy_install requests
Searching for requests
Reading http://cheeseshop.python.org/pypi/requests/
Reading http://python-requests.org
Reading http://cheeseshop.python.org/pypi/requests/0.9.3
Best match: requests 0.9.3
Downloading http://pypi.python.org/packages/source/r/requests/requests-0.9.3.tar.gz#md... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/365/reactions"
} | https://api.github.com/repos/psf/requests/issues/365/timeline | null | completed | null | null | false | [
"Python 2.4 is not supported.\n",
"If this is the case, it would be better to mention it explicitly in the README or other instructing sheets to avoid confusion.\n"
] |
https://api.github.com/repos/psf/requests/issues/364 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/364/labels{/name} | https://api.github.com/repos/psf/requests/issues/364/comments | https://api.github.com/repos/psf/requests/issues/364/events | https://github.com/psf/requests/pull/364 | 2,901,906 | MDExOlB1bGxSZXF1ZXN0NzExNTk2 | 364 | Allow sessions and async requests to mix. | {
"avatar_url": "https://avatars.githubusercontent.com/u/35401?v=4",
"events_url": "https://api.github.com/users/gthank/events{/privacy}",
"followers_url": "https://api.github.com/users/gthank/followers",
"following_url": "https://api.github.com/users/gthank/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 1 | 2012-01-19T19:06:02Z | 2021-09-08T13:06:14Z | 2012-01-19T19:12:24Z | NONE | resolved | Before, you couldn't pass a `session` keyword param to an async request. Now, you can.
There's no test attached because a quick scan didn't reveal any tests of the async functionality.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/364/reactions"
} | https://api.github.com/repos/psf/requests/issues/364/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/364.diff",
"html_url": "https://github.com/psf/requests/pull/364",
"merged_at": "2012-01-19T19:12:24Z",
"patch_url": "https://github.com/psf/requests/pull/364.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/364"
} | true | [
"You're the best.\n"
] |
https://api.github.com/repos/psf/requests/issues/363 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/363/labels{/name} | https://api.github.com/repos/psf/requests/issues/363/comments | https://api.github.com/repos/psf/requests/issues/363/events | https://github.com/psf/requests/pull/363 | 2,891,412 | MDExOlB1bGxSZXF1ZXN0NzA3ODI1 | 363 | Stop always verifying certs for same host that has verified once. | {
"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 | 2 | 2012-01-19T00:59:34Z | 2021-09-08T13:06:13Z | 2012-01-19T01:19:43Z | CONTRIBUTOR | resolved | Once a session had verified certs for a host once, it continued to do so even when verify was set to False. (A Timeout error was actually thrown the second time, due to the way the errors were handled) This fixes the issue.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/363/reactions"
} | https://api.github.com/repos/psf/requests/issues/363/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/363.diff",
"html_url": "https://github.com/psf/requests/pull/363",
"merged_at": "2012-01-19T01:19:43Z",
"patch_url": "https://github.com/psf/requests/pull/363.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/363"
} | true | [
"Thanks!\n",
":sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/362 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/362/labels{/name} | https://api.github.com/repos/psf/requests/issues/362/comments | https://api.github.com/repos/psf/requests/issues/362/events | https://github.com/psf/requests/issues/362 | 2,891,159 | MDU6SXNzdWUyODkxMTU5 | 362 | https requests over proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/1316841?v=4",
"events_url": "https://api.github.com/users/vly/events{/privacy}",
"followers_url": "https://api.github.com/users/vly/followers",
"following_url": "https://api.github.com/users/vly/following{/other_user}",
"gists_url": "https://api.github.... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 15 | 2012-01-19T00:29:58Z | 2021-09-09T06:00:48Z | 2012-08-22T20:07:39Z | NONE | resolved | Have run into an issue while trying to access https over proxy. Have had no issues doing the same via curl.
Here is a log of attempting to access https://github.com:
``` python
PROXY_LIST = {
'http':'http://myproxy:80' ,
'https':'http://myproxy:80'
}
connection = requests.get('https://github.com',proxies=PROX... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/362/reactions"
} | https://api.github.com/repos/psf/requests/issues/362/timeline | null | completed | null | null | false | [
"I too am getting hit by this issue. It appears that `requests` fails to send a CONNECT request for the SSL handshake before sending the GET request.\n",
"http://stackoverflow.com/questions/8287628/proxies-with-python-requests-module\n",
"http://stackoverflow.com/questions/8482896/making-http-requests-via-pytho... |
https://api.github.com/repos/psf/requests/issues/361 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/361/labels{/name} | https://api.github.com/repos/psf/requests/issues/361/comments | https://api.github.com/repos/psf/requests/issues/361/events | https://github.com/psf/requests/pull/361 | 2,876,681 | MDExOlB1bGxSZXF1ZXN0NzAyMTM5 | 361 | Added requests.Response.response_time | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144197?v=4",
"events_url": "https://api.github.com/users/btoews/events{/privacy}",
"followers_url": "https://api.github.com/users/btoews/followers",
"following_url": "https://api.github.com/users/btoews/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 10 | 2012-01-17T23:47:44Z | 2021-09-08T13:06:13Z | 2012-01-23T07:59:22Z | CONTRIBUTOR | resolved | Added requests.Response.response_time to keep track of how long requests take. The user could keep track of this himself except for when he is using requests.async.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/361/reactions"
} | https://api.github.com/repos/psf/requests/issues/361/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/361.diff",
"html_url": "https://github.com/psf/requests/pull/361",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/361.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/361"
} | true | [
"Two notes:\n1. `float(datetime.now().strftime(\"%s.%f\"))` is exceedingly inefficient compared to `time.time()`, which returns a float directly.\n2. I would measure the end time immediately before the response hook call so you don't measure other things than the actual request processing.\n",
"updated\n",
"ya ... |
https://api.github.com/repos/psf/requests/issues/360 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/360/labels{/name} | https://api.github.com/repos/psf/requests/issues/360/comments | https://api.github.com/repos/psf/requests/issues/360/events | https://github.com/psf/requests/pull/360 | 2,874,835 | MDExOlB1bGxSZXF1ZXN0NzAxMzYx | 360 | Make requests.async.send asynchronous | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144197?v=4",
"events_url": "https://api.github.com/users/btoews/events{/privacy}",
"followers_url": "https://api.github.com/users/btoews/followers",
"following_url": "https://api.github.com/users/btoews/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2012-01-17T21:24:24Z | 2021-09-08T23:05:25Z | 2012-01-17T21:32:05Z | CONTRIBUTOR | resolved | The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rat... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/360/reactions"
} | https://api.github.com/repos/psf/requests/issues/360/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/360.diff",
"html_url": "https://github.com/psf/requests/pull/360",
"merged_at": "2012-01-17T21:32:05Z",
"patch_url": "https://github.com/psf/requests/pull/360.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/360"
} | true | [
"Love it. Thanks!\n",
"Btw, any idea how http pools (provided by urllib3) mix with gevent pools?\n",
"each request is handled separately, and an http pool is contained within each request.\n",
"Hmm, actually, if the `session` argument was passed implicitly to each request as it was created, they'd all be usin... |
https://api.github.com/repos/psf/requests/issues/359 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/359/labels{/name} | https://api.github.com/repos/psf/requests/issues/359/comments | https://api.github.com/repos/psf/requests/issues/359/events | https://github.com/psf/requests/pull/359 | 2,871,178 | MDExOlB1bGxSZXF1ZXN0Njk5ODY1 | 359 | chunked streaming+line reading | {
"avatar_url": "https://avatars.githubusercontent.com/u/156838?v=4",
"events_url": "https://api.github.com/users/RonnyPfannschmidt/events{/privacy}",
"followers_url": "https://api.github.com/users/RonnyPfannschmidt/followers",
"following_url": "https://api.github.com/users/RonnyPfannschmidt/following{/other_us... | [] | closed | true | null | [] | null | 2 | 2012-01-17T16:46:28Z | 2021-09-08T13:06:12Z | 2012-01-19T02:55:12Z | CONTRIBUTOR | resolved | this branch adds custom reading for chunked responses
that way the iter_content function has chunk boundaries as additional boundaries,
additionally iter_lines will no longer keep a completed line in pending
that way using requests for chunk streamed update notifications from couchdb gets actually usefull
there are ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/359/reactions"
} | https://api.github.com/repos/psf/requests/issues/359/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/359.diff",
"html_url": "https://github.com/psf/requests/pull/359",
"merged_at": "2012-01-19T02:55:12Z",
"patch_url": "https://github.com/psf/requests/pull/359.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/359"
} | true | [
"Looks good. I'm about to release this. Objections?\n",
"@RonnyPfannschmidt I'm looking into debugging issue #436 with generate_chunked and noticed you merged this. I was wondering if you had any insight on what the trouble is there?\n"
] |
https://api.github.com/repos/psf/requests/issues/358 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/358/labels{/name} | https://api.github.com/repos/psf/requests/issues/358/comments | https://api.github.com/repos/psf/requests/issues/358/events | https://github.com/psf/requests/issues/358 | 2,862,235 | MDU6SXNzdWUyODYyMjM1 | 358 | Session prefetch parameter. | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/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": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 4 | 2012-01-16T23:58:33Z | 2021-09-09T06:00:53Z | 2012-08-09T17:44: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/358/reactions"
} | https://api.github.com/repos/psf/requests/issues/358/timeline | null | completed | null | null | false | [
"Pull request made: https://github.com/kennethreitz/requests/pull/463\n",
"Is this issue closed?\n\n(I am scraping to find something that I can fix :D )\n",
"What's the state of this @kennethreitz ? Because it looks done to me...\n",
"indeed, thanks :)\n"
] | |
https://api.github.com/repos/psf/requests/issues/357 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/357/labels{/name} | https://api.github.com/repos/psf/requests/issues/357/comments | https://api.github.com/repos/psf/requests/issues/357/events | https://github.com/psf/requests/pull/357 | 2,858,585 | MDExOlB1bGxSZXF1ZXN0Njk1NDg2 | 357 | testing against httpbin.org on Windows by default | {
"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 | 3 | 2012-01-16T18:32:58Z | 2021-09-09T00:01:27Z | 2012-01-20T20:54:22Z | NONE | resolved | use of new HTTPBIN_HOST environment variable
platform specific import of envoy
Caution, it's not tested under Linux.
| {
"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/357/reactions"
} | https://api.github.com/repos/psf/requests/issues/357/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/357.diff",
"html_url": "https://github.com/psf/requests/pull/357",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/357.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/357"
} | true | [
"Why did you remove all of the idna and unicode url tests?\n",
"I amended this commit. Should be good now.\n",
"As you think of using standard http server I'm closing this.\n"
] |
https://api.github.com/repos/psf/requests/issues/356 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/356/labels{/name} | https://api.github.com/repos/psf/requests/issues/356/comments | https://api.github.com/repos/psf/requests/issues/356/events | https://github.com/psf/requests/issues/356 | 2,834,454 | MDU6SXNzdWUyODM0NDU0 | 356 | Session + params giving a 411 error | {
"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... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 2 | 2012-01-13T18:07:23Z | 2021-09-09T10:00:38Z | 2012-02-12T10:20:31Z | NONE | resolved | One test in requests-oauth is failing and I think is due to requests itself. It's this one:
https://github.com/maraujop/requests-oauth/blob/dev/tests/tests.py#L77
When passing parameters to a session, I'm getting a 411 Length Required error. I've sniffed the traffic and `Content-Length` is not in headers.
Cheers,
Mi... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/356/reactions"
} | https://api.github.com/repos/psf/requests/issues/356/timeline | null | completed | null | null | false | [
"Same problem here:\n\n``` python\nimport requests\nfrom lxml.html import fromstring\n\n\ns = requests.session()\n\nlogin_req = s.get('http://music.google.com/')\nlogin_tree = fromstring(login_req.content)\nlogin_form = login_tree.forms[0]\nlogin_values = dict(login_form.form_values())\nlogin_values.update({'Email'... |
https://api.github.com/repos/psf/requests/issues/355 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/355/labels{/name} | https://api.github.com/repos/psf/requests/issues/355/comments | https://api.github.com/repos/psf/requests/issues/355/events | https://github.com/psf/requests/pull/355 | 2,834,148 | MDExOlB1bGxSZXF1ZXN0Njg3Nzk5 | 355 | Added prefetch documentation for api | {
"avatar_url": "https://avatars.githubusercontent.com/u/51793?v=4",
"events_url": "https://api.github.com/users/fkumro/events{/privacy}",
"followers_url": "https://api.github.com/users/fkumro/followers",
"following_url": "https://api.github.com/users/fkumro/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 1 | 2012-01-13T17:40:34Z | 2021-09-08T13:06:12Z | 2012-01-13T22:38:09Z | CONTRIBUTOR | resolved | I read issue #354 and it was simple enough so I added the prefetch doc line to api.py. I believe that should take care of the issue.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/355/reactions"
} | https://api.github.com/repos/psf/requests/issues/355/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/355.diff",
"html_url": "https://github.com/psf/requests/pull/355",
"merged_at": "2012-01-13T22:38:09Z",
"patch_url": "https://github.com/psf/requests/pull/355.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/355"
} | true | [
"Awesome, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/354 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/354/labels{/name} | https://api.github.com/repos/psf/requests/issues/354/comments | https://api.github.com/repos/psf/requests/issues/354/events | https://github.com/psf/requests/issues/354 | 2,819,098 | MDU6SXNzdWUyODE5MDk4 | 354 | prefech param not documented in api.request | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2012-01-12T15:14:33Z | 2021-09-09T10:00:44Z | 2012-01-23T08:02:34Z | NONE | resolved | `api.request` calls `Session.request` forwarding kwargs to it. This makes it possible to pass `prefech` param used by the latter. In spite of this `prefech` is not documented as one of params of `api.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/354/reactions"
} | https://api.github.com/repos/psf/requests/issues/354/timeline | null | completed | null | null | false | [
"You should send a pull request then ;)\n"
] |
https://api.github.com/repos/psf/requests/issues/353 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/353/labels{/name} | https://api.github.com/repos/psf/requests/issues/353/comments | https://api.github.com/repos/psf/requests/issues/353/events | https://github.com/psf/requests/issues/353 | 2,803,099 | MDU6SXNzdWUyODAzMDk5 | 353 | 'allow_redirects' cause a post request to hang | {
"avatar_url": "https://avatars.githubusercontent.com/u/221886?v=4",
"events_url": "https://api.github.com/users/ksamuel/events{/privacy}",
"followers_url": "https://api.github.com/users/ksamuel/followers",
"following_url": "https://api.github.com/users/ksamuel/following{/other_user}",
"gists_url": "https://... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 6 | 2012-01-11T11:06:54Z | 2021-09-09T07:05:23Z | 2012-07-27T06:05:18Z | NONE | resolved | I tried the following code:
```
response = requests.post(url, data=request.message,
headers=request.headers,
allow_redirects=True)
```
But it hangs forever (no error) while this works (I get redirected and got the finale response):
```
while status_code.start... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/353/reactions"
} | https://api.github.com/repos/psf/requests/issues/353/timeline | null | completed | null | null | false | [
"Sorry for the bug! I'll look into it. \n",
"Is the URL that you were testing against public?\n",
"It's publicly accessible, but I'd rather not post it on github. I can send it to you using a private message.\n",
"That's fine. It'll help me debug :)\n",
"Did you receive the email ?\n",
"I did, thanks! I'l... |
https://api.github.com/repos/psf/requests/issues/352 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/352/labels{/name} | https://api.github.com/repos/psf/requests/issues/352/comments | https://api.github.com/repos/psf/requests/issues/352/events | https://github.com/psf/requests/pull/352 | 2,798,815 | MDExOlB1bGxSZXF1ZXN0Njc0NDcw | 352 | Fix bug in HTTP-digest auth w/ URI having query string | {
"avatar_url": "https://avatars.githubusercontent.com/u/21773?v=4",
"events_url": "https://api.github.com/users/tmoertel/events{/privacy}",
"followers_url": "https://api.github.com/users/tmoertel/followers",
"following_url": "https://api.github.com/users/tmoertel/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2012-01-10T23:57:25Z | 2021-09-08T13:06:11Z | 2012-01-12T20:52:03Z | NONE | resolved | When there's a query string in the request URL, we need to separate it from the parsed path with a question mark when constructing the digest input.
(Sorry, I didn't add a test case for the problem.)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/352/reactions"
} | https://api.github.com/repos/psf/requests/issues/352/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/352.diff",
"html_url": "https://github.com/psf/requests/pull/352",
"merged_at": "2012-01-12T20:52:03Z",
"patch_url": "https://github.com/psf/requests/pull/352.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/352"
} | true | [
"I can confirm that this patch fixes a bug I ran into where all of my HTTP Digest Auth request calls worked except ones with query strings (like /whatever?foo=bar). I could observe this in wireshark where the query strings were being truncated by requests.\n",
"Thanks a ton! \n"
] |
https://api.github.com/repos/psf/requests/issues/351 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/351/labels{/name} | https://api.github.com/repos/psf/requests/issues/351/comments | https://api.github.com/repos/psf/requests/issues/351/events | https://github.com/psf/requests/issues/351 | 2,798,567 | MDU6SXNzdWUyNzk4NTY3 | 351 | unable to install requests on centos 5.5 with Python 2.4.3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/426822?v=4",
"events_url": "https://api.github.com/users/kamal2222ahmed/events{/privacy}",
"followers_url": "https://api.github.com/users/kamal2222ahmed/followers",
"following_url": "https://api.github.com/users/kamal2222ahmed/following{/other_user}",
"... | [] | closed | true | null | [] | null | 2 | 2012-01-10T23:35:39Z | 2021-09-08T23:06:54Z | 2012-01-10T23:38:10Z | NONE | resolved | sudo easy_install requests
Searching for requests
Reading http://pypi.python.org/simple/requests/
Reading https://github.com/kennethreitz/requests
Reading http://python-requests.org
Best match: requests 0.9.1
Downloading http://pypi.python.org/packages/source/r/requests/requests-0.9.1.tar.gz#md5=8ed4667edb5d57945b74a91... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/351/reactions"
} | https://api.github.com/repos/psf/requests/issues/351/timeline | null | completed | null | null | false | [
"Python 2.4 is not supported. It came out 8 years ago. That's older than Youtube. Upgrade.\n",
"While I agree that supporting Python 2.4 is inane, don't ever just _upgrade_ Python on RedHat relatives. Installing a newer Python package has a tendency to bring `yum` crashing down. You have to go through some convol... |
https://api.github.com/repos/psf/requests/issues/350 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/350/labels{/name} | https://api.github.com/repos/psf/requests/issues/350/comments | https://api.github.com/repos/psf/requests/issues/350/events | https://github.com/psf/requests/pull/350 | 2,792,748 | MDExOlB1bGxSZXF1ZXN0NjcyMDU2 | 350 | fixes issue #349 | {
"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 | 2 | 2012-01-10T15:54:02Z | 2021-09-08T23:10:57Z | 2012-01-10T19:07:46Z | 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/350/reactions"
} | https://api.github.com/repos/psf/requests/issues/350/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/350.diff",
"html_url": "https://github.com/psf/requests/pull/350",
"merged_at": "2012-01-10T19:07:46Z",
"patch_url": "https://github.com/psf/requests/pull/350.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/350"
} | true | [
"#349\n",
"Thanks!\n"
] | |
https://api.github.com/repos/psf/requests/issues/349 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/349/labels{/name} | https://api.github.com/repos/psf/requests/issues/349/comments | https://api.github.com/repos/psf/requests/issues/349/events | https://github.com/psf/requests/issues/349 | 2,784,655 | MDU6SXNzdWUyNzg0NjU1 | 349 | Wrong handling of params given as bytes object | {
"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 | 0 | 2012-01-10T12:51:30Z | 2021-09-09T10:00:43Z | 2012-01-23T08:03:40Z | NONE | resolved | ``` python
from collections import OrderedDict
from urllib import urlencode
import requests
params = OrderedDict([('first', 1), ('second', 2), ('third', 3)])
requests.get('https://example.org/', params=urlencode(params))
```
ends with
`ValueError: dictionary update sequence element #0 has length 1; 2 is required` at... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/349/reactions"
} | https://api.github.com/repos/psf/requests/issues/349/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/348 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/348/labels{/name} | https://api.github.com/repos/psf/requests/issues/348/comments | https://api.github.com/repos/psf/requests/issues/348/events | https://github.com/psf/requests/pull/348 | 2,782,178 | MDExOlB1bGxSZXF1ZXN0NjcwODU3 | 348 | Fixed code in 'Event Hooks' section | {
"avatar_url": "https://avatars.githubusercontent.com/u/912849?v=4",
"events_url": "https://api.github.com/users/LucianU/events{/privacy}",
"followers_url": "https://api.github.com/users/LucianU/followers",
"following_url": "https://api.github.com/users/LucianU/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2012-01-10T10:20:24Z | 2021-09-08T13:06:11Z | 2012-01-10T19:10:02Z | CONTRIBUTOR | resolved | Old code had a name error in it.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/348/reactions"
} | https://api.github.com/repos/psf/requests/issues/348/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/348.diff",
"html_url": "https://github.com/psf/requests/pull/348",
"merged_at": "2012-01-10T19:10:02Z",
"patch_url": "https://github.com/psf/requests/pull/348.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/348"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/347 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/347/labels{/name} | https://api.github.com/repos/psf/requests/issues/347/comments | https://api.github.com/repos/psf/requests/issues/347/events | https://github.com/psf/requests/pull/347 | 2,782,005 | MDExOlB1bGxSZXF1ZXN0NjcwODM2 | 347 | Printing the entire traceback, instead of just a warning, when an except... | {
"avatar_url": "https://avatars.githubusercontent.com/u/912849?v=4",
"events_url": "https://api.github.com/users/LucianU/events{/privacy}",
"followers_url": "https://api.github.com/users/LucianU/followers",
"following_url": "https://api.github.com/users/LucianU/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2012-01-10T10:13:07Z | 2021-09-08T13:06:10Z | 2012-01-10T19:08:53Z | CONTRIBUTOR | resolved | Having just a warning when an exception is raised in a hook is unhelpful because the location of the error is not included. Printing the entire traceback fixes that.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/347/reactions"
} | https://api.github.com/repos/psf/requests/issues/347/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/347.diff",
"html_url": "https://github.com/psf/requests/pull/347",
"merged_at": "2012-01-10T19:08:53Z",
"patch_url": "https://github.com/psf/requests/pull/347.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/347"
} | true | [
"This is great! thanks :)\n"
] |
https://api.github.com/repos/psf/requests/issues/346 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/346/labels{/name} | https://api.github.com/repos/psf/requests/issues/346/comments | https://api.github.com/repos/psf/requests/issues/346/events | https://github.com/psf/requests/issues/346 | 2,780,731 | MDU6SXNzdWUyNzgwNzMx | 346 | Check cookie's expiry time when using sessions | {
"avatar_url": "https://avatars.githubusercontent.com/u/25007?v=4",
"events_url": "https://api.github.com/users/sajal/events{/privacy}",
"followers_url": "https://api.github.com/users/sajal/followers",
"following_url": "https://api.github.com/users/sajal/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2012-01-10T08:31:50Z | 2021-09-09T10:00:44Z | 2012-01-23T08:03:04Z | NONE | resolved | Hi,
Just stumbled across requests, makes things a lot easier for me.
One thing i came across, was one site im trying to request, sets some expired cookies (along with genuine cookies). The set cookie would look something like this
```
'_xxxx=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/, yyyy="delete me"; V... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/346/reactions"
} | https://api.github.com/repos/psf/requests/issues/346/timeline | null | completed | null | null | false | [
"Cookies are key/value only for now. I hope to change this soon.\n"
] |
https://api.github.com/repos/psf/requests/issues/345 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/345/labels{/name} | https://api.github.com/repos/psf/requests/issues/345/comments | https://api.github.com/repos/psf/requests/issues/345/events | https://github.com/psf/requests/issues/345 | 2,780,206 | MDU6SXNzdWUyNzgwMjA2 | 345 | When using session objects, deleting a key from headers fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/1317643?v=4",
"events_url": "https://api.github.com/users/daVinci1980/events{/privacy}",
"followers_url": "https://api.github.com/users/daVinci1980/followers",
"following_url": "https://api.github.com/users/daVinci1980/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2012-01-10T07:12:35Z | 2021-09-09T07:05:20Z | 2012-07-27T06:10:30Z | NONE | resolved | Using version 0.91, downloaded 1/09/12, this code produces the specified exception:
> > > import requests
> > > s = requests.session(headers={"foo": "bar"})
> > > s.get('http://httpbin.org/headers', headers={"foo": None})
> > > Traceback (most recent call last):
> > > File "<stdin>", line 1, in <module>
> > > File... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/345/reactions"
} | https://api.github.com/repos/psf/requests/issues/345/timeline | null | completed | null | null | false | [
"This is definitely a problem. Sorry for the bug!\n",
"From my messing about, this also happens if you aren't using sessions:\n\n```\nimport requests\nr = requests.get('http://httpbin.org/headers, headers={\"foo\":None})\nTraceback (most recent call last):\n File \"<stdin>\", line 1, in <module>\n File \"reques... |
https://api.github.com/repos/psf/requests/issues/344 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/344/labels{/name} | https://api.github.com/repos/psf/requests/issues/344/comments | https://api.github.com/repos/psf/requests/issues/344/events | https://github.com/psf/requests/pull/344 | 2,765,305 | MDExOlB1bGxSZXF1ZXN0NjY1NTcw | 344 | Do not pass over the `session` argument to `Session.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 | 1 | 2012-01-09T05:47:35Z | 2021-09-08T13:06:10Z | 2012-01-10T19:11:01Z | CONTRIBUTOR | resolved | The `request` method of `Session` class does not take a `session` argument. But `api.request` does. So, it has to be popped before you can send the whole `kwargs` dict to `Session.request` method.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/344/reactions"
} | https://api.github.com/repos/psf/requests/issues/344/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/344.diff",
"html_url": "https://github.com/psf/requests/pull/344",
"merged_at": "2012-01-10T19:11:01Z",
"patch_url": "https://github.com/psf/requests/pull/344.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/344"
} | true | [
"Nice catch. Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/343 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/343/labels{/name} | https://api.github.com/repos/psf/requests/issues/343/comments | https://api.github.com/repos/psf/requests/issues/343/events | https://github.com/psf/requests/pull/343 | 2,758,502 | MDExOlB1bGxSZXF1ZXN0NjYzODI5 | 343 | urllib3 attribution in docs | {
"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 | 2012-01-07T23:23:50Z | 2021-09-08T13:06:09Z | 2012-01-07T23:28:17Z | CONTRIBUTOR | resolved | Added some mentions of urllib3 to the Requests docs and HISTORY file. I don't have strong feelings about the wording so feel free to suggest changes or just make them yourself. :)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/343/reactions"
} | https://api.github.com/repos/psf/requests/issues/343/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/343.diff",
"html_url": "https://github.com/psf/requests/pull/343",
"merged_at": "2012-01-07T23:28:17Z",
"patch_url": "https://github.com/psf/requests/pull/343.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/343"
} | true | [
":sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/342 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/342/labels{/name} | https://api.github.com/repos/psf/requests/issues/342/comments | https://api.github.com/repos/psf/requests/issues/342/events | https://github.com/psf/requests/pull/342 | 2,751,911 | MDExOlB1bGxSZXF1ZXN0NjYxNjM2 | 342 | Fix syntax error in last commit. | {
"avatar_url": "https://avatars.githubusercontent.com/u/726274?v=4",
"events_url": "https://api.github.com/users/bjedwards/events{/privacy}",
"followers_url": "https://api.github.com/users/bjedwards/followers",
"following_url": "https://api.github.com/users/bjedwards/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2012-01-06T20:53:09Z | 2021-09-08T13:06:09Z | 2012-01-06T20:53:56Z | CONTRIBUTOR | resolved | The last commit created a syntax error in the message. This commit fixes it.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/342/reactions"
} | https://api.github.com/repos/psf/requests/issues/342/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/342.diff",
"html_url": "https://github.com/psf/requests/pull/342",
"merged_at": "2012-01-06T20:53:56Z",
"patch_url": "https://github.com/psf/requests/pull/342.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/342"
} | true | [
"thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/341 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/341/labels{/name} | https://api.github.com/repos/psf/requests/issues/341/comments | https://api.github.com/repos/psf/requests/issues/341/events | https://github.com/psf/requests/pull/341 | 2,748,051 | MDExOlB1bGxSZXF1ZXN0NjYwMTMz | 341 | Give a more useful error message when the URL supplied does not contain ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/141122?v=4",
"events_url": "https://api.github.com/users/ojii/events{/privacy}",
"followers_url": "https://api.github.com/users/ojii/followers",
"following_url": "https://api.github.com/users/ojii/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2012-01-06T15:20:39Z | 2021-09-08T13:06:08Z | 2012-01-06T16:20:49Z | CONTRIBUTOR | resolved | ...a schema.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/341/reactions"
} | https://api.github.com/repos/psf/requests/issues/341/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/341.diff",
"html_url": "https://github.com/psf/requests/pull/341",
"merged_at": "2012-01-06T16:20:49Z",
"patch_url": "https://github.com/psf/requests/pull/341.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/341"
} | true | [
"That is much better. Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/340 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/340/labels{/name} | https://api.github.com/repos/psf/requests/issues/340/comments | https://api.github.com/repos/psf/requests/issues/340/events | https://github.com/psf/requests/issues/340 | 2,747,065 | MDU6SXNzdWUyNzQ3MDY1 | 340 | request.request doesn't accept bytes for params argument since 0.8 version | {
"avatar_url": "https://avatars.githubusercontent.com/u/548482?v=4",
"events_url": "https://api.github.com/users/mishok13/events{/privacy}",
"followers_url": "https://api.github.com/users/mishok13/followers",
"following_url": "https://api.github.com/users/mishok13/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2012-01-06T13:21:46Z | 2021-09-09T10:00:46Z | 2012-01-06T16:24:41Z | NONE | resolved | In the latest versions of `requests`, passing bytes to `requests.request` and all helper functions (for example `requests.get('http://google.com', params='q=test%20me')`) will trigger the following error:
```
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Library/Python/2.7/site-pac... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/340/reactions"
} | https://api.github.com/repos/psf/requests/issues/340/timeline | null | completed | null | null | false | [
"Correct. It makes no sense for us to support bytes in query strings. You're more than welcome to add it to your url yourself, though.\n",
"I'm not going to argue against closing, but http://docs.python-requests.org/en/latest/api/ needs a small update for description of params argument. `params – (optional) Dicti... |
https://api.github.com/repos/psf/requests/issues/339 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/339/labels{/name} | https://api.github.com/repos/psf/requests/issues/339/comments | https://api.github.com/repos/psf/requests/issues/339/events | https://github.com/psf/requests/issues/339 | 2,744,384 | MDU6SXNzdWUyNzQ0Mzg0 | 339 | ConnectionError in requests, not urllib2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44229?v=4",
"events_url": "https://api.github.com/users/samuelclay/events{/privacy}",
"followers_url": "https://api.github.com/users/samuelclay/followers",
"following_url": "https://api.github.com/users/samuelclay/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 | 2 | 2012-01-06T05:18:41Z | 2021-09-09T09:00:37Z | 2012-04-12T22:53:39Z | NONE | resolved | ```
>>> url = 'http://www.rpgwatch.com?rwsiteid=1'
>>> len(urllib2.urlopen(url).read())
112749
>>> len(requests.get(url).content)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.7-intel/egg/requests/api.py", line 50, in get
File "build/bdist.macosx-10.7-intel/egg... | {
"avatar_url": "https://avatars.githubusercontent.com/u/44229?v=4",
"events_url": "https://api.github.com/users/samuelclay/events{/privacy}",
"followers_url": "https://api.github.com/users/samuelclay/followers",
"following_url": "https://api.github.com/users/samuelclay/following{/other_user}",
"gists_url": "... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/339/reactions"
} | https://api.github.com/repos/psf/requests/issues/339/timeline | null | completed | null | null | false | [
"Hmm, not sure about the specifics of URL rules, but 'http://www.rpgwatch.com/?rwsiteid=1' works fine. Maybe this is the same as #323\n",
"Between then and now, this has been resolved. Unintentionally or not, I'm going to go ahead and close this as fixed. \n\n:cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/338 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/338/labels{/name} | https://api.github.com/repos/psf/requests/issues/338/comments | https://api.github.com/repos/psf/requests/issues/338/events | https://github.com/psf/requests/issues/338 | 2,744,340 | MDU6SXNzdWUyNzQ0MzQw | 338 | LookupError in requests, not in urllib2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44229?v=4",
"events_url": "https://api.github.com/users/samuelclay/events{/privacy}",
"followers_url": "https://api.github.com/users/samuelclay/followers",
"following_url": "https://api.github.com/users/samuelclay/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 | 11 | 2012-01-06T05:07:45Z | 2021-09-09T09:00:43Z | 2012-03-16T01:15:28Z | NONE | resolved | ```
>>> url = 'http://dilbert.com'
>>> len(urllib2.urlopen(url).read())
30194
>>> len(requests.get(url).content)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.7-intel/egg/requests/models.py", line 713, in content
LookupError: unknown encoding: utf-8lias
>>>
```
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/338/reactions"
} | https://api.github.com/repos/psf/requests/issues/338/timeline | null | completed | null | null | false | [
"Heh, some heavy testing here... :)\n",
"What can I say, I run an RSS feed reader. I fetch millions of URLs a day. About half are ported over to requests, and I'd like to move the other half.\n",
"It looks like they are sending this trash for at least 3 years now... :)\n\n> Posted by: Ryan | April 21, 2008 at 0... |
https://api.github.com/repos/psf/requests/issues/337 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/337/labels{/name} | https://api.github.com/repos/psf/requests/issues/337/comments | https://api.github.com/repos/psf/requests/issues/337/events | https://github.com/psf/requests/issues/337 | 2,744,334 | MDU6SXNzdWUyNzQ0MzM0 | 337 | TooManyRedirects in requests, not in urllib2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44229?v=4",
"events_url": "https://api.github.com/users/samuelclay/events{/privacy}",
"followers_url": "https://api.github.com/users/samuelclay/followers",
"following_url": "https://api.github.com/users/samuelclay/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 | 9 | 2012-01-06T05:06:43Z | 2021-08-31T00:06:55Z | 2012-08-25T15:09:13Z | NONE | resolved | ```
>>> url = 'http://fasel.soup.io/'
>>> len(urllib2.urlopen(url).read())
73331
>>> len(requests.get(url).content)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.7-intel/egg/requests/api.py", line 50, in get
File "build/bdist.macosx-10.7-intel/egg/requests/api.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/337/reactions"
} | https://api.github.com/repos/psf/requests/issues/337/timeline | null | completed | null | null | false | [
"I have same problem with some FaceBook pages.\n",
"This occurs only in case of HTTP 301 redirects. AFAIK, I guess this is because, upto version 0.7.5, the HTTPRedirectHandler in monkeys.py doesn't handle the exception. The chain which executes upon a HTTP 301 has nothing to do in the method responsible for it. Y... |
https://api.github.com/repos/psf/requests/issues/336 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/336/labels{/name} | https://api.github.com/repos/psf/requests/issues/336/comments | https://api.github.com/repos/psf/requests/issues/336/events | https://github.com/psf/requests/issues/336 | 2,744,207 | MDU6SXNzdWUyNzQ0MjA3 | 336 | zlib error in Requests and not urllib2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44229?v=4",
"events_url": "https://api.github.com/users/samuelclay/events{/privacy}",
"followers_url": "https://api.github.com/users/samuelclay/followers",
"following_url": "https://api.github.com/users/samuelclay/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2012-01-06T04:33:22Z | 2021-09-09T07:05:23Z | 2012-07-27T06:05:57Z | NONE | resolved | ```
>>> url = 'http://www.federaltimes.com/rss/'
>>> len(urllib2.urlopen(url).read())
70636
>>> requests.get(url)
<Response [200]>
>>> requests.get(url).content
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.7-intel/egg/requests/models.py", line 693, in 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/336/reactions"
} | https://api.github.com/repos/psf/requests/issues/336/timeline | null | completed | null | null | false | [
"Fixed!\n"
] |
https://api.github.com/repos/psf/requests/issues/335 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/335/labels{/name} | https://api.github.com/repos/psf/requests/issues/335/comments | https://api.github.com/repos/psf/requests/issues/335/events | https://github.com/psf/requests/issues/335 | 2,744,188 | MDU6SXNzdWUyNzQ0MTg4 | 335 | CookieError in requests and not in urllib2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/44229?v=4",
"events_url": "https://api.github.com/users/samuelclay/events{/privacy}",
"followers_url": "https://api.github.com/users/samuelclay/followers",
"following_url": "https://api.github.com/users/samuelclay/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 | 29 | 2012-01-06T04:30:34Z | 2021-09-09T09:00:44Z | 2012-03-09T16:58:39Z | NONE | resolved | In `0.9.0`:
```
>>> import requests
>>> import urllib2
>>> url = 'http://www.miniclip.com/games/en/'
>>> len(urllib2.urlopen(url).read())
111106
>>> requests.get(url)
len(urllTraceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.macosx-10.7-intel/egg/requests/api.py", line 50, 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/335/reactions"
} | https://api.github.com/repos/psf/requests/issues/335/timeline | null | completed | null | null | false | [
"That's because urllib2 isn't reading the cookies unless you tell it to.\n",
"Another url:\n\n```\n>>> url = 'https://partner.microsoft.com'\n>>> requests.get(url)\nTraceback (most recent call last):\n File \"<stdin>\", line 1, in <module>\n File \"build/bdist.macosx-10.7-intel/egg/requests/api.py\", line 50, i... |
https://api.github.com/repos/psf/requests/issues/334 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/334/labels{/name} | https://api.github.com/repos/psf/requests/issues/334/comments | https://api.github.com/repos/psf/requests/issues/334/events | https://github.com/psf/requests/issues/334 | 2,737,699 | MDU6SXNzdWUyNzM3Njk5 | 334 | tests for multi-valued params | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/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 | 2012-01-05T17:10:27Z | 2021-09-09T07:05:21Z | 2012-07-27T06:08:35Z | CONTRIBUTOR | resolved | data={'x': [5, 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/334/reactions"
} | https://api.github.com/repos/psf/requests/issues/334/timeline | null | completed | null | null | false | [
"This issue can be closed right? https://github.com/kennethreitz/requests/blob/develop/test_requests.py#L412\n"
] |
https://api.github.com/repos/psf/requests/issues/333 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/333/labels{/name} | https://api.github.com/repos/psf/requests/issues/333/comments | https://api.github.com/repos/psf/requests/issues/333/events | https://github.com/psf/requests/pull/333 | 2,731,574 | MDExOlB1bGxSZXF1ZXN0NjU0MTU0 | 333 | Add eager mode for raising errors immediately. | {
"avatar_url": "https://avatars.githubusercontent.com/u/534177?v=4",
"events_url": "https://api.github.com/users/bryanhelmig/events{/privacy}",
"followers_url": "https://api.github.com/users/bryanhelmig/followers",
"following_url": "https://api.github.com/users/bryanhelmig/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 22 | 2012-01-05T04:10:35Z | 2021-09-08T23:08:15Z | 2012-01-06T06:04:11Z | CONTRIBUTOR | resolved | I'm not 100% on:
1. The name of the setting. Settled on `eager_mode`.
2. The placing of the `raise_for_status()` method call. Settled on the very end of `Request.send()`.
Let me know if this is something you guys are interested in adding or not. It's pretty lightweight and I've included a test case.
_PS: the test `te... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/333/reactions"
} | https://api.github.com/repos/psf/requests/issues/333/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/333.diff",
"html_url": "https://github.com/psf/requests/pull/333",
"merged_at": "2012-01-06T06:04:11Z",
"patch_url": "https://github.com/psf/requests/pull/333.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/333"
} | true | [
"Hmm, interesting. I have some reservation about adding this, but it would save a lot of `raise_for_status` raising. Hmm..\n",
"Yeah, I did a quick count and found 91 matches for `raise_for_status` in my code. This should cut that down substantially. :-) \n\nIf you have a different idea on implementing this, I'm ... |
https://api.github.com/repos/psf/requests/issues/332 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/332/labels{/name} | https://api.github.com/repos/psf/requests/issues/332/comments | https://api.github.com/repos/psf/requests/issues/332/events | https://github.com/psf/requests/issues/332 | 2,724,691 | MDU6SXNzdWUyNzI0Njkx | 332 | Cookies are sent regardless to domain when redirecting | {
"avatar_url": "https://avatars.githubusercontent.com/u/1304175?v=4",
"events_url": "https://api.github.com/users/csernazs/events{/privacy}",
"followers_url": "https://api.github.com/users/csernazs/followers",
"following_url": "https://api.github.com/users/csernazs/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2012-01-04T16:00:56Z | 2021-09-09T10:00:44Z | 2012-01-23T08:01:20Z | NONE | resolved | Assume an HTTP server which sets the following headers when a GET request is made to "http://example1.foo/bar.cgi":
Location: http://example2.foo/bar.cgi
Set-Cookie: mycookie=something; path=/
In the case of running:
```
requests.get("http://example1.foo/bar.cgi")
```
results sending the mycookie to example2.foo/ba... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/332/reactions"
} | https://api.github.com/repos/psf/requests/issues/332/timeline | null | completed | null | null | false | [
"Correct. Cookies are currently not tied to a domain. Having Cookiejar-backed cookies once again will solve this, but this isn't exactly trivial to do with httplib (As opposed to urllib2).\n"
] |
https://api.github.com/repos/psf/requests/issues/331 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/331/labels{/name} | https://api.github.com/repos/psf/requests/issues/331/comments | https://api.github.com/repos/psf/requests/issues/331/events | https://github.com/psf/requests/pull/331 | 2,705,153 | MDExOlB1bGxSZXF1ZXN0NjQ0OTU1 | 331 | Refactor r.iter_lines to retrieve more than one byte at a time. | {
"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 | 2012-01-02T21:27:17Z | 2021-09-08T13:06:07Z | 2012-01-06T06:11:31Z | CONTRIBUTOR | resolved | Fixes universal line ending handling, but takes away ability to specyfy
custom line endings.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/331/reactions"
} | https://api.github.com/repos/psf/requests/issues/331/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/331.diff",
"html_url": "https://github.com/psf/requests/pull/331",
"merged_at": "2012-01-06T06:11:31Z",
"patch_url": "https://github.com/psf/requests/pull/331.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/331"
} | true | [
"This looks pretty solid. \n"
] |
https://api.github.com/repos/psf/requests/issues/330 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/330/labels{/name} | https://api.github.com/repos/psf/requests/issues/330/comments | https://api.github.com/repos/psf/requests/issues/330/events | https://github.com/psf/requests/issues/330 | 2,695,088 | MDU6SXNzdWUyNjk1MDg4 | 330 | Returning request.content in preferred format [feature request] | {
"avatar_url": "https://avatars.githubusercontent.com/u/311929?v=4",
"events_url": "https://api.github.com/users/kracekumar/events{/privacy}",
"followers_url": "https://api.github.com/users/kracekumar/followers",
"following_url": "https://api.github.com/users/kracekumar/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 4 | 2011-12-31T17:26:35Z | 2021-09-09T10:00:46Z | 2011-12-31T17:30:44Z | CONTRIBUTOR | resolved | `r = requests.get("some api which results contents in json")
type(r.content) => unicode.`
`r = requests.get("some api which results contents in json", return_format = 'json")
type(r.content) => json`
In current scenario request will return r,content in unicode format even though api results json or xml contents.
It w... | {
"avatar_url": "https://avatars.githubusercontent.com/u/311929?v=4",
"events_url": "https://api.github.com/users/kracekumar/events{/privacy}",
"followers_url": "https://api.github.com/users/kracekumar/followers",
"following_url": "https://api.github.com/users/kracekumar/following{/other_user}",
"gists_url": ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/330/reactions"
} | https://api.github.com/repos/psf/requests/issues/330/timeline | null | completed | null | null | false | [
"This would be a cool feature, but it's way out of scope for requests. I've considered it many a time, but it comes down to this: requests is an http library, not a json, html, xml, yaml, &c library. \n",
"Yes, you are absolute correct. Converting unicode to json hardly takes few lines, I just thought it will be ... |
https://api.github.com/repos/psf/requests/issues/329 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/329/labels{/name} | https://api.github.com/repos/psf/requests/issues/329/comments | https://api.github.com/repos/psf/requests/issues/329/events | https://github.com/psf/requests/pull/329 | 2,693,313 | MDExOlB1bGxSZXF1ZXN0NjQxNzI2 | 329 | Refactor stream_decode_gzip and _deflate into one function, stream_decom... | {
"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-31T03:19:42Z | 2021-09-08T13:06:08Z | 2011-12-31T17:42:34Z | CONTRIBUTOR | resolved | ...press.
stream_decompress will now iterate over the raw data if there is a problem with decompression
Remove gzip decoding from Response.content, as urllib3 was doing it anyway.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/329/reactions"
} | https://api.github.com/repos/psf/requests/issues/329/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/329.diff",
"html_url": "https://github.com/psf/requests/pull/329",
"merged_at": "2011-12-31T17:42:34Z",
"patch_url": "https://github.com/psf/requests/pull/329.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/329"
} | true | [
"Love this. Thanks!\n"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.