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/1228 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1228/labels{/name} | https://api.github.com/repos/psf/requests/issues/1228/comments | https://api.github.com/repos/psf/requests/issues/1228/events | https://github.com/psf/requests/issues/1228 | 11,557,184 | MDU6SXNzdWUxMTU1NzE4NA== | 1,228 | Problem with missing cookies after redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/3728987?v=4",
"events_url": "https://api.github.com/users/JohnCC330/events{/privacy}",
"followers_url": "https://api.github.com/users/JohnCC330/followers",
"following_url": "https://api.github.com/users/JohnCC330/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 17 | 2013-03-01T19:01:55Z | 2021-09-09T01:22:20Z | 2013-09-27T08:45:29Z | NONE | resolved | I sent this by e-mail - no response. I think this might be of interest to others:
> I have a problem when connecting to a site. Here's the scenario:
>
> 1) I enter a login page, which has a form
> 2) I send (using Requests) a POST with the username, pw, etc.
> (This POST includes the SESSIONID)
> 3) The webpage wi... | {
"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/1228/reactions"
} | https://api.github.com/repos/psf/requests/issues/1228/timeline | null | completed | null | null | false | [
"@JohnCC330 how are you passing the `SESSIONID` cookie? Could you give us a snippet so we can attempt to reproduce it?\n",
"On Fri, 01 Mar 2013 15:56:14 -0800\nIan Cordasco notifications@github.com wrote:\n\n> @JohnCC330 how are you passing the `SESSIONID` cookie? Could you give us a snippet so we can attempt to ... |
https://api.github.com/repos/psf/requests/issues/1227 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1227/labels{/name} | https://api.github.com/repos/psf/requests/issues/1227/comments | https://api.github.com/repos/psf/requests/issues/1227/events | https://github.com/psf/requests/pull/1227 | 11,536,342 | MDExOlB1bGxSZXF1ZXN0NDM5MDMyMw== | 1,227 | Add ability to pass `response` to `HTTPError()` | {
"avatar_url": "https://avatars.githubusercontent.com/u/104330?v=4",
"events_url": "https://api.github.com/users/dmedvinsky/events{/privacy}",
"followers_url": "https://api.github.com/users/dmedvinsky/followers",
"following_url": "https://api.github.com/users/dmedvinsky/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 10 | 2013-03-01T09:01:52Z | 2021-09-08T23:06:09Z | 2013-03-04T22:54:32Z | CONTRIBUTOR | resolved | Just a little refactoring, but it seems nicer to me to be able to pass
the response when constructing the `HTTPError` instance instead of
constructing it and then changing the member variable.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1227/reactions"
} | https://api.github.com/repos/psf/requests/issues/1227/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1227.diff",
"html_url": "https://github.com/psf/requests/pull/1227",
"merged_at": "2013-03-04T22:54:32Z",
"patch_url": "https://github.com/psf/requests/pull/1227.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1227"
} | true | [
"Fixed test failing on Python 3 and force-pushed.\n",
"I'm +1 on this. It definitely seems worth adding to allow for extra information and it isn't so much a change in the API although @Lukasa and @kennethreitz may disagree.\n",
"Well, it doesn't really add any extra info as `response` was attached to `HTTPErro... |
https://api.github.com/repos/psf/requests/issues/1226 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1226/labels{/name} | https://api.github.com/repos/psf/requests/issues/1226/comments | https://api.github.com/repos/psf/requests/issues/1226/events | https://github.com/psf/requests/pull/1226 | 11,536,296 | MDExOlB1bGxSZXF1ZXN0NDM5MDI5Nw== | 1,226 | Fix couple of typos in HISTORY.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/104330?v=4",
"events_url": "https://api.github.com/users/dmedvinsky/events{/privacy}",
"followers_url": "https://api.github.com/users/dmedvinsky/followers",
"following_url": "https://api.github.com/users/dmedvinsky/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-03-01T09:00:24Z | 2021-09-08T19:00:53Z | 2013-03-02T21:00:48Z | CONTRIBUTOR | resolved | One typo and a couple of auto-completions, I guess.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1226/reactions"
} | https://api.github.com/repos/psf/requests/issues/1226/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1226.diff",
"html_url": "https://github.com/psf/requests/pull/1226",
"merged_at": "2013-03-02T21:00:48Z",
"patch_url": "https://github.com/psf/requests/pull/1226.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1226"
} | true | [
":+1: Thanks :)\n"
] |
https://api.github.com/repos/psf/requests/issues/1225 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1225/labels{/name} | https://api.github.com/repos/psf/requests/issues/1225/comments | https://api.github.com/repos/psf/requests/issues/1225/events | https://github.com/psf/requests/issues/1225 | 11,526,135 | MDU6SXNzdWUxMTUyNjEzNQ== | 1,225 | Documentation: response object status/reason | {
"avatar_url": "https://avatars.githubusercontent.com/u/2817308?v=4",
"events_url": "https://api.github.com/users/JonathanCooper/events{/privacy}",
"followers_url": "https://api.github.com/users/JonathanCooper/followers",
"following_url": "https://api.github.com/users/JonathanCooper/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2013-03-01T00:09:50Z | 2021-09-09T00:10:09Z | 2013-03-20T09:02:43Z | NONE | resolved | The response header [documentation](http://docs.python-requests.org/en/latest/user/quickstart/#response-headers) claims that the headers dict will contain a 'status' entry, containing both the return status and the reason, for example '200 OK'.
In my tests, no such entry exists in the headers dict, although the same d... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1225/reactions"
} | https://api.github.com/repos/psf/requests/issues/1225/timeline | null | completed | null | null | false | [
"Wow. That's not been the case for...a while. Want to submit a docs PR to remove it? I'd do it, but I'm preparing to get on a plane.\n",
"Fixed by #1234. Thanks!\n",
"Note that now the `response.reason` attribute is _entirely undocumented_.\n",
"This change did not cause that situation to arise. You're right ... |
https://api.github.com/repos/psf/requests/issues/1224 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1224/labels{/name} | https://api.github.com/repos/psf/requests/issues/1224/comments | https://api.github.com/repos/psf/requests/issues/1224/events | https://github.com/psf/requests/issues/1224 | 11,522,911 | MDU6SXNzdWUxMTUyMjkxMQ== | 1,224 | IOError when accessing a Response object after socket closes | {
"avatar_url": "https://avatars.githubusercontent.com/u/3731972?v=4",
"events_url": "https://api.github.com/users/j8s0n/events{/privacy}",
"followers_url": "https://api.github.com/users/j8s0n/followers",
"following_url": "https://api.github.com/users/j8s0n/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 4 | 2013-02-28T22:35:08Z | 2021-09-09T05:00:36Z | 2013-03-01T00:58:58Z | NONE | resolved | If the server closes the connection immediately after writing the data, an attempt to use the Response object causes an IOError.
``` python
r = requests.get(url)
# Server closes connection
print(r.content) # Throws IOError
```
| {
"avatar_url": "https://avatars.githubusercontent.com/u/3731972?v=4",
"events_url": "https://api.github.com/users/j8s0n/events{/privacy}",
"followers_url": "https://api.github.com/users/j8s0n/followers",
"following_url": "https://api.github.com/users/j8s0n/following{/other_user}",
"gists_url": "https://api.g... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1224/reactions"
} | https://api.github.com/repos/psf/requests/issues/1224/timeline | null | completed | null | null | false | [
"Why is this an issue? We can only tell you exactly what happened, which is exactly an error with IO.\n",
"My assumption is that the get() call sends a GET request and captures the output, storing it in the Response object.\nIf that is the case, then I should be able to access that Response as long as it stays in... |
https://api.github.com/repos/psf/requests/issues/1223 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1223/labels{/name} | https://api.github.com/repos/psf/requests/issues/1223/comments | https://api.github.com/repos/psf/requests/issues/1223/events | https://github.com/psf/requests/pull/1223 | 11,515,637 | MDExOlB1bGxSZXF1ZXN0NDM3OTU5MA== | 1,223 | Fixes __getstate__ for session pickling | {
"avatar_url": "https://avatars.githubusercontent.com/u/575533?v=4",
"events_url": "https://api.github.com/users/andrewjesaitis/events{/privacy}",
"followers_url": "https://api.github.com/users/andrewjesaitis/followers",
"following_url": "https://api.github.com/users/andrewjesaitis/following{/other_user}",
"... | [] | closed | true | null | [] | null | 7 | 2013-02-28T19:36:00Z | 2021-09-08T23:01:11Z | 2013-03-04T22:52:31Z | CONTRIBUTOR | resolved | As noted in #1088, sessions cannot be pickled currently. I ran into this when implementing some multiprocessing functionality for a project.
Here, I'm just checking for `__attrs__` prior to trying to iterate over it. It does occur to me that if `__attrs__` is removed permanently, maybe the `__getstate__` method shoul... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1223/reactions"
} | https://api.github.com/repos/psf/requests/issues/1223/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1223.diff",
"html_url": "https://github.com/psf/requests/pull/1223",
"merged_at": "2013-03-04T22:52:31Z",
"patch_url": "https://github.com/psf/requests/pull/1223.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1223"
} | true | [
":-1: Why not just add `__attrs__` back to the Session object? You also have the code you describe in the PR commented out.\n\nFix it up please?\n",
"Whoops. I committed while I was testing the later possibility of stubbing out the method. I amended back to the way I originally had it.\n\nI'm fine with adding `__... |
https://api.github.com/repos/psf/requests/issues/1222 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1222/labels{/name} | https://api.github.com/repos/psf/requests/issues/1222/comments | https://api.github.com/repos/psf/requests/issues/1222/events | https://github.com/psf/requests/issues/1222 | 11,504,896 | MDU6SXNzdWUxMTUwNDg5Ng== | 1,222 | NameError in virtualenv | {
"avatar_url": "https://avatars.githubusercontent.com/u/2916591?v=4",
"events_url": "https://api.github.com/users/justbrian/events{/privacy}",
"followers_url": "https://api.github.com/users/justbrian/followers",
"following_url": "https://api.github.com/users/justbrian/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 5 | 2013-02-28T15:27:17Z | 2021-09-09T04:00:50Z | 2013-02-28T15:34:32Z | NONE | resolved | Hello,
I have just attempted to install requests into a virtualenv environment and am getting the error:
NameError: name 'CERT_NONE' is not defined
The full stacktrace is below. I tried to install requests with the command pip install -U requests in my virtual environment. An admittedly quick Google search didn't... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1222/reactions"
} | https://api.github.com/repos/psf/requests/issues/1222/timeline | null | completed | null | null | false | [
"Duplicate of #1221. This seems to be related to your not having SSL installed or properly configured/linked in Python. The fix is being worked out in shazow/urllib3 and will be imported as soon as it's ready.\n",
"The fix has been on requests master for a long time. (#1128)\n",
"Ah @t-8ch sorry for the confusi... |
https://api.github.com/repos/psf/requests/issues/1221 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1221/labels{/name} | https://api.github.com/repos/psf/requests/issues/1221/comments | https://api.github.com/repos/psf/requests/issues/1221/events | https://github.com/psf/requests/pull/1221 | 11,485,378 | MDExOlB1bGxSZXF1ZXN0NDM2NDUxMA== | 1,221 | I do not agree this behavior should be occurring in master branch | {
"avatar_url": "https://avatars.githubusercontent.com/u/52170?v=4",
"events_url": "https://api.github.com/users/rpherrera/events{/privacy}",
"followers_url": "https://api.github.com/users/rpherrera/followers",
"following_url": "https://api.github.com/users/rpherrera/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 8 | 2013-02-28T02:38:06Z | 2021-09-08T19:00:52Z | 2013-02-28T02:42:41Z | NONE | resolved | Installing requests from pip gives me the following error:
```
Unpacking ./requests/requests-1.0.4.zip
Running setup.py egg_info for package from file:///home/fclbot/requests/requests-1.0.4.zip
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/tmp/pip-a6e6xF-build/setup.... | {
"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/1221/reactions"
} | https://api.github.com/repos/psf/requests/issues/1221/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1221.diff",
"html_url": "https://github.com/psf/requests/pull/1221",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1221.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1221"
} | true | [
"You need to take a better look at your problem. The `NameError` caused in your example is not in the code you just commented out: CERT_NONE is not in any of that code. This bug cannot possibly be fixed by this PR.\n",
"Ugh, ignore the above, that was a lousy reason. However, this bug is in urllib3, so we aren't ... |
https://api.github.com/repos/psf/requests/issues/1220 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1220/labels{/name} | https://api.github.com/repos/psf/requests/issues/1220/comments | https://api.github.com/repos/psf/requests/issues/1220/events | https://github.com/psf/requests/issues/1220 | 11,484,506 | MDU6SXNzdWUxMTQ4NDUwNg== | 1,220 | raise_for_status does not raise for redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/252280?v=4",
"events_url": "https://api.github.com/users/mjallday/events{/privacy}",
"followers_url": "https://api.github.com/users/mjallday/followers",
"following_url": "https://api.github.com/users/mjallday/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 15 | 2013-02-28T01:55:11Z | 2021-09-09T04:00:50Z | 2013-03-01T23:59:11Z | NONE | resolved | According [to the code](https://github.com/kennethreitz/requests/blob/master/requests/models.py#L648) it no longer raises for redirects, this used to be an option called `allow_redirects`.
Now it doesn't raise for 3xx responses but [the docs say](http://docs.python-requests.org/en/latest/user/quickstart/#response-sta... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1220/reactions"
} | https://api.github.com/repos/psf/requests/issues/1220/timeline | null | completed | null | null | false | [
"I contend the docs are poorly phrased. Redirects are expected and a natural part of HTTP, and they should not cause exceptions.\n",
"The better doc would be:\n\n> If we made a bad request (4xx response), we can raise it with Response.raise_for_status():\n\nWe might want to include 5xx responses there too, though... |
https://api.github.com/repos/psf/requests/issues/1219 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1219/labels{/name} | https://api.github.com/repos/psf/requests/issues/1219/comments | https://api.github.com/repos/psf/requests/issues/1219/events | https://github.com/psf/requests/pull/1219 | 11,461,537 | MDExOlB1bGxSZXF1ZXN0NDM1MTg1OA== | 1,219 | Adding max_retries as an argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4",
"events_url": "https://api.github.com/users/Wilfred/events{/privacy}",
"followers_url": "https://api.github.com/users/Wilfred/followers",
"following_url": "https://api.github.com/users/Wilfred/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 6 | 2013-02-27T16:04:34Z | 2021-09-09T00:01:17Z | 2013-03-02T21:02:27Z | CONTRIBUTOR | resolved | Related ticket: #1208
This pull request adds support for `max_retries` as an argument to `requests.request`. I think that since we already support `timeout` as a top-level argument then it makes sense to support `max_retries` too.
I've added a unit test, but this is a very difficult thing to test for. I can't see an... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1219/reactions"
} | https://api.github.com/repos/psf/requests/issues/1219/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1219.diff",
"html_url": "https://github.com/psf/requests/pull/1219",
"merged_at": "2013-03-02T21:02:27Z",
"patch_url": "https://github.com/psf/requests/pull/1219.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1219"
} | true | [
"There is nothing wrong with this PR, but it won't be accepted. Requests is in [feature freeze](http://docs.python-requests.org/en/latest/dev/todo/#feature-freeze), and that goes doubly for changes that affect the API. As @sigmavirus24 pointed out in #1208, there are plenty of ways to specify this value.\n",
"Tha... |
https://api.github.com/repos/psf/requests/issues/1218 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1218/labels{/name} | https://api.github.com/repos/psf/requests/issues/1218/comments | https://api.github.com/repos/psf/requests/issues/1218/events | https://github.com/psf/requests/issues/1218 | 11,418,135 | MDU6SXNzdWUxMTQxODEzNQ== | 1,218 | HTTPS proxy not being used - max retries exceeded | {
"avatar_url": "https://avatars.githubusercontent.com/u/2835900?v=4",
"events_url": "https://api.github.com/users/gfairchild/events{/privacy}",
"followers_url": "https://api.github.com/users/gfairchild/followers",
"following_url": "https://api.github.com/users/gfairchild/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 8 | 2013-02-26T17:06:10Z | 2021-09-08T04:00:40Z | 2013-02-26T17:37:41Z | NONE | resolved | I'm behind a proxy at work, and I'm having issues getting requests to use the proxy. urllib2 is able to use it just fine, but requests fails. I've tried both setting an environment variable (both HTTPS_PROXY and https_proxy) and passing in a dict, but neither work.
I'm on OSX 10.7.5 using Python 2.7.3 and requests 1.1... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1218/reactions"
} | https://api.github.com/repos/psf/requests/issues/1218/timeline | null | completed | null | null | false | [
"I believe this is a duplicate and related to shazow/urllib3#139\n\n@Lukasa thoughts?\n",
"Ah yes, it looks like you may be right. I just looked at the open issues and didn't think to look at the closed issues.\n",
"No worries. We're just waiting for that pull request to land before we can support this. I belie... |
https://api.github.com/repos/psf/requests/issues/1217 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1217/labels{/name} | https://api.github.com/repos/psf/requests/issues/1217/comments | https://api.github.com/repos/psf/requests/issues/1217/events | https://github.com/psf/requests/issues/1217 | 11,387,129 | MDU6SXNzdWUxMTM4NzEyOQ== | 1,217 | Make documentation for old versions of requests available | {
"avatar_url": "https://avatars.githubusercontent.com/u/299979?v=4",
"events_url": "https://api.github.com/users/melinath/events{/privacy}",
"followers_url": "https://api.github.com/users/melinath/followers",
"following_url": "https://api.github.com/users/melinath/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2013-02-26T00:01:28Z | 2021-09-09T04:00:41Z | 2013-04-01T18:34:10Z | NONE | resolved | I can't keep up with the progress that requests is making in one of my projects. On the one hand, it's great that requests is constantly being developed. On the other hand, I can no longer find the documentation which applies to the version I'm actually developing with (0.14.2), which is inconvenient.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1217/reactions"
} | https://api.github.com/repos/psf/requests/issues/1217/timeline | null | completed | null | null | false | [
"I know I can view it in the github code viewer; what I'm asking is that old doc versions be included on readthedocs.\n",
"They used to be included, but RTD's version picker got absurd after 10+ versions.\n",
"Yeah, I've run into that issue with their UI as well. You've inspired me to open a ticket on the subje... |
https://api.github.com/repos/psf/requests/issues/1216 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1216/labels{/name} | https://api.github.com/repos/psf/requests/issues/1216/comments | https://api.github.com/repos/psf/requests/issues/1216/events | https://github.com/psf/requests/pull/1216 | 11,343,410 | MDExOlB1bGxSZXF1ZXN0NDI5NjE0Nw== | 1,216 | Not sure if minor spelling mishap | {
"avatar_url": "https://avatars.githubusercontent.com/u/897351?v=4",
"events_url": "https://api.github.com/users/rhyselsmore/events{/privacy}",
"followers_url": "https://api.github.com/users/rhyselsmore/followers",
"following_url": "https://api.github.com/users/rhyselsmore/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 3 | 2013-02-25T00:21:02Z | 2021-09-08T19:00:52Z | 2013-02-25T09:02:43Z | NONE | resolved | Checked it out, couldn't see pycon as a syntax highlighter (not trying to be a smart ass either :sparkles:)
| {
"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/1216/reactions"
} | https://api.github.com/repos/psf/requests/issues/1216/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1216.diff",
"html_url": "https://github.com/psf/requests/pull/1216",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1216.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1216"
} | true | [
"pycon works on GitHub, but not sphinx if I remember correctly... then again \nGitHub uses pygments and so does sphinx... I'm honestly not sure now\nOn Sun, Feb 24, 2013 at 04:21:06PM -0800, Rhys Elsmore wrote:\n\n> Checked it out, couldn't see pycon as a syntax highlighter (not trying to be a smart ass either :spa... |
https://api.github.com/repos/psf/requests/issues/1215 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1215/labels{/name} | https://api.github.com/repos/psf/requests/issues/1215/comments | https://api.github.com/repos/psf/requests/issues/1215/events | https://github.com/psf/requests/issues/1215 | 11,335,111 | MDU6SXNzdWUxMTMzNTExMQ== | 1,215 | Requests doesn't compute Content-Length correctly when transmitting OAuth params in request body. Change for issue #1159 regressed fix for issue #1096. | {
"avatar_url": "https://avatars.githubusercontent.com/u/470362?v=4",
"events_url": "https://api.github.com/users/matthewlmcclure/events{/privacy}",
"followers_url": "https://api.github.com/users/matthewlmcclure/followers",
"following_url": "https://api.github.com/users/matthewlmcclure/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2013-02-24T14:30:55Z | 2021-09-09T05:00:38Z | 2013-02-25T14:34:06Z | CONTRIBUTOR | resolved | The change for #1159 regressed the fix for #1096. Recomputing Content-Length for requests that transmit OAuth params in the request body is broken again. Here's a test case:
```
[mlm@matt-mmf-macbook.local:~]
$ ipython
Python 2.7.3 (default, Sep 15 2012, 19:45:36)
Type "copyright", "credits" or "license" for more inf... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1215/reactions"
} | https://api.github.com/repos/psf/requests/issues/1215/timeline | null | completed | null | null | false | [
"I didn't like that pull request anyway. Like we said on that issue, the user should go way out of their way to break things. @kennethreitz do you mind if I revert and push directly to requests? It's really not much of a difficult fix.\n",
"@sigmavirus24 sure, this once :)\n",
"Or you could revert it yourself ;... |
https://api.github.com/repos/psf/requests/issues/1214 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1214/labels{/name} | https://api.github.com/repos/psf/requests/issues/1214/comments | https://api.github.com/repos/psf/requests/issues/1214/events | https://github.com/psf/requests/pull/1214 | 11,317,741 | MDExOlB1bGxSZXF1ZXN0NDI4ODM3Ng== | 1,214 | Status object | {
"avatar_url": "https://avatars.githubusercontent.com/u/251281?v=4",
"events_url": "https://api.github.com/users/DanielOaks/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielOaks/followers",
"following_url": "https://api.github.com/users/DanielOaks/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 0 | 2013-02-23T09:03:17Z | 2021-09-08T23:08:30Z | 2013-02-23T09:03:39Z | NONE | resolved | I think this is nicer, in fact
| {
"avatar_url": "https://avatars.githubusercontent.com/u/251281?v=4",
"events_url": "https://api.github.com/users/DanielOaks/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielOaks/followers",
"following_url": "https://api.github.com/users/DanielOaks/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/1214/reactions"
} | https://api.github.com/repos/psf/requests/issues/1214/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1214.diff",
"html_url": "https://github.com/psf/requests/pull/1214",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1214.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1214"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/1213 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1213/labels{/name} | https://api.github.com/repos/psf/requests/issues/1213/comments | https://api.github.com/repos/psf/requests/issues/1213/events | https://github.com/psf/requests/pull/1213 | 11,315,080 | MDExOlB1bGxSZXF1ZXN0NDI4NzQ1Mg== | 1,213 | Status Code Names/Descriptions | {
"avatar_url": "https://avatars.githubusercontent.com/u/251281?v=4",
"events_url": "https://api.github.com/users/DanielOaks/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielOaks/followers",
"following_url": "https://api.github.com/users/DanielOaks/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 8 | 2013-02-23T03:25:32Z | 2021-09-08T19:00:52Z | 2013-02-25T10:33:06Z | NONE | resolved | This pull request adds printable names for status codes, as both the `requests.status_codes.name` dictionary, and accessible directly from a Response object as `Response.status_name`.
I think it's quite a useful thing to have, say for printing out a name to go with a given status code (especially in the event of a fai... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1213/reactions"
} | https://api.github.com/repos/psf/requests/issues/1213/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1213.diff",
"html_url": "https://github.com/psf/requests/pull/1213",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1213.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1213"
} | true | [
"I'm actually quite interested to see what you guys think about that `Status` object idea, at the end of the description up there.\n\nKeeping a shim so that `Response.status_code` gets/sets the value of Response.status.code would be quite simple, and I think that it's cleaner than adding a `Response.status_name` ob... |
https://api.github.com/repos/psf/requests/issues/1212 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1212/labels{/name} | https://api.github.com/repos/psf/requests/issues/1212/comments | https://api.github.com/repos/psf/requests/issues/1212/events | https://github.com/psf/requests/issues/1212 | 11,314,534 | MDU6SXNzdWUxMTMxNDUzNA== | 1,212 | Status Code Descriptions | {
"avatar_url": "https://avatars.githubusercontent.com/u/251281?v=4",
"events_url": "https://api.github.com/users/DanielOaks/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielOaks/followers",
"following_url": "https://api.github.com/users/DanielOaks/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-02-23T02:30:28Z | 2021-09-09T05:00:39Z | 2013-02-23T03:26:57Z | NONE | resolved | I think being able to return a description for HTTP status codes might be nice. Something you could print out along with the status code, in case you had to.
I'm thinking a use case as something along these lines:
``` python
r = requests.get(url, timeout=20)
if r.status_code != requests.codes.ok:
return 'HTTP {c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/251281?v=4",
"events_url": "https://api.github.com/users/DanielOaks/events{/privacy}",
"followers_url": "https://api.github.com/users/DanielOaks/followers",
"following_url": "https://api.github.com/users/DanielOaks/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/1212/reactions"
} | https://api.github.com/repos/psf/requests/issues/1212/timeline | null | completed | null | null | false | [
"Sorry, should've written the code right away, rather than duping the issue with the PR. See #1213 \n"
] |
https://api.github.com/repos/psf/requests/issues/1211 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1211/labels{/name} | https://api.github.com/repos/psf/requests/issues/1211/comments | https://api.github.com/repos/psf/requests/issues/1211/events | https://github.com/psf/requests/issues/1211 | 11,297,618 | MDU6SXNzdWUxMTI5NzYxOA== | 1,211 | Ability to dump request content | {
"avatar_url": "https://avatars.githubusercontent.com/u/3127473?v=4",
"events_url": "https://api.github.com/users/jrmoserbaltimore/events{/privacy}",
"followers_url": "https://api.github.com/users/jrmoserbaltimore/followers",
"following_url": "https://api.github.com/users/jrmoserbaltimore/following{/other_user... | [] | closed | true | null | [] | null | 7 | 2013-02-22T18:20:23Z | 2021-09-09T05:00:37Z | 2013-02-27T18:47:00Z | NONE | resolved | There is no way to dump request content. Currently digging with tcpdump and wireshark shows that the requests should be going through fine; r.history shows 302 and 401 for a digest authorization, and r.status_code gives 200.
Running curl with the data I'm giving is making the target Web application (a closed-source J... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1211/reactions"
} | https://api.github.com/repos/psf/requests/issues/1211/timeline | null | completed | null | null | false | [
"If you're digging with Wireshark, you are seeing exactly what went out on the wire. Requests cannot give you better information than that.\n\nAs it turns out, you can get very close to the information you want by examining the `PreparedRequest` that was created. For instance, the request that triggered the 200 is ... |
https://api.github.com/repos/psf/requests/issues/1210 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1210/labels{/name} | https://api.github.com/repos/psf/requests/issues/1210/comments | https://api.github.com/repos/psf/requests/issues/1210/events | https://github.com/psf/requests/pull/1210 | 11,269,160 | MDExOlB1bGxSZXF1ZXN0NDI2NjM1Ng== | 1,210 | Unquote proxy usernames and passwords. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2013-02-22T00:39:45Z | 2021-09-08T23:01:15Z | 2013-02-25T10:31:01Z | MEMBER | resolved | Should resolve #1207.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1210/reactions"
} | https://api.github.com/repos/psf/requests/issues/1210/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1210.diff",
"html_url": "https://github.com/psf/requests/pull/1210",
"merged_at": "2013-02-25T10:31:01Z",
"patch_url": "https://github.com/psf/requests/pull/1210.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1210"
} | true | [
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1209 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1209/labels{/name} | https://api.github.com/repos/psf/requests/issues/1209/comments | https://api.github.com/repos/psf/requests/issues/1209/events | https://github.com/psf/requests/issues/1209 | 11,255,249 | MDU6SXNzdWUxMTI1NTI0OQ== | 1,209 | SSL verification broken if using a proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/238652?v=4",
"events_url": "https://api.github.com/users/schlamar/events{/privacy}",
"followers_url": "https://api.github.com/users/schlamar/followers",
"following_url": "https://api.github.com/users/schlamar/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 17 | 2013-02-21T19:26:56Z | 2021-09-09T02:11:53Z | 2013-02-22T00:11:46Z | CONTRIBUTOR | resolved | According to #1204 `requests` should fully support HTTP proxies. However, the SSL verification is broken on my system.
If requesting without a proxy, I'm getting as expected:
```
>>> requests.get('https://kennethreitz.org')
requests.exceptions.SSLError: hostname 'kennethreitz.org' doesn't match either
of '*.herokuap... | {
"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/1209/reactions"
} | https://api.github.com/repos/psf/requests/issues/1209/timeline | null | completed | null | null | false | [
"No it isn't. I mean, there are some proxy bugs, but this isn't one, I don't think.\n\nI've not tested this, but I bet that if you run an HTTPS request over an HTTP connection to a proxy, the proxy does the HTTPS termination and then forwards the request to you in plaintext (you should be able to see this in Wiresh... |
https://api.github.com/repos/psf/requests/issues/1208 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1208/labels{/name} | https://api.github.com/repos/psf/requests/issues/1208/comments | https://api.github.com/repos/psf/requests/issues/1208/events | https://github.com/psf/requests/issues/1208 | 11,253,019 | MDU6SXNzdWUxMTI1MzAxOQ== | 1,208 | Not possible to specify max_retries in v1.X? | {
"avatar_url": "https://avatars.githubusercontent.com/u/70800?v=4",
"events_url": "https://api.github.com/users/Wilfred/events{/privacy}",
"followers_url": "https://api.github.com/users/Wilfred/followers",
"following_url": "https://api.github.com/users/Wilfred/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 6 | 2013-02-21T18:31:16Z | 2021-09-09T05:00:37Z | 2013-02-27T16:10:29Z | CONTRIBUTOR | resolved | In older versions of requests (pre v1.0), I was able to do:
```
requests.get('http://nonexistentdomainfoobar.com', config={"max_retries":10})
```
as far as I can tell, this isn't possible in v.1.0+. `HTTPAdapter.max_retries` uses `DEFAULT_RETRIES` and there's no way to change this.
Would it be possible to restore th... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1208/reactions"
} | https://api.github.com/repos/psf/requests/issues/1208/timeline | null | completed | null | null | false | [
"Why not do this?\n\n``` pycon\n>>> import requests\n>>> from requests.adapters import HTTPAdapter\n>>> s = requests.session()\n>>> h = HTTPAdapter()\n>>> h.max_retries = 10\n>>> h.max_retries\n10\n>>> s.mount('http://', h)\n>>> s.mount('https://', h)\n>>> s.get('http://nonexistentdomainfoobar.com')\n```\n\nIt isn'... |
https://api.github.com/repos/psf/requests/issues/1207 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1207/labels{/name} | https://api.github.com/repos/psf/requests/issues/1207/comments | https://api.github.com/repos/psf/requests/issues/1207/events | https://github.com/psf/requests/issues/1207 | 11,248,312 | MDU6SXNzdWUxMTI0ODMxMg== | 1,207 | URL-encoding not handled for proxy username and password | {
"avatar_url": "https://avatars.githubusercontent.com/u/792504?v=4",
"events_url": "https://api.github.com/users/maxbane/events{/privacy}",
"followers_url": "https://api.github.com/users/maxbane/followers",
"following_url": "https://api.github.com/users/maxbane/following{/other_user}",
"gists_url": "https://... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 4 | 2013-02-21T16:38:09Z | 2021-09-09T05:00:38Z | 2013-02-25T23:36:17Z | NONE | resolved | Proxy authentication information is specified by the `proxies` dictionary passed to `requests.get()` and other methods, like so:
```
requests.get(..., proxies = {'http': 'http://user:pass@myproxy.mydomain.com'})
```
Because the username and password are specified as part of a URL, they _must_ be URL-encoded by the ca... | {
"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/1207/reactions"
} | https://api.github.com/repos/psf/requests/issues/1207/timeline | null | completed | null | null | false | [
"That's ok, I'll work on it. =)\n",
"See #1210 for the PR.\n",
"Fixed. =) Thanks for raising the issue!\n",
"Thanks for fixing :+1: \n"
] |
https://api.github.com/repos/psf/requests/issues/1206 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1206/labels{/name} | https://api.github.com/repos/psf/requests/issues/1206/comments | https://api.github.com/repos/psf/requests/issues/1206/events | https://github.com/psf/requests/issues/1206 | 11,202,617 | MDU6SXNzdWUxMTIwMjYxNw== | 1,206 | Pickling of sessions does not work | {
"avatar_url": "https://avatars.githubusercontent.com/u/482701?v=4",
"events_url": "https://api.github.com/users/nityaoberoi/events{/privacy}",
"followers_url": "https://api.github.com/users/nityaoberoi/followers",
"following_url": "https://api.github.com/users/nityaoberoi/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2013-02-20T15:53:57Z | 2021-09-09T05:00:39Z | 2013-02-20T15:55:37Z | NONE | resolved | Referring to these lines: https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L457-L458
**attrs** is not defined and hence pickling of the session fails.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1206/reactions"
} | https://api.github.com/repos/psf/requests/issues/1206/timeline | null | completed | null | null | false | [
"Duplicate of #1088\n"
] |
https://api.github.com/repos/psf/requests/issues/1205 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1205/labels{/name} | https://api.github.com/repos/psf/requests/issues/1205/comments | https://api.github.com/repos/psf/requests/issues/1205/events | https://github.com/psf/requests/pull/1205 | 11,197,867 | MDExOlB1bGxSZXF1ZXN0NDIzMTA1Mg== | 1,205 | Missing line was allowing redirects with HEAD | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 3 | 2013-02-20T13:59:50Z | 2021-09-08T19:00:51Z | 2013-02-25T10:31:21Z | CONTRIBUTOR | resolved | Closes #1203
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1205/reactions"
} | https://api.github.com/repos/psf/requests/issues/1205/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1205.diff",
"html_url": "https://github.com/psf/requests/pull/1205",
"merged_at": "2013-02-25T10:31:21Z",
"patch_url": "https://github.com/psf/requests/pull/1205.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1205"
} | true | [
":heart:\n",
"Thanks -- I'm the one who opened #1203 .\n",
"You're welcome! I'm always happy to help.\n"
] |
https://api.github.com/repos/psf/requests/issues/1204 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1204/labels{/name} | https://api.github.com/repos/psf/requests/issues/1204/comments | https://api.github.com/repos/psf/requests/issues/1204/events | https://github.com/psf/requests/issues/1204 | 11,197,038 | MDU6SXNzdWUxMTE5NzAzOA== | 1,204 | SSL error 140770FC with requests behind company proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/219063?v=4",
"events_url": "https://api.github.com/users/eddie-dunn/events{/privacy}",
"followers_url": "https://api.github.com/users/eddie-dunn/followers",
"following_url": "https://api.github.com/users/eddie-dunn/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 14 | 2013-02-20T13:34:52Z | 2021-09-09T00:34:22Z | 2013-02-21T09:47:48Z | NONE | resolved | I can't use requests for https requests behind my company proxy. I'm not sure whether the problem is due to requests or my company proxy.
Example output:
```
>>> import requests
>>> requests.get("http://www.google.com")
<Response [200]>
>>> requests.get("https://www.google.com")
Traceback (most recent call last):
F... | {
"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/1204/reactions"
} | https://api.github.com/repos/psf/requests/issues/1204/timeline | null | completed | null | null | false | [
"This is a known issue. I'm surprised I can't find an already open issue in the tracker for it. We're waiting on one [pull request](https://github.com/shazow/urllib3/pull/139) in shazow/urllib3 and it will then be fixed.\n",
"This looks like #1182.\n\nQuoting myself:\n\nDoes your proxy variable have a `https://` ... |
https://api.github.com/repos/psf/requests/issues/1203 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1203/labels{/name} | https://api.github.com/repos/psf/requests/issues/1203/comments | https://api.github.com/repos/psf/requests/issues/1203/events | https://github.com/psf/requests/issues/1203 | 11,192,965 | MDU6SXNzdWUxMTE5Mjk2NQ== | 1,203 | Default value of allow_redirects in HEAD requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/3646679?v=4",
"events_url": "https://api.github.com/users/krawyoti/events{/privacy}",
"followers_url": "https://api.github.com/users/krawyoti/followers",
"following_url": "https://api.github.com/users/krawyoti/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2013-02-20T11:10:01Z | 2021-09-09T05:00:37Z | 2013-02-25T10:31:22Z | NONE | resolved | In version 1.1.0 allow_redirects for HEAD defaults to True.
According to the docs [1], though, the default should be False.
[1] http://docs.python-requests.org/en/latest/user/quickstart/#redirection-and-history
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1203/reactions"
} | https://api.github.com/repos/psf/requests/issues/1203/timeline | null | completed | null | null | false | [
"Here's the test case:\n\n```\n>>> import requests\n>>> requests.__version__\n'1.1.0'\n>>> requests.head('http://httpbin.org/redirect/2')\n<Response [200]>\n>>> _.history\n(<Response [302]>, <Response [302]>)\n```\n",
"I know what the issue is. Also if you instantiate a Session first, this doesn't happen. Thanks!... |
https://api.github.com/repos/psf/requests/issues/1202 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1202/labels{/name} | https://api.github.com/repos/psf/requests/issues/1202/comments | https://api.github.com/repos/psf/requests/issues/1202/events | https://github.com/psf/requests/issues/1202 | 11,163,316 | MDU6SXNzdWUxMTE2MzMxNg== | 1,202 | requests + gevent dns error | {
"avatar_url": "https://avatars.githubusercontent.com/u/1272836?v=4",
"events_url": "https://api.github.com/users/oargon/events{/privacy}",
"followers_url": "https://api.github.com/users/oargon/followers",
"following_url": "https://api.github.com/users/oargon/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 12 | 2013-02-19T17:39:39Z | 2021-09-09T00:34:16Z | 2013-02-26T04:53:07Z | NONE | resolved | I seem to be getting a strange error using requests and gevent with the below code snippet:
running this under gunicorn and hitting this with: ab -n 5 -c 5 http://localhost:8000/
gives this output:
```
2013-02-19 19:32:24 [40251] [INFO] Starting gunicorn 0.17.2
2013-02-19 19:32:24 [40251] [INFO] Listening at: http://1... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1202/reactions"
} | https://api.github.com/repos/psf/requests/issues/1202/timeline | null | completed | null | null | false | [
"This looks like you're failing to resolve the domain name. Assuming you're running this on a box you have control over, can you try running `nslookup httpbin.org` from the command prompt?\n",
"```\nServer: 127.0.0.1\nAddress: 127.0.0.1#53\n\nNon-authoritative answer:\nName: httpbin.org\nAddress: 23.21.1... |
https://api.github.com/repos/psf/requests/issues/1201 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1201/labels{/name} | https://api.github.com/repos/psf/requests/issues/1201/comments | https://api.github.com/repos/psf/requests/issues/1201/events | https://github.com/psf/requests/issues/1201 | 11,071,074 | MDU6SXNzdWUxMTA3MTA3NA== | 1,201 | Should Session.send persist cookies across calls? | {
"avatar_url": "https://avatars.githubusercontent.com/u/74351?v=4",
"events_url": "https://api.github.com/users/maxcountryman/events{/privacy}",
"followers_url": "https://api.github.com/users/maxcountryman/followers",
"following_url": "https://api.github.com/users/maxcountryman/following{/other_user}",
"gist... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | null | 4 | 2013-02-16T16:53:18Z | 2021-09-09T04:00:41Z | 2013-04-01T18:31:24Z | CONTRIBUTOR | resolved | I'm noticing that cookies are not preserved across calls to `Session.send` calls as they would be with `Session.request`. Once again I'm left with the desire for the ability to use my own `Request` object subclass in the scope of `Session.request`; e.g. if it were a key worded arg all my problems would be solved.
Belo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1201/reactions"
} | https://api.github.com/repos/psf/requests/issues/1201/timeline | null | completed | null | null | false | [
"@kennethreitz this seems sensible to me. I won't send a Pull Request though until you say so.\n",
"+1\n",
"I'll work on this tomorrow night or Thursday\n",
"Fixed by #1239\n"
] |
https://api.github.com/repos/psf/requests/issues/1200 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1200/labels{/name} | https://api.github.com/repos/psf/requests/issues/1200/comments | https://api.github.com/repos/psf/requests/issues/1200/events | https://github.com/psf/requests/pull/1200 | 11,063,668 | MDExOlB1bGxSZXF1ZXN0NDE3NjU2Ng== | 1,200 | Make sure session cookies do not overwrite explicit request cookies | {
"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 | 2013-02-16T06:00:17Z | 2021-09-08T19:00:51Z | 2013-02-20T06:50:10Z | CONTRIBUTOR | resolved | Cookies from a session were overwriting cookies explicitly defined in a request with that session. A couple minor changes as well:
- Implement RequestsCookieJar.copy
- Use RequestsCookieJar.update when merging cookiejars in a couple places
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1200/reactions"
} | https://api.github.com/repos/psf/requests/issues/1200/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1200.diff",
"html_url": "https://github.com/psf/requests/pull/1200",
"merged_at": "2013-02-20T06:50:10Z",
"patch_url": "https://github.com/psf/requests/pull/1200.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1200"
} | true | [
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1199 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1199/labels{/name} | https://api.github.com/repos/psf/requests/issues/1199/comments | https://api.github.com/repos/psf/requests/issues/1199/events | https://github.com/psf/requests/pull/1199 | 11,042,455 | MDExOlB1bGxSZXF1ZXN0NDE2Njg2Mw== | 1,199 | Use explicit scheme for proxies in the docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/717901?v=4",
"events_url": "https://api.github.com/users/t-8ch/events{/privacy}",
"followers_url": "https://api.github.com/users/t-8ch/followers",
"following_url": "https://api.github.com/users/t-8ch/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2013-02-15T16:39:13Z | 2021-09-08T19:00:50Z | 2013-02-19T13:40:15Z | CONTRIBUTOR | resolved | Issue #1192 tried to force users to provide a scheme for proxy urls.
As this would break backwards compability change the docs instead.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1199/reactions"
} | https://api.github.com/repos/psf/requests/issues/1199/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1199.diff",
"html_url": "https://github.com/psf/requests/pull/1199",
"merged_at": "2013-02-19T13:40:15Z",
"patch_url": "https://github.com/psf/requests/pull/1199.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1199"
} | true | [
":+1:\n",
"This should be accepted regardless of whether #1192 is accepted or not. +1 =)\n",
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/1198 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1198/labels{/name} | https://api.github.com/repos/psf/requests/issues/1198/comments | https://api.github.com/repos/psf/requests/issues/1198/events | https://github.com/psf/requests/issues/1198 | 11,038,373 | MDU6SXNzdWUxMTAzODM3Mw== | 1,198 | max-retries-exceeded exceptions are confusing | {
"avatar_url": "https://avatars.githubusercontent.com/u/51989?v=4",
"events_url": "https://api.github.com/users/gabor/events{/privacy}",
"followers_url": "https://api.github.com/users/gabor/followers",
"following_url": "https://api.github.com/users/gabor/following{/other_user}",
"gists_url": "https://api.git... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
}
] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | null | 39 | 2013-02-15T14:59:41Z | 2018-12-27T14:25:44Z | 2014-10-11T15:34:25Z | NONE | resolved | hi,
for example:
```
>>> requests.get('http://localhost:1111')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "requests/api.py", line 55, in get
return request('get', url, **kwargs)
File "requests/api.py", line 44, in request
return session.request(method=method, url=url, **k... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 18,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 18,
"url": "https://api.github.com/repos/psf/requests/issues/1198/reactions"
} | https://api.github.com/repos/psf/requests/issues/1198/timeline | null | completed | null | null | false | [
"Requests wraps the exception for the users convenience. The original exception is part of the message although the Traceback is misleading. I'll think about how to improve this.\n",
"I think need a auto retry to ignore few error\n",
"I agree this is quite confusing. Requests never retries (it sets the retries=... |
https://api.github.com/repos/psf/requests/issues/1197 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1197/labels{/name} | https://api.github.com/repos/psf/requests/issues/1197/comments | https://api.github.com/repos/psf/requests/issues/1197/events | https://github.com/psf/requests/pull/1197 | 11,020,701 | MDExOlB1bGxSZXF1ZXN0NDE1NjgyNw== | 1,197 | add pypy to .travis.yml & setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/642195?v=4",
"events_url": "https://api.github.com/users/oczkers/events{/privacy}",
"followers_url": "https://api.github.com/users/oczkers/followers",
"following_url": "https://api.github.com/users/oczkers/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2013-02-15T00:47:49Z | 2021-09-08T19:00:50Z | 2013-02-15T04:52:04Z | CONTRIBUTOR | resolved | How about 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/1197/reactions"
} | https://api.github.com/repos/psf/requests/issues/1197/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1197.diff",
"html_url": "https://github.com/psf/requests/pull/1197",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1197.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1197"
} | true | [
"pypy has never been an issue :)\n"
] |
https://api.github.com/repos/psf/requests/issues/1196 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1196/labels{/name} | https://api.github.com/repos/psf/requests/issues/1196/comments | https://api.github.com/repos/psf/requests/issues/1196/events | https://github.com/psf/requests/issues/1196 | 11,002,242 | MDU6SXNzdWUxMTAwMjI0Mg== | 1,196 | Ease painful migration to 1.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/464726?v=4",
"events_url": "https://api.github.com/users/millerdev/events{/privacy}",
"followers_url": "https://api.github.com/users/millerdev/followers",
"following_url": "https://api.github.com/users/millerdev/following{/other_user}",
"gists_url": "ht... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 4 | 2013-02-14T16:06:52Z | 2021-09-09T04:00:44Z | 2013-03-30T00:17:43Z | NONE | resolved | At my company we have recently migrated to 1.1.0, and I have to say it's been much more painful than I expected. Finding what has changed since 0.x has been a nightmare. I have not been able to find good documentation on exactly what has changed, and the commit messages are atrocious. I don't see a clear way to move fo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1196/reactions"
} | https://api.github.com/repos/psf/requests/issues/1196/timeline | null | completed | null | null | false | [
"I'm sorry you found upgrading to v1.0.0 painful. You'll be pleased to know that as of v1.0.0 we have entered a [feature freeze](http://docs.python-requests.org/en/latest/dev/todo/#feature-freeze), which should cause the API to remain unchanged from now on.\n\nAs to having a CHANGES.txt file, I agree that we could ... |
https://api.github.com/repos/psf/requests/issues/1195 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1195/labels{/name} | https://api.github.com/repos/psf/requests/issues/1195/comments | https://api.github.com/repos/psf/requests/issues/1195/events | https://github.com/psf/requests/issues/1195 | 10,992,760 | MDU6SXNzdWUxMDk5Mjc2MA== | 1,195 | Please, do not hold development of requests with feature freeze. | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [] | closed | true | null | [] | null | 4 | 2013-02-14T11:59:49Z | 2021-09-09T05:00:40Z | 2013-02-14T12:07:32Z | NONE | resolved | I propose to make special branch `freeze` which would only get bug fixes and continue to develop requests in the master branch as always.
| {
"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/1195/reactions"
} | https://api.github.com/repos/psf/requests/issues/1195/timeline | null | completed | null | null | false | [
"The intention is to bring development of new features in Requests to a halt and aim for inclusion in the standard library. This is fundamentally in opposition to the addition of new features, so it simply won't happen. Sorry.\n",
"@Lukasa \n\nWhat's wrong with designating one branch, where development of new fea... |
https://api.github.com/repos/psf/requests/issues/1194 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1194/labels{/name} | https://api.github.com/repos/psf/requests/issues/1194/comments | https://api.github.com/repos/psf/requests/issues/1194/events | https://github.com/psf/requests/pull/1194 | 10,984,979 | MDExOlB1bGxSZXF1ZXN0NDEzODk5OQ== | 1,194 | Allow RequestsCookieJar to be updated with cookies from a CookieJar | {
"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 | 4 | 2013-02-14T06:07:44Z | 2021-09-08T19:00:50Z | 2013-02-15T06:42:50Z | CONTRIBUTOR | resolved | This would allow cookies from external CookieJars, or other RequestsCookieJars to be merged in with a RequestsCookieJar while preserving all domain and other cookie info.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1194/reactions"
} | https://api.github.com/repos/psf/requests/issues/1194/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1194.diff",
"html_url": "https://github.com/psf/requests/pull/1194",
"merged_at": "2013-02-15T06:42:50Z",
"patch_url": "https://github.com/psf/requests/pull/1194.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1194"
} | true | [
"This would prevent calls like https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L158 (and the one on line 163) from losing domain information on the cookies, as well as let external CookieJars be merged into a requests session's cookies cleanly.\n",
"This is definitely a must have. +10\n... |
https://api.github.com/repos/psf/requests/issues/1193 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1193/labels{/name} | https://api.github.com/repos/psf/requests/issues/1193/comments | https://api.github.com/repos/psf/requests/issues/1193/events | https://github.com/psf/requests/pull/1193 | 10,983,622 | MDExOlB1bGxSZXF1ZXN0NDEzODM0OA== | 1,193 | Throw more informative exceptions. | {
"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 | 10 | 2013-02-14T04:23:44Z | 2021-09-08T19:00:49Z | 2013-02-20T07:10:45Z | MEMBER | resolved | In #1188 @brandon-rhodes pointed out that we throw some uninformative exceptions when problems arise in urllib3. This would catch the exception and wrap it in a Requests exception, then rethrow it with its original traceback.
I'm on the fence about whether we should do one of the following:
1. Create a new Requests ex... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1193/reactions"
} | https://api.github.com/repos/psf/requests/issues/1193/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1193.diff",
"html_url": "https://github.com/psf/requests/pull/1193",
"merged_at": "2013-02-20T07:10:45Z",
"patch_url": "https://github.com/psf/requests/pull/1193.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1193"
} | true | [
"+10\n",
"So I just went ahead and did number 1.\n",
"Ugh, got some compatibility issues here. This will be problematic, give me some time to work on it.\n",
"So it turns out that there is no simple way to get around this Syntax Error. `six` has a good solution, but we currently don't vendor it in. The way I ... |
https://api.github.com/repos/psf/requests/issues/1192 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1192/labels{/name} | https://api.github.com/repos/psf/requests/issues/1192/comments | https://api.github.com/repos/psf/requests/issues/1192/events | https://github.com/psf/requests/pull/1192 | 10,983,138 | MDExOlB1bGxSZXF1ZXN0NDEzODEyNA== | 1,192 | Proxies without schemes might want to except. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 9 | 2013-02-14T03:49:45Z | 2021-09-08T23:06:11Z | 2013-02-25T10:31:40Z | MEMBER | resolved | :warning: **CAUTION**: Breaking change. We may not want to take this. :warning:
This is in relation to #1182. Currently we guess what scheme to use on proxies if that scheme is not provided. This _usually_ works, but sometimes fails in unexpected ways. This would require users to be explicit about what scheme they wa... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1192/reactions"
} | https://api.github.com/repos/psf/requests/issues/1192/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1192.diff",
"html_url": "https://github.com/psf/requests/pull/1192",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1192.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1192"
} | true | [
"+0.5 I'm never for breaking user's old code in a minor version, but I am most certainly for providing better exceptions.\n",
"Exactly my view. =) I thought I'd open this PR so we can see what it entails, but I think we'll probably not fix what isn't broken. Just want to see what @kennethreitz thinks.\n",
"Cons... |
https://api.github.com/repos/psf/requests/issues/1191 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1191/labels{/name} | https://api.github.com/repos/psf/requests/issues/1191/comments | https://api.github.com/repos/psf/requests/issues/1191/events | https://github.com/psf/requests/pull/1191 | 10,982,903 | MDExOlB1bGxSZXF1ZXN0NDEzNzk5OA== | 1,191 | Remove the line that likely causes the issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 8 | 2013-02-14T03:34:10Z | 2021-09-08T19:00:49Z | 2013-02-17T22:56:41Z | CONTRIBUTOR | resolved | Fixes #1189 as confirmed by @Lukasa
| {
"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/1191/reactions"
} | https://api.github.com/repos/psf/requests/issues/1191/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1191.diff",
"html_url": "https://github.com/psf/requests/pull/1191",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1191.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1191"
} | true | [
"+1\n",
"+1\n",
"Actually, seems like this breaks persisting cookies across sessions:\n\nUsing the first example in [Session Objects Doc](http://docs.python-requests.org/en/latest/user/advanced/#session-objects):\n\n``` python\nimport requests\n\ns = requests.Session()\n\ns.get('http://httpbin.org/cookies/set?s... |
https://api.github.com/repos/psf/requests/issues/1190 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1190/labels{/name} | https://api.github.com/repos/psf/requests/issues/1190/comments | https://api.github.com/repos/psf/requests/issues/1190/events | https://github.com/psf/requests/pull/1190 | 10,979,394 | MDExOlB1bGxSZXF1ZXN0NDEzNjEzNw== | 1,190 | Pass user options to hooks | {
"avatar_url": "https://avatars.githubusercontent.com/u/826?v=4",
"events_url": "https://api.github.com/users/mkomitee/events{/privacy}",
"followers_url": "https://api.github.com/users/mkomitee/followers",
"following_url": "https://api.github.com/users/mkomitee/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 20 | 2013-02-14T00:26:08Z | 2021-09-08T19:00:48Z | 2013-03-02T21:04:01Z | CONTRIBUTOR | resolved | Hooks sometimes have to send requests (e.g. when responding to a 401 during
authentication).
All keyword arguments should be passed along when hooks are dispatched so that
if a user wanted to use a timeout, stream, specify a cert location with the
verify flag, etc, their specification can be followed.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1190/reactions"
} | https://api.github.com/repos/psf/requests/issues/1190/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1190.diff",
"html_url": "https://github.com/psf/requests/pull/1190",
"merged_at": "2013-03-02T21:04:01Z",
"patch_url": "https://github.com/psf/requests/pull/1190.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1190"
} | true | [
"The second commit adds a test which tests the previously broken behavior where flags like timeout, stream, verify, etc were lost when we used authentication. It fails without the patch.\n\nif it's not clear, this tests by calling read() with stream turned on and off. If stream is off, then the content is read ahea... |
https://api.github.com/repos/psf/requests/issues/1189 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1189/labels{/name} | https://api.github.com/repos/psf/requests/issues/1189/comments | https://api.github.com/repos/psf/requests/issues/1189/events | https://github.com/psf/requests/issues/1189 | 10,977,015 | MDU6SXNzdWUxMDk3NzAxNQ== | 1,189 | Multiple Cookies on Redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 8 | 2013-02-13T23:09:02Z | 2021-09-09T05:00:39Z | 2013-02-17T01:17:07Z | MEMBER | resolved | After updating `master` to f73bda06e9, I find that some requests raise a `CookieConflictError`. Specifically, any page that sets a cookie on a 302 and then redirects to a page that sets the same cookie raises a `CookieConflictError`.
Steps To Reproduce:
1. Update Requests to the version shown above.
2. Make a request ... | {
"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/1189/reactions"
} | https://api.github.com/repos/psf/requests/issues/1189/timeline | null | completed | null | null | false | [
"/cc @sigmavirus24 \n",
"Damn. I was worried the last line might cause troubles but I couldn't find websites like this other than GitHub and didn't think to test it. (I thought GitHub may have been an abnormality.)\n\nCan you try removing the last line of the `SessionRedirectMixin.resolve_redirect` method? I can'... |
https://api.github.com/repos/psf/requests/issues/1188 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1188/labels{/name} | https://api.github.com/repos/psf/requests/issues/1188/comments | https://api.github.com/repos/psf/requests/issues/1188/events | https://github.com/psf/requests/issues/1188 | 10,974,150 | MDU6SXNzdWUxMDk3NDE1MA== | 1,188 | ClosedPoolError gets shadowed by a false Timeout error | {
"avatar_url": "https://avatars.githubusercontent.com/u/166162?v=4",
"events_url": "https://api.github.com/users/brandon-rhodes/events{/privacy}",
"followers_url": "https://api.github.com/users/brandon-rhodes/followers",
"following_url": "https://api.github.com/users/brandon-rhodes/following{/other_user}",
"... | [] | closed | true | null | [] | null | 15 | 2013-02-13T21:58:40Z | 2021-09-08T23:07:57Z | 2013-08-15T07:57:12Z | NONE | resolved | A customer in whose product I used Requests complained that, on Windows, my program would immediately die with a series of `Timeout` exceptions printed to the logs:
```
...
r = session.get(url, headers=headers, stream=True)
File "...\venv\lib\site-packages\requests\sessions.py", line 310, in get
return sel... | {
"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/1188/reactions"
} | https://api.github.com/repos/psf/requests/issues/1188/timeline | null | completed | null | null | false | [
"I don't think the Session is thread-safe under any OS.\n\nI do think the blanket 'Timeout' exception is pretty unwise, we can probably handle the urllib3 exceptions better. Let me take a look and see.\n",
"@Lukasa In that case an update to the documentation is warranted—the front page of the project says “thread... |
https://api.github.com/repos/psf/requests/issues/1187 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1187/labels{/name} | https://api.github.com/repos/psf/requests/issues/1187/comments | https://api.github.com/repos/psf/requests/issues/1187/events | https://github.com/psf/requests/pull/1187 | 10,970,636 | MDExOlB1bGxSZXF1ZXN0NDEzMTcwNQ== | 1,187 | Fixed names of exceptions pertaining to url scheme. | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "0b02e1",
"default": false,
"description": null... | closed | true | null | [] | null | 5 | 2013-02-13T20:28:24Z | 2021-09-08T23:06:10Z | 2013-02-14T01:13:13Z | NONE | resolved | MissingSchema -> MissingScheme, InvalidSchema -> InvalidScheme
see t-8ch's comment in issue #1182
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1187/reactions"
} | https://api.github.com/repos/psf/requests/issues/1187/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1187.diff",
"html_url": "https://github.com/psf/requests/pull/1187",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1187.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1187"
} | true | [
"This is a backwards incompatible change.\n",
"@kennethreitz we could maintain backwards compatibility by keeping the old exceptions and sub-classing them for the new ones. It's ugly and I don't like it, but we would be able to raise \"properly\" named exceptions whilst maintaining backwards compatibility.\n",
... |
https://api.github.com/repos/psf/requests/issues/1186 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1186/labels{/name} | https://api.github.com/repos/psf/requests/issues/1186/comments | https://api.github.com/repos/psf/requests/issues/1186/events | https://github.com/psf/requests/issues/1186 | 10,961,299 | MDU6SXNzdWUxMDk2MTI5OQ== | 1,186 | requests.get doesn't allow for repeated URL parameters | {
"avatar_url": "https://avatars.githubusercontent.com/u/1254555?v=4",
"events_url": "https://api.github.com/users/mattboehm/events{/privacy}",
"followers_url": "https://api.github.com/users/mattboehm/followers",
"following_url": "https://api.github.com/users/mattboehm/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 5 | 2013-02-13T16:48:30Z | 2021-09-09T05:00:40Z | 2013-02-13T20:26:12Z | NONE | resolved | If I prepare a request as follows:
```
req = requests.Request('get', url="http://localhost/", params=[("param1", "value1"), ("param1", "value2")])
prep = req.prepare()
```
prep.url is "http://localhost/?param1=value1¶m1=value2" as expected. However if I call:
```
resp = requests.get(url="http://localhost/", para... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1254555?v=4",
"events_url": "https://api.github.com/users/mattboehm/events{/privacy}",
"followers_url": "https://api.github.com/users/mattboehm/followers",
"following_url": "https://api.github.com/users/mattboehm/following{/other_user}",
"gists_url": "h... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1186/reactions"
} | https://api.github.com/repos/psf/requests/issues/1186/timeline | null | completed | null | null | false | [
"Hm, this is an issue with calling `merge_kwargs` in `Session.request`. This seems like yet another job for a MultiDict (#1155), i.e., returning a MultiDict in `from_key_val_list`.\n",
"Guess I'll be working on MultiDict support this weekend. I'm going to close this in deference to #1155 though, if that's ok with... |
https://api.github.com/repos/psf/requests/issues/1185 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1185/labels{/name} | https://api.github.com/repos/psf/requests/issues/1185/comments | https://api.github.com/repos/psf/requests/issues/1185/events | https://github.com/psf/requests/pull/1185 | 10,940,062 | MDExOlB1bGxSZXF1ZXN0NDExNzc1Ng== | 1,185 | Dispatch hooks before following redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 4 | 2013-02-13T04:05:15Z | 2021-09-08T19:00:48Z | 2013-02-13T10:13:31Z | CONTRIBUTOR | resolved | Fixes #1183
/cc @mkomitee
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1185/reactions"
} | https://api.github.com/repos/psf/requests/issues/1185/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1185.diff",
"html_url": "https://github.com/psf/requests/pull/1185",
"merged_at": "2013-02-13T10:13:31Z",
"patch_url": "https://github.com/psf/requests/pull/1185.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1185"
} | true | [
"+1.\n",
"looks good ;)\n",
":cake:\n",
"Thanks for this. I haven't been able to verify it solves my problem but I should be able to verify in a few days.\n"
] |
https://api.github.com/repos/psf/requests/issues/1184 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1184/labels{/name} | https://api.github.com/repos/psf/requests/issues/1184/comments | https://api.github.com/repos/psf/requests/issues/1184/events | https://github.com/psf/requests/pull/1184 | 10,885,980 | MDExOlB1bGxSZXF1ZXN0NDA5MjUxNg== | 1,184 | small cleanup of redirect codes | {
"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 | 2013-02-11T22:14:45Z | 2021-09-08T19:00:48Z | 2013-02-12T08:27:05Z | NONE | resolved | removed no longer used redirect codes from models
added numeric values of redirect codes in comments
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1184/reactions"
} | https://api.github.com/repos/psf/requests/issues/1184/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1184.diff",
"html_url": "https://github.com/psf/requests/pull/1184",
"merged_at": "2013-02-12T08:27:05Z",
"patch_url": "https://github.com/psf/requests/pull/1184.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1184"
} | true | [
"seems okay :)\n"
] |
https://api.github.com/repos/psf/requests/issues/1183 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1183/labels{/name} | https://api.github.com/repos/psf/requests/issues/1183/comments | https://api.github.com/repos/psf/requests/issues/1183/events | https://github.com/psf/requests/issues/1183 | 10,882,525 | MDU6SXNzdWUxMDg4MjUyNQ== | 1,183 | No means of authenticating redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/826?v=4",
"events_url": "https://api.github.com/users/mkomitee/events{/privacy}",
"followers_url": "https://api.github.com/users/mkomitee/followers",
"following_url": "https://api.github.com/users/mkomitee/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 15 | 2013-02-11T20:50:17Z | 2021-09-09T05:00:40Z | 2013-02-13T10:13:32Z | CONTRIBUTOR | resolved | In `requests/requests-kerberos` we use GSSAPI to not only authenticate to the server, but also authenticate the server as well. It's called mutual authentication. The way that `Session.send` resolves redirects doesn't allow us to authenticate the redirects.
This is a problem because if a user sends a request to `host... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1183/reactions"
} | https://api.github.com/repos/psf/requests/issues/1183/timeline | null | completed | null | null | false | [
"Some more details are in the commit message at https://github.com/mkomitee/requests-kerberos/commit/954ae437d7748a61748503bb77ff77a2d662c731\n",
"Have you seen issue #1160? It's kind of similar to this one, isn't it?\n",
"@piotr-dobrogost, this is about not allowing redirects in certain cases. That is about mo... |
https://api.github.com/repos/psf/requests/issues/1182 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1182/labels{/name} | https://api.github.com/repos/psf/requests/issues/1182/comments | https://api.github.com/repos/psf/requests/issues/1182/events | https://github.com/psf/requests/issues/1182 | 10,871,975 | MDU6SXNzdWUxMDg3MTk3NQ== | 1,182 | SSL exception when using any HTTPS proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/153571?v=4",
"events_url": "https://api.github.com/users/Miarevo/events{/privacy}",
"followers_url": "https://api.github.com/users/Miarevo/followers",
"following_url": "https://api.github.com/users/Miarevo/following{/other_user}",
"gists_url": "https://... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 12 | 2013-02-11T16:22:10Z | 2021-09-09T00:34:26Z | 2013-02-12T04:12:34Z | NONE | resolved | When I attempt to load a page using an HTTPS proxy, I get an odd SSL exception that I never got before (with the same code). This happens with any valid HTTPS proxy. Unfortunately, I don't know when this began to occur. If I were to guess, I'd say version 1.1 introduced the issue. Here's an example:
```
Python 3.3.0 (... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1182/reactions"
} | https://api.github.com/repos/psf/requests/issues/1182/timeline | null | completed | null | null | false | [
"Which version of requests are you using? Also, can you test out the current HEAD of the master branch in this repository to see if the problem persists?\n",
"Does your proxy variable have a `https://` or `http://` scheme?\nIt should be `http://` if you want to connect by http, regardless if the the proxied conne... |
https://api.github.com/repos/psf/requests/issues/1181 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1181/labels{/name} | https://api.github.com/repos/psf/requests/issues/1181/comments | https://api.github.com/repos/psf/requests/issues/1181/events | https://github.com/psf/requests/pull/1181 | 10,864,715 | MDExOlB1bGxSZXF1ZXN0NDA4MTc2MA== | 1,181 | Fix of UnicodeDecodeError on unicode header name that can be converted to ascii. | {
"avatar_url": "https://avatars.githubusercontent.com/u/855988?v=4",
"events_url": "https://api.github.com/users/denis-ryzhkov/events{/privacy}",
"followers_url": "https://api.github.com/users/denis-ryzhkov/followers",
"following_url": "https://api.github.com/users/denis-ryzhkov/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 8 | 2013-02-11T12:44:21Z | 2021-09-08T23:05:19Z | 2013-02-12T16:43:02Z | CONTRIBUTOR | resolved | ## Problem
Please see issue #1082.
## Solution
Let's fix at least Python-2 unicode issues with **header name**,
because its representation as bytes is well defined in HTTP/1.1 spec:
http://tools.ietf.org/html/rfc2616#section-4.2
```
message-header = field-name ":" [ field-value ]
field-name = token
token ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1181/reactions"
} | https://api.github.com/repos/psf/requests/issues/1181/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1181.diff",
"html_url": "https://github.com/psf/requests/pull/1181",
"merged_at": "2013-02-12T16:43:02Z",
"patch_url": "https://github.com/psf/requests/pull/1181.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1181"
} | true | [
"Why use a side-effect of the `str` function to do this, when you can easily do: `name.encode('ascii')`? Additionally, if you do that you can remove the 'if py2' tests.\n",
"@Lukasa\nThanks! Please check the fix.\n",
"I'm going to close and reopen to get Travis to re-run the tests.\n",
"This fix looks broadly... |
https://api.github.com/repos/psf/requests/issues/1180 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1180/labels{/name} | https://api.github.com/repos/psf/requests/issues/1180/comments | https://api.github.com/repos/psf/requests/issues/1180/events | https://github.com/psf/requests/pull/1180 | 10,834,065 | MDExOlB1bGxSZXF1ZXN0NDA3Njc2NA== | 1,180 | Fix Session level Cookie Handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2013-02-11T00:40:52Z | 2021-09-08T19:00:47Z | 2013-02-11T00:43:21Z | CONTRIBUTOR | resolved | Reported by Filefly on IRC and written with help from @gazpachoking.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1180/reactions"
} | https://api.github.com/repos/psf/requests/issues/1180/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1180.diff",
"html_url": "https://github.com/psf/requests/pull/1180",
"merged_at": "2013-02-11T00:43:21Z",
"patch_url": "https://github.com/psf/requests/pull/1180.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1180"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/1179 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1179/labels{/name} | https://api.github.com/repos/psf/requests/issues/1179/comments | https://api.github.com/repos/psf/requests/issues/1179/events | https://github.com/psf/requests/issues/1179 | 10,828,391 | MDU6SXNzdWUxMDgyODM5MQ== | 1,179 | Attach a Certificate for SSL authentication and access. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3526843?v=4",
"events_url": "https://api.github.com/users/tigeryell99/events{/privacy}",
"followers_url": "https://api.github.com/users/tigeryell99/followers",
"following_url": "https://api.github.com/users/tigeryell99/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2013-02-10T19:52:39Z | 2021-09-09T04:00:45Z | 2013-02-10T22:51:43Z | NONE | resolved | Please add the ability to attach a Certificate for SSL authentication to the request, not to verify the cert, but to gain access to an https SSL secured site.
I am submitting this per Kenneth's request.
Thanks,
Brian
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1179/reactions"
} | https://api.github.com/repos/psf/requests/issues/1179/timeline | null | completed | null | null | false | [
"Isn't this, what the `cert` parameter is for?\nFrom the [docs](http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification):\n\n```\nYou can also specify a local cert to use as client side certificate, as a single file\n(containing the private key and the certificate) or as a tuple of both file’... |
https://api.github.com/repos/psf/requests/issues/1178 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1178/labels{/name} | https://api.github.com/repos/psf/requests/issues/1178/comments | https://api.github.com/repos/psf/requests/issues/1178/events | https://github.com/psf/requests/pull/1178 | 10,820,840 | MDExOlB1bGxSZXF1ZXN0NDA3MzcwNA== | 1,178 | improving `super_len` | {
"avatar_url": "https://avatars.githubusercontent.com/u/690171?v=4",
"events_url": "https://api.github.com/users/shezi/events{/privacy}",
"followers_url": "https://api.github.com/users/shezi/followers",
"following_url": "https://api.github.com/users/shezi/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 2 | 2013-02-10T10:26:22Z | 2021-09-08T19:00:47Z | 2013-02-10T22:19:27Z | NONE | resolved | when using `StringIO` in Python 3 oder using `cStringIO` in Python 2, you will have an object that does not have a `len` AND does not have a `.fileno()`
In that case, the best method for finding the length of the backing object is to seek to the end. This assumes that the object is seekable, though.
Since we're going... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1178/reactions"
} | https://api.github.com/repos/psf/requests/issues/1178/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1178.diff",
"html_url": "https://github.com/psf/requests/pull/1178",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1178.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1178"
} | true | [
"I'd prefer us to do a little magic if possible. What's the use case here?\n",
"Use case:\n\n```\n# python 3.3.0\nimport requests\nimport io\n\nrequests.get('http://example.com/', data=io.StringIO('my data'))\n```\n\nGives me:\n\n```\nTraceback (most recent call last):\n File \"usecase.py\", line 4, in <module>\... |
https://api.github.com/repos/psf/requests/issues/1177 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1177/labels{/name} | https://api.github.com/repos/psf/requests/issues/1177/comments | https://api.github.com/repos/psf/requests/issues/1177/events | https://github.com/psf/requests/pull/1177 | 10,811,856 | MDExOlB1bGxSZXF1ZXN0NDA3MDg4NA== | 1,177 | Forcing path_url to be of type str in Python2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/690171?v=4",
"events_url": "https://api.github.com/users/shezi/events{/privacy}",
"followers_url": "https://api.github.com/users/shezi/followers",
"following_url": "https://api.github.com/users/shezi/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 14 | 2013-02-09T17:45:04Z | 2021-09-08T19:00:46Z | 2013-02-10T22:26:18Z | NONE | resolved | This is important when posting files/binary data in Python2.
Since urlsplit will produce unicode parts, the path_url will also be unicode, and thus the sent body will be converted to unicode during concatenation by urllib, producing a UnicodeDecodeError when sending binary data.
Forcing the path_url to be a native stri... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1177/reactions"
} | https://api.github.com/repos/psf/requests/issues/1177/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1177.diff",
"html_url": "https://github.com/psf/requests/pull/1177",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1177.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1177"
} | true | [
"Additionally, in lines 392 and 396, the `str` primitive is used to convert the _content_ of the 'Content-Length' header to unicode (in Python2). This does not seem to matter for concatenation, though, it just looks interesting when you inspect your headers and get\n\n```\n'Content-Length': u'2246'\n```\n",
"> Ad... |
https://api.github.com/repos/psf/requests/issues/1176 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1176/labels{/name} | https://api.github.com/repos/psf/requests/issues/1176/comments | https://api.github.com/repos/psf/requests/issues/1176/events | https://github.com/psf/requests/issues/1176 | 10,811,267 | MDU6SXNzdWUxMDgxMTI2Nw== | 1,176 | Requests is not Working on Enigma2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2682247?v=4",
"events_url": "https://api.github.com/users/athoik/events{/privacy}",
"followers_url": "https://api.github.com/users/athoik/followers",
"following_url": "https://api.github.com/users/athoik/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2013-02-09T16:53:47Z | 2021-09-09T05:00:44Z | 2013-02-09T23:52:11Z | NONE | resolved | Hello everybody,
I am trying to use requests on Enigma2 STB (using OpenPLi 3.0), but i am getting the following error:
``` python
# python2.7
Python 2.7.2 (default, Dec 14 2012, 09:28:54)
[GCC 4.6.4 20120303 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import req... | {
"avatar_url": "https://avatars.githubusercontent.com/u/2682247?v=4",
"events_url": "https://api.github.com/users/athoik/events{/privacy}",
"followers_url": "https://api.github.com/users/athoik/followers",
"following_url": "https://api.github.com/users/athoik/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/1176/reactions"
} | https://api.github.com/repos/psf/requests/issues/1176/timeline | null | completed | null | null | false | [
"Could you try the commandline version of OpenSSL?\n\n``` sh\n$ openssl s_client -connect google.com:443 -CAfile requests/cacert.pem\n# [..] Some output\nStart Time: 1360430734\nTimeout : 300 (sec)\nVerify return code: 0 (ok)\n```\n",
"```\n# openssl s_client -connect google.com:443 -CAfile requests/cacert.pe... |
https://api.github.com/repos/psf/requests/issues/1175 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1175/labels{/name} | https://api.github.com/repos/psf/requests/issues/1175/comments | https://api.github.com/repos/psf/requests/issues/1175/events | https://github.com/psf/requests/issues/1175 | 10,794,620 | MDU6SXNzdWUxMDc5NDYyMA== | 1,175 | Cannot send multiple headers with the same name | {
"avatar_url": "https://avatars.githubusercontent.com/u/189873?v=4",
"events_url": "https://api.github.com/users/xealot/events{/privacy}",
"followers_url": "https://api.github.com/users/xealot/followers",
"following_url": "https://api.github.com/users/xealot/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2013-02-08T20:37:26Z | 2021-09-09T05:00:44Z | 2013-02-10T22:27:41Z | NONE | resolved | Internally a dictionary is used, but that doesn't adhere to the http specification. Headers can be specified more than once with the same name.
Checkout werkzeug's Headers() data structure.
http://werkzeug.pocoo.org/docs/datastructures/#http-related
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1175/reactions"
} | https://api.github.com/repos/psf/requests/issues/1175/timeline | null | completed | null | null | false | [
"Related: #1155\n",
"Correct! Closing for #1155\n"
] |
https://api.github.com/repos/psf/requests/issues/1174 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1174/labels{/name} | https://api.github.com/repos/psf/requests/issues/1174/comments | https://api.github.com/repos/psf/requests/issues/1174/events | https://github.com/psf/requests/pull/1174 | 10,790,356 | MDExOlB1bGxSZXF1ZXN0NDA2MTQ1Nw== | 1,174 | Added the ability to track the referer between requests and cleaned up some docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/2882?v=4",
"events_url": "https://api.github.com/users/nikolay/events{/privacy}",
"followers_url": "https://api.github.com/users/nikolay/followers",
"following_url": "https://api.github.com/users/nikolay/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 8 | 2013-02-08T18:36:22Z | 2021-09-08T19:00:46Z | 2013-02-10T22:01:39Z | NONE | resolved | Added "track_referer" attribute and "last_page" to Session so that the last response's URL can be used as the referer on the next request. The header can still be overwritten globally via Session.headers or on per-request basis.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1174/reactions"
} | https://api.github.com/repos/psf/requests/issues/1174/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1174.diff",
"html_url": "https://github.com/psf/requests/pull/1174",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1174.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1174"
} | true | [
"we aren't really interested in adding new features at this time.\n\nthe other changes looked pretty nice though, could you remove `track_referer` and `last_page` so I can merge?\n",
"I really need this to simulate the browser's behavior and makes my code pretty ugly to get the URL from the previous request and p... |
https://api.github.com/repos/psf/requests/issues/1173 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1173/labels{/name} | https://api.github.com/repos/psf/requests/issues/1173/comments | https://api.github.com/repos/psf/requests/issues/1173/events | https://github.com/psf/requests/pull/1173 | 10,767,562 | MDExOlB1bGxSZXF1ZXN0NDA1MDM5NA== | 1,173 | Use send in resolve redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 7 | 2013-02-08T04:11:02Z | 2021-09-08T23:06:06Z | 2013-02-10T22:21:13Z | CONTRIBUTOR | resolved | These three (which I'll happily squash if you'd like) should prevent the problem I mentioned [here](https://github.com/kennethreitz/requests/pull/1151#issuecomment-12905796).
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1173/reactions"
} | https://api.github.com/repos/psf/requests/issues/1173/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1173.diff",
"html_url": "https://github.com/psf/requests/pull/1173",
"merged_at": "2013-02-10T22:21:13Z",
"patch_url": "https://github.com/psf/requests/pull/1173.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1173"
} | true | [
"+1\nGenerally speaking I've been thinking about raising issue with architecture for some time now :) The problem I see with current architecture is that redirect logic doesn't reuse standard path of sending requests and this causes all sorts of problems; I'm sure we've had more than few bugs because of this in the... |
https://api.github.com/repos/psf/requests/issues/1172 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1172/labels{/name} | https://api.github.com/repos/psf/requests/issues/1172/comments | https://api.github.com/repos/psf/requests/issues/1172/events | https://github.com/psf/requests/pull/1172 | 10,754,729 | MDExOlB1bGxSZXF1ZXN0NDA0NDExNQ== | 1,172 | #1170 suggestion for the requested refactoring | {
"avatar_url": "https://avatars.githubusercontent.com/u/175126?v=4",
"events_url": "https://api.github.com/users/grzn/events{/privacy}",
"followers_url": "https://api.github.com/users/grzn/followers",
"following_url": "https://api.github.com/users/grzn/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 2 | 2013-02-07T20:43:38Z | 2021-09-08T19:00:46Z | 2013-02-07T22:09:55Z | NONE | resolved | okay i was too lazy to clone the repository and do this, but with the in-browser its really quick :)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1172/reactions"
} | https://api.github.com/repos/psf/requests/issues/1172/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1172.diff",
"html_url": "https://github.com/psf/requests/pull/1172",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1172.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1172"
} | true | [
"I'm entirely +0 on this.\n",
"This seems entirely pointless.\n\n@grzn sorry if that seems blunt, but I already made my intentions clear in the other conversation we had :)\n"
] |
https://api.github.com/repos/psf/requests/issues/1171 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1171/labels{/name} | https://api.github.com/repos/psf/requests/issues/1171/comments | https://api.github.com/repos/psf/requests/issues/1171/events | https://github.com/psf/requests/issues/1171 | 10,753,198 | MDU6SXNzdWUxMDc1MzE5OA== | 1,171 | ConnectionResetError on Windows 7/Python 3.3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3504959?v=4",
"events_url": "https://api.github.com/users/norey/events{/privacy}",
"followers_url": "https://api.github.com/users/norey/followers",
"following_url": "https://api.github.com/users/norey/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 30 | 2013-02-07T20:02:41Z | 2021-09-09T05:00:45Z | 2013-02-08T23:47:33Z | NONE | resolved | I get this error whenever I use any URL with .get() on Windows 7 x64 and Python3.3
http://bpaste.net/show/cavZW7pfXISmFdNMga4n/
Edit: I forgot to mention that I get the error after waiting a while.. around 5 mins.. just waiting for the command to respond
Stacktrace:
``` python
Traceback (most recent call last):
F... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3504959?v=4",
"events_url": "https://api.github.com/users/norey/events{/privacy}",
"followers_url": "https://api.github.com/users/norey/followers",
"following_url": "https://api.github.com/users/norey/following{/other_user}",
"gists_url": "https://api.g... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1171/reactions"
} | https://api.github.com/repos/psf/requests/issues/1171/timeline | null | completed | null | null | false | [
"@shazow any clues?\n",
"On linux, requests fails to parse the response (It does parse the status code). The first header sent by the server is this one:\n(If I read the RFC correctly spaces in header names aren't allowed)\n\n```\nSecured by Excellent Serv: \n```\n\nIt seems this one breaks the response parsing. ... |
https://api.github.com/repos/psf/requests/issues/1170 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1170/labels{/name} | https://api.github.com/repos/psf/requests/issues/1170/comments | https://api.github.com/repos/psf/requests/issues/1170/events | https://github.com/psf/requests/issues/1170 | 10,753,141 | MDU6SXNzdWUxMDc1MzE0MQ== | 1,170 | Bring back the hooks from 0.x to 1.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/175126?v=4",
"events_url": "https://api.github.com/users/grzn/events{/privacy}",
"followers_url": "https://api.github.com/users/grzn/followers",
"following_url": "https://api.github.com/users/grzn/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 8 | 2013-02-07T20:01:11Z | 2021-09-09T05:00:45Z | 2013-02-08T03:19:25Z | NONE | resolved | In the 0.x versions were 5 hooks:
('args', 'pre_request', 'pre_send', 'post_request', 'response')
In 1.x there's only one: response
I've seen quite a few packages that used these hooks to manipulate the requests objects before sending them, and now in v1.x there's not even a single hook that allows them to do so.
Th... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1170/reactions"
} | https://api.github.com/repos/psf/requests/issues/1170/timeline | null | completed | null | null | false | [
"We ased for package maintainers and authors that used the hooks extensively to comment on the change and received little feedback. I made use of one as well (args), but adapted with a small bit of work. I find it hard to believe that people can simply not make due without them.\n",
"We should throw together some... |
https://api.github.com/repos/psf/requests/issues/1169 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1169/labels{/name} | https://api.github.com/repos/psf/requests/issues/1169/comments | https://api.github.com/repos/psf/requests/issues/1169/events | https://github.com/psf/requests/pull/1169 | 10,713,352 | MDExOlB1bGxSZXF1ZXN0NDAyNDMxNw== | 1,169 | Fixed get_unicode_from_response() to do what it says in the docstring. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1270393?v=4",
"events_url": "https://api.github.com/users/Mimino666/events{/privacy}",
"followers_url": "https://api.github.com/users/Mimino666/followers",
"following_url": "https://api.github.com/users/Mimino666/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 10 | 2013-02-06T21:53:53Z | 2021-09-08T19:00:45Z | 2013-02-06T22:25:29Z | NONE | resolved | Also added a reasonable encoding in the fall-back case.
| {
"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/1169/reactions"
} | https://api.github.com/repos/psf/requests/issues/1169/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1169.diff",
"html_url": "https://github.com/psf/requests/pull/1169",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1169.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1169"
} | true | [
"The docstring is incorrect then\n",
"Hm, why is that? To me it sounded like a reasonable heuristic.\nAlso, how come this function is nowhere used?\n",
"Because Requests is not an HTML library. =) We used to parse HTML, but now we don't. The function is left over from when we did.\n",
"Oh, I thought you were ... |
https://api.github.com/repos/psf/requests/issues/1168 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1168/labels{/name} | https://api.github.com/repos/psf/requests/issues/1168/comments | https://api.github.com/repos/psf/requests/issues/1168/events | https://github.com/psf/requests/pull/1168 | 10,706,648 | MDExOlB1bGxSZXF1ZXN0NDAyMDYzNw== | 1,168 | Feature freeze. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2013-02-06T19:04:29Z | 2021-09-08T23:06:21Z | 2013-02-06T19:53:55Z | MEMBER | resolved | See issue #1165.
Not finished yet, gotta do the contributing.md thing.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1168/reactions"
} | https://api.github.com/repos/psf/requests/issues/1168/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1168.diff",
"html_url": "https://github.com/psf/requests/pull/1168",
"merged_at": "2013-02-06T19:53:55Z",
"patch_url": "https://github.com/psf/requests/pull/1168.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1168"
} | true | [
"<3\n"
] |
https://api.github.com/repos/psf/requests/issues/1167 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1167/labels{/name} | https://api.github.com/repos/psf/requests/issues/1167/comments | https://api.github.com/repos/psf/requests/issues/1167/events | https://github.com/psf/requests/issues/1167 | 10,664,386 | MDU6SXNzdWUxMDY2NDM4Ng== | 1,167 | push users to stack overflow first | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
}
] | closed | true | null | [] | null | 2 | 2013-02-05T19:46:58Z | 2021-09-08T23:04:51Z | 2015-05-03T15:09:22Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1167/reactions"
} | https://api.github.com/repos/psf/requests/issues/1167/timeline | null | completed | null | null | false | [
"I already occasionally answer questions tagged with `python-requests` so it wouldn't be a bad place for people to start.\n",
"+1\n"
] | |
https://api.github.com/repos/psf/requests/issues/1166 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1166/labels{/name} | https://api.github.com/repos/psf/requests/issues/1166/comments | https://api.github.com/repos/psf/requests/issues/1166/events | https://github.com/psf/requests/issues/1166 | 10,664,298 | MDU6SXNzdWUxMDY2NDI5OA== | 1,166 | Make test suite totally offline | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
}
] | closed | true | null | [] | null | 10 | 2013-02-05T19:44:33Z | 2021-09-08T23:10:37Z | 2014-09-01T14:38:30Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1166/reactions"
} | https://api.github.com/repos/psf/requests/issues/1166/timeline | null | completed | null | null | false | [
"We could use @kanzure's project which relies on HTTPretty or we could use mock like I do in github3.py. If you chose the latter, I'll be happy to work on the tests.\n",
"In particular, I think he is referring to [kanzure/python-requestions](https://github.com/kanzure/python-requestions). The httpetrified decorat... | |
https://api.github.com/repos/psf/requests/issues/1165 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1165/labels{/name} | https://api.github.com/repos/psf/requests/issues/1165/comments | https://api.github.com/repos/psf/requests/issues/1165/events | https://github.com/psf/requests/issues/1165 | 10,664,127 | MDU6SXNzdWUxMDY2NDEyNw== | 1,165 | Document Intentions/Status | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
}
] | closed | true | null | [] | null | 1 | 2013-02-05T19:39:38Z | 2021-09-09T03:00:33Z | 2013-05-29T07:59:44Z | CONTRIBUTOR | resolved | Document our perpetual "feature freeze".
Add contibuting.md so people see it when submitting a pull request.
| {
"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/1165/reactions"
} | https://api.github.com/repos/psf/requests/issues/1165/timeline | null | completed | null | null | false | [
"@kennethreitz Can you elaborate on what you want contributing.md to be, and how it should relate to the current dev docs?\n"
] |
https://api.github.com/repos/psf/requests/issues/1164 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1164/labels{/name} | https://api.github.com/repos/psf/requests/issues/1164/comments | https://api.github.com/repos/psf/requests/issues/1164/events | https://github.com/psf/requests/issues/1164 | 10,651,363 | MDU6SXNzdWUxMDY1MTM2Mw== | 1,164 | Problem when using PUT in v1.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/429923?v=4",
"events_url": "https://api.github.com/users/jaimebuelta/events{/privacy}",
"followers_url": "https://api.github.com/users/jaimebuelta/followers",
"following_url": "https://api.github.com/users/jaimebuelta/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 3 | 2013-02-05T14:18:48Z | 2021-09-09T05:00:46Z | 2013-02-07T14:40:45Z | NONE | resolved | Hi:
I'm having a problem when making PUT requests. This problem is not present on version 0.14.2, but it has arisen when I updated the module.
It seems that the content of the PUT (data), which should be encoded as a POST, is not being properly encoded. At least, I am not able to receive it when checking on the s... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1164/reactions"
} | https://api.github.com/repos/psf/requests/issues/1164/timeline | null | completed | null | null | false | [
"HTTPBin works fine for me with 'PUTs', can you provide some of the code you're using so I can try to reproduce the issue?\n",
"Ups, my mistake. I've been looking at that more carefully, and it turns out to be a problem on redirections...\n\nThe call was being redirected, so the body wasn't being sent again (whic... |
https://api.github.com/repos/psf/requests/issues/1163 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1163/labels{/name} | https://api.github.com/repos/psf/requests/issues/1163/comments | https://api.github.com/repos/psf/requests/issues/1163/events | https://github.com/psf/requests/issues/1163 | 10,637,355 | MDU6SXNzdWUxMDYzNzM1NQ== | 1,163 | What happened to danger_mode? | {
"avatar_url": "https://avatars.githubusercontent.com/u/575602?v=4",
"events_url": "https://api.github.com/users/zwass/events{/privacy}",
"followers_url": "https://api.github.com/users/zwass/followers",
"following_url": "https://api.github.com/users/zwass/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 15 | 2013-02-05T04:29:15Z | 2021-09-08T23:10:48Z | 2013-02-05T17:29:09Z | NONE | resolved | I was just going to suggest this feature when I noticed pull request https://github.com/kennethreitz/requests/pull/333.
Looking in the current code, I can't find any indication of `danger_mode`, or a similar setting. Was there a reason this was removed? I'd be happy to contribute to bringing it back.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/575602?v=4",
"events_url": "https://api.github.com/users/zwass/events{/privacy}",
"followers_url": "https://api.github.com/users/zwass/followers",
"following_url": "https://api.github.com/users/zwass/following{/other_user}",
"gists_url": "https://api.gi... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/1163/reactions"
} | https://api.github.com/repos/psf/requests/issues/1163/timeline | null | completed | null | null | false | [
"I suspect it got pulled out during the big refactor. I'm not opposed to having it back, depends what @kennethreitz thinks.\n",
"Danger mode is now the default and the only mode. Safe mode was regarded as useless. Now, that's good news for you! :)\n",
"I'm pretty sure it was removed because it was deemed an unn... |
https://api.github.com/repos/psf/requests/issues/1162 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1162/labels{/name} | https://api.github.com/repos/psf/requests/issues/1162/comments | https://api.github.com/repos/psf/requests/issues/1162/events | https://github.com/psf/requests/pull/1162 | 10,557,230 | MDExOlB1bGxSZXF1ZXN0Mzk1MzU2NA== | 1,162 | Proxy Authorization Headers | {
"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 | 8 | 2013-02-01T20:10:31Z | 2021-09-09T00:01:20Z | 2013-02-06T21:05:04Z | MEMBER | resolved | This is one half of the pair of open problems from #1053. Please code review this before pulling it.
I concluded that, as this is fundamentally an authentication issue, this belongs in our code, not in urllib3. For the moment, I have it set up so that if the authentication is provided in the URL, we simply grab it out... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1162/reactions"
} | https://api.github.com/repos/psf/requests/issues/1162/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1162.diff",
"html_url": "https://github.com/psf/requests/pull/1162",
"merged_at": "2013-02-06T21:05:04Z",
"patch_url": "https://github.com/psf/requests/pull/1162.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1162"
} | true | [
"Goddamn it Travis! =D\n",
"Travis is the child we love when it does what we want and hate when it \ndoesn't... except it isn't our child.\n",
"currently, proxies are only supported in the connection adapter layer, so this shouldn't be surfaced higher up\n\nas always, correct me if i'm wrong :)\n",
"Not sure.... |
https://api.github.com/repos/psf/requests/issues/1161 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1161/labels{/name} | https://api.github.com/repos/psf/requests/issues/1161/comments | https://api.github.com/repos/psf/requests/issues/1161/events | https://github.com/psf/requests/pull/1161 | 10,547,156 | MDExOlB1bGxSZXF1ZXN0Mzk1MDE5NA== | 1,161 | If Content-Length is already set, don't override | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 8 | 2013-02-01T17:01:29Z | 2021-09-08T19:00:45Z | 2013-02-10T22:07:08Z | CONTRIBUTOR | resolved | Re: #1159
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1161/reactions"
} | https://api.github.com/repos/psf/requests/issues/1161/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1161.diff",
"html_url": "https://github.com/psf/requests/pull/1161",
"merged_at": "2013-02-10T22:07:08Z",
"patch_url": "https://github.com/psf/requests/pull/1161.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1161"
} | true | [
"Nice. =)\n\nIt should be noted that this will not resolve the issue raised in #1159, as if I set Content Length to anything falsy this will fail (this includes zero). I don't know if we want to allow the forcing of Content-Length to weird values this way, but if we do you'll need to take another look at this.\n",
... |
https://api.github.com/repos/psf/requests/issues/1160 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1160/labels{/name} | https://api.github.com/repos/psf/requests/issues/1160/comments | https://api.github.com/repos/psf/requests/issues/1160/events | https://github.com/psf/requests/issues/1160 | 10,531,354 | MDU6SXNzdWUxMDUzMTM1NA== | 1,160 | Auth handlers are unable to modify query strings/form data sanely | {
"avatar_url": "https://avatars.githubusercontent.com/u/92943?v=4",
"events_url": "https://api.github.com/users/gholms/events{/privacy}",
"followers_url": "https://api.github.com/users/gholms/followers",
"following_url": "https://api.github.com/users/gholms/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2013-02-01T07:41:21Z | 2021-09-09T05:00:43Z | 2013-02-10T22:27:51Z | NONE | resolved | I'm trying to port the parameter-based authentication scheme that AWS uses to requests 1 from an older version. It uses a request's parameters to generate signature parameters of its own and then augments the request with them. The resulting parameters then go into the request as either a query string or form data. ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1160/reactions"
} | https://api.github.com/repos/psf/requests/issues/1160/timeline | null | completed | null | null | false | [
"Basically, you should just parse those things out of the body. Fairly simple.\n",
"Yeah, it's just more obnoxious than modifying the dict that produced them since it involves unpacking and repacking the body. :-\\ Do I have any hope of getting the info from the original Request to the auth handler as well?\n"
... |
https://api.github.com/repos/psf/requests/issues/1159 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1159/labels{/name} | https://api.github.com/repos/psf/requests/issues/1159/comments | https://api.github.com/repos/psf/requests/issues/1159/events | https://github.com/psf/requests/issues/1159 | 10,524,929 | MDU6SXNzdWUxMDUyNDkyOQ== | 1,159 | Feature: ability to force / remove any header to a request | {
"avatar_url": "https://avatars.githubusercontent.com/u/214840?v=4",
"events_url": "https://api.github.com/users/mtourne/events{/privacy}",
"followers_url": "https://api.github.com/users/mtourne/followers",
"following_url": "https://api.github.com/users/mtourne/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 7 | 2013-02-01T01:02:45Z | 2021-09-09T05:00:38Z | 2013-02-10T22:36:58Z | NONE | resolved | Hi,
I use requests more and more to test the behavior of my app that runs on Nginx.
I was also planning into using requests to test the behavior when using incorrect HTTP headers, to assert that Nginx does the right thing.
Unfortunately it's impossible to specify Content-Length: '' (I would expect Content-Length: \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/1159/reactions"
} | https://api.github.com/repos/psf/requests/issues/1159/timeline | null | completed | null | null | false | [
"Couldn't you just modify the headers dictionary when creating a request object?\nhttp://docs.python-requests.org/en/latest/user/advanced/#request-and-response-objects\nhttp://docs.python-requests.org/en/latest/api/#lower-level-classes\n\nNote: For Content-Length, it might be set when you prepare the request (actua... |
https://api.github.com/repos/psf/requests/issues/1158 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1158/labels{/name} | https://api.github.com/repos/psf/requests/issues/1158/comments | https://api.github.com/repos/psf/requests/issues/1158/events | https://github.com/psf/requests/pull/1158 | 10,513,723 | MDExOlB1bGxSZXF1ZXN0MzkzMzIxOA== | 1,158 | Fix check that breaks handling of 303 response in some cases (v2) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1036377?v=4",
"events_url": "https://api.github.com/users/yehudasa/events{/privacy}",
"followers_url": "https://api.github.com/users/yehudasa/followers",
"following_url": "https://api.github.com/users/yehudasa/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2013-01-31T19:25:33Z | 2021-09-08T19:00:45Z | 2013-02-01T15:30:47Z | CONTRIBUTOR | resolved | This fixes issue #1156.
Signed-off-by: Yehuda Sadeh yehuda@inktank.com
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1158/reactions"
} | https://api.github.com/repos/psf/requests/issues/1158/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1158.diff",
"html_url": "https://github.com/psf/requests/pull/1158",
"merged_at": "2013-02-01T15:30:47Z",
"patch_url": "https://github.com/psf/requests/pull/1158.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1158"
} | true | [
"The test failure here is not related to the pull request.\n",
"thank you, this is much more proper.\n"
] |
https://api.github.com/repos/psf/requests/issues/1157 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1157/labels{/name} | https://api.github.com/repos/psf/requests/issues/1157/comments | https://api.github.com/repos/psf/requests/issues/1157/events | https://github.com/psf/requests/pull/1157 | 10,511,901 | MDExOlB1bGxSZXF1ZXN0MzkzMjI4MQ== | 1,157 | Fix check that breaks handling of 303 response in some cases | {
"avatar_url": "https://avatars.githubusercontent.com/u/1036377?v=4",
"events_url": "https://api.github.com/users/yehudasa/events{/privacy}",
"followers_url": "https://api.github.com/users/yehudasa/followers",
"following_url": "https://api.github.com/users/yehudasa/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2013-01-31T18:37:45Z | 2021-09-08T19:00:44Z | 2013-01-31T19:24:33Z | CONTRIBUTOR | resolved | This fixes issue #1156.
Signed-off-by: Yehuda Sadeh yehuda@inktank.com
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1036377?v=4",
"events_url": "https://api.github.com/users/yehudasa/events{/privacy}",
"followers_url": "https://api.github.com/users/yehudasa/followers",
"following_url": "https://api.github.com/users/yehudasa/following{/other_user}",
"gists_url": "http... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1157/reactions"
} | https://api.github.com/repos/psf/requests/issues/1157/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1157.diff",
"html_url": "https://github.com/psf/requests/pull/1157",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1157.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1157"
} | true | [
"Thanks for the fix! From a personal perspective, I'd rather you changed the line to:\n\n``` python\nif resp.status_code == codes.see_other and req.method != 'HEAD':\n```\n\nBoth versions (yours and mine) will fail if `codes.see_other` ever returns more than one code, but I'm not keen on creating a single-element t... |
https://api.github.com/repos/psf/requests/issues/1156 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1156/labels{/name} | https://api.github.com/repos/psf/requests/issues/1156/comments | https://api.github.com/repos/psf/requests/issues/1156/events | https://github.com/psf/requests/issues/1156 | 10,511,057 | MDU6SXNzdWUxMDUxMTA1Nw== | 1,156 | POST 303 redirect response mishandling | {
"avatar_url": "https://avatars.githubusercontent.com/u/1036377?v=4",
"events_url": "https://api.github.com/users/yehudasa/events{/privacy}",
"followers_url": "https://api.github.com/users/yehudasa/followers",
"following_url": "https://api.github.com/users/yehudasa/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 0 | 2013-01-31T18:20:53Z | 2021-09-09T05:00:43Z | 2013-02-10T22:32:30Z | CONTRIBUTOR | resolved | In 1.1.0 when getting 303 on POST, instead of sending a GET request, it sends POST.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1156/reactions"
} | https://api.github.com/repos/psf/requests/issues/1156/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/1155 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1155/labels{/name} | https://api.github.com/repos/psf/requests/issues/1155/comments | https://api.github.com/repos/psf/requests/issues/1155/events | https://github.com/psf/requests/issues/1155 | 10,510,213 | MDU6SXNzdWUxMDUxMDIxMw== | 1,155 | Add MultiDict Support | {
"avatar_url": "https://avatars.githubusercontent.com/u/614430?v=4",
"events_url": "https://api.github.com/users/dmckeone/events{/privacy}",
"followers_url": "https://api.github.com/users/dmckeone/followers",
"following_url": "https://api.github.com/users/dmckeone/following{/other_user}",
"gists_url": "https... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "f7c6c7",
"default": false,
"description": null... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | null | 79 | 2013-01-31T18:02:52Z | 2021-09-08T17:05:21Z | 2015-03-05T11:19:50Z | NONE | resolved | [Comment by Kenneth Reitz](https://github.com/kennethreitz/requests/pull/1103#issuecomment-12370830):
> We need to support MultiDict. This is long overdue.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1155/reactions"
} | https://api.github.com/repos/psf/requests/issues/1155/timeline | null | completed | null | null | false | [
"+1\n",
"Should the values be ordered or not? I have no preference, I'm just wondering if others do.\n",
"For what? Headers? Query string?\n\nTypically I would say yes either way. Preserving order does not occlude the un-ordered use case whereas the opposite does.\n",
"@xealot yeah, that was my opinion. I hav... |
https://api.github.com/repos/psf/requests/issues/1154 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1154/labels{/name} | https://api.github.com/repos/psf/requests/issues/1154/comments | https://api.github.com/repos/psf/requests/issues/1154/events | https://github.com/psf/requests/pull/1154 | 10,490,869 | MDExOlB1bGxSZXF1ZXN0MzkyMjExMA== | 1,154 | Added r.ppjson() functionality. | {
"avatar_url": "https://avatars.githubusercontent.com/u/545666?v=4",
"events_url": "https://api.github.com/users/joaquincasares/events{/privacy}",
"followers_url": "https://api.github.com/users/joaquincasares/followers",
"following_url": "https://api.github.com/users/joaquincasares/following{/other_user}",
"... | [] | closed | true | null | [] | null | 4 | 2013-01-31T07:18:46Z | 2021-09-08T19:00:44Z | 2013-01-31T14:32:58Z | NONE | resolved | I find myself continuously making a pretty_print type method when dealing with r.json() commands. Figured it may better placed back inside requests.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1154/reactions"
} | https://api.github.com/repos/psf/requests/issues/1154/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1154.diff",
"html_url": "https://github.com/psf/requests/pull/1154",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1154.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1154"
} | true | [
"I don't really see the need for this to be in Requests. Requests is an HTTP library. We only have a `json()` method because it's a insanely common use-case and it's convenient. Printing the JSON string in a nice way is a less common case and nothing to do with HTTP. =)\n\nI just don't think this is worth clutterin... |
https://api.github.com/repos/psf/requests/issues/1153 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1153/labels{/name} | https://api.github.com/repos/psf/requests/issues/1153/comments | https://api.github.com/repos/psf/requests/issues/1153/events | https://github.com/psf/requests/pull/1153 | 10,482,018 | MDExOlB1bGxSZXF1ZXN0MzkxODA0Nw== | 1,153 | use only base filename in multipart file upload | {
"avatar_url": "https://avatars.githubusercontent.com/u/170360?v=4",
"events_url": "https://api.github.com/users/cbare/events{/privacy}",
"followers_url": "https://api.github.com/users/cbare/followers",
"following_url": "https://api.github.com/users/cbare/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2013-01-30T23:50:32Z | 2021-09-08T19:00:43Z | 2013-01-30T23:56:21Z | NONE | resolved | I have a tiny patch, which enforces the correct behavior in multipart/form-data file uploads. The function guess_filename in requests/utils.py extracts the filename from the file-like-object from which we stream the file's contents. In the case of a file, this gives the full path on the local filesystem to the given fi... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1153/reactions"
} | https://api.github.com/repos/psf/requests/issues/1153/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1153.diff",
"html_url": "https://github.com/psf/requests/pull/1153",
"merged_at": "2013-01-30T23:56:21Z",
"patch_url": "https://github.com/psf/requests/pull/1153.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1153"
} | true | [
"seems good to me!\n"
] |
https://api.github.com/repos/psf/requests/issues/1152 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1152/labels{/name} | https://api.github.com/repos/psf/requests/issues/1152/comments | https://api.github.com/repos/psf/requests/issues/1152/events | https://github.com/psf/requests/pull/1152 | 10,474,310 | MDExOlB1bGxSZXF1ZXN0MzkxNDA0OA== | 1,152 | Update docs/user/advanced.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/1141204?v=4",
"events_url": "https://api.github.com/users/ekatsah/events{/privacy}",
"followers_url": "https://api.github.com/users/ekatsah/followers",
"following_url": "https://api.github.com/users/ekatsah/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2013-01-30T20:22:50Z | 2021-09-08T19:00:44Z | 2013-01-30T23:54:20Z | CONTRIBUTOR | resolved | Rephrasing a line in the docs, add explicite mention of "client side certificate" (for indexing and clarity)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1152/reactions"
} | https://api.github.com/repos/psf/requests/issues/1152/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1152.diff",
"html_url": "https://github.com/psf/requests/pull/1152",
"merged_at": "2013-01-30T23:54:20Z",
"patch_url": "https://github.com/psf/requests/pull/1152.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1152"
} | true | [
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1151 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1151/labels{/name} | https://api.github.com/repos/psf/requests/issues/1151/comments | https://api.github.com/repos/psf/requests/issues/1151/events | https://github.com/psf/requests/pull/1151 | 10,469,342 | MDExOlB1bGxSZXF1ZXN0MzkxMTQ0OQ== | 1,151 | Move redirect handling from Session.request to Session.send | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | null | 6 | 2013-01-30T18:17:08Z | 2021-09-08T23:01:05Z | 2013-02-05T19:42:51Z | CONTRIBUTOR | resolved | This closes #1133 and allows users to use Session.send with a prepared request. The tests pass, but I just thought of a separate instance where this may not work properly, so don't merge right away.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1151/reactions"
} | https://api.github.com/repos/psf/requests/issues/1151/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1151.diff",
"html_url": "https://github.com/psf/requests/pull/1151",
"merged_at": "2013-02-05T19:42:51Z",
"patch_url": "https://github.com/psf/requests/pull/1151.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1151"
} | true | [
"Yeah, my intuition was correct:\n\n``` pycon\n>>> import requests\n>>> r = requests.Request('GET', 'https://httpbin.org/redirect/2')\n>>> p = r.prepare()\n>>> s = requests.Session()\n>>> resp = s.send(p) \nTraceback (most recent call last):\n File \"<stdin>\", line 1, in <module>\n File \"requests/sessions.... |
https://api.github.com/repos/psf/requests/issues/1150 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1150/labels{/name} | https://api.github.com/repos/psf/requests/issues/1150/comments | https://api.github.com/repos/psf/requests/issues/1150/events | https://github.com/psf/requests/issues/1150 | 10,429,834 | MDU6SXNzdWUxMDQyOTgzNA== | 1,150 | On some pages requests detect encoding incorrectly | {
"avatar_url": "https://avatars.githubusercontent.com/u/976661?v=4",
"events_url": "https://api.github.com/users/Euphorbium/events{/privacy}",
"followers_url": "https://api.github.com/users/Euphorbium/followers",
"following_url": "https://api.github.com/users/Euphorbium/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2013-01-29T19:18:27Z | 2021-09-09T00:34:21Z | 2013-01-29T19:24:02Z | NONE | resolved | For example it detects http://www.15min.lt encoding as ISO-8859-1, but the encoding is set as utf8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1150/reactions"
} | https://api.github.com/repos/psf/requests/issues/1150/timeline | null | completed | null | null | false | [
"This is a duplicate of #1087. You can see there that we don't read the content to determine the encoding. If you want you can use `apparent_encoding()` to get an encoding from [charade](/sigmavirus24/charade). You can also use `from requests.utils import get_encodings_from_content`, but we don't parse the HTML any... |
https://api.github.com/repos/psf/requests/issues/1149 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1149/labels{/name} | https://api.github.com/repos/psf/requests/issues/1149/comments | https://api.github.com/repos/psf/requests/issues/1149/events | https://github.com/psf/requests/pull/1149 | 10,428,655 | MDExOlB1bGxSZXF1ZXN0Mzg5MTQ4Mw== | 1,149 | Update cacert.pem | {
"avatar_url": "https://avatars.githubusercontent.com/u/7321?v=4",
"events_url": "https://api.github.com/users/nacht/events{/privacy}",
"followers_url": "https://api.github.com/users/nacht/followers",
"following_url": "https://api.github.com/users/nacht/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 10 | 2013-01-29T18:47:07Z | 2021-09-08T23:11:10Z | 2013-02-10T22:10:16Z | NONE | resolved | Updated cacert.pem with latest from http://curl.haxx.se/ca/cacert.pem
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1149/reactions"
} | https://api.github.com/repos/psf/requests/issues/1149/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1149.diff",
"html_url": "https://github.com/psf/requests/pull/1149",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1149.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1149"
} | true | [
"so, this cert list is great, however it contains a bunch of blacklisted certs as well.\n\nI've been manually removing them. They need to be removed again. We should maintain a list perhaps.\n",
"Nod nod. Perhaps on the wiki?\n",
"why remove them? to keep the size down?\n",
"@ansel1, why remove blacklisted c... |
https://api.github.com/repos/psf/requests/issues/1148 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1148/labels{/name} | https://api.github.com/repos/psf/requests/issues/1148/comments | https://api.github.com/repos/psf/requests/issues/1148/events | https://github.com/psf/requests/pull/1148 | 10,383,632 | MDExOlB1bGxSZXF1ZXN0Mzg2OTI4OA== | 1,148 | Move the timing work to Session.send | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2013-01-28T17:16:44Z | 2021-09-08T22:01:19Z | 2013-01-28T17:40:11Z | CONTRIBUTOR | resolved | per @kennethreitz's 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/1148/reactions"
} | https://api.github.com/repos/psf/requests/issues/1148/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1148.diff",
"html_url": "https://github.com/psf/requests/pull/1148",
"merged_at": "2013-01-28T17:40:10Z",
"patch_url": "https://github.com/psf/requests/pull/1148.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1148"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/1147 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1147/labels{/name} | https://api.github.com/repos/psf/requests/issues/1147/comments | https://api.github.com/repos/psf/requests/issues/1147/events | https://github.com/psf/requests/issues/1147 | 10,354,426 | MDU6SXNzdWUxMDM1NDQyNg== | 1,147 | Throws errors with socks module | {
"avatar_url": "https://avatars.githubusercontent.com/u/1643864?v=4",
"events_url": "https://api.github.com/users/infodox/events{/privacy}",
"followers_url": "https://api.github.com/users/infodox/followers",
"following_url": "https://api.github.com/users/infodox/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 10 | 2013-01-27T14:37:49Z | 2021-09-09T05:00:43Z | 2013-02-10T22:30:25Z | NONE | resolved | Hey,
I have been trying to get requests to play nice with the "Socks" module (from http://code.google.com/p/socksipy-branch/). urllib3 and httplib work fine with it, but the requests wrapper does not. Here is an example.
```
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright",... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1147/reactions"
} | https://api.github.com/repos/psf/requests/issues/1147/timeline | null | completed | null | null | false | [
"Very interesting. \n\nI wonder if this is a bug with socks or not.\n",
"It looks like wrapmodule (from the trace back) is trying to monkey patch the socket stdlib. We don't use it directly, so if it isn't expecting our use of urllib3 then it makes sense it would fail.\n",
"Yep. `wrapmodule` is expecting that r... |
https://api.github.com/repos/psf/requests/issues/1146 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1146/labels{/name} | https://api.github.com/repos/psf/requests/issues/1146/comments | https://api.github.com/repos/psf/requests/issues/1146/events | https://github.com/psf/requests/pull/1146 | 10,345,840 | MDExOlB1bGxSZXF1ZXN0Mzg1NTE3MA== | 1,146 | It`s more pep8 now | {
"avatar_url": "https://avatars.githubusercontent.com/u/642195?v=4",
"events_url": "https://api.github.com/users/oczkers/events{/privacy}",
"followers_url": "https://api.github.com/users/oczkers/followers",
"following_url": "https://api.github.com/users/oczkers/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 7 | 2013-01-27T01:07:11Z | 2021-09-08T19:00:43Z | 2013-01-28T03:11:15Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1146/reactions"
} | https://api.github.com/repos/psf/requests/issues/1146/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1146.diff",
"html_url": "https://github.com/psf/requests/pull/1146",
"merged_at": "2013-01-28T03:11:15Z",
"patch_url": "https://github.com/psf/requests/pull/1146.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1146"
} | true | [
"I disagree with one of these changes.\n\nWe'll see how long I can stand it :)\n",
"Demanding one blank line (instead of the two) between function definitions is a very bad idea. We should try to create some coding standard for Requests.\n",
"@piotr-dobrogost why is it a bad idea?\n",
"@sigmavirus24 \n\nBecau... | |
https://api.github.com/repos/psf/requests/issues/1145 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1145/labels{/name} | https://api.github.com/repos/psf/requests/issues/1145/comments | https://api.github.com/repos/psf/requests/issues/1145/events | https://github.com/psf/requests/pull/1145 | 10,340,238 | MDExOlB1bGxSZXF1ZXN0Mzg1MzMxNQ== | 1,145 | Mock the links test | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2013-01-26T17:04:05Z | 2021-09-08T19:00:42Z | 2013-01-26T17:05:19Z | CONTRIBUTOR | resolved | Since Travis hits the GitHub API so frequently, you will sometimes run into issues where GitHub's ratelimit has been exceeded by the IP address being used. This mocks the headers from a good response from the API, and performs the test. It also shaves off about 10s on the test run on my local (horrible) internet.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1145/reactions"
} | https://api.github.com/repos/psf/requests/issues/1145/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1145.diff",
"html_url": "https://github.com/psf/requests/pull/1145",
"merged_at": "2013-01-26T17:05:19Z",
"patch_url": "https://github.com/psf/requests/pull/1145.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1145"
} | true | [
":cake:\n",
"love it!\n"
] |
https://api.github.com/repos/psf/requests/issues/1144 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1144/labels{/name} | https://api.github.com/repos/psf/requests/issues/1144/comments | https://api.github.com/repos/psf/requests/issues/1144/events | https://github.com/psf/requests/issues/1144 | 10,336,188 | MDU6SXNzdWUxMDMzNjE4OA== | 1,144 | Bad Request on some sites | {
"avatar_url": "https://avatars.githubusercontent.com/u/478194?v=4",
"events_url": "https://api.github.com/users/observerss/events{/privacy}",
"followers_url": "https://api.github.com/users/observerss/followers",
"following_url": "https://api.github.com/users/observerss/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2013-01-26T08:52:47Z | 2021-09-09T05:00:48Z | 2013-01-26T15:13:29Z | NONE | resolved | ``` python
print requests.get('http://thepiratebay.se/recent').content
```
the code above runs normally in requests 0.14.2
but, tpb returns bad request in requests 1.1.0
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1144/reactions"
} | https://api.github.com/repos/psf/requests/issues/1144/timeline | null | completed | null | null | false | [
"This is hard for me to test [in the UK](http://www.guardian.co.uk/technology/2012/apr/30/british-isps-block-pirate-bay), but my magic mind powers suggest that this might be related to #1051, which was fixed by #1142. I don't think that fix is in PyPI yet, but can you try installing the current repository version i... |
https://api.github.com/repos/psf/requests/issues/1143 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1143/labels{/name} | https://api.github.com/repos/psf/requests/issues/1143/comments | https://api.github.com/repos/psf/requests/issues/1143/events | https://github.com/psf/requests/pull/1143 | 10,305,884 | MDExOlB1bGxSZXF1ZXN0Mzg1Mjk3Nw== | 1,143 | Response as iterator | {
"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 | 16 | 2013-01-25T10:11:20Z | 2021-09-08T19:00:42Z | 2013-01-29T04:52:18Z | MEMBER | resolved | Either:
``` python
r = requests.get('http://bigsite.com/')
for line in r:
# Do stuff.
```
or:
``` python
r = requests.get('http://bigsite.com/')
for chunk in r:
# Do stuff.
```
See #1141.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1143/reactions"
} | https://api.github.com/repos/psf/requests/issues/1143/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1143.diff",
"html_url": "https://github.com/psf/requests/pull/1143",
"merged_at": "2013-01-29T04:52:18Z",
"patch_url": "https://github.com/psf/requests/pull/1143.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1143"
} | true | [
"This breeds ambiguity I think. On the one hand iterating over the lines would work in the above example, but how should the user expect the following to behave?\n\n``` python\nr = requests.get('https://s3.amazon.com/big_download.tar.gz', stream=True)\n\nfor data in r:\n # Do stuff.\n```\n\nFor this reason alone... |
https://api.github.com/repos/psf/requests/issues/1142 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1142/labels{/name} | https://api.github.com/repos/psf/requests/issues/1142/comments | https://api.github.com/repos/psf/requests/issues/1142/events | https://github.com/psf/requests/pull/1142 | 10,300,677 | MDExOlB1bGxSZXF1ZXN0MzgzNDUyNQ== | 1,142 | Remove default Content-Length from GET requests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/440353?v=4",
"events_url": "https://api.github.com/users/theaeolianmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/theaeolianmachine/followers",
"following_url": "https://api.github.com/users/theaeolianmachine/following{/other_us... | [] | closed | true | null | [] | null | 10 | 2013-01-25T05:19:16Z | 2021-09-08T19:00:41Z | 2013-01-26T04:58:20Z | NONE | resolved | Fix #1051.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1142/reactions"
} | https://api.github.com/repos/psf/requests/issues/1142/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1142.diff",
"html_url": "https://github.com/psf/requests/pull/1142",
"merged_at": "2013-01-26T04:58:20Z",
"patch_url": "https://github.com/psf/requests/pull/1142.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1142"
} | true | [
"Great will fix\n",
"We need PATCH in that tuple as well.\n",
"Let's do the opposite:\n\nif not self.method in ('GET', 'HEAD')\n",
"Yeah, I should have done that from the start :).\n",
"Does anyone know if I merge these locally and force push, will the pull request on Github figure it out? Most of these com... |
https://api.github.com/repos/psf/requests/issues/1141 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1141/labels{/name} | https://api.github.com/repos/psf/requests/issues/1141/comments | https://api.github.com/repos/psf/requests/issues/1141/events | https://github.com/psf/requests/issues/1141 | 10,282,937 | MDU6SXNzdWUxMDI4MjkzNw== | 1,141 | [RFC] Response as a string | {
"avatar_url": "https://avatars.githubusercontent.com/u/259697?v=4",
"events_url": "https://api.github.com/users/nfx/events{/privacy}",
"followers_url": "https://api.github.com/users/nfx/followers",
"following_url": "https://api.github.com/users/nfx/following{/other_user}",
"gists_url": "https://api.github.c... | [] | closed | true | null | [] | null | 7 | 2013-01-24T18:18:28Z | 2021-09-09T05:00:49Z | 2013-01-25T10:09:56Z | NONE | resolved | In some cases it could be useful, that response would act as a string:
```
>>> response = requests.get('https://api.thing.somewhere/size/blah', auth=('user', 'pass'))
>>> response.status_code
200
>>> "Blah is %d big" % response
Blah is 3242 big
>>> response.headers['content-type']
'text/plain'
```
is it contrary to p... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1141/reactions"
} | https://api.github.com/repos/psf/requests/issues/1141/timeline | null | completed | null | null | false | [
"It's not un-pythonic, but I would argue it violates the principle of least surprise. I would not say that a Response's string representation is its Content Length.\n",
"yeah, i don't think we want to go this route.\n\nA better question is should responses be iterable?\n",
"I will say yes if you can tell me wha... |
https://api.github.com/repos/psf/requests/issues/1140 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1140/labels{/name} | https://api.github.com/repos/psf/requests/issues/1140/comments | https://api.github.com/repos/psf/requests/issues/1140/events | https://github.com/psf/requests/pull/1140 | 10,281,884 | MDExOlB1bGxSZXF1ZXN0MzgyNDcyMQ== | 1,140 | Test for cookie parameters. | {
"avatar_url": "https://avatars.githubusercontent.com/u/331338?v=4",
"events_url": "https://api.github.com/users/ralphbean/events{/privacy}",
"followers_url": "https://api.github.com/users/ralphbean/followers",
"following_url": "https://api.github.com/users/ralphbean/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 6 | 2013-01-24T17:49:38Z | 2021-09-08T18:01:27Z | 2013-01-26T04:58:35Z | CONTRIBUTOR | resolved | I wasn't sure if setting some parameters on cookies was working or not, so I wrote a unit test for it.
The test passes; turns out I was just using it wrong in my other module.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1140/reactions"
} | https://api.github.com/repos/psf/requests/issues/1140/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1140.diff",
"html_url": "https://github.com/psf/requests/pull/1140",
"merged_at": "2013-01-26T04:58:35Z",
"patch_url": "https://github.com/psf/requests/pull/1140.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1140"
} | true | [
":+1:\n",
"The test failure lies in unittest in python 2.6 not having the `assertIn` method. I'll work from @ralphbean's pr and add a work around tomorrow.\n",
"Oh.. I can push a fix commit. One moment.\n",
"There. :)\n",
":+1:\n\nLooks good to me.\n",
"yay!\n"
] |
https://api.github.com/repos/psf/requests/issues/1139 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1139/labels{/name} | https://api.github.com/repos/psf/requests/issues/1139/comments | https://api.github.com/repos/psf/requests/issues/1139/events | https://github.com/psf/requests/pull/1139 | 10,274,540 | MDExOlB1bGxSZXF1ZXN0MzgyMjAwNA== | 1,139 | HTTPDigestAuth et al don't preserve stream, proxies etc. | {
"avatar_url": "https://avatars.githubusercontent.com/u/238690?v=4",
"events_url": "https://api.github.com/users/alexdutton/events{/privacy}",
"followers_url": "https://api.github.com/users/alexdutton/followers",
"following_url": "https://api.github.com/users/alexdutton/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-01-24T14:39:32Z | 2021-09-08T23:01:00Z | 2013-01-26T05:03:10Z | NONE | resolved | `HTTPDigestAuth.handle_401()` replaces the original response with another by doing `r.connection.send(r.request)`. This ignores the arguments originally passed to `Session.request()` such as `stream`, `proxies`, `timeout`, `verify` and `cert`.
`HTTPDigestAuth` (and other hooks that behave similarly) need a way to perf... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1139/reactions"
} | https://api.github.com/repos/psf/requests/issues/1139/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1139.diff",
"html_url": "https://github.com/psf/requests/pull/1139",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1139.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1139"
} | true | [
"Hmm, I don't think this is the right approach currently. We'll have to reevaluate soon.\n"
] |
https://api.github.com/repos/psf/requests/issues/1138 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1138/labels{/name} | https://api.github.com/repos/psf/requests/issues/1138/comments | https://api.github.com/repos/psf/requests/issues/1138/events | https://github.com/psf/requests/pull/1138 | 10,259,344 | MDExOlB1bGxSZXF1ZXN0MzgxMzYwMw== | 1,138 | Time each request | {
"avatar_url": "https://avatars.githubusercontent.com/u/2089?v=4",
"events_url": "https://api.github.com/users/clee/events{/privacy}",
"followers_url": "https://api.github.com/users/clee/followers",
"following_url": "https://api.github.com/users/clee/following{/other_user}",
"gists_url": "https://api.github.... | [] | closed | true | null | [] | null | 11 | 2013-01-24T02:17:33Z | 2021-09-08T18:01:26Z | 2013-01-28T03:10:16Z | CONTRIBUTOR | resolved | Pretty simple - adds calls to time.time() around send() and a new attribute, Response.time_taken, to tell how long the last request took.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1138/reactions"
} | https://api.github.com/repos/psf/requests/issues/1138/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1138.diff",
"html_url": "https://github.com/psf/requests/pull/1138",
"merged_at": "2013-01-28T03:10:16Z",
"patch_url": "https://github.com/psf/requests/pull/1138.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1138"
} | true | [
"I like this, it's cool for simple metrics (needed something like this sometime ago). But wouldn't be better to put the result in the returned `Response` object?\n\nThat way we can use it like the code below and keep track of the request time for every request made.\n\n``` python\nimport requests\nresponse = reques... |
https://api.github.com/repos/psf/requests/issues/1137 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1137/labels{/name} | https://api.github.com/repos/psf/requests/issues/1137/comments | https://api.github.com/repos/psf/requests/issues/1137/events | https://github.com/psf/requests/pull/1137 | 10,258,588 | MDExOlB1bGxSZXF1ZXN0MzgxMzE5NQ== | 1,137 | Remove a test per @kennethreitz in IRC | {
"avatar_url": "https://avatars.githubusercontent.com/u/134455?v=4",
"events_url": "https://api.github.com/users/chadwhitacre/events{/privacy}",
"followers_url": "https://api.github.com/users/chadwhitacre/followers",
"following_url": "https://api.github.com/users/chadwhitacre/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2013-01-24T01:36:17Z | 2021-09-08T18:01:26Z | 2013-01-24T01:37:13Z | CONTRIBUTOR | resolved | The test suite is moving from the httpbin pattern (which hits the network) to depending on the request.prepare method (which doesn't). Here's a start ...
:rocket:
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1137/reactions"
} | https://api.github.com/repos/psf/requests/issues/1137/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1137.diff",
"html_url": "https://github.com/psf/requests/pull/1137",
"merged_at": "2013-01-24T01:37:13Z",
"patch_url": "https://github.com/psf/requests/pull/1137.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1137"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/1136 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1136/labels{/name} | https://api.github.com/repos/psf/requests/issues/1136/comments | https://api.github.com/repos/psf/requests/issues/1136/events | https://github.com/psf/requests/pull/1136 | 10,258,515 | MDExOlB1bGxSZXF1ZXN0MzgxMzE1Ng== | 1,136 | introduce a test for link headers. | {
"avatar_url": "https://avatars.githubusercontent.com/u/27786?v=4",
"events_url": "https://api.github.com/users/steveklabnik/events{/privacy}",
"followers_url": "https://api.github.com/users/steveklabnik/followers",
"following_url": "https://api.github.com/users/steveklabnik/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 4 | 2013-01-24T01:32:54Z | 2021-09-08T18:01:25Z | 2013-01-24T01:34:55Z | CONTRIBUTOR | resolved | This test is kinda bad, submitting for feedback, fixup, and eventual inclusion.
There's currently no test to to check that the `Link` header parsing actually works, so I wrote one.
It pings GitHub, so that's bad, obviously.
You mentioned on IRC that you could use `PreparedRequest`; should that be what I'm doing here... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1136/reactions"
} | https://api.github.com/repos/psf/requests/issues/1136/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1136.diff",
"html_url": "https://github.com/psf/requests/pull/1136",
"merged_at": "2013-01-24T01:34:55Z",
"patch_url": "https://github.com/psf/requests/pull/1136.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1136"
} | true | [
"Hmm, we need a mocked Response connection adapter.\n\nI'm on it!\n",
"Also, I wanted to use httpbin, but it doesn't have a way to return them. Would that be useful to add to it?\n",
"Well, we're going to remove it completely. Give me a few, I'll give you a mock response which will be awesome.\n",
":metal:\n"... |
https://api.github.com/repos/psf/requests/issues/1135 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1135/labels{/name} | https://api.github.com/repos/psf/requests/issues/1135/comments | https://api.github.com/repos/psf/requests/issues/1135/events | https://github.com/psf/requests/pull/1135 | 10,258,129 | MDExOlB1bGxSZXF1ZXN0MzgxMjk0NQ== | 1,135 | Add OAuth to features | {
"avatar_url": "https://avatars.githubusercontent.com/u/619795?v=4",
"events_url": "https://api.github.com/users/mahmoudhossam/events{/privacy}",
"followers_url": "https://api.github.com/users/mahmoudhossam/followers",
"following_url": "https://api.github.com/users/mahmoudhossam/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 1 | 2013-01-24T01:15:27Z | 2021-09-08T18:01:24Z | 2013-01-24T01:16:30Z | CONTRIBUTOR | resolved | We have OAuth now, right?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1135/reactions"
} | https://api.github.com/repos/psf/requests/issues/1135/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1135.diff",
"html_url": "https://github.com/psf/requests/pull/1135",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1135.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1135"
} | true | [
"Removed from Requests proper actually :)\n"
] |
https://api.github.com/repos/psf/requests/issues/1134 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1134/labels{/name} | https://api.github.com/repos/psf/requests/issues/1134/comments | https://api.github.com/repos/psf/requests/issues/1134/events | https://github.com/psf/requests/pull/1134 | 10,257,930 | MDExOlB1bGxSZXF1ZXN0MzgxMjgzOA== | 1,134 | remove silly assert | {
"avatar_url": "https://avatars.githubusercontent.com/u/27786?v=4",
"events_url": "https://api.github.com/users/steveklabnik/events{/privacy}",
"followers_url": "https://api.github.com/users/steveklabnik/followers",
"following_url": "https://api.github.com/users/steveklabnik/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 6 | 2013-01-24T01:05:10Z | 2021-09-08T23:01:06Z | 2013-01-24T01:06:40Z | CONTRIBUTOR | resolved | C'mon bro. :wink:
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1134/reactions"
} | https://api.github.com/repos/psf/requests/issues/1134/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1134.diff",
"html_url": "https://github.com/psf/requests/pull/1134",
"merged_at": "2013-01-24T01:06:40Z",
"patch_url": "https://github.com/psf/requests/pull/1134.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1134"
} | true | [
"one must question everything\n",
":metal:\n\nIt's true, you never know, someone may have monkey-patched `assert` to always return true!\n\nOh wait, this isn't Ruby. :wink: \n\nHopefully actually meaningful commits coming soon.\n",
"DON'T DO IT :-1: \n",
"```\n>>> True = False\n```\n",
"```\n File \"<stdin... |
https://api.github.com/repos/psf/requests/issues/1133 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1133/labels{/name} | https://api.github.com/repos/psf/requests/issues/1133/comments | https://api.github.com/repos/psf/requests/issues/1133/events | https://github.com/psf/requests/issues/1133 | 10,254,642 | MDU6SXNzdWUxMDI1NDY0Mg== | 1,133 | Pluggable Request objects? | {
"avatar_url": "https://avatars.githubusercontent.com/u/74351?v=4",
"events_url": "https://api.github.com/users/maxcountryman/events{/privacy}",
"followers_url": "https://api.github.com/users/maxcountryman/followers",
"following_url": "https://api.github.com/users/maxcountryman/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 35 | 2013-01-23T23:04:09Z | 2021-09-09T05:00:46Z | 2013-02-05T19:44:05Z | CONTRIBUTOR | resolved | It would be super cool if it were possible to plug a custom Request object over a Session object. However it looks as though the Request object is hardcoded into the request method, e.g. https://github.com/kennethreitz/requests/blob/1a87f15e6f8d22be6855424b46b80f66d178fe40/requests/sessions.py#L264
Any thoughts on thi... | {
"avatar_url": "https://avatars.githubusercontent.com/u/74351?v=4",
"events_url": "https://api.github.com/users/maxcountryman/events{/privacy}",
"followers_url": "https://api.github.com/users/maxcountryman/followers",
"following_url": "https://api.github.com/users/maxcountryman/following{/other_user}",
"gist... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1133/reactions"
} | https://api.github.com/repos/psf/requests/issues/1133/timeline | null | completed | null | null | false | [
"Like changing the Session class's `__init__(self)` to `__init__(self, req=None)` then in the request method only create a new Request() if self.req is None?\n",
"What would your custom request object do?\n",
"@alanhamlett I think he means customizing the the Request class itself and using that instead of the o... |
https://api.github.com/repos/psf/requests/issues/1132 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1132/labels{/name} | https://api.github.com/repos/psf/requests/issues/1132/comments | https://api.github.com/repos/psf/requests/issues/1132/events | https://github.com/psf/requests/pull/1132 | 10,251,155 | MDExOlB1bGxSZXF1ZXN0MzgwOTEzOQ== | 1,132 | Pass kwargs to json.loads | {
"avatar_url": "https://avatars.githubusercontent.com/u/440820?v=4",
"events_url": "https://api.github.com/users/sburns/events{/privacy}",
"followers_url": "https://api.github.com/users/sburns/followers",
"following_url": "https://api.github.com/users/sburns/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2013-01-23T21:28:27Z | 2021-09-08T18:01:25Z | 2013-01-23T22:02:38Z | CONTRIBUTOR | resolved | Not all JSON is created equally. This commit
addresses when users want to take control of the
json decode process.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1132/reactions"
} | https://api.github.com/repos/psf/requests/issues/1132/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1132.diff",
"html_url": "https://github.com/psf/requests/pull/1132",
"merged_at": "2013-01-23T22:02:38Z",
"patch_url": "https://github.com/psf/requests/pull/1132.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1132"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/1131 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1131/labels{/name} | https://api.github.com/repos/psf/requests/issues/1131/comments | https://api.github.com/repos/psf/requests/issues/1131/events | https://github.com/psf/requests/issues/1131 | 10,250,230 | MDU6SXNzdWUxMDI1MDIzMA== | 1,131 | New Session API feels awkward | {
"avatar_url": "https://avatars.githubusercontent.com/u/120601?v=4",
"events_url": "https://api.github.com/users/stevvooe/events{/privacy}",
"followers_url": "https://api.github.com/users/stevvooe/followers",
"following_url": "https://api.github.com/users/stevvooe/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 8 | 2013-01-23T21:07:58Z | 2021-09-09T04:00:32Z | 2013-01-23T22:06:32Z | NONE | resolved | With the old session api, one could set defaults with kwargs on session instantiation. For example, usage was similar to the following:
```
with requests.session(cookies=mycookiejar, timeout=0.5):
... do some work
```
This allowed one to rollup session parameters for subclasses quite nicely:
```
class MySession(... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/1131/reactions"
} | https://api.github.com/repos/psf/requests/issues/1131/timeline | null | completed | null | null | false | [
":+1: I agree that the new API has left something to be desired...\n",
"I don't see 'less flexible'. I could see 'more verbose' as a complaint, but 'less flexible' doesn't seem right.\n\nThe rationale (as best I understand it) for the new Session API is that it places all aspects of the Session on equal footing. ... |
https://api.github.com/repos/psf/requests/issues/1130 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1130/labels{/name} | https://api.github.com/repos/psf/requests/issues/1130/comments | https://api.github.com/repos/psf/requests/issues/1130/events | https://github.com/psf/requests/issues/1130 | 10,249,817 | MDU6SXNzdWUxMDI0OTgxNw== | 1,130 | `timeout` should be settable on session | {
"avatar_url": "https://avatars.githubusercontent.com/u/120601?v=4",
"events_url": "https://api.github.com/users/stevvooe/events{/privacy}",
"followers_url": "https://api.github.com/users/stevvooe/followers",
"following_url": "https://api.github.com/users/stevvooe/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2013-01-23T20:56:20Z | 2021-09-09T00:01:06Z | 2013-01-23T21:01:01Z | NONE | resolved | It would be nice to have a default timeout for all requests within a session. Currently, this isn't possible because timeout is only taken as an argument to `Session.request`. As a workaround, I am using something similar to the following:
```
class TimeoutSession(requests.Session):
def __init__(self, timeout=None... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1130/reactions"
} | https://api.github.com/repos/psf/requests/issues/1130/timeline | null | completed | null | null | false | [
"Timeout is a parameter of the act of sending a request now.\n\nBasically, session-level timeouts down't make sense when we have connection adapters.\n",
"What is the suggested method for setting the same timeout for a set of requests? Do you suggest we override the Adapter?\n",
"Also, do you mind letting this ... |
https://api.github.com/repos/psf/requests/issues/1129 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1129/labels{/name} | https://api.github.com/repos/psf/requests/issues/1129/comments | https://api.github.com/repos/psf/requests/issues/1129/events | https://github.com/psf/requests/pull/1129 | 10,227,910 | MDExOlB1bGxSZXF1ZXN0Mzc5NzY0MA== | 1,129 | New download() method on Response model for saving response content to local file... | {
"avatar_url": "https://avatars.githubusercontent.com/u/522344?v=4",
"events_url": "https://api.github.com/users/alanhamlett/events{/privacy}",
"followers_url": "https://api.github.com/users/alanhamlett/followers",
"following_url": "https://api.github.com/users/alanhamlett/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 4 | 2013-01-23T10:52:23Z | 2021-09-08T18:01:23Z | 2013-01-23T13:23:14Z | CONTRIBUTOR | resolved | ...without reading whole response content into machine memory.
Includes 1 new test case.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1129/reactions"
} | https://api.github.com/repos/psf/requests/issues/1129/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1129.diff",
"html_url": "https://github.com/psf/requests/pull/1129",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1129.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1129"
} | true | [
"Firstly, thanks for the pull request! It's always great to have contributions. =)\n\nSecondly, and being up-front, I don't think this is likely to get accepted into the library. _Do not close this PR based on that comment_ (some people have done in the past), that decision isn't mine, but I suspect this PR won't g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.