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/3650 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3650/labels{/name} | https://api.github.com/repos/psf/requests/issues/3650/comments | https://api.github.com/repos/psf/requests/issues/3650/events | https://github.com/psf/requests/issues/3650 | 185,522,789 | MDU6SXNzdWUxODU1MjI3ODk= | 3,650 | Cannot import requests when filename is email.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/2752396?v=4",
"events_url": "https://api.github.com/users/kocsenc/events{/privacy}",
"followers_url": "https://api.github.com/users/kocsenc/followers",
"following_url": "https://api.github.com/users/kocsenc/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2016-10-26T22:04:00Z | 2021-09-08T14:00:44Z | 2016-10-26T23:43:34Z | NONE | resolved | This is a weird error. But if you attempt to import requests from a filename `email.py` importing will fail.
## Steps to Reproduce
1. `mkdir potato && cd potato`
2. `vim email.py`
3. `echo 'import requests' > email.py`
4. `python email.py`
## Actual Result (bug)
Instead of importing, it will start to ask for specific... | {
"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/3650/reactions"
} | https://api.github.com/repos/psf/requests/issues/3650/timeline | null | completed | null | null | false | [
"`email` is a standard library package name, you should _never_ shadow those. We, rely on it not being shadowed and use it, which is why you cannot import requests. Please change your file name.\n"
] |
https://api.github.com/repos/psf/requests/issues/3649 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3649/labels{/name} | https://api.github.com/repos/psf/requests/issues/3649/comments | https://api.github.com/repos/psf/requests/issues/3649/events | https://github.com/psf/requests/issues/3649 | 185,342,992 | MDU6SXNzdWUxODUzNDI5OTI= | 3,649 | The data= parameter barfs on all dictionary-like objects that don't subclass dict itself | {
"avatar_url": "https://avatars.githubusercontent.com/u/1041265?v=4",
"events_url": "https://api.github.com/users/gruns/events{/privacy}",
"followers_url": "https://api.github.com/users/gruns/followers",
"following_url": "https://api.github.com/users/gruns/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 8 | 2016-10-26T09:37:18Z | 2021-09-08T14:00:40Z | 2016-11-03T15:58:22Z | NONE | resolved | Example:
``` python
import requests
from collections import MutableMapping
class mydict(MutableMapping):
def __init__(self, *args, **kwargs):
self.d = dict(*args, **kwargs)
def __iter__(self):
return iter(self.d)
def __getitem__(self, key):
return self.d.get(key)
def __setitem__(self, key, value):... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3649/reactions"
} | https://api.github.com/repos/psf/requests/issues/3649/timeline | null | completed | null | null | false | [
"Nope, probably we should check for `Mapping` instead. Would you like to provide a PR to fix this up?\n",
"We had this at some point. Why did we get rid of this?\n",
"I'm honestly not sure. =(\n",
"Hello,\nI am a seasoned Python developer and I want to make my first steps \nas an open source contributor. Can ... |
https://api.github.com/repos/psf/requests/issues/3638 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3638/labels{/name} | https://api.github.com/repos/psf/requests/issues/3638/comments | https://api.github.com/repos/psf/requests/issues/3638/events | https://github.com/psf/requests/issues/3638 | 185,192,077 | MDU6SXNzdWUxODUxOTIwNzc= | 3,638 | malformed request block | {
"avatar_url": "https://avatars.githubusercontent.com/u/12615662?v=4",
"events_url": "https://api.github.com/users/persiaAziz-zz/events{/privacy}",
"followers_url": "https://api.github.com/users/persiaAziz-zz/followers",
"following_url": "https://api.github.com/users/persiaAziz-zz/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 5 | 2016-10-25T18:08:30Z | 2021-09-08T14:00:45Z | 2016-10-25T18:13:36Z | NONE | resolved | specifying both Content-Length and transfer-encoding in the header dictionary creates malformed request block. I think it should throw an exception and abort the 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/3638/reactions"
} | https://api.github.com/repos/psf/requests/issues/3638/timeline | null | completed | null | null | false | [
"I'm going to close this in favour of #3637.\n",
"This is a different issue by the way . Code to reproduce:\n\n`\nimport gevent\nimport socket\nimport requests\nimport os\nfrom threading import Thread\nimport sys\nbSTOP = False\ndef handleResponse(response,_args, *_kwargs):\n print(response.status_code)\n\ndef... |
https://api.github.com/repos/psf/requests/issues/3637 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3637/labels{/name} | https://api.github.com/repos/psf/requests/issues/3637/comments | https://api.github.com/repos/psf/requests/issues/3637/events | https://github.com/psf/requests/issues/3637 | 185,191,185 | MDU6SXNzdWUxODUxOTExODU= | 3,637 | Chunked uploads do not deduplicate the Host header field when provided by the user | {
"avatar_url": "https://avatars.githubusercontent.com/u/12615662?v=4",
"events_url": "https://api.github.com/users/persiaAziz-zz/events{/privacy}",
"followers_url": "https://api.github.com/users/persiaAziz-zz/followers",
"following_url": "https://api.github.com/users/persiaAziz-zz/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 10 | 2016-10-25T18:04:42Z | 2021-09-08T11:00:28Z | 2017-05-01T14:26:28Z | NONE | resolved | resquests.Session() adds extra Host field to the header dictionary passed as argument even if that field is already specified in the dictionary. This happens when transfer-encoding is specified in the header dictionary. Having duplicate host field in the header confuses apache traffic server.
| {
"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/3637/reactions"
} | https://api.github.com/repos/psf/requests/issues/3637/timeline | null | completed | null | null | false | [
"Requests should not send an extra `Host` header field. I can't reproduce this bug at all. Can you provide reproduction code?\n",
"``` python\nimport gevent\nimport socket\nimport requests\nimport os\nfrom threading import Thread\nimport sys\nbSTOP = False\ndef handleResponse(response,*args, **kwargs):\n print... |
https://api.github.com/repos/psf/requests/issues/3636 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3636/labels{/name} | https://api.github.com/repos/psf/requests/issues/3636/comments | https://api.github.com/repos/psf/requests/issues/3636/events | https://github.com/psf/requests/pull/3636 | 185,164,170 | MDExOlB1bGxSZXF1ZXN0OTA4NDA5NTQ= | 3,636 | Update SSL options on proxy pool manager. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1126767?v=4",
"events_url": "https://api.github.com/users/jortel/events{/privacy}",
"followers_url": "https://api.github.com/users/jortel/followers",
"following_url": "https://api.github.com/users/jortel/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2016-10-25T16:13:09Z | 2021-09-08T01:21:45Z | 2016-11-15T09:45:32Z | NONE | resolved | In a previous PR, the SSL options are updated on the main pool manager in `get_connection()` but not when the selected pool manager is a proxy pool manager. This PR fixes that.
In addition, I renamed the `_pool_kw_lock` because it's used in `get_connection()` to create a _critical section_ for both updating the se... | {
"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/3636/reactions"
} | https://api.github.com/repos/psf/requests/issues/3636/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3636.diff",
"html_url": "https://github.com/psf/requests/pull/3636",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3636.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3636"
} | true | [
"Thanks for this @jortel!\n\nI think that @jeremycline is planning a related PR that focuses on changes in urllib3 first. @jeremycline, how does this relate to your plan and what are your thoughts about this approach versus yours?\n",
"Hey @jortel, I filed #3633 and attached a few proposed patches. Let me know wh... |
https://api.github.com/repos/psf/requests/issues/3635 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3635/labels{/name} | https://api.github.com/repos/psf/requests/issues/3635/comments | https://api.github.com/repos/psf/requests/issues/3635/events | https://github.com/psf/requests/issues/3635 | 185,029,246 | MDU6SXNzdWUxODUwMjkyNDY= | 3,635 | session with proxy get error | {
"avatar_url": "https://avatars.githubusercontent.com/u/1875609?v=4",
"events_url": "https://api.github.com/users/Arion-Dsh/events{/privacy}",
"followers_url": "https://api.github.com/users/Arion-Dsh/followers",
"following_url": "https://api.github.com/users/Arion-Dsh/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 5 | 2016-10-25T06:25:49Z | 2021-08-29T00:06:40Z | 2016-10-26T08:18:28Z | NONE | resolved | ➜ ~ python --version
Python 3.5.2
requests 2.11.1
requests session with proxy raise this error:
```
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/usr/lib/python3.5/site-packages/requests/pa... | {
"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/3635/reactions"
} | https://api.github.com/repos/psf/requests/issues/3635/timeline | null | completed | null | null | false | [
"I strongly recommend you provide proxy authorization header values in the URL instead, like this:\n\n``` python\nproxy = {'http': 'http://%s:%s@%s:%s\" % (username, password, url, port)'}\n```\n\nSimply adding session headers like you've done here doesn't necessarily actually send them to the proxy. This is partic... |
https://api.github.com/repos/psf/requests/issues/3634 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3634/labels{/name} | https://api.github.com/repos/psf/requests/issues/3634/comments | https://api.github.com/repos/psf/requests/issues/3634/events | https://github.com/psf/requests/pull/3634 | 184,698,536 | MDExOlB1bGxSZXF1ZXN0OTA1MjAwMDc= | 3,634 | Keep ``verify`` setting when no CA_BUNDLE variable exists | {
"avatar_url": "https://avatars.githubusercontent.com/u/1977525?v=4",
"events_url": "https://api.github.com/users/jeremycline/events{/privacy}",
"followers_url": "https://api.github.com/users/jeremycline/followers",
"following_url": "https://api.github.com/users/jeremycline/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2016-10-23T16:07:44Z | 2021-09-08T02:10:25Z | 2016-10-25T08:56:53Z | CONTRIBUTOR | resolved | If the `trust_env` flag is set on a session and `verify` is `True`
or `None`, the environment is checked for `CURL_CA_BUNDLE` and
`REQUESTS_CA_BUNDLE`. Before this patch, if neither existed,
`verify` would always be set to `None` rather than `True` when it
was originally `True`.
I found this while working on a patch 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/3634/reactions"
} | https://api.github.com/repos/psf/requests/issues/3634/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3634.diff",
"html_url": "https://github.com/psf/requests/pull/3634",
"merged_at": "2016-10-25T08:56:53Z",
"patch_url": "https://github.com/psf/requests/pull/3634.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3634"
} | true | [
"@Lukasa I've adjusted the test.\n",
"@Lukasa no worries. I haven't really worked with pytest and didn't see examples of patching in the existing tests so I got lazy :frowning_face:.\n",
"Hurrah! No need to worry @jeremycline, this is what code review is for! I'm delighted to say that I'm now happy with this pa... |
https://api.github.com/repos/psf/requests/issues/3633 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3633/labels{/name} | https://api.github.com/repos/psf/requests/issues/3633/comments | https://api.github.com/repos/psf/requests/issues/3633/events | https://github.com/psf/requests/issues/3633 | 184,638,014 | MDU6SXNzdWUxODQ2MzgwMTQ= | 3,633 | HTTPS requests through proxies in proposed/3.0.0 aren't configured correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/1977525?v=4",
"events_url": "https://api.github.com/users/jeremycline/events{/privacy}",
"followers_url": "https://api.github.com/users/jeremycline/followers",
"following_url": "https://api.github.com/users/jeremycline/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 6 | 2016-10-22T15:59:26Z | 2021-09-08T04:00:44Z | 2018-01-29T13:17:25Z | CONTRIBUTOR | resolved | In current master:
```
>>> import requests
>>> requests.__version__
'2.11.1'
>>> session = requests.Session()
>>> r = session.get('https://www.jcline.org/', verify=True, proxies={'http': 'http://vagrant:vagrant@localhost:3128', 'https': 'http://vagrant:vagrant@localhost:3128'})
>>>
```
In current proposed/3.0.0:
``... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1977525?v=4",
"events_url": "https://api.github.com/users/jeremycline/events{/privacy}",
"followers_url": "https://api.github.com/users/jeremycline/followers",
"following_url": "https://api.github.com/users/jeremycline/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3633/reactions"
} | https://api.github.com/repos/psf/requests/issues/3633/timeline | null | completed | null | null | false | [
"I am open to having a urllib3 patch for this, at least in principle. What would it look like?\n",
"This current patch I've got should give you the general idea, although I'm still playing with it a bit:\n\n```\nFrom 0b95fd47688d5dcbc7ab0798f5d110e7c17eef86 Mon Sep 17 00:00:00 2001\nFrom: Jeremy Cline <jeremy@jcl... |
https://api.github.com/repos/psf/requests/issues/3632 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3632/labels{/name} | https://api.github.com/repos/psf/requests/issues/3632/comments | https://api.github.com/repos/psf/requests/issues/3632/events | https://github.com/psf/requests/pull/3632 | 184,513,030 | MDExOlB1bGxSZXF1ZXN0OTA0MDMzOTQ= | 3,632 | default dispose_func, less condition check | {
"avatar_url": "https://avatars.githubusercontent.com/u/1734093?v=4",
"events_url": "https://api.github.com/users/ls0f/events{/privacy}",
"followers_url": "https://api.github.com/users/ls0f/followers",
"following_url": "https://api.github.com/users/ls0f/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 1 | 2016-10-21T15:23:33Z | 2021-09-08T02:10:25Z | 2016-10-21T15:25:10Z | 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/3632/reactions"
} | https://api.github.com/repos/psf/requests/issues/3632/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3632.diff",
"html_url": "https://github.com/psf/requests/pull/3632",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3632.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3632"
} | true | [
"Thanks for this! However, urllib3 is a separate project that Requests includes, in its entirety, with no patches. You'll need to provide this patch against urllib3 directly.\n"
] | |
https://api.github.com/repos/psf/requests/issues/3631 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3631/labels{/name} | https://api.github.com/repos/psf/requests/issues/3631/comments | https://api.github.com/repos/psf/requests/issues/3631/events | https://github.com/psf/requests/pull/3631 | 184,430,871 | MDExOlB1bGxSZXF1ZXN0OTAzNDQyMjQ= | 3,631 | little modification in consume_socket_content | {
"avatar_url": "https://avatars.githubusercontent.com/u/1734093?v=4",
"events_url": "https://api.github.com/users/ls0f/events{/privacy}",
"followers_url": "https://api.github.com/users/ls0f/followers",
"following_url": "https://api.github.com/users/ls0f/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 0 | 2016-10-21T08:44:44Z | 2021-09-08T02:10:26Z | 2016-10-21T08:58:30Z | 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/3631/reactions"
} | https://api.github.com/repos/psf/requests/issues/3631/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3631.diff",
"html_url": "https://github.com/psf/requests/pull/3631",
"merged_at": "2016-10-21T08:58:30Z",
"patch_url": "https://github.com/psf/requests/pull/3631.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3631"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/3630 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3630/labels{/name} | https://api.github.com/repos/psf/requests/issues/3630/comments | https://api.github.com/repos/psf/requests/issues/3630/events | https://github.com/psf/requests/issues/3630 | 184,134,463 | MDU6SXNzdWUxODQxMzQ0NjM= | 3,630 | Explicit DNSError subclass for failed DNS lookups | {
"avatar_url": "https://avatars.githubusercontent.com/u/515889?v=4",
"events_url": "https://api.github.com/users/techtonik/events{/privacy}",
"followers_url": "https://api.github.com/users/techtonik/followers",
"following_url": "https://api.github.com/users/techtonik/following{/other_user}",
"gists_url": "ht... | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 7 | 2016-10-20T04:49:17Z | 2024-05-20T14:36:35Z | 2024-05-20T14:36:35Z | NONE | null | There is no cross-platform way to catch DNS lookup errors with `requests`. At least I see that error message on Windows https://stackoverflow.com/questions/40145631/precisely-catch-dns-error-with-python-requests looks different from Linux in https://github.com/kennethreitz/requests/issues/3550
Would be nice to get ded... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/psf/requests/issues/3630/reactions"
} | https://api.github.com/repos/psf/requests/issues/3630/timeline | null | completed | null | null | false | [
"So this is somewhat reasonable, but made more opaque by the fact that urllib3 gets in the way here. urllib3 will basically always turn a connection setup problem like this one into a `MaxRetriesError` (because of its retry processing). That means for us to fire off an appropriate error in all cases means that we n... |
https://api.github.com/repos/psf/requests/issues/3629 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3629/labels{/name} | https://api.github.com/repos/psf/requests/issues/3629/comments | https://api.github.com/repos/psf/requests/issues/3629/events | https://github.com/psf/requests/issues/3629 | 183,880,578 | MDU6SXNzdWUxODM4ODA1Nzg= | 3,629 | Use of both "files" and "json" in POST causes no data to be sent | {
"avatar_url": "https://avatars.githubusercontent.com/u/249497?v=4",
"events_url": "https://api.github.com/users/wQwRtaufxJw7UFLCXzXz/events{/privacy}",
"followers_url": "https://api.github.com/users/wQwRtaufxJw7UFLCXzXz/followers",
"following_url": "https://api.github.com/users/wQwRtaufxJw7UFLCXzXz/following{... | [] | closed | true | null | [] | null | 1 | 2016-10-19T06:57:18Z | 2021-09-08T14:00:47Z | 2016-10-19T08:47:07Z | NONE | resolved | From a Python3 client to a Rails server
This doesn't throw an error:
`response = requests.post(url, files=files, json=data)`
And when I send it, the files reach their destination, but **not the data**.
```
({"file"=>#<ActionDispatch::Http::UploadedFile:0x007fe825f6a260 @tempfile=#<Tempfile:/var/folders/hk/k9bttnlx... | {
"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/3629/reactions"
} | https://api.github.com/repos/psf/requests/issues/3629/timeline | null | completed | null | null | false | [
"`files` and `json` do not work together, unfortunately. While I'd be open to receiving a patch to have those work together, you'll find that you almost certainly need the low-level control of the [requests-toolbelt `StreamingMultipartDataEncoder`](https://toolbelt.readthedocs.io/en/latest/uploading-data.html#strea... |
https://api.github.com/repos/psf/requests/issues/3628 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3628/labels{/name} | https://api.github.com/repos/psf/requests/issues/3628/comments | https://api.github.com/repos/psf/requests/issues/3628/events | https://github.com/psf/requests/issues/3628 | 183,810,790 | MDU6SXNzdWUxODM4MTA3OTA= | 3,628 | Inconsistent results when querying a server with requests.post(data=dict) | {
"avatar_url": "https://avatars.githubusercontent.com/u/407407?v=4",
"events_url": "https://api.github.com/users/jpmelos/events{/privacy}",
"followers_url": "https://api.github.com/users/jpmelos/followers",
"following_url": "https://api.github.com/users/jpmelos/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2016-10-18T21:41:50Z | 2021-09-08T14:00:47Z | 2016-10-18T22:01:18Z | NONE | resolved | Python version: 2.7.12 and 3.5.2
Requests version: 2.11.1
I'm sorry if this is a duplicate, but I don't know what the issue is, so I also don't even know how to look for it in the search... But this might be a bug, so I decided to report.
When I run this in Python 2:
``` python
import requests
response = requests.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/407407?v=4",
"events_url": "https://api.github.com/users/jpmelos/events{/privacy}",
"followers_url": "https://api.github.com/users/jpmelos/followers",
"following_url": "https://api.github.com/users/jpmelos/following{/other_user}",
"gists_url": "https://... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3628/reactions"
} | https://api.github.com/repos/psf/requests/issues/3628/timeline | null | completed | null | null | false | [
"The server cares about the order of the parameters. Closing the issue as it is invalid.\n"
] |
https://api.github.com/repos/psf/requests/issues/3627 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3627/labels{/name} | https://api.github.com/repos/psf/requests/issues/3627/comments | https://api.github.com/repos/psf/requests/issues/3627/events | https://github.com/psf/requests/pull/3627 | 183,749,952 | MDExOlB1bGxSZXF1ZXN0ODk4NjA0OTU= | 3,627 | remove RequestsCookieJar specific update call | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2016-10-18T17:18:25Z | 2021-09-08T02:10:14Z | 2016-10-27T19:53:18Z | MEMBER | resolved | This is a minor fix in the same vein as #3591. This function calls `update` on the CookieJar which only exists on `RequestsCookieJar` not the standard library `cookielib.CookieJar`. While this function will now be somewhat trivial, this will ensure it maintains backwards compatibility. It may be worth discussing remova... | {
"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/3627/reactions"
} | https://api.github.com/repos/psf/requests/issues/3627/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3627.diff",
"html_url": "https://github.com/psf/requests/pull/3627",
"merged_at": "2016-10-27T19:53:18Z",
"patch_url": "https://github.com/psf/requests/pull/3627.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3627"
} | true | [
"Hey @Lukasa, just pinging on this when you've got a moment. This should be the last problematic use of `update` on CookieJars in the codebase.\n",
"Thanks @nateprewitt! :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/3626 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3626/labels{/name} | https://api.github.com/repos/psf/requests/issues/3626/comments | https://api.github.com/repos/psf/requests/issues/3626/events | https://github.com/psf/requests/issues/3626 | 183,690,632 | MDU6SXNzdWUxODM2OTA2MzI= | 3,626 | Use merge_environment_settings method in sessions.send method | {
"avatar_url": "https://avatars.githubusercontent.com/u/1916237?v=4",
"events_url": "https://api.github.com/users/yozel/events{/privacy}",
"followers_url": "https://api.github.com/users/yozel/followers",
"following_url": "https://api.github.com/users/yozel/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 1 | 2016-10-18T13:45:36Z | 2021-09-08T14:00:48Z | 2016-10-18T13:49:10Z | NONE | resolved | I work on a python project that uses requests. And as a developer, I have set that enviroment variables: HTTP_PROXY, HTTPS_PROXY and REQUESTS_CA_BUNDLE so I can see all of my requests with mitmproxy. Today, I have decided to use session.send() method with a prepared request instead of using .get(), .post() or .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/3626/reactions"
} | https://api.github.com/repos/psf/requests/issues/3626/timeline | null | completed | null | null | false | [
"@yozel Thanks for this issue!\n\nPer #2807, this is intentional behaviour. `merge_environment_settings` is a public, documented method on the `Session`: if you're planning to move away from using `Session.request` to the prepared request flow, this is one of the things that needs to become part of your workflow if... |
https://api.github.com/repos/psf/requests/issues/3625 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3625/labels{/name} | https://api.github.com/repos/psf/requests/issues/3625/comments | https://api.github.com/repos/psf/requests/issues/3625/events | https://github.com/psf/requests/pull/3625 | 183,444,457 | MDExOlB1bGxSZXF1ZXN0ODk2NDM1NTE= | 3,625 | fix issue when the file-like object raises an IOError with tell | {
"avatar_url": "https://avatars.githubusercontent.com/u/6294659?v=4",
"events_url": "https://api.github.com/users/mie00/events{/privacy}",
"followers_url": "https://api.github.com/users/mie00/followers",
"following_url": "https://api.github.com/users/mie00/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 5 | 2016-10-17T15:14:38Z | 2021-09-08T02:10:26Z | 2016-10-21T07:20:37Z | 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/3625/reactions"
} | https://api.github.com/repos/psf/requests/issues/3625/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3625.diff",
"html_url": "https://github.com/psf/requests/pull/3625",
"merged_at": "2016-10-21T07:20:37Z",
"patch_url": "https://github.com/psf/requests/pull/3625.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3625"
} | true | [
"Good spot!\n\nUnfortunately, this fix has the effect of ensuring that files of this type pass transparently but send no data, as we've called `seek` on them to seek to the end. In this instance, probably the easiest fix is to move the `if` block to an `else` on the original `try`. That way, we know that the previo... | |
https://api.github.com/repos/psf/requests/issues/3624 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3624/labels{/name} | https://api.github.com/repos/psf/requests/issues/3624/comments | https://api.github.com/repos/psf/requests/issues/3624/events | https://github.com/psf/requests/issues/3624 | 183,326,003 | MDU6SXNzdWUxODMzMjYwMDM= | 3,624 | how can I pass gmail's cookie to requests session? | {
"avatar_url": "https://avatars.githubusercontent.com/u/7452500?v=4",
"events_url": "https://api.github.com/users/alireza-amirsamimi/events{/privacy}",
"followers_url": "https://api.github.com/users/alireza-amirsamimi/followers",
"following_url": "https://api.github.com/users/alireza-amirsamimi/following{/othe... | [] | closed | true | null | [] | null | 1 | 2016-10-17T05:03:15Z | 2021-09-08T15:00:37Z | 2016-10-17T07:23:35Z | NONE | resolved | Hello
assume that i define a session
`r = requests.Session`
and i want to set cookie for it :
`r.cookies = my_cookies`
I know that I must use cookie jar . and I know taht I must use dictionary format. But I have a problem!
normally cookies are in this format
`ukey=*****; __qca=*****; _ga=******;`
and they are converta... | {
"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/3624/reactions"
} | https://api.github.com/repos/psf/requests/issues/3624/timeline | null | completed | null | null | false | [
"Hey @alireza-amirsamimi, thanks for opening this ticket. Requests currently doesn't support passing a `dict` object to Session's `cookies` attribute. You must first convert your dictionary into a `CookieJar`-like object before passing it to the session. I've attached the code below that you'll need to solve your i... |
https://api.github.com/repos/psf/requests/issues/3623 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3623/labels{/name} | https://api.github.com/repos/psf/requests/issues/3623/comments | https://api.github.com/repos/psf/requests/issues/3623/events | https://github.com/psf/requests/issues/3623 | 183,120,321 | MDU6SXNzdWUxODMxMjAzMjE= | 3,623 | Preparing POST request hook | {
"avatar_url": "https://avatars.githubusercontent.com/u/8962926?v=4",
"events_url": "https://api.github.com/users/pmart123/events{/privacy}",
"followers_url": "https://api.github.com/users/pmart123/followers",
"following_url": "https://api.github.com/users/pmart123/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2016-10-14T18:31:47Z | 2021-09-08T15:00:37Z | 2016-10-14T19:39:27Z | NONE | resolved | First, as countless have said, I'd like to thank all of the contributors for such an excellent package.
I am trying to maintain an auto-incrementing id for a given session and url every time I submit a post request. For example, say I have an authenticated session object.
### Example
``` python
ID_KEY = 'id'
counter ... | {
"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/3623/reactions"
} | https://api.github.com/repos/psf/requests/issues/3623/timeline | null | completed | null | null | false | [
"A Session wrapper or something similar is the best approach here. We got rid of most of our hooks, and you can't hook into the request factory easily. \n"
] |
https://api.github.com/repos/psf/requests/issues/3622 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3622/labels{/name} | https://api.github.com/repos/psf/requests/issues/3622/comments | https://api.github.com/repos/psf/requests/issues/3622/events | https://github.com/psf/requests/pull/3622 | 183,012,163 | MDExOlB1bGxSZXF1ZXN0ODkzNTc3ODg= | 3,622 | Update makefile to only ship tagged releases. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2016-10-14T10:08:31Z | 2021-09-08T02:10:27Z | 2016-10-14T16:38:17Z | MEMBER | resolved | Extra work that spun out of #3620.
We've had it as our policy that we only ship tagged releases of our vendored modules for a while now. This makefile update consolidates that by ensuring that the makefile will only ever use the latest tag for updates.
For the moment this is probably a bit naive, because if any of ou... | {
"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/3622/reactions"
} | https://api.github.com/repos/psf/requests/issues/3622/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3622.diff",
"html_url": "https://github.com/psf/requests/pull/3622",
"merged_at": "2016-10-14T16:38:17Z",
"patch_url": "https://github.com/psf/requests/pull/3622.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3622"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/3621 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3621/labels{/name} | https://api.github.com/repos/psf/requests/issues/3621/comments | https://api.github.com/repos/psf/requests/issues/3621/events | https://github.com/psf/requests/pull/3621 | 183,010,234 | MDExOlB1bGxSZXF1ZXN0ODkzNTY0MjE= | 3,621 | Add a missing backport. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2016-10-14T09:59:08Z | 2021-09-08T02:10:26Z | 2016-10-14T16:38:33Z | MEMBER | resolved | Spotted this while working on #3620.
| {
"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/3621/reactions"
} | https://api.github.com/repos/psf/requests/issues/3621/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3621.diff",
"html_url": "https://github.com/psf/requests/pull/3621",
"merged_at": "2016-10-14T16:38:33Z",
"patch_url": "https://github.com/psf/requests/pull/3621.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3621"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/3620 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3620/labels{/name} | https://api.github.com/repos/psf/requests/issues/3620/comments | https://api.github.com/repos/psf/requests/issues/3620/events | https://github.com/psf/requests/pull/3620 | 183,009,639 | MDExOlB1bGxSZXF1ZXN0ODkzNTYwMjc= | 3,620 | Better support for internationalized domain names. | {
"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 | 2016-10-14T09:56:36Z | 2021-09-08T02:10:25Z | 2016-10-21T12:09:04Z | MEMBER | resolved | Fixes #3616. This adds support for IDNA 2008 by vendoring the idna module, with the kind permission of @kjd.
For those keeping track, changes like this are another reason that Requests should stay out of the stdlib. ;) See also: [CPython issue 17305](https://bugs.python.org/issue17305).
| {
"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/3620/reactions"
} | https://api.github.com/repos/psf/requests/issues/3620/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3620.diff",
"html_url": "https://github.com/psf/requests/pull/3620",
"merged_at": "2016-10-21T12:09:04Z",
"patch_url": "https://github.com/psf/requests/pull/3620.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3620"
} | true | [
"\"This adds support for IDNA 2008 by vendoring the idna module\"\n\nWhy copying the whole module? Why not using a dependency? requests already uses requirements.txt.\n",
"@haypo Without wanting to get too far into the weeds here, it remains the policy of the Requests project that we vendor all dependencies. If y... |
https://api.github.com/repos/psf/requests/issues/3619 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3619/labels{/name} | https://api.github.com/repos/psf/requests/issues/3619/comments | https://api.github.com/repos/psf/requests/issues/3619/events | https://github.com/psf/requests/issues/3619 | 182,969,308 | MDU6SXNzdWUxODI5NjkzMDg= | 3,619 | ValueError: negative shift count in _proxy_bypass_macosx_sysconf | {
"avatar_url": "https://avatars.githubusercontent.com/u/12994663?v=4",
"events_url": "https://api.github.com/users/AndiCui/events{/privacy}",
"followers_url": "https://api.github.com/users/AndiCui/followers",
"following_url": "https://api.github.com/users/AndiCui/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 9 | 2016-10-14T05:52:09Z | 2021-09-08T14:00:46Z | 2016-10-21T14:41:03Z | NONE | resolved | Pls see https://github.com/pypa/pip/issues/4009
| {
"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/3619/reactions"
} | https://api.github.com/repos/psf/requests/issues/3619/timeline | null | completed | null | null | false | [
"Sorry you were referred here, but this isn't a requests problem _either_. You should be able to reproduce the problem with this code, which uses entirely modules in the standard library:\n\n``` python\nfrom urllib.request import proxy_bypass\nfrom urllib.parse import urlparse\n\nnetloc = urlparse(\"https://pypi.py... |
https://api.github.com/repos/psf/requests/issues/3618 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3618/labels{/name} | https://api.github.com/repos/psf/requests/issues/3618/comments | https://api.github.com/repos/psf/requests/issues/3618/events | https://github.com/psf/requests/issues/3618 | 182,944,589 | MDU6SXNzdWUxODI5NDQ1ODk= | 3,618 | form action without schema'ed ACTION fails with MissingSchema | {
"avatar_url": "https://avatars.githubusercontent.com/u/287758?v=4",
"events_url": "https://api.github.com/users/chadmiller/events{/privacy}",
"followers_url": "https://api.github.com/users/chadmiller/followers",
"following_url": "https://api.github.com/users/chadmiller/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 5 | 2016-10-14T01:42:37Z | 2021-09-08T15:00:38Z | 2016-10-14T07:24:02Z | NONE | resolved | Used `requests` (and mechanicalsoup) to .get() a web page that has a form on it. The form tag looks like
`<form action="/submit_uri" method="post">`
I filled a part of the form, and then .submit()ed the form.
```
File mechanicalsoup/browser.py", line 114, in submit
request = self._prepare_request(form, url, **... | {
"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/3618/reactions"
} | https://api.github.com/repos/psf/requests/issues/3618/timeline | null | completed | null | null | false | [
"You're telling Requests to `get` at the URI of `/submit_uri` which isn't a valid URI.\n\nYou need to get the URI of the form, IE, `https://www.example.com` and add this to the URI before sending the `get` request.\n",
"Correct.\n\nResolving a URL you find in the HTML of a page into a gettable URL is an extremely... |
https://api.github.com/repos/psf/requests/issues/3617 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3617/labels{/name} | https://api.github.com/repos/psf/requests/issues/3617/comments | https://api.github.com/repos/psf/requests/issues/3617/events | https://github.com/psf/requests/pull/3617 | 182,775,945 | MDExOlB1bGxSZXF1ZXN0ODkxOTIwNjE= | 3,617 | Note that @jeremycline is now our contact. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2016-10-13T12:28:59Z | 2021-09-08T02:10:27Z | 2016-10-13T14:08:10Z | MEMBER | resolved | Congratulations @jeremycline!
| {
"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/3617/reactions"
} | https://api.github.com/repos/psf/requests/issues/3617/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3617.diff",
"html_url": "https://github.com/psf/requests/pull/3617",
"merged_at": "2016-10-13T14:08:10Z",
"patch_url": "https://github.com/psf/requests/pull/3617.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3617"
} | true | [
"Thanks :smile: - I'll do my best to fill Ralph's shoes and hopefully not cause any downstream packaging trouble for you all!\n",
"Cheers @jeremycline!\n"
] |
https://api.github.com/repos/psf/requests/issues/3616 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3616/labels{/name} | https://api.github.com/repos/psf/requests/issues/3616/comments | https://api.github.com/repos/psf/requests/issues/3616/events | https://github.com/psf/requests/issues/3616 | 182,570,188 | MDU6SXNzdWUxODI1NzAxODg= | 3,616 | Consider vendoring the IDNA library. | {
"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": "777777",
"default": false,
"description": null,
"id": 162780722,
"name": "Question/Not a bug",
"node_id": "MDU6TGFiZWwxNjI3ODA3MjI=",
"url": "https://api.github.com/repos/psf/requests/labels/Question/Not%20a%20bug"
}
] | closed | true | null | [] | null | 5 | 2016-10-12T16:21:01Z | 2021-09-08T14:00:46Z | 2016-10-21T12:09:04Z | MEMBER | resolved | As has been noted on the [Python Security SIG mailing list](https://mail.python.org/pipermail/security-sig/2016-October/000122.html), Python currently only includes the deprecated IDNA 2003 codec in the standard library. This is problematic, because IDNA 2003 is forbidden for some ccTLDs, such as `.de`: instead, the ne... | {
"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/3616/reactions"
} | https://api.github.com/repos/psf/requests/issues/3616/timeline | null | completed | null | null | false | [
"It is fine by me. Happy to support widespread use of the modern IDNA standard however I can.\n",
"I'm 👍 on it. I think making it non-optional is an excellent idea.\n",
"+1 for me. I agree with @sigmavirus24 on making it non-optional.\n",
"Hey, @ralphbean has asked me to take over being the point of contact ... |
https://api.github.com/repos/psf/requests/issues/3615 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3615/labels{/name} | https://api.github.com/repos/psf/requests/issues/3615/comments | https://api.github.com/repos/psf/requests/issues/3615/events | https://github.com/psf/requests/pull/3615 | 181,759,916 | MDExOlB1bGxSZXF1ZXN0ODg1MDIxOTU= | 3,615 | Add Documentation for custom methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/6897645?v=4",
"events_url": "https://api.github.com/users/StewPoll/events{/privacy}",
"followers_url": "https://api.github.com/users/StewPoll/followers",
"following_url": "https://api.github.com/users/StewPoll/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2016-10-07T20:24:10Z | 2021-09-08T01:21:37Z | 2016-10-12T10:11:30Z | CONTRIBUTOR | resolved | This PR simply adds the documentation for custom method verbs that people may need or wish to use, such as in #3611
| {
"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/3615/reactions"
} | https://api.github.com/repos/psf/requests/issues/3615/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3615.diff",
"html_url": "https://github.com/psf/requests/pull/3615",
"merged_at": "2016-10-12T10:11:30Z",
"patch_url": "https://github.com/psf/requests/pull/3615.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3615"
} | true | [
"Thanks @TetraEtc! :sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/3614 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3614/labels{/name} | https://api.github.com/repos/psf/requests/issues/3614/comments | https://api.github.com/repos/psf/requests/issues/3614/events | https://github.com/psf/requests/issues/3614 | 181,678,347 | MDU6SXNzdWUxODE2NzgzNDc= | 3,614 | Support 100-continue (expect100) | {
"avatar_url": "https://avatars.githubusercontent.com/u/103634?v=4",
"events_url": "https://api.github.com/users/redixin/events{/privacy}",
"followers_url": "https://api.github.com/users/redixin/followers",
"following_url": "https://api.github.com/users/redixin/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2016-10-07T14:08:19Z | 2021-09-08T15:00:40Z | 2016-10-07T15:07:05Z | NONE | resolved | This feature is used when client wants to check whether request body will be accepted by server before sending the body.
This is achieved by setting "Expect: 100-continue" request header. Server will respond with status line "100 Continue HTTP/1.1" if request headers are ok, or with actual full response if something g... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3614/reactions"
} | https://api.github.com/repos/psf/requests/issues/3614/timeline | null | completed | null | null | false | [
"Hi @redixin ,\n\nAfter a quick search I found https://github.com/kennethreitz/requests/issues/713 which is an old issue that provides the reasoning for why Requests does not support this flow. In fact, this is because we are built on top of httplib. If you want to support 100-continue properly in Requests, you nee... |
https://api.github.com/repos/psf/requests/issues/3613 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3613/labels{/name} | https://api.github.com/repos/psf/requests/issues/3613/comments | https://api.github.com/repos/psf/requests/issues/3613/events | https://github.com/psf/requests/issues/3613 | 181,576,246 | MDU6SXNzdWUxODE1NzYyNDY= | 3,613 | Update streaming request headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/10917363?v=4",
"events_url": "https://api.github.com/users/thisbejim/events{/privacy}",
"followers_url": "https://api.github.com/users/thisbejim/followers",
"following_url": "https://api.github.com/users/thisbejim/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2016-10-07T03:10:03Z | 2021-09-08T15:00:39Z | 2016-10-08T14:11:40Z | NONE | resolved | Is there any way to update headers on a streaming request without restarting the request?
I am using an Authorization header with tokens that go stale after an hour, so without updating the header to include new tokens a stream can only run for an hour.
| {
"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/3613/reactions"
} | https://api.github.com/repos/psf/requests/issues/3613/timeline | null | completed | null | null | false | [
"Headers are sent at the start of the message. How do you think you would update them without a new request?\n\nThe RFC specifies \"trailers\" but those are for the end of the message, not for the middle of a message and those aren't widely supported (and thus are not supported by requests).\n"
] |
https://api.github.com/repos/psf/requests/issues/3612 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3612/labels{/name} | https://api.github.com/repos/psf/requests/issues/3612/comments | https://api.github.com/repos/psf/requests/issues/3612/events | https://github.com/psf/requests/issues/3612 | 181,576,034 | MDU6SXNzdWUxODE1NzYwMzQ= | 3,612 | Memory Bug in requests when being used with subprocess module. | {
"avatar_url": "https://avatars.githubusercontent.com/u/17210104?v=4",
"events_url": "https://api.github.com/users/KylePiira/events{/privacy}",
"followers_url": "https://api.github.com/users/KylePiira/followers",
"following_url": "https://api.github.com/users/KylePiira/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 2 | 2016-10-07T03:07:34Z | 2021-09-08T15:00:40Z | 2016-10-07T20:15:09Z | NONE | resolved | So I ran into this while working on a more complex project however here is a short demo to showcase the bug.
**NOTE:** I highly recommend you open some type of task viewer program to monitor RAM usage and know when to `Ctrl C` to prevent your OS from crashing.
# Steps to Reproduce:
a. Create Directory
b. Create two ne... | {
"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/3612/reactions"
} | https://api.github.com/repos/psf/requests/issues/3612/timeline | null | completed | null | null | false | [
"So this is happening because of how `six`, a package used by Requests, does its module discovery. You can confirm by changing `import requests` to `import six.moves.queue` (the line in `urllib3` causing this) and you'll get the same behavior. Your queue.py ends up getting imported and run, which obviously results ... |
https://api.github.com/repos/psf/requests/issues/3611 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3611/labels{/name} | https://api.github.com/repos/psf/requests/issues/3611/comments | https://api.github.com/repos/psf/requests/issues/3611/events | https://github.com/psf/requests/issues/3611 | 181,378,862 | MDU6SXNzdWUxODEzNzg4NjI= | 3,611 | MKCOL verb from WebDAV | {
"avatar_url": "https://avatars.githubusercontent.com/u/82182?v=4",
"events_url": "https://api.github.com/users/paul-hammant/events{/privacy}",
"followers_url": "https://api.github.com/users/paul-hammant/followers",
"following_url": "https://api.github.com/users/paul-hammant/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 3 | 2016-10-06T10:29:35Z | 2021-09-08T15:00:41Z | 2016-10-06T13:16:52Z | NONE | resolved | MKCOL would be super useful - make a directory on the remote server.
curl has it:
```
curl -u user:pwd -X MKCOL http://yourserver.com/baseurl/newdiruwannacreate
```
| {
"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/3611/reactions"
} | https://api.github.com/repos/psf/requests/issues/3611/timeline | null | completed | null | null | false | [
"From what I know the -X flag means you're using a custom metbod, laying\noutside normal HTTP requests.\n\nYou should be able to achieve this using `requests.request('MKCOL',\n**kwargs)`\n\nI may be wrong though.\n\nOn Thu, 6 Oct 2016, 8:29 PM Paul Hammant notifications@github.com wrote:\n\n> MKCOL would be super u... |
https://api.github.com/repos/psf/requests/issues/3610 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3610/labels{/name} | https://api.github.com/repos/psf/requests/issues/3610/comments | https://api.github.com/repos/psf/requests/issues/3610/events | https://github.com/psf/requests/issues/3610 | 181,073,201 | MDU6SXNzdWUxODEwNzMyMDE= | 3,610 | Failed to establish a new connection: [Errno 61] Connection refused | {
"avatar_url": "https://avatars.githubusercontent.com/u/11945009?v=4",
"events_url": "https://api.github.com/users/xiazhibin/events{/privacy}",
"followers_url": "https://api.github.com/users/xiazhibin/followers",
"following_url": "https://api.github.com/users/xiazhibin/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2016-10-05T06:16:47Z | 2021-09-08T15:00:41Z | 2016-10-05T06:23:59Z | NONE | resolved | the error is shown in there [stackoverflow](http://stackoverflow.com/questions/39854217/proxy-error-when-using-flask-as-a-simple-http-proxy)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/11945009?v=4",
"events_url": "https://api.github.com/users/xiazhibin/events{/privacy}",
"followers_url": "https://api.github.com/users/xiazhibin/followers",
"following_url": "https://api.github.com/users/xiazhibin/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/3610/reactions"
} | https://api.github.com/repos/psf/requests/issues/3610/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/3609 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3609/labels{/name} | https://api.github.com/repos/psf/requests/issues/3609/comments | https://api.github.com/repos/psf/requests/issues/3609/events | https://github.com/psf/requests/issues/3609 | 180,978,775 | MDU6SXNzdWUxODA5Nzg3NzU= | 3,609 | [Errno -3] When using Threading | {
"avatar_url": "https://avatars.githubusercontent.com/u/22095848?v=4",
"events_url": "https://api.github.com/users/htpasswd/events{/privacy}",
"followers_url": "https://api.github.com/users/htpasswd/followers",
"following_url": "https://api.github.com/users/htpasswd/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2016-10-04T19:11:19Z | 2021-09-08T15:00:38Z | 2016-10-12T09:33:44Z | NONE | resolved | Hello. There is my example of code I'm using:
```
import threading
import resource
import time
import sys
#maximum Open File Limit for thread limiter.
maxOpenFileLimit = resource.getrlimit(resource.RLIMIT_NOFILE)[0] # For example, it shows 50.
# I will use one session for every Thread.
requestSessions = requests.Ses... | {
"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/3609/reactions"
} | https://api.github.com/repos/psf/requests/issues/3609/timeline | null | completed | null | null | false | [
"Requests doesn't provide a way to pause making new requests based on the status of sockets. It doesn't see the sockets itself and even so, it couldn't introspect them for that status.\n\nYou should try creating a separate session per thread. This is what the [toolbelt](https://github.com/sigmavirus24/requests-tool... |
https://api.github.com/repos/psf/requests/issues/3608 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3608/labels{/name} | https://api.github.com/repos/psf/requests/issues/3608/comments | https://api.github.com/repos/psf/requests/issues/3608/events | https://github.com/psf/requests/issues/3608 | 180,231,088 | MDU6SXNzdWUxODAyMzEwODg= | 3,608 | requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:645) | {
"avatar_url": "https://avatars.githubusercontent.com/u/192655?v=4",
"events_url": "https://api.github.com/users/opt9/events{/privacy}",
"followers_url": "https://api.github.com/users/opt9/followers",
"following_url": "https://api.github.com/users/opt9/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2016-09-30T06:37:47Z | 2021-09-08T15:00:42Z | 2016-09-30T07:44:27Z | NONE | resolved | Error messages
``` bash
(env) ➜ test $ python download.py
Traceback (most recent call last):
File "/home/dev2/test/env/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
chunked=chunked)
File "/home/dev2/test/env/lib/python3.5/site-packages/requests... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3608/reactions"
} | https://api.github.com/repos/psf/requests/issues/3608/timeline | null | completed | null | null | false | [
"So the problem here is that your security configuration is sufficiently high that you cannot connect to the remote peer. Specifically, Requests has a very restrictive set of ciphers: it only uses ciphers that are not known to be flawed. That means that in recent releases the set is quite restricted: in the release... |
https://api.github.com/repos/psf/requests/issues/3607 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3607/labels{/name} | https://api.github.com/repos/psf/requests/issues/3607/comments | https://api.github.com/repos/psf/requests/issues/3607/events | https://github.com/psf/requests/pull/3607 | 180,211,371 | MDExOlB1bGxSZXF1ZXN0ODc0Mjg1OTg= | 3,607 | Remove error swallowing exception catching of AttributeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/299380?v=4",
"events_url": "https://api.github.com/users/frankier/events{/privacy}",
"followers_url": "https://api.github.com/users/frankier/followers",
"following_url": "https://api.github.com/users/frankier/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2016-09-30T03:20:09Z | 2021-09-08T02:10:28Z | 2016-09-30T12:17:17Z | CONTRIBUTOR | resolved | This exception catching is far too aggressive in my opinion. A lot of code could run in this and could throw AttributeError for any number of reasons. It's actually not clear to me what error it's trying to catch. It made it quite difficult for me to debug this problem: https://github.com/shazow/urllib3/pull/990
This ... | {
"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/3607/reactions"
} | https://api.github.com/repos/psf/requests/issues/3607/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3607.diff",
"html_url": "https://github.com/psf/requests/pull/3607",
"merged_at": "2016-09-30T12:17:17Z",
"patch_url": "https://github.com/psf/requests/pull/3607.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3607"
} | true | [
"I did some ~~dumpster~~ history diving and found https://github.com/kennethreitz/requests/commit/f7968b6797a50716a2f177ad23439a3c6bb9f683 and https://github.com/kennethreitz/requests/commit/296d8cc097b694ec8a9c4d8d7c00abed4755e5d5\n\nThe first is linked to https://github.com/kennethreitz/requests/issues/236 which ... |
https://api.github.com/repos/psf/requests/issues/3606 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3606/labels{/name} | https://api.github.com/repos/psf/requests/issues/3606/comments | https://api.github.com/repos/psf/requests/issues/3606/events | https://github.com/psf/requests/pull/3606 | 179,946,490 | MDExOlB1bGxSZXF1ZXN0ODcyNDIwNjM= | 3,606 | Issue #3597 - Rework Bytestring Host Test to use PyTest Httpbin | {
"avatar_url": "https://avatars.githubusercontent.com/u/5546456?v=4",
"events_url": "https://api.github.com/users/bbamsch/events{/privacy}",
"followers_url": "https://api.github.com/users/bbamsch/followers",
"following_url": "https://api.github.com/users/bbamsch/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2016-09-29T03:50:11Z | 2021-09-08T02:10:29Z | 2016-09-29T07:09:22Z | CONTRIBUTOR | resolved | Fixes dependency on internet connection for test added in PR #3598 for Issue #3597
| {
"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/3606/reactions"
} | https://api.github.com/repos/psf/requests/issues/3606/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3606.diff",
"html_url": "https://github.com/psf/requests/pull/3606",
"merged_at": "2016-09-29T07:09:22Z",
"patch_url": "https://github.com/psf/requests/pull/3606.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3606"
} | true | [
"Looks good to me @bbamsch, thanks for fixing this up!\n"
] |
https://api.github.com/repos/psf/requests/issues/3605 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3605/labels{/name} | https://api.github.com/repos/psf/requests/issues/3605/comments | https://api.github.com/repos/psf/requests/issues/3605/events | https://github.com/psf/requests/issues/3605 | 179,905,294 | MDU6SXNzdWUxNzk5MDUyOTQ= | 3,605 | ndg package not being installed | {
"avatar_url": "https://avatars.githubusercontent.com/u/558175?v=4",
"events_url": "https://api.github.com/users/variable/events{/privacy}",
"followers_url": "https://api.github.com/users/variable/followers",
"following_url": "https://api.github.com/users/variable/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 11 | 2016-09-28T22:14:36Z | 2021-09-08T13:05:30Z | 2016-09-29T07:11:23Z | NONE | resolved | So I had a very long day debugging why I was getting
`EOF occurred in violation of protocol (_ssl.c:590)`
It turns out that **init**.py tried to monkey patch the `ssl_wrap_socket`
```
from .packages.urllib3.contrib import pyopenssl
pyopenssl.inject_into_urllib3()
```
But it couldn't, since it couldn't impor... | {
"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/3605/reactions"
} | https://api.github.com/repos/psf/requests/issues/3605/timeline | null | completed | null | null | false | [
"The reason we don't install it when you install requests is that it's optional. Requests can, on many systems, successfully handle TLS without needing any third-party libraries. However, some users will want to use a newer version of OpenSSL or enable Requests to use more advanced features. Those require some addi... |
https://api.github.com/repos/psf/requests/issues/3604 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3604/labels{/name} | https://api.github.com/repos/psf/requests/issues/3604/comments | https://api.github.com/repos/psf/requests/issues/3604/events | https://github.com/psf/requests/pull/3604 | 179,747,699 | MDExOlB1bGxSZXF1ZXN0ODcxMDE3NzQ= | 3,604 | fixes broken link on documentation page | {
"avatar_url": "https://avatars.githubusercontent.com/u/4259587?v=4",
"events_url": "https://api.github.com/users/iamprakashom/events{/privacy}",
"followers_url": "https://api.github.com/users/iamprakashom/followers",
"following_url": "https://api.github.com/users/iamprakashom/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 2 | 2016-09-28T11:31:11Z | 2021-09-08T02:10:29Z | 2016-09-28T11:32:53Z | CONTRIBUTOR | resolved | it fixes a broken link on documentation page and updates AUTHORS.
| {
"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/3604/reactions"
} | https://api.github.com/repos/psf/requests/issues/3604/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3604.diff",
"html_url": "https://github.com/psf/requests/pull/3604",
"merged_at": "2016-09-28T11:32:53Z",
"patch_url": "https://github.com/psf/requests/pull/3604.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3604"
} | true | [
"Thanks @iamprakashom! :sparkles: :cake: :sparkles:\n",
"Thank you very much @Lukasa for merging my PR. :smile: \n"
] |
https://api.github.com/repos/psf/requests/issues/3603 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3603/labels{/name} | https://api.github.com/repos/psf/requests/issues/3603/comments | https://api.github.com/repos/psf/requests/issues/3603/events | https://github.com/psf/requests/issues/3603 | 179,687,386 | MDU6SXNzdWUxNzk2ODczODY= | 3,603 | Link on Documentation web page not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/4259587?v=4",
"events_url": "https://api.github.com/users/iamprakashom/events{/privacy}",
"followers_url": "https://api.github.com/users/iamprakashom/followers",
"following_url": "https://api.github.com/users/iamprakashom/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 7 | 2016-09-28T06:04:27Z | 2021-09-08T15:00:43Z | 2016-09-29T10:01:10Z | CONTRIBUTOR | resolved | link for _connection pooling_ on [this](http://docs.python-requests.org/en/master/user/advanced/#session-objects), line 3 looks broken and shows message
_SORRY
This Page doesn't exist yet._
| {
"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/3603/reactions"
} | https://api.github.com/repos/psf/requests/issues/3603/timeline | null | completed | null | null | false | [
"Seems that the old documentation on connection pooling moved around in urllib. The page it references (http://urllib3.readthedocs.io/en/1.5/pools.html) no longer exists after some refactoring was done.\n\nPerhaps a better alternative is:\nhttp://urllib3.readthedocs.io/en/latest/reference/index.html#module-urllib3.... |
https://api.github.com/repos/psf/requests/issues/3602 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3602/labels{/name} | https://api.github.com/repos/psf/requests/issues/3602/comments | https://api.github.com/repos/psf/requests/issues/3602/events | https://github.com/psf/requests/issues/3602 | 179,492,612 | MDU6SXNzdWUxNzk0OTI2MTI= | 3,602 | Self signed certificate, passed to via verify=/path/to/cert does still trigger certificate verify failed | {
"avatar_url": "https://avatars.githubusercontent.com/u/147512?v=4",
"events_url": "https://api.github.com/users/do3cc/events{/privacy}",
"followers_url": "https://api.github.com/users/do3cc/followers",
"following_url": "https://api.github.com/users/do3cc/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 13 | 2016-09-27T13:26:56Z | 2021-09-08T06:00:43Z | 2016-10-05T09:02:17Z | NONE | resolved | ```
-> request = session.get(url, verify=cert)
(Pdb) c
Traceback (most recent call last):
File "inventory.py", line 195, in <module>
inventory()
File "/Users/do3cc/dev/ansible/lib/python2.7/site-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/Users/do3cc/dev/ansible... | {
"avatar_url": "https://avatars.githubusercontent.com/u/147512?v=4",
"events_url": "https://api.github.com/users/do3cc/events{/privacy}",
"followers_url": "https://api.github.com/users/do3cc/followers",
"following_url": "https://api.github.com/users/do3cc/following{/other_user}",
"gists_url": "https://api.gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3602/reactions"
} | https://api.github.com/repos/psf/requests/issues/3602/timeline | null | completed | null | null | false | [
"Are you able to share with us the output of `openssl x509 -in eam_cert.pem -noout -text`?\n",
"Yes, here it is:\n\n```\nCertificate:\n Data:\n Version: 3 (0x2)\n Serial Number:\n 12:a6:13:9d:00:01:00:04:f3:bb\n Signature Algorithm: sha256WithRSAEncryption\n Issuer: DC=ne... |
https://api.github.com/repos/psf/requests/issues/3601 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3601/labels{/name} | https://api.github.com/repos/psf/requests/issues/3601/comments | https://api.github.com/repos/psf/requests/issues/3601/events | https://github.com/psf/requests/issues/3601 | 179,433,092 | MDU6SXNzdWUxNzk0MzMwOTI= | 3,601 | when will the requests supports HTTP/2? | {
"avatar_url": "https://avatars.githubusercontent.com/u/6284532?v=4",
"events_url": "https://api.github.com/users/fendouai/events{/privacy}",
"followers_url": "https://api.github.com/users/fendouai/followers",
"following_url": "https://api.github.com/users/fendouai/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 4 | 2016-09-27T08:52:49Z | 2021-09-08T15:00:44Z | 2016-09-27T09:50:28Z | NONE | resolved | Our project need a http/2 client.
| {
"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/3601/reactions"
} | https://api.github.com/repos/psf/requests/issues/3601/timeline | null | completed | null | null | false | [
"There is no roadmap for this. HTTP/2 is a complex protocol and it is not likely that Requests in its current form will achieve good support for it any time soon. In the meantime, you can [use this](https://hyper.readthedocs.io/en/latest/quickstart.html#requests-integration).\n",
"Read the docs appears to be down... |
https://api.github.com/repos/psf/requests/issues/3600 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3600/labels{/name} | https://api.github.com/repos/psf/requests/issues/3600/comments | https://api.github.com/repos/psf/requests/issues/3600/events | https://github.com/psf/requests/pull/3600 | 179,327,409 | MDExOlB1bGxSZXF1ZXN0ODY4MTE2NjU= | 3,600 | Indicate shell command in HISTORY is code-like. | {
"avatar_url": "https://avatars.githubusercontent.com/u/416575?v=4",
"events_url": "https://api.github.com/users/frewsxcv/events{/privacy}",
"followers_url": "https://api.github.com/users/frewsxcv/followers",
"following_url": "https://api.github.com/users/frewsxcv/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2016-09-26T20:21:20Z | 2021-09-08T02:10:30Z | 2016-09-27T07:06:27Z | 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/3600/reactions"
} | https://api.github.com/repos/psf/requests/issues/3600/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3600.diff",
"html_url": "https://github.com/psf/requests/pull/3600",
"merged_at": "2016-09-27T07:06:27Z",
"patch_url": "https://github.com/psf/requests/pull/3600.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3600"
} | true | [
"Thanks @frewsxcv!\n"
] | |
https://api.github.com/repos/psf/requests/issues/3599 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3599/labels{/name} | https://api.github.com/repos/psf/requests/issues/3599/comments | https://api.github.com/repos/psf/requests/issues/3599/events | https://github.com/psf/requests/issues/3599 | 179,301,485 | MDU6SXNzdWUxNzkzMDE0ODU= | 3,599 | Windows C runtime error R6034 when importing requests in embedded python | {
"avatar_url": "https://avatars.githubusercontent.com/u/7239951?v=4",
"events_url": "https://api.github.com/users/alannorton/events{/privacy}",
"followers_url": "https://api.github.com/users/alannorton/followers",
"following_url": "https://api.github.com/users/alannorton/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 8 | 2016-09-26T18:22:37Z | 2021-09-08T15:00:43Z | 2016-09-26T18:31:12Z | NONE | resolved | When I import requests from python embedded in C++, e.g. by calling
PyRun_SimpleString("import requests")
I get the C runtime error R6034. This happens in Visual Studio 2010 or 2013, using the latest version of requests. Is there a workaround?
Please copy vapor@ucar.edu on any response to this issue.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3599/reactions"
} | https://api.github.com/repos/psf/requests/issues/3599/timeline | null | completed | null | null | false | [
"Sorry, but this issue has nothing to do with requests. Requests is a pure-Python library, meaning that if normal Python code works, it should work. The error almost certainly comes from your embedding. Please investigate there first, and reopen this issue if you find strong evidence that suggests that Requests is ... |
https://api.github.com/repos/psf/requests/issues/3598 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3598/labels{/name} | https://api.github.com/repos/psf/requests/issues/3598/comments | https://api.github.com/repos/psf/requests/issues/3598/events | https://github.com/psf/requests/pull/3598 | 179,142,667 | MDExOlB1bGxSZXF1ZXN0ODY2ODM1NDU= | 3,598 | Issue #3597 - Avoid bytestring/str hodgepodge when resolving cookie from Request URL | {
"avatar_url": "https://avatars.githubusercontent.com/u/5546456?v=4",
"events_url": "https://api.github.com/users/bbamsch/events{/privacy}",
"followers_url": "https://api.github.com/users/bbamsch/followers",
"following_url": "https://api.github.com/users/bbamsch/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2016-09-26T05:31:21Z | 2021-09-08T02:10:30Z | 2016-09-28T07:56:38Z | CONTRIBUTOR | resolved | When resolving the request full URL, the Host cookie is used to override the URL's host, in Python 3 this causes a mix of str and bytestring objects when the Host cookie is set to a bytestring. Patch checks that ParsedResult is str type and host is non-str type before attempting to decode bytestring to str.
| {
"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/3598/reactions"
} | https://api.github.com/repos/psf/requests/issues/3598/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3598.diff",
"html_url": "https://github.com/psf/requests/pull/3598",
"merged_at": "2016-09-28T07:56:38Z",
"patch_url": "https://github.com/psf/requests/pull/3598.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3598"
} | true | [
"Patch should address Issue #3597\n",
"All appears to be in order 😃 \n\n```\n============================= test session starts =============================\nplatform win32 -- Python 3.5.2, pytest-2.8.7, py-1.4.31, pluggy-0.3.1\nrootdir: C:\\Users\\Brian\\PycharmProjects\\requests, inifile:\nplugins: httpbin-0.0... |
https://api.github.com/repos/psf/requests/issues/3597 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3597/labels{/name} | https://api.github.com/repos/psf/requests/issues/3597/comments | https://api.github.com/repos/psf/requests/issues/3597/events | https://github.com/psf/requests/issues/3597 | 179,070,635 | MDU6SXNzdWUxNzkwNzA2MzU= | 3,597 | TypeError in MockRequest when 'Host' header set to bytestring | {
"avatar_url": "https://avatars.githubusercontent.com/u/5546456?v=4",
"events_url": "https://api.github.com/users/bbamsch/events{/privacy}",
"followers_url": "https://api.github.com/users/bbamsch/followers",
"following_url": "https://api.github.com/users/bbamsch/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 3 | 2016-09-25T06:04:14Z | 2021-09-08T15:00:43Z | 2016-09-29T07:09:41Z | CONTRIBUTOR | resolved | Issue is specific to Python3
An incorrect assumption is made in requests.cookies.MockRequest on Python3, [see here](https://github.com/kennethreitz/requests/blob/master/requests/cookies.py#L52):
```
class MockRequest(object):
...
def get_full_url(self):
# Only return the response's URL if the user had... | {
"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/3597/reactions"
} | https://api.github.com/repos/psf/requests/issues/3597/timeline | null | completed | null | null | false | [
"Yup, this looks wrong to me. It does look like we need to ensure that we have a match between the two types. In fact, we should probably ensure we're always returning the correct type for the platform.\n",
"@Lukasa \nI've attempted a patch of this issue in PR #3598 \nWould appreciate your input on the patch.\n\n... |
https://api.github.com/repos/psf/requests/issues/3596 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3596/labels{/name} | https://api.github.com/repos/psf/requests/issues/3596/comments | https://api.github.com/repos/psf/requests/issues/3596/events | https://github.com/psf/requests/issues/3596 | 179,047,905 | MDU6SXNzdWUxNzkwNDc5MDU= | 3,596 | TooManyRedirects error in session.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/2313132?v=4",
"events_url": "https://api.github.com/users/Hretic/events{/privacy}",
"followers_url": "https://api.github.com/users/Hretic/followers",
"following_url": "https://api.github.com/users/Hretic/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2016-09-24T19:37:49Z | 2021-09-08T15:00:45Z | 2016-09-24T22:57:58Z | NONE | resolved | i dont know if this has to do anything with this problem ... but i'm kinda sending request to my own app from localhost to server (basically its the same app on both side 1 on the server and 1 on the localhost)
im using requests 2.11.1
```
resp = requests.get('http://apineginpay.in/api/init')
return HttpRes... | {
"avatar_url": "https://avatars.githubusercontent.com/u/2313132?v=4",
"events_url": "https://api.github.com/users/Hretic/events{/privacy}",
"followers_url": "https://api.github.com/users/Hretic/followers",
"following_url": "https://api.github.com/users/Hretic/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/3596/reactions"
} | https://api.github.com/repos/psf/requests/issues/3596/timeline | null | completed | null | null | false | [
"i solved this by setting user-agent in the headers (i wasn't sending any headers before )\n"
] |
https://api.github.com/repos/psf/requests/issues/3595 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3595/labels{/name} | https://api.github.com/repos/psf/requests/issues/3595/comments | https://api.github.com/repos/psf/requests/issues/3595/events | https://github.com/psf/requests/pull/3595 | 178,911,980 | MDExOlB1bGxSZXF1ZXN0ODY1MzY4MDI= | 3,595 | Allow dicts for Session cookies | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 10 | 2016-09-23T15:51:56Z | 2021-09-08T02:10:12Z | 2016-11-10T13:50:06Z | MEMBER | resolved | Right now you can provide a dictionary to the `cookies` param almost everywhere in Requests and it will be converted into a RequestsCookieJar (aka "just work"). The one place this isn't happening is with Session, which will accept a dictionary without complaint but then fail when you try to send a PreparedRequest.
I ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3595/reactions"
} | https://api.github.com/repos/psf/requests/issues/3595/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3595.diff",
"html_url": "https://github.com/psf/requests/pull/3595",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3595.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3595"
} | true | [
"@sigmavirus24, if we're planning on enforcing cookies requiring domains with your work in #2714, then I'd agree this PR may not be needed. If we don't intend to deprecate the use of dict->cookies though, I do think this should work the same everywhere. The documentation is already a bit opaque on this, and my orig... |
https://api.github.com/repos/psf/requests/issues/3594 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3594/labels{/name} | https://api.github.com/repos/psf/requests/issues/3594/comments | https://api.github.com/repos/psf/requests/issues/3594/events | https://github.com/psf/requests/pull/3594 | 178,108,842 | MDExOlB1bGxSZXF1ZXN0ODYwMDk4MjI= | 3,594 | #3576 for Proposed/3.0.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2016-09-20T16:24:26Z | 2021-09-08T02:10:15Z | 2016-09-21T09:41:00Z | MEMBER | resolved | Merging change from #3576 into the proposed/3.0.0 branch as per @sigmavirus24's 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/3594/reactions"
} | https://api.github.com/repos/psf/requests/issues/3594/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3594.diff",
"html_url": "https://github.com/psf/requests/pull/3594",
"merged_at": "2016-09-21T09:41:00Z",
"patch_url": "https://github.com/psf/requests/pull/3594.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3594"
} | true | [
"I wish there was a plane landing emoji.\n"
] |
https://api.github.com/repos/psf/requests/issues/3593 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3593/labels{/name} | https://api.github.com/repos/psf/requests/issues/3593/comments | https://api.github.com/repos/psf/requests/issues/3593/events | https://github.com/psf/requests/issues/3593 | 178,101,984 | MDU6SXNzdWUxNzgxMDE5ODQ= | 3,593 | requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:590) | {
"avatar_url": "https://avatars.githubusercontent.com/u/22324812?v=4",
"events_url": "https://api.github.com/users/shiranhonigFiverr/events{/privacy}",
"followers_url": "https://api.github.com/users/shiranhonigFiverr/followers",
"following_url": "https://api.github.com/users/shiranhonigFiverr/following{/other_... | [] | closed | true | null | [] | null | 12 | 2016-09-20T15:57:39Z | 2021-09-08T15:00:46Z | 2016-09-20T18:58:01Z | NONE | resolved | Hi,
I don't why all of a sudden I get this error, it worked perfectly fine before.
I work with python 2.7.10, in windows.
**This is my code:**
```
def checkCreds():
response= requests.get(apiPath + 'hello world' , auth=(user, pasw), verify=False)
return response.status_code
```
**and I get this error:**
`... | {
"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/3593/reactions"
} | https://api.github.com/repos/psf/requests/issues/3593/timeline | null | completed | null | null | false | [
"This error is almost always the result of the server not liking your TLS configuration. Can you show me the output of `python -m pip freeze` and `python -c \"import ssl; print ssl.OPENSSL_VERSION\"` please?\n",
"`python -m pip freeze`\ncffi==1.8.3\nchatter==0.1.3\ncryptography==1.5\ncx-Freeze==4.3.4\ncycler==0.1... |
https://api.github.com/repos/psf/requests/issues/3592 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3592/labels{/name} | https://api.github.com/repos/psf/requests/issues/3592/comments | https://api.github.com/repos/psf/requests/issues/3592/events | https://github.com/psf/requests/issues/3592 | 178,079,668 | MDU6SXNzdWUxNzgwNzk2Njg= | 3,592 | single request causing connection-pool to repeat multiple times | {
"avatar_url": "https://avatars.githubusercontent.com/u/4296161?v=4",
"events_url": "https://api.github.com/users/jefftune/events{/privacy}",
"followers_url": "https://api.github.com/users/jefftune/followers",
"following_url": "https://api.github.com/users/jefftune/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 7 | 2016-09-20T14:40:44Z | 2021-09-03T00:10:47Z | 2016-09-20T14:44:33Z | NONE | resolved | I posted the same issue on [stackoverflow](http://stackoverflow.com/questions/39594458/python-requests-single-request-causing-connection-pool-to-repeat-multiple-time)
**Question:** **requests** module in the background is repeating "Starting new HTTPS connection" followed by an equal number of method calls, and these ... | {
"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/3592/reactions"
} | https://api.github.com/repos/psf/requests/issues/3592/timeline | null | completed | null | null | false | [
"We cannot answer your question until you show us the code you've written producing these warnings. Also, since this is a _question_ it should be answered on StackOverflow (where you asked it originally).\n",
"@sigmavirus24 \n\nI am not sure why this was **closed**.\n\nI cannot provide the code because it contain... |
https://api.github.com/repos/psf/requests/issues/3591 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3591/labels{/name} | https://api.github.com/repos/psf/requests/issues/3591/comments | https://api.github.com/repos/psf/requests/issues/3591/events | https://github.com/psf/requests/pull/3591 | 177,847,331 | MDExOlB1bGxSZXF1ZXN0ODU4MzYwOTk= | 3,591 | Fix RequestsCookieJar specific update call | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2016-09-19T17:33:08Z | 2021-09-08T02:10:16Z | 2016-09-23T09:32:52Z | MEMBER | resolved | This should solve the issue in #3579. `merge_cookies` performs the same `update` call inside of a try/except block which will fallback to the same logic that [`update`](https://github.com/kennethreitz/requests/blob/master/requests/cookies.py#L347-L353) itself implements for non-`RequestsCookieJar`-like objects.
| {
"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/3591/reactions"
} | https://api.github.com/repos/psf/requests/issues/3591/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3591.diff",
"html_url": "https://github.com/psf/requests/pull/3591",
"merged_at": "2016-09-23T09:32:52Z",
"patch_url": "https://github.com/psf/requests/pull/3591.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3591"
} | true | [
"Ok, per my note above I'm going ahead and merging this. Thanks @nateprewitt!\n"
] |
https://api.github.com/repos/psf/requests/issues/3580 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3580/labels{/name} | https://api.github.com/repos/psf/requests/issues/3580/comments | https://api.github.com/repos/psf/requests/issues/3580/events | https://github.com/psf/requests/pull/3580 | 177,561,250 | MDExOlB1bGxSZXF1ZXN0ODU2NjY2OTI= | 3,580 | Add workaround to avoid implicit import of encodings.idna. Fixes #3578. | {
"avatar_url": "https://avatars.githubusercontent.com/u/46059?v=4",
"events_url": "https://api.github.com/users/carsonyl/events{/privacy}",
"followers_url": "https://api.github.com/users/carsonyl/followers",
"following_url": "https://api.github.com/users/carsonyl/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2016-09-17T07:16:45Z | 2021-09-08T02:10:30Z | 2016-09-17T07:18:59Z | CONTRIBUTOR | resolved | This is the workaround needed to avoid "LookupError: unknown encoding: idna" when Requests is used in a threaded context, and the Python standard library is inside a ZIP, such as the case of embedded distributions of Python.
| {
"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/3580/reactions"
} | https://api.github.com/repos/psf/requests/issues/3580/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3580.diff",
"html_url": "https://github.com/psf/requests/pull/3580",
"merged_at": "2016-09-17T07:18:59Z",
"patch_url": "https://github.com/psf/requests/pull/3580.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3580"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/3579 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3579/labels{/name} | https://api.github.com/repos/psf/requests/issues/3579/comments | https://api.github.com/repos/psf/requests/issues/3579/events | https://github.com/psf/requests/issues/3579 | 177,543,771 | MDU6SXNzdWUxNzc1NDM3NzE= | 3,579 | Error when passing CookieJar to Session via PreparedRequest | {
"avatar_url": "https://avatars.githubusercontent.com/u/172168?v=4",
"events_url": "https://api.github.com/users/agacek/events{/privacy}",
"followers_url": "https://api.github.com/users/agacek/followers",
"following_url": "https://api.github.com/users/agacek/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 6 | 2016-09-17T00:10:42Z | 2021-09-08T15:00:44Z | 2016-09-25T13:35:37Z | NONE | resolved | I'm using requests 2.11.1. The following code throws an exception:
```
from requests import Request, Session
from http.cookiejar import CookieJar
cj = CookieJar()
req = Request('GET', 'http://google.com', cookies=cj).prepare()
resp = Session().send(req)
```
The exception is:
```
Traceback (most recent call last):
... | {
"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/3579/reactions"
} | https://api.github.com/repos/psf/requests/issues/3579/timeline | null | completed | null | null | false | [
"Thanks for opening this issue, @agacek. So the problem we're encountering here is a difference in how we \"prepare\" the CookieJar between a `PreparedRequest` and a `Session`.\n\n`Session` will always [merge the cookies into a fresh `RequestsCookieJar`](https://github.com/kennethreitz/requests/blob/master/requests... |
https://api.github.com/repos/psf/requests/issues/3578 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3578/labels{/name} | https://api.github.com/repos/psf/requests/issues/3578/comments | https://api.github.com/repos/psf/requests/issues/3578/events | https://github.com/psf/requests/issues/3578 | 177,534,940 | MDU6SXNzdWUxNzc1MzQ5NDA= | 3,578 | "LookupError: unknown encoding: idna" in worker threads, under embedded Python 3.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/46059?v=4",
"events_url": "https://api.github.com/users/carsonyl/events{/privacy}",
"followers_url": "https://api.github.com/users/carsonyl/followers",
"following_url": "https://api.github.com/users/carsonyl/following{/other_user}",
"gists_url": "https:... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 5 | 2016-09-16T22:43:02Z | 2021-09-08T15:00:46Z | 2016-09-17T07:19:01Z | CONTRIBUTOR | resolved | The following snippet raises an exception on Windows, using the [embedded distribution of Python 3.5.2 x64](https://www.python.org/downloads/release/python-352/):
``` python
from concurrent.futures import ThreadPoolExecutor
import requests
def task(_):
return requests.get("https://example.org").reason
executor = ... | {
"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/3578/reactions"
} | https://api.github.com/repos/psf/requests/issues/3578/timeline | null | completed | null | null | false | [
"@rbcarson Can you confirm for me: does adding `import encodings.idna` to your `task` function in your example also fix the problem?\n",
"@Lukasa Yes, it does.\n",
"Ok, so I think that means the solution is to have a no-op import. =)\n",
"If we put that import in the `models.py` file I think that fix will be ... |
https://api.github.com/repos/psf/requests/issues/3577 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3577/labels{/name} | https://api.github.com/repos/psf/requests/issues/3577/comments | https://api.github.com/repos/psf/requests/issues/3577/events | https://github.com/psf/requests/issues/3577 | 177,530,988 | MDU6SXNzdWUxNzc1MzA5ODg= | 3,577 | response.iter_lines() did not print the last line of stream log. | {
"avatar_url": "https://avatars.githubusercontent.com/u/7462257?v=4",
"events_url": "https://api.github.com/users/haocs/events{/privacy}",
"followers_url": "https://api.github.com/users/haocs/followers",
"following_url": "https://api.github.com/users/haocs/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 17 | 2016-09-16T22:12:50Z | 2021-09-08T15:00:42Z | 2016-09-30T17:16:46Z | NONE | resolved | ```
python: 3.4
requests: 2.9.1
```
I implemented the following function to fetch stream log from server continuously.
``` py
def stream_trace(streaming_url, user_name, password):
import requests
r = requests.get(streaming_url, auth=(user_name, password), stream=True)
for line in r.iter_lines(decode_unic... | {
"avatar_url": "https://avatars.githubusercontent.com/u/7462257?v=4",
"events_url": "https://api.github.com/users/haocs/events{/privacy}",
"followers_url": "https://api.github.com/users/haocs/followers",
"following_url": "https://api.github.com/users/haocs/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/3577/reactions"
} | https://api.github.com/repos/psf/requests/issues/3577/timeline | null | completed | null | null | false | [
"So `iter_lines` has a somewhat unexpected implementation. Naïvely, we would expect that `iter_lines` would receive data as it arrives and look for newlines. In practice, this is not what it does. Instead it waits to read an entire `chunk_size`, and only then searches for newlines. This is a consequence of the... |
https://api.github.com/repos/psf/requests/issues/3576 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3576/labels{/name} | https://api.github.com/repos/psf/requests/issues/3576/comments | https://api.github.com/repos/psf/requests/issues/3576/events | https://github.com/psf/requests/pull/3576 | 177,466,281 | MDExOlB1bGxSZXF1ZXN0ODU2MDE3MjQ= | 3,576 | Fix encoding issue in test_response_reason_unicode_fallback | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 9 | 2016-09-16T16:23:45Z | 2021-09-08T02:10:16Z | 2016-09-20T14:48:40Z | MEMBER | resolved | `test_response_reason_unicode_fallback` is currently failing in Python 2. The original proposed fix in #3557 unfortunately didn't address the underlying issue.
While this patch should fix the test now, it may be worth taking a brief moment to discuss how we envision the original PR #3554 working. Currently an error re... | {
"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/3576/reactions"
} | https://api.github.com/repos/psf/requests/issues/3576/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3576.diff",
"html_url": "https://github.com/psf/requests/pull/3576",
"merged_at": "2016-09-20T14:48:40Z",
"patch_url": "https://github.com/psf/requests/pull/3576.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3576"
} | true | [
"Ok, I'm gonna call this good to go I guess. I feel like the behavior of the unicode string in an Exception is less than ideal but it's apparently one of the many long running unicode issues in Python 2.x.\n\nFor anyone reading this commit, trying to figure out how to do anything useful with the exception in Python... |
https://api.github.com/repos/psf/requests/issues/3575 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3575/labels{/name} | https://api.github.com/repos/psf/requests/issues/3575/comments | https://api.github.com/repos/psf/requests/issues/3575/events | https://github.com/psf/requests/pull/3575 | 177,221,245 | MDExOlB1bGxSZXF1ZXN0ODU0MzQ4MTk= | 3,575 | added results of benchmark test about using session | {
"avatar_url": "https://avatars.githubusercontent.com/u/3514015?v=4",
"events_url": "https://api.github.com/users/vitaly-zdanevich/events{/privacy}",
"followers_url": "https://api.github.com/users/vitaly-zdanevich/followers",
"following_url": "https://api.github.com/users/vitaly-zdanevich/following{/other_user... | [] | closed | true | null | [] | null | 4 | 2016-09-15T16:15:41Z | 2021-09-08T01:21:40Z | 2016-11-17T01:25:45Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3575/reactions"
} | https://api.github.com/repos/psf/requests/issues/3575/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3575.diff",
"html_url": "https://github.com/psf/requests/pull/3575",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3575.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3575"
} | true | [
"Thanks for this! I'm inclined to want to avoid having a specific benchmark, and instead to speak in general terms. Something general about approximate improvement would be better. Are you interested in that change?\n",
"When I first time read this documentation with words `significant performance` about session ... | |
https://api.github.com/repos/psf/requests/issues/3574 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3574/labels{/name} | https://api.github.com/repos/psf/requests/issues/3574/comments | https://api.github.com/repos/psf/requests/issues/3574/events | https://github.com/psf/requests/pull/3574 | 177,076,107 | MDExOlB1bGxSZXF1ZXN0ODUzMzg4MDc= | 3,574 | Streaming responses require encoding to be set | {
"avatar_url": "https://avatars.githubusercontent.com/u/1097666?v=4",
"events_url": "https://api.github.com/users/sentientcucumber/events{/privacy}",
"followers_url": "https://api.github.com/users/sentientcucumber/followers",
"following_url": "https://api.github.com/users/sentientcucumber/following{/other_user... | [] | closed | true | null | [] | null | 0 | 2016-09-15T02:58:02Z | 2021-09-08T02:10:31Z | 2016-09-16T10:36:03Z | NONE | resolved | Resolves the issues called out in #3359 and #3481 when `Response.iter_content(decode_unicode=True)` would return bytes instead of unicode. This is a breaking change as it raises an exception if `Response.encoding` is not set before invoking this function.
| {
"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": 1,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/3574/reactions"
} | https://api.github.com/repos/psf/requests/issues/3574/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3574.diff",
"html_url": "https://github.com/psf/requests/pull/3574",
"merged_at": "2016-09-16T10:36:03Z",
"patch_url": "https://github.com/psf/requests/pull/3574.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3574"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/3573 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3573/labels{/name} | https://api.github.com/repos/psf/requests/issues/3573/comments | https://api.github.com/repos/psf/requests/issues/3573/events | https://github.com/psf/requests/issues/3573 | 177,032,100 | MDU6SXNzdWUxNzcwMzIxMDA= | 3,573 | convert all headers to bytes before invoking urllib3/httplib | {
"avatar_url": "https://avatars.githubusercontent.com/u/14330?v=4",
"events_url": "https://api.github.com/users/stefanfoulis/events{/privacy}",
"followers_url": "https://api.github.com/users/stefanfoulis/followers",
"following_url": "https://api.github.com/users/stefanfoulis/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 3 | 2016-09-14T21:55:23Z | 2021-09-08T15:00:47Z | 2016-09-15T06:15:49Z | NONE | resolved | related to #3177 and shazow/urllib3#855
It's really easy to get this wrong. See sam-washington/requests-aws4auth#24 for an example.
| {
"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/3573/reactions"
} | https://api.github.com/repos/psf/requests/issues/3573/timeline | null | completed | null | null | false | [
"There is no requirement for us to pass urllib3 bytes. urllib3's interface has always allowed native strings on the platform, which includes unicode on Python 3. The specific error you're looking at is one that we have already fixed in urllib3, so a fix will be coming down the pipe in the next few months. =)\n",
... |
https://api.github.com/repos/psf/requests/issues/3572 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3572/labels{/name} | https://api.github.com/repos/psf/requests/issues/3572/comments | https://api.github.com/repos/psf/requests/issues/3572/events | https://github.com/psf/requests/pull/3572 | 177,019,238 | MDExOlB1bGxSZXF1ZXN0ODUzMDM4Mzg= | 3,572 | Swallow SSL errors raised by eventlet | {
"avatar_url": "https://avatars.githubusercontent.com/u/304831?v=4",
"events_url": "https://api.github.com/users/benkuhn/events{/privacy}",
"followers_url": "https://api.github.com/users/benkuhn/followers",
"following_url": "https://api.github.com/users/benkuhn/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2016-09-14T20:58:57Z | 2021-09-08T02:10:31Z | 2016-09-15T06:34:28Z | NONE | resolved | Fixes #3104 (or the weird mutant version of it that happens if you use eventlet).
When eventlet monkey-patches ssl, the resulting `socket.read` calls throw an instance of the same class (`SSLError`) with a different message (`'timed out'` instead of `'read operation timed out'`). This causes the SSLError to not get sw... | {
"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/3572/reactions"
} | https://api.github.com/repos/psf/requests/issues/3572/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3572.diff",
"html_url": "https://github.com/psf/requests/pull/3572",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3572.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3572"
} | true | [
"Urllib3 is vendored with Requests, you'll want to submit your PR to [their repo](https://github.com/shazow/urllib3).\n",
"Yup, as @drpoggi said, Requests doesn't carry any patches to urllib3, we just use it as is. Please make this change to urllib3 and open a PR there. =)\n"
] |
https://api.github.com/repos/psf/requests/issues/3571 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3571/labels{/name} | https://api.github.com/repos/psf/requests/issues/3571/comments | https://api.github.com/repos/psf/requests/issues/3571/events | https://github.com/psf/requests/issues/3571 | 176,936,189 | MDU6SXNzdWUxNzY5MzYxODk= | 3,571 | ValueError encountered | {
"avatar_url": "https://avatars.githubusercontent.com/u/92340?v=4",
"events_url": "https://api.github.com/users/antlong/events{/privacy}",
"followers_url": "https://api.github.com/users/antlong/followers",
"following_url": "https://api.github.com/users/antlong/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 4 | 2016-09-14T15:18:11Z | 2021-09-08T15:00:47Z | 2016-09-14T20:09:06Z | NONE | resolved | https://dpaste.de/t0kx
More info available if needed.
| {
"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/3571/reactions"
} | https://api.github.com/repos/psf/requests/issues/3571/timeline | null | completed | null | null | false | [
"@antlong Can you provide your code, please? Can you also tell us what version of Requests you're using, and where you got it from?\n",
"https://dpaste.de/zUtN\n\nRequests 1.2.3 from pip.\n\nNote: The urls in the file contain special characters.\n",
"So Requests 1.2.3 is _ancient_: I'm almost certain that we fi... |
https://api.github.com/repos/psf/requests/issues/3570 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3570/labels{/name} | https://api.github.com/repos/psf/requests/issues/3570/comments | https://api.github.com/repos/psf/requests/issues/3570/events | https://github.com/psf/requests/issues/3570 | 176,795,572 | MDU6SXNzdWUxNzY3OTU1NzI= | 3,570 | socks5 does not work well | {
"avatar_url": "https://avatars.githubusercontent.com/u/4336119?v=4",
"events_url": "https://api.github.com/users/ljdawn/events{/privacy}",
"followers_url": "https://api.github.com/users/ljdawn/followers",
"following_url": "https://api.github.com/users/ljdawn/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2016-09-14T01:59:17Z | 2021-09-08T15:00:48Z | 2016-09-14T07:07:42Z | NONE | resolved | Hi. When I'm using proxy = {'http': 'socks5://IP:PORT', 'https': 'socks5://IP:PORT'}, I got "AssertionError: Not supported proxy scheme socks5". I had upgraded my requests( version:2.11.1) and env is mac osx.
| {
"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/3570/reactions"
} | https://api.github.com/repos/psf/requests/issues/3570/timeline | null | completed | null | null | false | [
"```\nproxies = {'http': 'socks5://127.0.0.1:9050',\n 'https': 'socks5://127.0.0.1:9050'}\nrequests.get(url, proxies=proxies)\n```\n\nit works for me. I suggest you debug to find error.\n",
"@PegasusWang This suggests that your PySocks isn't working well. `pip install -U pysocks==1.5.6` should r... |
https://api.github.com/repos/psf/requests/issues/3569 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3569/labels{/name} | https://api.github.com/repos/psf/requests/issues/3569/comments | https://api.github.com/repos/psf/requests/issues/3569/events | https://github.com/psf/requests/issues/3569 | 176,329,994 | MDU6SXNzdWUxNzYzMjk5OTQ= | 3,569 | [translation error] We should use "码" instead of "吗" | {
"avatar_url": "https://avatars.githubusercontent.com/u/20574212?v=4",
"events_url": "https://api.github.com/users/zhancongc/events{/privacy}",
"followers_url": "https://api.github.com/users/zhancongc/followers",
"following_url": "https://api.github.com/users/zhancongc/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2016-09-12T09:21:17Z | 2021-09-08T15:00:49Z | 2016-09-12T09:26:24Z | NONE | resolved | 
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3569/reactions"
} | https://api.github.com/repos/psf/requests/issues/3569/timeline | null | completed | null | null | false | [
"This translation is hosted [here](https://github.com/requests/requests-docs-cn). Can you please open a PR against that repository?\n"
] |
https://api.github.com/repos/psf/requests/issues/3568 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3568/labels{/name} | https://api.github.com/repos/psf/requests/issues/3568/comments | https://api.github.com/repos/psf/requests/issues/3568/events | https://github.com/psf/requests/issues/3568 | 176,309,269 | MDU6SXNzdWUxNzYzMDkyNjk= | 3,568 | unusual performance difference between http.client and python-requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/2700942?v=4",
"events_url": "https://api.github.com/users/pawelmhm/events{/privacy}",
"followers_url": "https://api.github.com/users/pawelmhm/followers",
"following_url": "https://api.github.com/users/pawelmhm/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2016-09-12T07:20:21Z | 2021-09-08T15:00:49Z | 2016-09-12T07:41:01Z | CONTRIBUTOR | resolved | I originally asked question [here](http://stackoverflow.com/questions/39435443/why-is-python-3-http-client-so-much-faster-than-python-requests/39438703#39438703), but maybe that's good place to ask as well.
I noticed unusual difference in performance between python-requests and http.client in Python 3.5.2. It puzzles ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/3568/reactions"
} | https://api.github.com/repos/psf/requests/issues/3568/timeline | null | completed | null | null | false | [
"> Stack Overflow user suggests that performance difference is caused by python-requests not caching hostname lookups properly. \n\nThat would affect httplib just as much as it affects us. Given that we use httplib for our low-level HTTP, I'd be startled it if was caching hostname lookups and we weren't.\n\nThe rea... |
https://api.github.com/repos/psf/requests/issues/3567 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3567/labels{/name} | https://api.github.com/repos/psf/requests/issues/3567/comments | https://api.github.com/repos/psf/requests/issues/3567/events | https://github.com/psf/requests/issues/3567 | 176,252,319 | MDU6SXNzdWUxNzYyNTIzMTk= | 3,567 | Start without network hang-up | {
"avatar_url": "https://avatars.githubusercontent.com/u/8550352?v=4",
"events_url": "https://api.github.com/users/lrodorigo/events{/privacy}",
"followers_url": "https://api.github.com/users/lrodorigo/followers",
"following_url": "https://api.github.com/users/lrodorigo/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 4 | 2016-09-11T16:38:17Z | 2021-09-08T15:00:50Z | 2016-09-11T17:50:23Z | NONE | resolved | Hi,
I am trying to handle and recovery intermittent-network conditions while using requests.
I tried this very-simple script:
https://gist.github.com/lrodorigo/30b00c20f5994aaf2911d7443b8f1f15
And i noticed as follows:
- if the script is started with _wifi-on_ it works as expected (Connection Alive and exception tra... | {
"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/3567/reactions"
} | https://api.github.com/repos/psf/requests/issues/3567/timeline | null | completed | null | null | false | [
"This seems like it may be related to #3223. I don't think there was any resolution with that issue though.\n",
"It's my strong belief that this is a behaviour outside of Requests manifesting. If you aren't using a `Session`, there is essentially no persistent state across requests. Can you try your script with ... |
https://api.github.com/repos/psf/requests/issues/3566 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3566/labels{/name} | https://api.github.com/repos/psf/requests/issues/3566/comments | https://api.github.com/repos/psf/requests/issues/3566/events | https://github.com/psf/requests/issues/3566 | 176,125,121 | MDU6SXNzdWUxNzYxMjUxMjE= | 3,566 | behavior of encoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/1165771?v=4",
"events_url": "https://api.github.com/users/fredzannarbor/events{/privacy}",
"followers_url": "https://api.github.com/users/fredzannarbor/followers",
"following_url": "https://api.github.com/users/fredzannarbor/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 1 | 2016-09-09T22:21:19Z | 2021-09-08T15:00:51Z | 2016-09-09T22:33:25Z | NONE | resolved | Hello,
I am having a terrible time figuring out what requests is doing here.
``` r = requests.get('http://0.0.0.0:5006/buy', params=payload)
print(r.url) #debug
print(r.encoding)
print(r.text)
print(r.headers)
``````
debugging commands in console produce:
```payload from cli is {"key1": "foo", "key2":... | {
"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/3566/reactions"
} | https://api.github.com/repos/psf/requests/issues/3566/timeline | null | completed | null | null | false | [
"The URL is right; its urlencoding the string payload you gave it. You cannot just send arbitrary data in a URL: as it is structured, certain bytes have semantic meaning. If you don't want that meaning, you need to encode those bytes using what is called urlencoding. That's what we have done here. \n"
] |
https://api.github.com/repos/psf/requests/issues/3565 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3565/labels{/name} | https://api.github.com/repos/psf/requests/issues/3565/comments | https://api.github.com/repos/psf/requests/issues/3565/events | https://github.com/psf/requests/issues/3565 | 175,963,897 | MDU6SXNzdWUxNzU5NjM4OTc= | 3,565 | Allow the customization of the default session creation | {
"avatar_url": "https://avatars.githubusercontent.com/u/838250?v=4",
"events_url": "https://api.github.com/users/cdman/events{/privacy}",
"followers_url": "https://api.github.com/users/cdman/followers",
"following_url": "https://api.github.com/users/cdman/following{/other_user}",
"gists_url": "https://api.gi... | [
{
"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 | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 8 | 2016-09-09T09:15:31Z | 2024-05-20T14:36:31Z | 2024-05-20T14:36:31Z | NONE | null | I'm trying to use the `sift-python` library on Google Appengine which depends on requests (https://github.com/SiftScience/sift-python/issues/52). There is the solution of using `requests-toolbelt` to monkeypatch `requests` to work on GAE, however monkeypatching would not be needed if `requests` allowed for the customiz... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/followers",
"following_url": "https://api.github.com/users/sethmlarson/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3565/reactions"
} | https://api.github.com/repos/psf/requests/issues/3565/timeline | null | completed | null | null | false | [
"I'm honestly fairly unconvinced of the value of this. It only works if people opt-in to it in their libraries, and that's functionally equivalent to having the library you're using let you pass in a Session or SessionFactory callable. \n",
"@Lukasa - it also works if library authors _don't opt-out_ by using the ... |
https://api.github.com/repos/psf/requests/issues/3564 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3564/labels{/name} | https://api.github.com/repos/psf/requests/issues/3564/comments | https://api.github.com/repos/psf/requests/issues/3564/events | https://github.com/psf/requests/issues/3564 | 175,892,780 | MDU6SXNzdWUxNzU4OTI3ODA= | 3,564 | get request with a payload param key having a '-' dash in the word, does not work | {
"avatar_url": "https://avatars.githubusercontent.com/u/1267234?v=4",
"events_url": "https://api.github.com/users/mnikhil-git/events{/privacy}",
"followers_url": "https://api.github.com/users/mnikhil-git/followers",
"following_url": "https://api.github.com/users/mnikhil-git/following{/other_user}",
"gists_ur... | [
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
"name": "Propose Close",
"node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=",
"url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close"
},
{
"color": "fef2c0",
"default": false,
"description": ... | closed | true | null | [] | null | 1 | 2016-09-08T23:47:19Z | 2021-09-08T08:00:29Z | 2017-07-30T00:14:35Z | NONE | resolved | example:
url_payload = { 'username': user, 'severity': 'critical', 'job-type': 'spark', 'finished-time-begin': START_TIME, 'finished-time-end': FINISH_TIME}
results in non-200 code while testing with curl or postman or a browser with a same parameter with '-' in it, yields correct results.
Any clues?
| {
"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/3564/reactions"
} | https://api.github.com/repos/psf/requests/issues/3564/timeline | null | completed | null | null | false | [
"We need a lot more details about the actual code before being able to be helpful.\n"
] |
https://api.github.com/repos/psf/requests/issues/3563 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3563/labels{/name} | https://api.github.com/repos/psf/requests/issues/3563/comments | https://api.github.com/repos/psf/requests/issues/3563/events | https://github.com/psf/requests/pull/3563 | 175,831,728 | MDExOlB1bGxSZXF1ZXN0ODQ1MzE3OTQ= | 3,563 | use enforce_content_length in Requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [
{
"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 | 12 | 2016-09-08T18:45:28Z | 2021-09-08T01:21:41Z | 2016-11-16T13:29:51Z | MEMBER | resolved | This is a **DO NOT MERGE** until we bring urllib3 1.17 into the Requests `proposed/3.0.0` branch, which should likely happen before 3.0.0 gets out the door.
This is the final step for the work in shazow/urllib3#949 and addresses the issues originally raised in shazow/urllib3#723 and #2833.
| {
"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": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/3563/reactions"
} | https://api.github.com/repos/psf/requests/issues/3563/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3563.diff",
"html_url": "https://github.com/psf/requests/pull/3563",
"merged_at": "2016-11-16T13:29:51Z",
"patch_url": "https://github.com/psf/requests/pull/3563.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3563"
} | true | [
"@Lukasa, here's a bit of a hiccup I'd appreciate some input on. Currently all data reads in Requests end up using `itercontent`. \n\nCurrently, regardless of whether or not the content is streamed, we end up initially running it through the `generate` function inside `itercontent`. This function assumes we're usin... |
https://api.github.com/repos/psf/requests/issues/3562 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3562/labels{/name} | https://api.github.com/repos/psf/requests/issues/3562/comments | https://api.github.com/repos/psf/requests/issues/3562/events | https://github.com/psf/requests/issues/3562 | 175,797,019 | MDU6SXNzdWUxNzU3OTcwMTk= | 3,562 | Same error here " bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],) | {
"avatar_url": "https://avatars.githubusercontent.com/u/22066790?v=4",
"events_url": "https://api.github.com/users/CHW2017/events{/privacy}",
"followers_url": "https://api.github.com/users/CHW2017/followers",
"following_url": "https://api.github.com/users/CHW2017/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2016-09-08T16:16:01Z | 2021-09-08T15:00:52Z | 2016-09-08T16:46:54Z | NONE | resolved | import urllib3
import urllib3.contrib.pyopenssl
import certifi
urllib3.contrib.pyopenssl.inject_into_urllib3()
http = urllib3.PoolManager(
cert_reqs='CERT_REQUIRED', # Force certificate check.
ca_certs=certifi.where(), # Path to the Certifi bundle.
)
# You're ready to make verified HTTPS requests.
try:
... | {
"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/3562/reactions"
} | https://api.github.com/repos/psf/requests/issues/3562/timeline | null | completed | null | null | false | [
"This is a bug report for urllib3, but you have issued it against Requests. =) Please open this bug report on the urllib3 repository.\n"
] |
https://api.github.com/repos/psf/requests/issues/3561 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3561/labels{/name} | https://api.github.com/repos/psf/requests/issues/3561/comments | https://api.github.com/repos/psf/requests/issues/3561/events | https://github.com/psf/requests/pull/3561 | 175,639,898 | MDExOlB1bGxSZXF1ZXN0ODQzOTc4NDg= | 3,561 | Allow use of 'no_proxy' in the proxies argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/578155?v=4",
"events_url": "https://api.github.com/users/JohnVillalovos/events{/privacy}",
"followers_url": "https://api.github.com/users/JohnVillalovos/followers",
"following_url": "https://api.github.com/users/JohnVillalovos/following{/other_user}",
"... | [] | closed | true | null | [] | null | 7 | 2016-09-08T00:47:43Z | 2021-09-07T00:06:35Z | 2017-02-10T17:21:29Z | CONTRIBUTOR | resolved | Add the ability to add 'no_proxy' and a value to the 'proxies'
dictionary argument.
https://github.com/kennethreitz/requests/issues/2817
Closes gh-2817
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3561/reactions"
} | https://api.github.com/repos/psf/requests/issues/3561/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3561.diff",
"html_url": "https://github.com/psf/requests/pull/3561",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3561.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3561"
} | true | [
"Alright, good start @JohnVillalovos! I've left some feedback in the diff that would be good to have addressed, thanks. =D\n",
"Closing due to inactivity (not sure if that's our fault or not, sorry!). Please re-submit if you're still interested in contributing this code :)",
"As far as I know the submitted patc... |
https://api.github.com/repos/psf/requests/issues/3560 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3560/labels{/name} | https://api.github.com/repos/psf/requests/issues/3560/comments | https://api.github.com/repos/psf/requests/issues/3560/events | https://github.com/psf/requests/issues/3560 | 175,624,505 | MDU6SXNzdWUxNzU2MjQ1MDU= | 3,560 | TypeError: unsupported operand type(s) for -=: 'Retry' and 'int' | {
"avatar_url": "https://avatars.githubusercontent.com/u/17013620?v=4",
"events_url": "https://api.github.com/users/ethanaward/events{/privacy}",
"followers_url": "https://api.github.com/users/ethanaward/followers",
"following_url": "https://api.github.com/users/ethanaward/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 10 | 2016-09-07T22:44:04Z | 2021-09-08T07:00:29Z | 2016-09-08T09:23:39Z | NONE | resolved | ### Description:
I've been trying to install pip into an virtualenv as part of building a Linux package. When installing pip, it always gives me the same error in requests and fails. I've seen the same error in shazow/urllib3#567, but the fix there doesn't seem to have worked for me.
### What I've run:
```
dh build-a... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3560/reactions"
} | https://api.github.com/repos/psf/requests/issues/3560/timeline | null | completed | null | null | false | [
"In this instance, this is almost certainly Debian/Ubuntu's problem and not ours: you appear to be using Debian/Ubuntu's packages. That means you need to follow up with Debian/Ubuntu in the first case, as they maintain several patches and are responsible for supporting those packages in their system. If they find t... |
https://api.github.com/repos/psf/requests/issues/3559 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3559/labels{/name} | https://api.github.com/repos/psf/requests/issues/3559/comments | https://api.github.com/repos/psf/requests/issues/3559/events | https://github.com/psf/requests/issues/3559 | 175,593,078 | MDU6SXNzdWUxNzU1OTMwNzg= | 3,559 | Utils.check_header_validity fails on integer values | {
"avatar_url": "https://avatars.githubusercontent.com/u/5606946?v=4",
"events_url": "https://api.github.com/users/napalmer7/events{/privacy}",
"followers_url": "https://api.github.com/users/napalmer7/followers",
"following_url": "https://api.github.com/users/napalmer7/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 2 | 2016-09-07T20:07:07Z | 2021-09-08T15:00:52Z | 2016-09-07T20:15:38Z | NONE | resolved | I am working on an app for ThreatConnect using their python SDK. If I use requests v2.11.0 it works fine, but testing against v2.11.1 caused an error in check_header_validity. This issue is easily reproducible with any call against requests where you specify a Content-Length header using an integer.
The check_header_v... | {
"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/3559/reactions"
} | https://api.github.com/repos/psf/requests/issues/3559/timeline | null | completed | null | null | false | [
"Hey @napalmer7, this is the intention of this check. All header values must be passed as strings in Requests. There are unfortunately more complicated datatypes than `int`, such as `datetime`, which won't format correctly in a `str()` call. You can find relevant discussions and reasoning in #3366 and #3477.\n",
... |
https://api.github.com/repos/psf/requests/issues/3558 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3558/labels{/name} | https://api.github.com/repos/psf/requests/issues/3558/comments | https://api.github.com/repos/psf/requests/issues/3558/events | https://github.com/psf/requests/issues/3558 | 175,499,119 | MDU6SXNzdWUxNzU0OTkxMTk= | 3,558 | Using Python's requests lib throwing ProxyError | {
"avatar_url": "https://avatars.githubusercontent.com/u/14370681?v=4",
"events_url": "https://api.github.com/users/flzq/events{/privacy}",
"followers_url": "https://api.github.com/users/flzq/followers",
"following_url": "https://api.github.com/users/flzq/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 13 | 2016-09-07T13:13:43Z | 2021-08-31T00:06:42Z | 2016-09-07T14:23:56Z | NONE | resolved | When I use requests.get('http://www.google.com')
It throws a `ProxyError`:
```
ProxyError: HTTPConnectionPool(host=My vps's IP , port=80): Max retries exceeded with url: http://www.google.com/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection obj... | {
"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/3558/reactions"
} | https://api.github.com/repos/psf/requests/issues/3558/timeline | null | completed | null | null | false | [
"@coderfreedom You almost certainly have the `HTTP_PROXY` environment variable set. Why is that set if you don't want HTTP tools to use your VPS?\n",
"@Lukasa But I close it in IE settings. \nsometimes I need VPN to climbe the Great Fire Wall : ) you know, a lot of websites I can't visit. Sometimes visit gi... |
https://api.github.com/repos/psf/requests/issues/3557 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3557/labels{/name} | https://api.github.com/repos/psf/requests/issues/3557/comments | https://api.github.com/repos/psf/requests/issues/3557/events | https://github.com/psf/requests/pull/3557 | 175,269,053 | MDExOlB1bGxSZXF1ZXN0ODQxMzc4NTc= | 3,557 | Fix how we test fallback to latin-1 reason encoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 6 | 2016-09-06T14:56:26Z | 2021-09-08T02:10:31Z | 2016-09-06T14:58:02Z | CONTRIBUTOR | resolved | This was terribly broken and found while merging master into proposed/3.0.0
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3557/reactions"
} | https://api.github.com/repos/psf/requests/issues/3557/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3557.diff",
"html_url": "https://github.com/psf/requests/pull/3557",
"merged_at": "2016-09-06T14:58:02Z",
"patch_url": "https://github.com/psf/requests/pull/3557.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3557"
} | true | [
"Sorry I let Python 2 slip through the cracks. I am, however, still seeing a failure in python 2.7.10 on multiple systems with this merge. The issue appears to be that we're handing a unicode string in Python 2 to the HTTPError which is producing an \"unprintable HTTPError\" message when it can't be decoded to asci... |
https://api.github.com/repos/psf/requests/issues/3556 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3556/labels{/name} | https://api.github.com/repos/psf/requests/issues/3556/comments | https://api.github.com/repos/psf/requests/issues/3556/events | https://github.com/psf/requests/issues/3556 | 175,192,290 | MDU6SXNzdWUxNzUxOTIyOTA= | 3,556 | "Requests is the only Non-GMO HTTP library for Python, safe for human consumption." | {
"avatar_url": "https://avatars.githubusercontent.com/u/1174730?v=4",
"events_url": "https://api.github.com/users/mouuff/events{/privacy}",
"followers_url": "https://api.github.com/users/mouuff/followers",
"following_url": "https://api.github.com/users/mouuff/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 24 | 2016-09-06T08:46:00Z | 2021-09-04T00:06:14Z | 2016-09-06T09:06:44Z | NONE | resolved | GMO are safe
| {
"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": 42,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 6,
"hooray": 5,
"laugh": 6,
"rocket": 0,
"total_count": 59,
"url": "https://api.github.com/repos/psf/requests/issues/3556/reactions"
} | https://api.github.com/repos/psf/requests/issues/3556/timeline | null | completed | null | null | false | [
"This is _absolutely_ not the venue for this discussion.\n",
"@Lukasa too serious\n",
"@mouuff it's a joke :)\n",
"https://github.com/drtshock/Potato\n",
"@mouuff haha, behold—art!\n",
"What _is_ GMO?\n\nI'm wondering because it's in the first sentence of the repo's `README` and I've never heard of it and... |
https://api.github.com/repos/psf/requests/issues/3555 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3555/labels{/name} | https://api.github.com/repos/psf/requests/issues/3555/comments | https://api.github.com/repos/psf/requests/issues/3555/events | https://github.com/psf/requests/issues/3555 | 175,145,969 | MDU6SXNzdWUxNzUxNDU5Njk= | 3,555 | Feature request: support options for suppressing InsecurePlatformWarning and requests.exceptions.InvalidHeader | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 3 | 2016-09-06T02:03:28Z | 2021-09-08T15:00:52Z | 2016-09-06T08:29:09Z | NONE | resolved | I think the requests is designed for keep high security. But when prototype use or trial use, that restrictions are pesty. Especially two errors below.
- InsecurePlatformWarning: A true SSLContext object is not available
- requests.exceptions.InvalidHeader: Invalid return character or leading space in header
I'll show... | {
"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/3555/reactions"
} | https://api.github.com/repos/psf/requests/issues/3555/timeline | null | completed | null | null | false | [
"Thanks for this report! However, we will not be disabling either of these features.\n\nFirstly, the warning. You've identified it as an `InsecurePlatformWarning`, but I suspect it's actually an `InsecureRequestWarning`, as `InsecurePlatformWarning` is not caused by passing `verify=False`. This warning is intended ... |
https://api.github.com/repos/psf/requests/issues/3554 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3554/labels{/name} | https://api.github.com/repos/psf/requests/issues/3554/comments | https://api.github.com/repos/psf/requests/issues/3554/events | https://github.com/psf/requests/pull/3554 | 175,116,485 | MDExOlB1bGxSZXF1ZXN0ODQwMzI2NTI= | 3,554 | ISO-8859-1 fallback for reason decoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2016-09-05T18:51:18Z | 2021-09-08T02:10:16Z | 2016-09-05T23:15:06Z | MEMBER | resolved | This implements the proposed solution to #3538 by falling back from Unicode to ISO-8859-1 for raw reason decoding.
This is a relatively trivial fix, and I wasn't sure if you wanted to waste bandwidth fixing, @mitsuhiko. I had a brief chat with @Lukasa who said to toss this up, but I'll gladly drop it in favor of #3538... | {
"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/3554/reactions"
} | https://api.github.com/repos/psf/requests/issues/3554/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3554.diff",
"html_url": "https://github.com/psf/requests/pull/3554",
"merged_at": "2016-09-05T23:15:06Z",
"patch_url": "https://github.com/psf/requests/pull/3554.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3554"
} | true | [
"@sigmavirus24 are you happy with this?\n",
"Yep!\n"
] |
https://api.github.com/repos/psf/requests/issues/3553 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3553/labels{/name} | https://api.github.com/repos/psf/requests/issues/3553/comments | https://api.github.com/repos/psf/requests/issues/3553/events | https://github.com/psf/requests/issues/3553 | 175,107,496 | MDU6SXNzdWUxNzUxMDc0OTY= | 3,553 | preserving {0} in requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/1165771?v=4",
"events_url": "https://api.github.com/users/fredzannarbor/events{/privacy}",
"followers_url": "https://api.github.com/users/fredzannarbor/followers",
"following_url": "https://api.github.com/users/fredzannarbor/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 0 | 2016-09-05T17:13:43Z | 2021-09-08T15:00:55Z | 2016-09-05T17:20:54Z | NONE | resolved | ```
def buy_fortune():
value1 = 'riddles'
payload = { 'fortunefile': value1}
url = server_url+'buy?payout_address={0}'
print(url)
r = requests.get(url, params=payload)
print(r.url)
```
produces:
```
http://localhost:5000/buy?payout_address={0}
http://localhost:5000/buy?payout_address=%7B0%7D&fortun... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1165771?v=4",
"events_url": "https://api.github.com/users/fredzannarbor/events{/privacy}",
"followers_url": "https://api.github.com/users/fredzannarbor/followers",
"following_url": "https://api.github.com/users/fredzannarbor/following{/other_user}",
"gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3553/reactions"
} | https://api.github.com/repos/psf/requests/issues/3553/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/3552 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3552/labels{/name} | https://api.github.com/repos/psf/requests/issues/3552/comments | https://api.github.com/repos/psf/requests/issues/3552/events | https://github.com/psf/requests/pull/3552 | 175,102,936 | MDExOlB1bGxSZXF1ZXN0ODQwMjQyNTc= | 3,552 | pysocks 1.5.7 blacklisting, due to IPv6 problems | {
"avatar_url": "https://avatars.githubusercontent.com/u/2480847?v=4",
"events_url": "https://api.github.com/users/nano3k0a/events{/privacy}",
"followers_url": "https://api.github.com/users/nano3k0a/followers",
"following_url": "https://api.github.com/users/nano3k0a/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 4 | 2016-09-05T16:33:17Z | 2021-09-08T02:10:32Z | 2016-09-05T16:47:13Z | CONTRIBUTOR | resolved | https://github.com/kennethreitz/requests/issues/3551
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/3552/reactions"
} | https://api.github.com/repos/psf/requests/issues/3552/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3552.diff",
"html_url": "https://github.com/psf/requests/pull/3552",
"merged_at": "2016-09-05T16:47:13Z",
"patch_url": "https://github.com/psf/requests/pull/3552.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3552"
} | true | [
"Thanks @Trodis!\n",
"✨ 🍰 ✨ \n",
"Glad I could help and thanks @Lukasa \n",
"My pleasure: sorry that you bumped into this!\n"
] |
https://api.github.com/repos/psf/requests/issues/3551 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3551/labels{/name} | https://api.github.com/repos/psf/requests/issues/3551/comments | https://api.github.com/repos/psf/requests/issues/3551/events | https://github.com/psf/requests/issues/3551 | 175,100,781 | MDU6SXNzdWUxNzUxMDA3ODE= | 3,551 | test_lowlevel.py is failing in a Python 2 environment | {
"avatar_url": "https://avatars.githubusercontent.com/u/2480847?v=4",
"events_url": "https://api.github.com/users/nano3k0a/events{/privacy}",
"followers_url": "https://api.github.com/users/nano3k0a/followers",
"following_url": "https://api.github.com/users/nano3k0a/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2016-09-05T16:16:34Z | 2021-09-08T15:00:55Z | 2016-09-05T17:01:12Z | CONTRIBUTOR | resolved | If the Test test_lowlevel.py is being run by pytest in a Python 2 environment, the Testing fails at line 55 with an assertion error: assert len(fake_proxy.handler_results) == 1 is false because fake_proxy.handler_results is empty. The Problem could be as discussed on IRC, that a broken import is causing this failure, b... | {
"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/3551/reactions"
} | https://api.github.com/repos/psf/requests/issues/3551/timeline | null | completed | null | null | false | [
"This error is a direct result of PySocks version 1.5.7, which when a SOCKS proxy is listening on only an IPv4 or IPv6 address but has routes available for both, connection setup can fail. This is fixed in the current master of PySocks, and can also be resolved by downgrading to PySocks 1.5.6 which does not support... |
https://api.github.com/repos/psf/requests/issues/3550 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3550/labels{/name} | https://api.github.com/repos/psf/requests/issues/3550/comments | https://api.github.com/repos/psf/requests/issues/3550/events | https://github.com/psf/requests/issues/3550 | 175,100,262 | MDU6SXNzdWUxNzUxMDAyNjI= | 3,550 | ConnectionError: HTTPConnectionPool( Max retries exceeded with url) [Errno -2] Name or service not known | {
"avatar_url": "https://avatars.githubusercontent.com/u/10820548?v=4",
"events_url": "https://api.github.com/users/zhumingyu/events{/privacy}",
"followers_url": "https://api.github.com/users/zhumingyu/followers",
"following_url": "https://api.github.com/users/zhumingyu/following{/other_user}",
"gists_url": "... | [
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
"name": "Propose Close",
"node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=",
"url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close"
},
{
"color": "fef2c0",
"default": false,
"description": ... | closed | true | null | [] | null | 7 | 2016-09-05T16:12:52Z | 2017-12-19T17:04:51Z | 2016-09-06T08:18:28Z | NONE | off-topic | Hey,guys!
Maybe I did not ask the right place,i follow this project:[https://github.com/jiehua233/phoneregion](https://github.com/jiehua233/phoneregion),then run command 'python main.py --scrapy',but always get error like this:
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gevent/greenle... | {
"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/3550/reactions"
} | https://api.github.com/repos/psf/requests/issues/3550/timeline | null | completed | null | null | false | [
"this is requirements.txt which i had install\n[requirements.txt](https://github.com/kennethreitz/requests/files/455358/requirements.txt)\n",
"This error says that we are unable to resolve the domain name `www.ip138.com`. Can you confirm that that domain name is valid?\n",
"@Lukasa thks for reply,i confirm the ... |
https://api.github.com/repos/psf/requests/issues/3549 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3549/labels{/name} | https://api.github.com/repos/psf/requests/issues/3549/comments | https://api.github.com/repos/psf/requests/issues/3549/events | https://github.com/psf/requests/issues/3549 | 174,954,450 | MDU6SXNzdWUxNzQ5NTQ0NTA= | 3,549 | requests.get doesn't fail HTTP requests with verify option | {
"avatar_url": "https://avatars.githubusercontent.com/u/3913223?v=4",
"events_url": "https://api.github.com/users/Findeton/events{/privacy}",
"followers_url": "https://api.github.com/users/Findeton/followers",
"following_url": "https://api.github.com/users/Findeton/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2016-09-04T15:32:50Z | 2021-09-08T15:00:56Z | 2016-09-04T15:37:57Z | NONE | resolved | When you use the verify parameter on requests.get, the function is supposed to check that the webpage certificate is valid. Obviously, if the webpage is not HTTPS, the webpage has no certificate.
I think it would be nice if in that case the request fails. I mean, imagine we have Google's cert on /srv/google-cert:
```... | {
"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/3549/reactions"
} | https://api.github.com/repos/psf/requests/issues/3549/timeline | null | completed | null | null | false | [
"Thanks for this suggestion! However, I'm afraid I disagree. =) That represents a pretty substantial change in the behaviour of the verify argument, and is well outside what is currently documented. Additionally, it raises some extremely difficult questions. For example, what if the request is redirected from HTTPS... |
https://api.github.com/repos/psf/requests/issues/3548 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3548/labels{/name} | https://api.github.com/repos/psf/requests/issues/3548/comments | https://api.github.com/repos/psf/requests/issues/3548/events | https://github.com/psf/requests/issues/3548 | 174,474,807 | MDU6SXNzdWUxNzQ0NzQ4MDc= | 3,548 | Error received after updating the requests package | {
"avatar_url": "https://avatars.githubusercontent.com/u/15614358?v=4",
"events_url": "https://api.github.com/users/MehmetAzizYirik/events{/privacy}",
"followers_url": "https://api.github.com/users/MehmetAzizYirik/followers",
"following_url": "https://api.github.com/users/MehmetAzizYirik/following{/other_user}"... | [] | closed | true | null | [] | null | 1 | 2016-09-01T09:16:31Z | 2021-09-08T15:00:57Z | 2016-09-01T12:35:07Z | NONE | resolved | @shazow @Lukasa @mcescalante @borbamartin
Hi guys;
I just tried to extract data by using the URL of the webservices; moreover, I used the requests package however it returned the error "TypeError: **str** returned non-string (type SysCallError)" according to that; I just read the section for the issue at GitHub and u... | {
"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/3548/reactions"
} | https://api.github.com/repos/psf/requests/issues/3548/timeline | null | completed | null | null | false | [
"This error is coming from requests_cache. I recommend contacting that project for assistance. =)\n"
] |
https://api.github.com/repos/psf/requests/issues/3546 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3546/labels{/name} | https://api.github.com/repos/psf/requests/issues/3546/comments | https://api.github.com/repos/psf/requests/issues/3546/events | https://github.com/psf/requests/issues/3546 | 174,260,846 | MDU6SXNzdWUxNzQyNjA4NDY= | 3,546 | requote_uri modifies URI | {
"avatar_url": "https://avatars.githubusercontent.com/u/12715952?v=4",
"events_url": "https://api.github.com/users/mocsar/events{/privacy}",
"followers_url": "https://api.github.com/users/mocsar/followers",
"following_url": "https://api.github.com/users/mocsar/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2016-08-31T12:31:24Z | 2021-09-08T15:00:57Z | 2016-08-31T13:03:24Z | NONE | resolved | I would like to fetch
http://git.mycompany.com/api/v3/projects/my%2Ename%2Fmyproject/repository/commits?ref_name=master
but requote_uri transforms this URI to
http://git.mycompany.com/api/v3/projects/my.name%2Fmyproject/repository/commits?ref_name=master
what is an invalid URI for gitlab rest api.
| {
"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/3546/reactions"
} | https://api.github.com/repos/psf/requests/issues/3546/timeline | null | completed | null | null | false | [
"Well, in the first instance you should consider contacting GitLab, because they clearly have a problem with their infrastructure. The period is a safe character in the path component of a URL, and as a result a URI that contains an unescaped period in the path must be treated exactly the same as one that contains ... |
https://api.github.com/repos/psf/requests/issues/3545 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3545/labels{/name} | https://api.github.com/repos/psf/requests/issues/3545/comments | https://api.github.com/repos/psf/requests/issues/3545/events | https://github.com/psf/requests/pull/3545 | 173,813,774 | MDExOlB1bGxSZXF1ZXN0ODMxMjYyOTU= | 3,545 | removing redundant logic from prepare_content_length | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 9 | 2016-08-29T16:22:24Z | 2021-09-08T02:10:14Z | 2016-09-22T12:49:57Z | MEMBER | resolved | # Background
So while working on #3535 I noticed that `prepare_content_length` will be fairly redundant after the patch is merged. I was going to push the abbreviated version of `prepare_content_length` into #3535 but found some inconsistencies in how we're currently handling Content-Length.
So here's a quick rundown... | {
"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/3545/reactions"
} | https://api.github.com/repos/psf/requests/issues/3545/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3545.diff",
"html_url": "https://github.com/psf/requests/pull/3545",
"merged_at": "2016-09-22T12:49:57Z",
"patch_url": "https://github.com/psf/requests/pull/3545.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3545"
} | true | [
"@Lukasa whenever you've got a chance, could I get your thoughts on this?\n",
"Ok, I'm going to do an abridged reframe for this PR because the first post is a bit wordy.\n\nNow that we've updated `super_len` in #3535, `prepare_content_length` is mostly redundant and a space were we could accidentally end up with ... |
https://api.github.com/repos/psf/requests/issues/3544 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3544/labels{/name} | https://api.github.com/repos/psf/requests/issues/3544/comments | https://api.github.com/repos/psf/requests/issues/3544/events | https://github.com/psf/requests/issues/3544 | 173,714,020 | MDU6SXNzdWUxNzM3MTQwMjA= | 3,544 | proxies has no effect | {
"avatar_url": "https://avatars.githubusercontent.com/u/7439574?v=4",
"events_url": "https://api.github.com/users/ripples-alive/events{/privacy}",
"followers_url": "https://api.github.com/users/ripples-alive/followers",
"following_url": "https://api.github.com/users/ripples-alive/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 1 | 2016-08-29T07:36:30Z | 2021-09-08T16:00:23Z | 2016-08-29T14:22:56Z | NONE | resolved | Suppose my IP is `1.1.1.1` and an anonymous proxy is `2.2.2.2:2222`. I write code like this:
``` python
while True:
proxy = '2.2.2.2:2222'
session = requests.Session()
session.headers['User-Agent'] = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0'
se... | {
"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/3544/reactions"
} | https://api.github.com/repos/psf/requests/issues/3544/timeline | null | completed | null | null | false | [
"Without the ability to reproduce this, I don't think we can really take any action on this. =(\n"
] |
https://api.github.com/repos/psf/requests/issues/3543 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3543/labels{/name} | https://api.github.com/repos/psf/requests/issues/3543/comments | https://api.github.com/repos/psf/requests/issues/3543/events | https://github.com/psf/requests/pull/3543 | 173,591,883 | MDExOlB1bGxSZXF1ZXN0ODI5ODU2NDY= | 3,543 | Closes #3542, Wraps docstrings/comments to 72 column width | {
"avatar_url": "https://avatars.githubusercontent.com/u/20254860?v=4",
"events_url": "https://api.github.com/users/nagracks/events{/privacy}",
"followers_url": "https://api.github.com/users/nagracks/followers",
"following_url": "https://api.github.com/users/nagracks/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2016-08-27T11:31:58Z | 2021-09-07T00:06:37Z | 2017-02-10T17:12:43Z | NONE | resolved | null | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3543/reactions"
} | https://api.github.com/repos/psf/requests/issues/3543/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3543.diff",
"html_url": "https://github.com/psf/requests/pull/3543",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3543.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3543"
} | true | [
"@kennethreitz This one is for you, my friend.\n",
"needs a refactor. Closing, since it needs a rebase, but i'd merge it if it gets rebased! ",
"P.S. sorry for the delay, i didn't get the notification!"
] |
https://api.github.com/repos/psf/requests/issues/3542 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3542/labels{/name} | https://api.github.com/repos/psf/requests/issues/3542/comments | https://api.github.com/repos/psf/requests/issues/3542/events | https://github.com/psf/requests/issues/3542 | 173,589,749 | MDU6SXNzdWUxNzM1ODk3NDk= | 3,542 | Wrap function docstrings and comments to 72 (PEP8) | {
"avatar_url": "https://avatars.githubusercontent.com/u/20254860?v=4",
"events_url": "https://api.github.com/users/nagracks/events{/privacy}",
"followers_url": "https://api.github.com/users/nagracks/followers",
"following_url": "https://api.github.com/users/nagracks/following{/other_user}",
"gists_url": "htt... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501249,
"name": "Needs BDFL Input",
"node_id": "MDU6TGFiZWw0NDUwMTI0OQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input"
},
{
"color": "f7c6c7",
"default": false,
"descrip... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 1 | 2016-08-27T10:29:24Z | 2021-09-08T08:00:29Z | 2017-07-30T00:14:50Z | NONE | resolved | I can do this. The function's docstring out of 72 column looks ugly
| {
"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/3542/reactions"
} | https://api.github.com/repos/psf/requests/issues/3542/timeline | null | completed | null | null | false | [
"Depends :)\n"
] |
https://api.github.com/repos/psf/requests/issues/3541 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3541/labels{/name} | https://api.github.com/repos/psf/requests/issues/3541/comments | https://api.github.com/repos/psf/requests/issues/3541/events | https://github.com/psf/requests/pull/3541 | 173,451,640 | MDExOlB1bGxSZXF1ZXN0ODI4ODY3MTQ= | 3,541 | Specify self.cert is used for SSL client certificates | {
"avatar_url": "https://avatars.githubusercontent.com/u/1461970?v=4",
"events_url": "https://api.github.com/users/RichieB2B/events{/privacy}",
"followers_url": "https://api.github.com/users/RichieB2B/followers",
"following_url": "https://api.github.com/users/RichieB2B/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2016-08-26T13:21:50Z | 2021-09-08T02:10:33Z | 2016-08-26T14:02:22Z | CONTRIBUTOR | resolved | In addition to #3539 clarify that self.cert is used for SSL client certificates
| {
"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/3541/reactions"
} | https://api.github.com/repos/psf/requests/issues/3541/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3541.diff",
"html_url": "https://github.com/psf/requests/pull/3541",
"merged_at": "2016-08-26T14:02:21Z",
"patch_url": "https://github.com/psf/requests/pull/3541.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3541"
} | true | [
"Looks good to me, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/3540 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3540/labels{/name} | https://api.github.com/repos/psf/requests/issues/3540/comments | https://api.github.com/repos/psf/requests/issues/3540/events | https://github.com/psf/requests/issues/3540 | 173,396,880 | MDU6SXNzdWUxNzMzOTY4ODA= | 3,540 | Header doesn't accept int values already | {
"avatar_url": "https://avatars.githubusercontent.com/u/6483469?v=4",
"events_url": "https://api.github.com/users/anchaj/events{/privacy}",
"followers_url": "https://api.github.com/users/anchaj/followers",
"following_url": "https://api.github.com/users/anchaj/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2016-08-26T08:21:31Z | 2021-09-08T16:00:24Z | 2016-08-26T12:23:48Z | NONE | resolved | Hi,
I discovered that new version (2.11.1, build:0x021101) doesn't accept int type in headers.
Before update (2.3.0, build:0x20300) everything was ok.
```
import requests
headers = {'exampleHeader': 10} # raise InvalidHeader: Header value 10 must be of type str or bytes...
# headers = {'exampleHeader': '10'} # for n... | {
"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/3540/reactions"
} | https://api.github.com/repos/psf/requests/issues/3540/timeline | null | completed | null | null | false | [
"This was an intentional change.\n\nYou will find many other closed issues discussing this since 11 came out.\n\nYou will need to convert to string before using as a header.\n\nOn Fri, 26 Aug 2016, 6:21 PM Mateusz notifications@github.com wrote:\n\n> Hi,\n> I discovered that new version (2.11.1, build:0x021101) doe... |
https://api.github.com/repos/psf/requests/issues/3539 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3539/labels{/name} | https://api.github.com/repos/psf/requests/issues/3539/comments | https://api.github.com/repos/psf/requests/issues/3539/events | https://github.com/psf/requests/pull/3539 | 173,390,546 | MDExOlB1bGxSZXF1ZXN0ODI4NDUzMTk= | 3,539 | Add persistent examples | {
"avatar_url": "https://avatars.githubusercontent.com/u/1461970?v=4",
"events_url": "https://api.github.com/users/RichieB2B/events{/privacy}",
"followers_url": "https://api.github.com/users/RichieB2B/followers",
"following_url": "https://api.github.com/users/RichieB2B/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 5 | 2016-08-26T07:47:12Z | 2021-09-08T03:00:44Z | 2016-08-26T13:16:54Z | CONTRIBUTOR | resolved | Learning python and Requests it was not immediately clear that many arguments can also be made persistent using the Sessions class.
| {
"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/3539/reactions"
} | https://api.github.com/repos/psf/requests/issues/3539/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3539.diff",
"html_url": "https://github.com/psf/requests/pull/3539",
"merged_at": "2016-08-26T13:16:54Z",
"patch_url": "https://github.com/psf/requests/pull/3539.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3539"
} | true | [
"@Lukasa I was certain this was described elsewhere, am I wrong?\n",
"[The first sentence of the Session docs](http://docs.python-requests.org/en/master/user/advanced/#session-objects) reads:\n\n> The Session object allows you to persist certain parameters across requests.\n\nIs there a reason we need this change... |
https://api.github.com/repos/psf/requests/issues/3538 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3538/labels{/name} | https://api.github.com/repos/psf/requests/issues/3538/comments | https://api.github.com/repos/psf/requests/issues/3538/events | https://github.com/psf/requests/pull/3538 | 173,332,986 | MDExOlB1bGxSZXF1ZXN0ODI4MDg3MTc= | 3,538 | Fix incorrect encoding for reason | {
"avatar_url": "https://avatars.githubusercontent.com/u/7396?v=4",
"events_url": "https://api.github.com/users/mitsuhiko/events{/privacy}",
"followers_url": "https://api.github.com/users/mitsuhiko/followers",
"following_url": "https://api.github.com/users/mitsuhiko/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 11 | 2016-08-25T23:10:33Z | 2021-09-08T02:10:32Z | 2016-09-06T08:33:02Z | CONTRIBUTOR | resolved | HTTP status lines are latin1 and not utf-8
> The TEXT rule is only used for descriptive field contents and values
> that are not intended to be interpreted by the message parser. Words
> of *TEXT MAY contain characters from character sets other than ISO-
> 8859-1 only when encoded according to the rules of... | {
"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/3538/reactions"
} | https://api.github.com/repos/psf/requests/issues/3538/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3538.diff",
"html_url": "https://github.com/psf/requests/pull/3538",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3538.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3538"
} | true | [
"The UTF-8 decode was added here very deliberately, to handle the fact that many origin servers incorrectly serve UTF-8 reason phrases. Given that all defined reason phrases are ASCII, it seemed a reasonable middle ground to handle them as UTF-8. \n\nDo you have a specific problem you have encountered with this cho... |
https://api.github.com/repos/psf/requests/issues/3537 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3537/labels{/name} | https://api.github.com/repos/psf/requests/issues/3537/comments | https://api.github.com/repos/psf/requests/issues/3537/events | https://github.com/psf/requests/issues/3537 | 173,265,416 | MDU6SXNzdWUxNzMyNjU0MTY= | 3,537 | ('Connection aborted.', error(105, 'No buffer space available')) | {
"avatar_url": "https://avatars.githubusercontent.com/u/691783?v=4",
"events_url": "https://api.github.com/users/glennpierce/events{/privacy}",
"followers_url": "https://api.github.com/users/glennpierce/followers",
"following_url": "https://api.github.com/users/glennpierce/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 2 | 2016-08-25T17:38:36Z | 2021-09-08T16:00:25Z | 2016-08-25T18:29:07Z | NONE | resolved | I have some code that calls like
r = session.get(url, stream=False, timeout=1)
data = r.content
This is called in a loop for 150 urls constantly. Usually this works but after a while I get errors like
('Connection aborted.', error(105, 'No buffer space available'))
This is over an ipsec tunnel so I suspect the bug ... | {
"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/3537/reactions"
} | https://api.github.com/repos/psf/requests/issues/3537/timeline | null | completed | null | null | false | [
"Do you have a more complete traceback for that? This error _generally_ indicates a problem with the socket buffer itself: that is, the buffer is overflowing. It'd be good to see where it's coming from, but _probably_ it's related to the ipsec tunnel: certainly many similar bugs seem to be raised that involve ipsec... |
https://api.github.com/repos/psf/requests/issues/3536 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3536/labels{/name} | https://api.github.com/repos/psf/requests/issues/3536/comments | https://api.github.com/repos/psf/requests/issues/3536/events | https://github.com/psf/requests/pull/3536 | 173,047,220 | MDExOlB1bGxSZXF1ZXN0ODI2MDk1NjU= | 3,536 | Test case for requests getting stuck on post redirect with seekable streams | {
"avatar_url": "https://avatars.githubusercontent.com/u/7489847?v=4",
"events_url": "https://api.github.com/users/tzickel/events{/privacy}",
"followers_url": "https://api.github.com/users/tzickel/followers",
"following_url": "https://api.github.com/users/tzickel/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 5 | 2016-08-24T20:15:21Z | 2021-09-08T02:10:22Z | 2016-11-03T15:36:57Z | NONE | resolved | https://github.com/kennethreitz/requests/issues/3079
This is a test case that depends on httpbin 0.5.0 to show the bug.
| {
"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/3536/reactions"
} | https://api.github.com/repos/psf/requests/issues/3536/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3536.diff",
"html_url": "https://github.com/psf/requests/pull/3536",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3536.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3536"
} | true | [
"Thanks for these tests! They do, as expected, fail.\n\nWhat we need now, I think, is for someone to step up and write a solution. Any volunteers?\n",
"I guess this issue can only be fixed inside urllib3 since it handles the actual redirects.\n",
"@tzickel At a quick glance, I don't think that urllib3 has any k... |
https://api.github.com/repos/psf/requests/issues/3535 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3535/labels{/name} | https://api.github.com/repos/psf/requests/issues/3535/comments | https://api.github.com/repos/psf/requests/issues/3535/events | https://github.com/psf/requests/pull/3535 | 173,019,706 | MDExOlB1bGxSZXF1ZXN0ODI1ODk3MDI= | 3,535 | avoid use of getvalues in super_len | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 10 | 2016-08-24T18:04:53Z | 2021-09-08T02:10:20Z | 2016-09-14T07:10:28Z | MEMBER | resolved | This is a follow up on @jseabold's work in #3339. These last minor changes should fix the issues with return values of `seek` between Python 2 and Python 3.
| {
"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/3535/reactions"
} | https://api.github.com/repos/psf/requests/issues/3535/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3535.diff",
"html_url": "https://github.com/psf/requests/pull/3535",
"merged_at": "2016-09-14T07:10:28Z",
"patch_url": "https://github.com/psf/requests/pull/3535.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3535"
} | true | [
"It'd be really nice to have some more tests around this. Ideally tests that go into each of the branches. @nateprewitt, are you open to adding those?\n",
"Yep, I'll throw a few more together for `TestSuperLen`.\n",
"@Lukasa, tests are updated with custom classes. I think things should be good to go with tests.... |
https://api.github.com/repos/psf/requests/issues/3534 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3534/labels{/name} | https://api.github.com/repos/psf/requests/issues/3534/comments | https://api.github.com/repos/psf/requests/issues/3534/events | https://github.com/psf/requests/issues/3534 | 172,912,537 | MDU6SXNzdWUxNzI5MTI1Mzc= | 3,534 | proxies missing [ipv6] address support | {
"avatar_url": "https://avatars.githubusercontent.com/u/16426974?v=4",
"events_url": "https://api.github.com/users/lvg01/events{/privacy}",
"followers_url": "https://api.github.com/users/lvg01/followers",
"following_url": "https://api.github.com/users/lvg01/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 17 | 2016-08-24T10:02:35Z | 2021-09-07T00:06:19Z | 2017-07-30T13:53:22Z | NONE | resolved | For an IPv6 proxy address then proxies-dict is not working en ends with temporary nameresolving problems. Change of the addess to a name (name added with ipv6 address in /etc/hosts) the proxies-dict is working.
For IPv4 an address is working
```
proxies={"https":"http:[<ipv6:address>]:<portnumber>"} fails
proxies={"ht... | {
"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/3534/reactions"
} | https://api.github.com/repos/psf/requests/issues/3534/timeline | null | completed | null | null | false | [
"What does _fails_ mean, please? Can you provide a clearer explanation of what you expect to happen and what is actually happening?\n",
"Hello, \nI'm sorry for not being clear in this call. \nI use the proxies dict to access the internet via a proxy server.\n1 Using an ipv4 address passes the proxy\n2 Using a nam... |
https://api.github.com/repos/psf/requests/issues/3533 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3533/labels{/name} | https://api.github.com/repos/psf/requests/issues/3533/comments | https://api.github.com/repos/psf/requests/issues/3533/events | https://github.com/psf/requests/issues/3533 | 172,897,667 | MDU6SXNzdWUxNzI4OTc2Njc= | 3,533 | Segfault while using requests in GPIO Callback on Raspberry Pi 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5537530?v=4",
"events_url": "https://api.github.com/users/momo-aux/events{/privacy}",
"followers_url": "https://api.github.com/users/momo-aux/followers",
"following_url": "https://api.github.com/users/momo-aux/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2016-08-24T08:48:41Z | 2021-09-08T16:00:26Z | 2016-08-24T14:33:42Z | NONE | resolved | I'm getting a segfault sometimes after pressing the Button.
This little script can be used to reproduce the error. (If you don't get a segfault after 20 button presses, restart the script, sooner or later you'll get one).
requests Version is 2.4.3
Python Version is 3.4.2
Perhaps someone could give me a hint what/how ... | {
"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/3533/reactions"
} | https://api.github.com/repos/psf/requests/issues/3533/timeline | null | completed | null | null | false | [
"Thanks for reporting this!\n\nIt's not possible to segfault the interpreter from inside Requests, because Requests is written in pure-Python. That suggests that the issue is inside the GPIO calls. Unfortunately, to be more specific you'll need to use a debugger like GDB to catch the segfault and print the C stack ... |
https://api.github.com/repos/psf/requests/issues/3532 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3532/labels{/name} | https://api.github.com/repos/psf/requests/issues/3532/comments | https://api.github.com/repos/psf/requests/issues/3532/events | https://github.com/psf/requests/issues/3532 | 172,782,893 | MDU6SXNzdWUxNzI3ODI4OTM= | 3,532 | Passing seekable objects without len to super_len causes .getvalue() which copies them just to get the length | {
"avatar_url": "https://avatars.githubusercontent.com/u/7489847?v=4",
"events_url": "https://api.github.com/users/tzickel/events{/privacy}",
"followers_url": "https://api.github.com/users/tzickel/followers",
"following_url": "https://api.github.com/users/tzickel/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2016-08-23T19:16:17Z | 2021-09-08T16:00:26Z | 2016-08-23T19:54:41Z | NONE | resolved | This is an performance issue, especially when passing large objects. This can be easily triggered with a data post body:
bigdata = 'a' \* 100000000
stream = io.BytesIO(bigdata)
a = requests.post('http://localhost', data=stream)
will call super_len on stream, which will call stream.getvalue() which will actually copy ... | {
"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/3532/reactions"
} | https://api.github.com/repos/psf/requests/issues/3532/timeline | null | completed | null | null | false | [
"Thanks for the report! This is a known issue and we're working on a fix: see #3339.\n"
] |
https://api.github.com/repos/psf/requests/issues/3531 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3531/labels{/name} | https://api.github.com/repos/psf/requests/issues/3531/comments | https://api.github.com/repos/psf/requests/issues/3531/events | https://github.com/psf/requests/issues/3531 | 172,733,759 | MDU6SXNzdWUxNzI3MzM3NTk= | 3,531 | Issue chunked request cause warning "Connection pool is full" | {
"avatar_url": "https://avatars.githubusercontent.com/u/7723788?v=4",
"events_url": "https://api.github.com/users/ddzialak/events{/privacy}",
"followers_url": "https://api.github.com/users/ddzialak/followers",
"following_url": "https://api.github.com/users/ddzialak/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2016-08-23T15:39:38Z | 2021-09-08T16:00:27Z | 2016-08-23T15:59:56Z | NONE | resolved | ```
import requests
import sys
import logging
logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
logger=logging.getLogger()
def produce():
for _ in xrange(5000):
yield "bla" * 1000 + '\0\n'
logger.info("sending....")
response = requests.request("POST", "http://localhost:30006/upload", data=produ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/7723788?v=4",
"events_url": "https://api.github.com/users/ddzialak/events{/privacy}",
"followers_url": "https://api.github.com/users/ddzialak/followers",
"following_url": "https://api.github.com/users/ddzialak/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/3531/reactions"
} | https://api.github.com/repos/psf/requests/issues/3531/timeline | null | completed | null | null | false | [
"That happens because `_put_conn` (from connectionpool.py line 259) is called twice, one from:\n\n```\n File \"/home/dzialak/.virtualenvs/sf3/lib/python3.5/site-packages/requests/api.py\", line 44, in request\n return session.request(method=method, url=url, **kwargs)\n File \"/home/dzialak/.virtualenvs/sf3/lib... |
https://api.github.com/repos/psf/requests/issues/3530 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3530/labels{/name} | https://api.github.com/repos/psf/requests/issues/3530/comments | https://api.github.com/repos/psf/requests/issues/3530/events | https://github.com/psf/requests/pull/3530 | 172,602,163 | MDExOlB1bGxSZXF1ZXN0ODIyOTY2NjI= | 3,530 | Fixed another scheme proxy over "all" priority issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/1097666?v=4",
"events_url": "https://api.github.com/users/sentientcucumber/events{/privacy}",
"followers_url": "https://api.github.com/users/sentientcucumber/followers",
"following_url": "https://api.github.com/users/sentientcucumber/following{/other_user... | [] | closed | true | null | [] | null | 1 | 2016-08-23T03:03:39Z | 2021-09-08T03:00:45Z | 2016-08-23T11:54:35Z | NONE | resolved | Fixed the missing lines pointed out in #3526 to hopefully squash #3518 once and for all.
| {
"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/3530/reactions"
} | https://api.github.com/repos/psf/requests/issues/3530/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3530.diff",
"html_url": "https://github.com/psf/requests/pull/3530",
"merged_at": "2016-08-23T11:54:35Z",
"patch_url": "https://github.com/psf/requests/pull/3530.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3530"
} | true | [
"Thanks @shellhead! :sparkles:\n"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.