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/3961 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3961/labels{/name} | https://api.github.com/repos/psf/requests/issues/3961/comments | https://api.github.com/repos/psf/requests/issues/3961/events | https://github.com/psf/requests/issues/3961 | 220,691,277 | MDU6SXNzdWUyMjA2OTEyNzc= | 3,961 | Use libproxy gain WPAD/PAC support for free | {
"avatar_url": "https://avatars.githubusercontent.com/u/473983?v=4",
"events_url": "https://api.github.com/users/marceloslacerda/events{/privacy}",
"followers_url": "https://api.github.com/users/marceloslacerda/followers",
"following_url": "https://api.github.com/users/marceloslacerda/following{/other_user}",
... | [] | closed | true | null | [] | null | 4 | 2017-04-10T16:00:03Z | 2021-09-08T06:00:29Z | 2017-04-10T16:12:43Z | NONE | resolved | Currently requests does figuring out of whether a proxy should be used for a given URL. [WPAD/PAC](https://en.wikipedia.org/wiki/Web_Proxy_Auto-Discovery_Protocol) files describe those requirements, so if requests were to support WPAD proxy descriptions it would need to also parse it and figure what proxy to use for wh... | {
"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/3961/reactions"
} | https://api.github.com/repos/psf/requests/issues/3961/timeline | null | completed | null | null | false | [
"By the way since I'm interested I could help implementing it.",
"So Requests cannot easily use libproxy because it is a binary dependency. We therefore cannot vendor it, and so cannot unconditionally rely on it being present. I would be open to a series of patches that add support, but libproxy is also not (as f... |
https://api.github.com/repos/psf/requests/issues/3960 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3960/labels{/name} | https://api.github.com/repos/psf/requests/issues/3960/comments | https://api.github.com/repos/psf/requests/issues/3960/events | https://github.com/psf/requests/issues/3960 | 220,494,809 | MDU6SXNzdWUyMjA0OTQ4MDk= | 3,960 | HTTPS isn't working if proxy is down | {
"avatar_url": "https://avatars.githubusercontent.com/u/17240507?v=4",
"events_url": "https://api.github.com/users/abriginets/events{/privacy}",
"followers_url": "https://api.github.com/users/abriginets/followers",
"following_url": "https://api.github.com/users/abriginets/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2017-04-09T20:01:00Z | 2021-09-08T10:00:39Z | 2017-05-25T20:29:26Z | NONE | resolved | I'm using requests with proxies and when proxy-server is down for some reason, requests make request without proxy(using the origin IP). Also, this issue appears when making https request with proxy which not support https. Could you please implement functionality, which could allow me to make proxy-only requests? | {
"avatar_url": "https://avatars.githubusercontent.com/u/17240507?v=4",
"events_url": "https://api.github.com/users/abriginets/events{/privacy}",
"followers_url": "https://api.github.com/users/abriginets/followers",
"following_url": "https://api.github.com/users/abriginets/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/3960/reactions"
} | https://api.github.com/repos/psf/requests/issues/3960/timeline | null | completed | null | null | false | [
"Requests should not be making requests without the proxy when the proxy is not working. Can you show us the code you're using please?",
"I've figured it out, i guess. This happened if making request in `while True` loop. "
] |
https://api.github.com/repos/psf/requests/issues/3959 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3959/labels{/name} | https://api.github.com/repos/psf/requests/issues/3959/comments | https://api.github.com/repos/psf/requests/issues/3959/events | https://github.com/psf/requests/issues/3959 | 220,464,901 | MDU6SXNzdWUyMjA0NjQ5MDE= | 3,959 | UnicodeDecodeError on redirect response rfc1804 to non ascii location | {
"avatar_url": "https://avatars.githubusercontent.com/u/23416546?v=4",
"events_url": "https://api.github.com/users/shmuelamar/events{/privacy}",
"followers_url": "https://api.github.com/users/shmuelamar/followers",
"following_url": "https://api.github.com/users/shmuelamar/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 3 | 2017-04-09T11:23:41Z | 2021-09-08T11:00:34Z | 2017-04-09T11:39:32Z | CONTRIBUTOR | resolved | This issue happend to me on our production servers while requesting URL from the wild using requests.
When a server returns redirect response that follows rfc1808 (i.e. Location: //URI) and the URI contains non ASCII chars, requests fails with UnicodeDecodeError.
This issue only happens on python2 (in python3 un... | {
"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/3959/reactions"
} | https://api.github.com/repos/psf/requests/issues/3959/timeline | null | completed | null | null | false | [
"Thanks for this detailed report! This is a dupe of #3888: that has some discussions about how we might handle this if you're interested in supplying a patch. Additional suggestions on that thread would be welcomed if you don't like any of the proposed approaches. ",
"thanks for the quick reply! missed it when se... |
https://api.github.com/repos/psf/requests/issues/3958 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3958/labels{/name} | https://api.github.com/repos/psf/requests/issues/3958/comments | https://api.github.com/repos/psf/requests/issues/3958/events | https://github.com/psf/requests/pull/3958 | 220,397,705 | MDExOlB1bGxSZXF1ZXN0MTE0OTQ0MTk3 | 3,958 | Fix a typo in utils | {
"avatar_url": "https://avatars.githubusercontent.com/u/5351546?v=4",
"events_url": "https://api.github.com/users/Xuanwo/events{/privacy}",
"followers_url": "https://api.github.com/users/Xuanwo/followers",
"following_url": "https://api.github.com/users/Xuanwo/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2017-04-08T12:46:33Z | 2021-09-06T00:07:04Z | 2017-04-08T13:18:43Z | CONTRIBUTOR | resolved | Signed-off-by: Xuanwo <xuanwo.cn@gmail.com> | {
"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/3958/reactions"
} | https://api.github.com/repos/psf/requests/issues/3958/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3958.diff",
"html_url": "https://github.com/psf/requests/pull/3958",
"merged_at": "2017-04-08T13:18:43Z",
"patch_url": "https://github.com/psf/requests/pull/3958.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3958"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3958?src=pr&el=h1) Report\n> Merging [#3958](https://codecov.io/gh/kennethreitz/requests/pull/3958?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/f061fb7e28a480e911cc49de7d41f9ec0ff5215b?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3957 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3957/labels{/name} | https://api.github.com/repos/psf/requests/issues/3957/comments | https://api.github.com/repos/psf/requests/issues/3957/events | https://github.com/psf/requests/issues/3957 | 220,169,658 | MDU6SXNzdWUyMjAxNjk2NTg= | 3,957 | comma in case: join multiple Set-Cookie Headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/26567627?v=4",
"events_url": "https://api.github.com/users/jake491/events{/privacy}",
"followers_url": "https://api.github.com/users/jake491/followers",
"following_url": "https://api.github.com/users/jake491/following{/other_user}",
"gists_url": "https:... | [] | closed | false | null | [] | null | 6 | 2017-04-07T10:07:24Z | 2024-05-19T18:53:53Z | 2024-05-19T18:53:53Z | NONE | null | Many web-apps send cookie in multiple Set-Cookie headers, one header for one cookie. Requests joins this headers in one big header separate by comma.
From same webapp to requests.get
```
Set-Cookie: ASP.NET_SessionId=token1; path=/; HttpOnly
Set-Cookie: Cookie1=token2; path=/ecp
Set-Cookie: X-BEResource=WIN-RBF... | {
"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/3957/reactions"
} | https://api.github.com/repos/psf/requests/issues/3957/timeline | null | completed | null | null | false | [
"Requests makes no promises about leaving headers in the form they are received from the server. Right now, I highly recommend you use the cookiejar Requests uses to store cookies rather than extracting them from the headers: we correctly insert them in there.\r\n\r\nLonger term, we should probably add a fix to exc... |
https://api.github.com/repos/psf/requests/issues/3956 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3956/labels{/name} | https://api.github.com/repos/psf/requests/issues/3956/comments | https://api.github.com/repos/psf/requests/issues/3956/events | https://github.com/psf/requests/pull/3956 | 219,611,227 | MDExOlB1bGxSZXF1ZXN0MTE0Mzk2ODYz | 3,956 | Fixes DeprecationWarnings in Python 3.6 due to invalid escape sequences | {
"avatar_url": "https://avatars.githubusercontent.com/u/1939893?v=4",
"events_url": "https://api.github.com/users/rubendura/events{/privacy}",
"followers_url": "https://api.github.com/users/rubendura/followers",
"following_url": "https://api.github.com/users/rubendura/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 10 | 2017-04-05T14:54:44Z | 2021-09-06T00:07:04Z | 2017-04-05T15:29:41Z | CONTRIBUTOR | resolved | Fixes #3954 | {
"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/3956/reactions"
} | https://api.github.com/repos/psf/requests/issues/3956/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3956.diff",
"html_url": "https://github.com/psf/requests/pull/3956",
"merged_at": "2017-04-05T15:29:41Z",
"patch_url": "https://github.com/psf/requests/pull/3956.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3956"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3956?src=pr&el=h1) Report\n> Merging [#3956](https://codecov.io/gh/kennethreitz/requests/pull/3956?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/342096a3b98e9c4466316167574dbf5054f30daa?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3955 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3955/labels{/name} | https://api.github.com/repos/psf/requests/issues/3955/comments | https://api.github.com/repos/psf/requests/issues/3955/events | https://github.com/psf/requests/issues/3955 | 219,595,430 | MDU6SXNzdWUyMTk1OTU0MzA= | 3,955 | Feature Request : Disable hostname verification | {
"avatar_url": "https://avatars.githubusercontent.com/u/965310?v=4",
"events_url": "https://api.github.com/users/johnlabarge/events{/privacy}",
"followers_url": "https://api.github.com/users/johnlabarge/followers",
"following_url": "https://api.github.com/users/johnlabarge/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 12 | 2017-04-05T14:08:54Z | 2021-09-08T08:00:30Z | 2017-07-29T23:25:45Z | NONE | resolved | It seems that this isn't always necessary, for example when I'm using pinned certs. I ran up against that issue trying to use https://github.com/kelproject/pykube and will have to use a proxy workaround. I'm using the IP address, not the hostname to contact the server per the prepackaged configuration file. I get the ... | {
"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/3955/reactions"
} | https://api.github.com/repos/psf/requests/issues/3955/timeline | null | completed | null | null | false | [
"So, ultimately this is just not very likely to happen. The utility of having certificate verification but not hostname verification is very low (basically zero) in the general case, so the *only* useful situation is for pinned certificates. In the pinned certificate case, though, the question has to be asked: why ... |
https://api.github.com/repos/psf/requests/issues/3954 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3954/labels{/name} | https://api.github.com/repos/psf/requests/issues/3954/comments | https://api.github.com/repos/psf/requests/issues/3954/events | https://github.com/psf/requests/issues/3954 | 219,581,094 | MDU6SXNzdWUyMTk1ODEwOTQ= | 3,954 | requests shows lots of DeprecationWarning on Python 3.6 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1939893?v=4",
"events_url": "https://api.github.com/users/rubendura/events{/privacy}",
"followers_url": "https://api.github.com/users/rubendura/followers",
"following_url": "https://api.github.com/users/rubendura/following{/other_user}",
"gists_url": "h... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 26 | 2017-04-05T13:23:47Z | 2021-09-08T11:00:35Z | 2017-04-05T15:29:41Z | CONTRIBUTOR | resolved | Running tests on my project with the -Wd option now displays lots of DeprecationWarnings coming from requests.
From the Python 3.6 Changelog (https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior):
```A backslash-character pair that is not a valid escape sequence now generates a DeprecationWarning.... | {
"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/3954/reactions"
} | https://api.github.com/repos/psf/requests/issues/3954/timeline | null | completed | null | null | false | [
"Do those deprecation warnings happen to point at the location in the code where the problem arises? If so, it'd be useful to see that output.",
"They actually do:\r\n\r\n```\r\n/venv/lib/python3.6/site-packages/requests/models.py:847: DeprecationWarning: invalid escape sequence \\*\r\n \"\"\"\r\n/venv/lib/pytho... |
https://api.github.com/repos/psf/requests/issues/3953 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3953/labels{/name} | https://api.github.com/repos/psf/requests/issues/3953/comments | https://api.github.com/repos/psf/requests/issues/3953/events | https://github.com/psf/requests/issues/3953 | 219,417,645 | MDU6SXNzdWUyMTk0MTc2NDU= | 3,953 | content-length is missing from requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/618237?v=4",
"events_url": "https://api.github.com/users/cuzzasoft/events{/privacy}",
"followers_url": "https://api.github.com/users/cuzzasoft/followers",
"following_url": "https://api.github.com/users/cuzzasoft/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 6 | 2017-04-04T23:39:36Z | 2021-08-28T00:06:02Z | 2017-04-05T06:01:33Z | NONE | resolved | Can reproduce with the below:
```
import requests
r = requests.get('https://downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.0.5.zip', stream=True)
print r.headers.get('content-length')
None
```
This results in None - I'm using content-length for a download progress bar and can't... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3953/reactions"
} | https://api.github.com/repos/psf/requests/issues/3953/timeline | null | completed | null | null | false | [
"If you look at the headers that *are* returned, you will notice\r\n\r\n```\r\nTransfer-Encoding: chunked\r\n```\r\n\r\nIf you compare the headers that are sent, however, using `httpbin`, you might notice that Requests also sends `Accept-Encoding: gzip, deflate`. If you remove that header, e.g., \r\n\r\n```py\r\nr ... |
https://api.github.com/repos/psf/requests/issues/3952 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3952/labels{/name} | https://api.github.com/repos/psf/requests/issues/3952/comments | https://api.github.com/repos/psf/requests/issues/3952/events | https://github.com/psf/requests/pull/3952 | 218,755,757 | MDExOlB1bGxSZXF1ZXN0MTEzODEzMDMx | 3,952 | Small help in docs to indicate client side authentication | {
"avatar_url": "https://avatars.githubusercontent.com/u/1532417?v=4",
"events_url": "https://api.github.com/users/tonybaloney/events{/privacy}",
"followers_url": "https://api.github.com/users/tonybaloney/followers",
"following_url": "https://api.github.com/users/tonybaloney/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-04-02T10:32:29Z | 2021-09-07T00:06:26Z | 2017-04-02T10:41:53Z | CONTRIBUTOR | resolved | See https://github.com/kennethreitz/requests/issues/3951 | {
"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/3952/reactions"
} | https://api.github.com/repos/psf/requests/issues/3952/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3952.diff",
"html_url": "https://github.com/psf/requests/pull/3952",
"merged_at": "2017-04-02T10:41:53Z",
"patch_url": "https://github.com/psf/requests/pull/3952.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3952"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3952?src=pr&el=h1) Report\n> Merging [#3952](https://codecov.io/gh/kennethreitz/requests/pull/3952?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/993cbf57419fca7562ff0990df1bd32f748a9bfe?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3951 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3951/labels{/name} | https://api.github.com/repos/psf/requests/issues/3951/comments | https://api.github.com/repos/psf/requests/issues/3951/events | https://github.com/psf/requests/issues/3951 | 218,751,293 | MDU6SXNzdWUyMTg3NTEyOTM= | 3,951 | Request signing and access to SSLContext | {
"avatar_url": "https://avatars.githubusercontent.com/u/1532417?v=4",
"events_url": "https://api.github.com/users/tonybaloney/events{/privacy}",
"followers_url": "https://api.github.com/users/tonybaloney/followers",
"following_url": "https://api.github.com/users/tonybaloney/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 5 | 2017-04-02T08:55:19Z | 2021-09-08T11:00:36Z | 2017-04-02T10:42:00Z | CONTRIBUTOR | resolved | I've just finished porting a large project from httplib to requests, it talks to over 50 APIs with pretty much every weird and obtuse spec you could think of.
The only one I got slightly stuck on was the OpenStack Identity, Azure Management (classic) APIs and Docker when TLS is enabled. All require certificate based... | {
"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/3951/reactions"
} | https://api.github.com/repos/psf/requests/issues/3951/timeline | null | completed | null | null | false | [
"Did you see the `cert` argument in the docs? It should cover what you need. ",
"Cert argument on the session initializer? http://docs.python-requests.org/en/master/api/#requests.Session.cert\r\n\r\nAh ok it can be a tuple to provide cert_file and key looking here\r\nhttps://github.com/kennethreitz/requests/blob/... |
https://api.github.com/repos/psf/requests/issues/3950 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3950/labels{/name} | https://api.github.com/repos/psf/requests/issues/3950/comments | https://api.github.com/repos/psf/requests/issues/3950/events | https://github.com/psf/requests/issues/3950 | 218,741,415 | MDU6SXNzdWUyMTg3NDE0MTU= | 3,950 | Header payload | {
"avatar_url": "https://avatars.githubusercontent.com/u/3818078?v=4",
"events_url": "https://api.github.com/users/spdd/events{/privacy}",
"followers_url": "https://api.github.com/users/spdd/followers",
"following_url": "https://api.github.com/users/spdd/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 1 | 2017-04-02T04:35:47Z | 2021-09-08T11:00:36Z | 2017-04-02T08:51:56Z | NONE | resolved | I'm trying to post image to a server like this:
```
headers = {
'Accept': '*/*',
'Content-Type': 'image/png'
}
files = { None: open('2.png', 'rb')}
response = request.post('http://server', headers = headers, files = files)
```
but in debug tool of request I see that:
```
### --9eddf6ca1dde46278024b688... | {
"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/3950/reactions"
} | https://api.github.com/repos/psf/requests/issues/3950/timeline | null | completed | null | null | false | [
"You want to change to this:\r\n\r\n```python\r\nheaders = {\r\n\t'Accept': '*/*',\r\n\t'Content-Type': 'image/png'\r\n}\r\n\r\nfiles = { None: open('2.png', 'rb')}\r\nresponse = request.post('http://server', data = open('2.png', 'rb'), headers = headers)\r\n```"
] |
https://api.github.com/repos/psf/requests/issues/3949 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3949/labels{/name} | https://api.github.com/repos/psf/requests/issues/3949/comments | https://api.github.com/repos/psf/requests/issues/3949/events | https://github.com/psf/requests/issues/3949 | 218,694,033 | MDU6SXNzdWUyMTg2OTQwMzM= | 3,949 | Redirection behaviour not consistent between Python2 & 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7995100?v=4",
"events_url": "https://api.github.com/users/BastiTee/events{/privacy}",
"followers_url": "https://api.github.com/users/BastiTee/followers",
"following_url": "https://api.github.com/users/BastiTee/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2017-04-01T12:54:05Z | 2021-09-08T11:00:37Z | 2017-04-01T15:58:16Z | NONE | resolved | Hi there,
consider this minimal test:
```
from requests import exceptions, Session
url="http://ansgar-skoda.tumblr.com/post/96703389502"
try:
s = Session()
r = s.get(url)
except exceptions.TooManyRedirects as t:
print('ERROR: {}'.format(t))
r = s.get(url, allow_redirects=False)
print(... | {
"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/3949/reactions"
} | https://api.github.com/repos/psf/requests/issues/3949/timeline | null | completed | null | null | false | [
"Hey @BastiTee, thanks for taking the time to open this. The reason you're seeing this work in Python 2 vs Python 3 is the character encoding used. It also appears to be a dupe of #3888 but that puts more weight towards addressing this.\r\n\r\nSince Python 2 has bytes as the default representation for strings, we'r... |
https://api.github.com/repos/psf/requests/issues/3948 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3948/labels{/name} | https://api.github.com/repos/psf/requests/issues/3948/comments | https://api.github.com/repos/psf/requests/issues/3948/events | https://github.com/psf/requests/issues/3948 | 218,477,170 | MDU6SXNzdWUyMTg0NzcxNzA= | 3,948 | Requests not working in a Docker container | {
"avatar_url": "https://avatars.githubusercontent.com/u/12761574?v=4",
"events_url": "https://api.github.com/users/javixeneize/events{/privacy}",
"followers_url": "https://api.github.com/users/javixeneize/followers",
"following_url": "https://api.github.com/users/javixeneize/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 42 | 2017-03-31T11:38:41Z | 2021-11-03T19:00:30Z | 2017-07-29T23:36:00Z | NONE | resolved | Hi
Thats the old story about SSL not working with requests, but one step further.... Docker containers
I have an application that uses requests, and it works fine in my local machine, but, when deploying it in a Docker container, i am having an error with requests module (SSL error)
[2017-03-31 11:32:29,863]... | {
"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/3948/reactions"
} | https://api.github.com/repos/psf/requests/issues/3948/timeline | null | completed | null | null | false | [
"Can you run `openssl version` in your container?",
"This can also very definitely be related to the Python version, we'd like to know that as well.",
"Hi\r\n\r\nPython 2.7 (12)\r\nOpenssl 1.0.2g\r\n\r\nThanks",
"Are you running the same version of Requests in the container and outside? What are the two versi... |
https://api.github.com/repos/psf/requests/issues/3947 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3947/labels{/name} | https://api.github.com/repos/psf/requests/issues/3947/comments | https://api.github.com/repos/psf/requests/issues/3947/events | https://github.com/psf/requests/issues/3947 | 218,384,941 | MDU6SXNzdWUyMTgzODQ5NDE= | 3,947 | `datetime.datetime() is not JSON serializable` error | {
"avatar_url": "https://avatars.githubusercontent.com/u/18148490?v=4",
"events_url": "https://api.github.com/users/paultiplady/events{/privacy}",
"followers_url": "https://api.github.com/users/paultiplady/followers",
"following_url": "https://api.github.com/users/paultiplady/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2017-03-31T03:00:56Z | 2021-09-08T11:00:36Z | 2017-04-02T00:16:03Z | NONE | resolved | If I do a `request()` with JSON containing unserializable types, an exception is raised from the `json` module.
e.g. `requests.post('http://example.com', json={'time': datetime.datetime.now()})`
https://github.com/kennethreitz/requests/issues/1380 looks vaguely related, but doesn't directly cover this.
https:/... | {
"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/3947/reactions"
} | https://api.github.com/repos/psf/requests/issues/3947/timeline | null | completed | null | null | false | [
"So, we absolutely can do that, but ultimately I'm not sure that the value proposition is worth it. In 99% of use-cases the JSON argument literally only does `json.dumps` and then sets the `Content-Type` header to `application/json`. If you're not setting the JSON field *and* some other fields, you can totally repl... |
https://api.github.com/repos/psf/requests/issues/3946 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3946/labels{/name} | https://api.github.com/repos/psf/requests/issues/3946/comments | https://api.github.com/repos/psf/requests/issues/3946/events | https://github.com/psf/requests/issues/3946 | 218,329,135 | MDU6SXNzdWUyMTgzMjkxMzU= | 3,946 | requests takes a half-second to import | {
"avatar_url": "https://avatars.githubusercontent.com/u/620295?v=4",
"events_url": "https://api.github.com/users/ktdreyer/events{/privacy}",
"followers_url": "https://api.github.com/users/ktdreyer/followers",
"following_url": "https://api.github.com/users/ktdreyer/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2017-03-30T21:10:30Z | 2021-09-08T11:00:37Z | 2017-03-30T23:13:21Z | NONE | resolved | I noticed it was taking a half-second just to run `--help` for my app, and narrowed it down to requests 2.12.0 taking a long time to load.
I'm on Python 2.7.13, Fedora 25.
Here is the 2.12 series:
```
$ pip install requests==2.12.0
$ time python -c 'import requests'
real 0m0.487s
user 0m0.445s
sys 0m0.040s
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/620295?v=4",
"events_url": "https://api.github.com/users/ktdreyer/events{/privacy}",
"followers_url": "https://api.github.com/users/ktdreyer/followers",
"following_url": "https://api.github.com/users/ktdreyer/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/3946/reactions"
} | https://api.github.com/repos/psf/requests/issues/3946/timeline | null | completed | null | null | false | [
"Can you show us the output of `pip freeze`? Does this happen when the *only* change you make is what Requests version is installed?",
"Oh, never mind, I know what this is: this is due to the idna library we vendored in that release. Does this slowness apply up to the current 2.13 release?",
"Thanks for the poi... |
https://api.github.com/repos/psf/requests/issues/3945 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3945/labels{/name} | https://api.github.com/repos/psf/requests/issues/3945/comments | https://api.github.com/repos/psf/requests/issues/3945/events | https://github.com/psf/requests/issues/3945 | 218,265,882 | MDU6SXNzdWUyMTgyNjU4ODI= | 3,945 | response.iter_lines(decode_unicode=True) sometimes returns bytestrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/26739?v=4",
"events_url": "https://api.github.com/users/peterbe/events{/privacy}",
"followers_url": "https://api.github.com/users/peterbe/followers",
"following_url": "https://api.github.com/users/peterbe/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2017-03-30T17:11:22Z | 2021-09-08T11:00:37Z | 2017-03-30T17:25:04Z | NONE | resolved | ```python
response = requests.get('https://s3-us-west-2.amazonaws.com/org.mozilla.crash-stats.symbols-public/v1/wntdll.pdb/D74F79EB1F8D4A45ABCD2F476CCABACC2/wntdll.sym', stream=True)
for line in response.iter_lines(decode_unicode=True):
print(type(line), repr(line[:50]))
break
response = requests.get('ht... | {
"avatar_url": "https://avatars.githubusercontent.com/u/26739?v=4",
"events_url": "https://api.github.com/users/peterbe/events{/privacy}",
"followers_url": "https://api.github.com/users/peterbe/followers",
"following_url": "https://api.github.com/users/peterbe/following{/other_user}",
"gists_url": "https://a... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3945/reactions"
} | https://api.github.com/repos/psf/requests/issues/3945/timeline | null | completed | null | null | false | [
"Actually, I think it's `iter_content`, not `iter_lines` specifically. \r\n```python\r\nresponse = requests.get('https://s3-us-west-2.amazonaws.com/org.mozilla.crash-stats.symbols-public/v1/wntdll.pdb/D74F79EB1F8D4A45ABCD2F476CCABACC2/wntdll.sym', stream=True)\r\nfor chunk in response.iter_content(100, decode_unico... |
https://api.github.com/repos/psf/requests/issues/3944 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3944/labels{/name} | https://api.github.com/repos/psf/requests/issues/3944/comments | https://api.github.com/repos/psf/requests/issues/3944/events | https://github.com/psf/requests/issues/3944 | 218,113,581 | MDU6SXNzdWUyMTgxMTM1ODE= | 3,944 | Insert list of data into POST request | {
"avatar_url": "https://avatars.githubusercontent.com/u/13488059?v=4",
"events_url": "https://api.github.com/users/MaxOvcharov/events{/privacy}",
"followers_url": "https://api.github.com/users/MaxOvcharov/followers",
"following_url": "https://api.github.com/users/MaxOvcharov/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2017-03-30T08:06:48Z | 2021-09-08T11:00:38Z | 2017-03-30T08:10:48Z | NONE | resolved | Hi, I try to insert list of data into body of my POST request. Example from documentation:
```
POST https://apidata.mos.ru/v1/datasets
[ "Id", "Caption", "SefUrl"]
```
Result:
`[ { "Id": 1147, "Caption": "Электронная нотная библиотека города Москвы", "SefUrl": "7719028495-elektronnaya-notnaya-biblioteka-goroda-... | {
"avatar_url": "https://avatars.githubusercontent.com/u/13488059?v=4",
"events_url": "https://api.github.com/users/MaxOvcharov/events{/privacy}",
"followers_url": "https://api.github.com/users/MaxOvcharov/followers",
"following_url": "https://api.github.com/users/MaxOvcharov/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/3944/reactions"
} | https://api.github.com/repos/psf/requests/issues/3944/timeline | null | completed | null | null | false | [
"It looks like your API is expecting you to post JSON. Try simplifying your code to this:\r\n\r\n```python\r\nimport pprint\r\nimport requests\r\nfrom requests import Session, Request\r\n\r\nmethod = 'datasets'\r\ndata_list = [\"Id\", \"Caption\", \"SefUrl\"']\r\ns = Session()\r\nresponse = requests.post('https://a... |
https://api.github.com/repos/psf/requests/issues/3943 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3943/labels{/name} | https://api.github.com/repos/psf/requests/issues/3943/comments | https://api.github.com/repos/psf/requests/issues/3943/events | https://github.com/psf/requests/pull/3943 | 217,919,936 | MDExOlB1bGxSZXF1ZXN0MTEzMjI5ODU1 | 3,943 | HTTPAdapter.send() timeout defaults | {
"avatar_url": "https://avatars.githubusercontent.com/u/6097948?v=4",
"events_url": "https://api.github.com/users/leo-b/events{/privacy}",
"followers_url": "https://api.github.com/users/leo-b/followers",
"following_url": "https://api.github.com/users/leo-b/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 3 | 2017-03-29T15:42:47Z | 2021-09-06T00:07:05Z | 2017-04-03T15:45:12Z | CONTRIBUTOR | resolved | This PR allows to use urllib3 ``Timeout`` objects as ``timeout`` argument in ``HTTPAdapter.send()``.
Besides it omits the ``timeout`` argument when calling ``conn.urlopen()`` if ``HTTPAdapter.send()`` is called without a timeout. This allows setting a default timeout at connection pool level:
`adapter.poolmanager.c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3943/reactions"
} | https://api.github.com/repos/psf/requests/issues/3943/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3943.diff",
"html_url": "https://github.com/psf/requests/pull/3943",
"merged_at": "2017-04-03T15:45:12Z",
"patch_url": "https://github.com/psf/requests/pull/3943.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3943"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3943?src=pr&el=h1) Report\n> Merging [#3943](https://codecov.io/gh/kennethreitz/requests/pull/3943?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/993cbf57419fca7562ff0990df1bd32f748a9bfe?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/3942 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3942/labels{/name} | https://api.github.com/repos/psf/requests/issues/3942/comments | https://api.github.com/repos/psf/requests/issues/3942/events | https://github.com/psf/requests/issues/3942 | 217,364,864 | MDU6SXNzdWUyMTczNjQ4NjQ= | 3,942 | requests.put redirect from http to https doesn't forward JSON payload | {
"avatar_url": "https://avatars.githubusercontent.com/u/21244569?v=4",
"events_url": "https://api.github.com/users/colekas-csc/events{/privacy}",
"followers_url": "https://api.github.com/users/colekas-csc/followers",
"following_url": "https://api.github.com/users/colekas-csc/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2017-03-27T20:26:25Z | 2021-09-08T11:00:39Z | 2017-03-27T21:27:30Z | NONE | resolved | Python version - 2.7.12
Requests version - 2.13.0
I was incorrectly hitting an internal server with an put http request versus an https and the json=<blah> blob doesn't appear to be passed through. The headers and params keys do appear to be passed through.
| {
"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/3942/reactions"
} | https://api.github.com/repos/psf/requests/issues/3942/timeline | null | completed | null | null | false | [
"Hey @colekas-csc, this is intended functionality in Requests 2.13.0. When Requests receives a redirect, it strips the payload to prevent unintentional transfer of information to the wrong server. We're a tad overzealous with this right now which is why this behavior will be modified in 3.0.0, but for now we must m... |
https://api.github.com/repos/psf/requests/issues/3941 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3941/labels{/name} | https://api.github.com/repos/psf/requests/issues/3941/comments | https://api.github.com/repos/psf/requests/issues/3941/events | https://github.com/psf/requests/issues/3941 | 217,174,342 | MDU6SXNzdWUyMTcxNzQzNDI= | 3,941 | request with allow_redirect use the wrong Host in Headers ( setting the Host in headers) | {
"avatar_url": "https://avatars.githubusercontent.com/u/3280855?v=4",
"events_url": "https://api.github.com/users/JeffXue/events{/privacy}",
"followers_url": "https://api.github.com/users/JeffXue/followers",
"following_url": "https://api.github.com/users/JeffXue/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2017-03-27T08:43:08Z | 2021-09-08T11:00:39Z | 2017-03-27T10:02:07Z | NONE | resolved | send a request with allow_redirect=true and set the Host, but auto redirect the 302 response will use the wrong Host in Headers
```
s = requests.session()
url = 'https://sso.jeffxue.com/login'
headers.update({'Host', 'sso.jeffxue.com'})
datas = {'username': 'xxxx', 'password': 'xxxxx', service: 'web'}
cookies = ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3941/reactions"
} | https://api.github.com/repos/psf/requests/issues/3941/timeline | null | completed | null | null | false | [
"Yes, this is intended behaviour.\r\n\r\nRequests assumes that if you set the host header yourself then you know better than us, and that you want us to use what you set. You will get the behaviour you want by just not setting the host header.\r\n\r\nOther headers you should not set are: Content-Length, Accept-Enco... |
https://api.github.com/repos/psf/requests/issues/3940 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3940/labels{/name} | https://api.github.com/repos/psf/requests/issues/3940/comments | https://api.github.com/repos/psf/requests/issues/3940/events | https://github.com/psf/requests/issues/3940 | 216,996,721 | MDU6SXNzdWUyMTY5OTY3MjE= | 3,940 | Disabling SSL verification at application level | {
"avatar_url": "https://avatars.githubusercontent.com/u/13354131?v=4",
"events_url": "https://api.github.com/users/rnagpal/events{/privacy}",
"followers_url": "https://api.github.com/users/rnagpal/followers",
"following_url": "https://api.github.com/users/rnagpal/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 4 | 2017-03-25T19:11:24Z | 2021-09-08T11:00:39Z | 2017-03-25T19:16:08Z | NONE | resolved | Is there a way to disable SSL verification at my application level?
I'm using the requests module which allows be to disable it per request level(by setting verify to false) but I wanted to way to disable for all requests. I'm running my tests against my local emulator, so I don't need that check and hence want to ... | {
"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/3940/reactions"
} | https://api.github.com/repos/psf/requests/issues/3940/timeline | null | completed | null | null | false | [
"Thanks for reaching out!\r\n\r\nThere is no way to do this, no. This is quite deliberate: such a setting is what I'd call an \"attractive nuisance\". Put another way, it's a setting that users are likely to attempt to use rather than solving the problem they have. Worse, it's a setting that is easily enabled and t... |
https://api.github.com/repos/psf/requests/issues/3939 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3939/labels{/name} | https://api.github.com/repos/psf/requests/issues/3939/comments | https://api.github.com/repos/psf/requests/issues/3939/events | https://github.com/psf/requests/issues/3939 | 216,629,503 | MDU6SXNzdWUyMTY2Mjk1MDM= | 3,939 | requests.exceptions.SSLError: (\"bad handshake: SysCallError(-1, 'Unexpected EOF') | {
"avatar_url": "https://avatars.githubusercontent.com/u/15217582?v=4",
"events_url": "https://api.github.com/users/a-sharma11/events{/privacy}",
"followers_url": "https://api.github.com/users/a-sharma11/followers",
"following_url": "https://api.github.com/users/a-sharma11/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 7 | 2017-03-24T02:45:45Z | 2021-09-08T11:00:39Z | 2017-03-24T12:25:37Z | NONE | resolved | i have a flask application that need to get some data from other web endpoints. I am getting this error when trying to make a get call using requests
Note - This only happens when running with uWSGI. if i run flask app directly, it works fine.
```
"SSLError(SSLError(SSLError(\"bad handshake: SysCallError(-1, 'Unexpect... | {
"avatar_url": "https://avatars.githubusercontent.com/u/15217582?v=4",
"events_url": "https://api.github.com/users/a-sharma11/events{/privacy}",
"followers_url": "https://api.github.com/users/a-sharma11/followers",
"following_url": "https://api.github.com/users/a-sharma11/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/3939/reactions"
} | https://api.github.com/repos/psf/requests/issues/3939/timeline | null | completed | null | null | false | [
"Some more context here:\r\nI have two docker containers here. 1st one is running a python flask app and the other one is a nodejs express server. They both talk to each other via docker linking. This worked great until i added uwsgi layer to my flask container.",
"I'm not a major contributor, but some advice for... |
https://api.github.com/repos/psf/requests/issues/3938 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3938/labels{/name} | https://api.github.com/repos/psf/requests/issues/3938/comments | https://api.github.com/repos/psf/requests/issues/3938/events | https://github.com/psf/requests/issues/3938 | 216,443,149 | MDU6SXNzdWUyMTY0NDMxNDk= | 3,938 | zeep lib bad handshake error | {
"avatar_url": "https://avatars.githubusercontent.com/u/13488059?v=4",
"events_url": "https://api.github.com/users/MaxOvcharov/events{/privacy}",
"followers_url": "https://api.github.com/users/MaxOvcharov/followers",
"following_url": "https://api.github.com/users/MaxOvcharov/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 31 | 2017-03-23T14:19:14Z | 2021-09-08T11:00:40Z | 2017-03-23T14:24:29Z | NONE | resolved | I try to create SOAP client using zeep lilb
```
import os
from zeep import Client
from zeep.wsse.signature import Signature
key_filename = "/etc/ssl/certs/cert.key.pem"
cert_filename = "/etc/ssl/certs/cert.crt.pem"
client = Client('https://37.230.149.6:10004/emias-soap-service/PGUServicesInfo2?wsdl', wsse=Si... | {
"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/3938/reactions"
} | https://api.github.com/repos/psf/requests/issues/3938/timeline | null | completed | null | null | false | [
"I also try something like this:\r\n```\r\nimport os\r\nfrom requests import Session\r\nfrom zeep import Client\r\nfrom zeep.transports import Transport\r\nfrom zeep.wsse.signature import Signature\r\n\r\nkey_filename = \"/etc/ssl/certs/cert.key.pem\"\r\ncert_filename = \"/etc/ssl/certs/cert.crt.pem\"\r\n\r\nsessio... |
https://api.github.com/repos/psf/requests/issues/3937 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3937/labels{/name} | https://api.github.com/repos/psf/requests/issues/3937/comments | https://api.github.com/repos/psf/requests/issues/3937/events | https://github.com/psf/requests/pull/3937 | 216,410,767 | MDExOlB1bGxSZXF1ZXN0MTEyMjI1ODM2 | 3,937 | [RFC] Add debugging submodule for bug reporters | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 4 | 2017-03-23T12:25:33Z | 2021-09-06T00:06:51Z | 2017-05-27T20:45:43Z | CONTRIBUTOR | resolved | The suggested usage in a bug report would be
python -c 'from requests import _bug; _bug.print_information()'
This should generate most of the information we tend to ask for
repeatedly from bug reporters.
----
**Note** This is merely a POC and an idea I had this morning. I've done similar things in othe... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3937/reactions"
} | https://api.github.com/repos/psf/requests/issues/3937/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3937.diff",
"html_url": "https://github.com/psf/requests/pull/3937",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3937.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3937"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3937?src=pr&el=h1) Report\n> Merging [#3937](https://codecov.io/gh/kennethreitz/requests/pull/3937?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/a44284c045b43d728c2a07d4f0a064bf8714f4af?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/3936 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3936/labels{/name} | https://api.github.com/repos/psf/requests/issues/3936/comments | https://api.github.com/repos/psf/requests/issues/3936/events | https://github.com/psf/requests/issues/3936 | 216,266,303 | MDU6SXNzdWUyMTYyNjYzMDM= | 3,936 | Prevent unicode escape in json | {
"avatar_url": "https://avatars.githubusercontent.com/u/3183314?v=4",
"events_url": "https://api.github.com/users/hrchu/events{/privacy}",
"followers_url": "https://api.github.com/users/hrchu/followers",
"following_url": "https://api.github.com/users/hrchu/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 1 | 2017-03-23T02:07:59Z | 2021-09-08T11:00:40Z | 2017-03-23T08:33:24Z | NONE | resolved | ``` requests.post(url, json=payload)``` always transforms non-ascii chars in the forms of unicode escape , i.e., \uXXXX since the parameter ensure_ascii in```json.dump() ``` is True in default. It is inconvenient for global/non-ascii users, since the receiver have to de-escape it again. It will be better if requests c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3936/reactions"
} | https://api.github.com/repos/psf/requests/issues/3936/timeline | null | completed | null | null | false | [
"JSON with escaped characters is supposed to be identical to JSON without escaped characters. There is no *general* reason to provide an escape hatch to avoid encoding, as it will only bust services that are not properly handling the JSON.\r\n\r\nThat said, the solution to fixing this is very easy:\r\n\r\n```python... |
https://api.github.com/repos/psf/requests/issues/3935 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3935/labels{/name} | https://api.github.com/repos/psf/requests/issues/3935/comments | https://api.github.com/repos/psf/requests/issues/3935/events | https://github.com/psf/requests/issues/3935 | 216,140,508 | MDU6SXNzdWUyMTYxNDA1MDg= | 3,935 | Requests and Let's Encrypt Certificates | {
"avatar_url": "https://avatars.githubusercontent.com/u/16190582?v=4",
"events_url": "https://api.github.com/users/MonsterDeveloper/events{/privacy}",
"followers_url": "https://api.github.com/users/MonsterDeveloper/followers",
"following_url": "https://api.github.com/users/MonsterDeveloper/following{/other_use... | [] | closed | true | null | [] | null | 13 | 2017-03-22T17:04:29Z | 2021-09-08T08:00:30Z | 2017-07-29T23:37:09Z | NONE | resolved | While using Requests, I noticed strange thing: Requests doesn't accept Let's Encrypt Certificates. Only with `verify=False` library doesn't raise an exception (tested on my https Tornado server). Maybe add Let's Encrypt Authority X3 to Requests' CA?
| {
"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/3935/reactions"
} | https://api.github.com/repos/psf/requests/issues/3935/timeline | null | completed | null | null | false | [
"works fine for me!",
"tested against httpbin.org",
"Httpbin use lets encrypt?",
"I have issue like https://github.com/kennethreitz/requests/issues/2955 ",
"@MonsterDeveloper If you have an issue like #2955, have you tried examining the solution provided there? Can you tell me what server you're having trou... |
https://api.github.com/repos/psf/requests/issues/3934 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3934/labels{/name} | https://api.github.com/repos/psf/requests/issues/3934/comments | https://api.github.com/repos/psf/requests/issues/3934/events | https://github.com/psf/requests/issues/3934 | 216,074,783 | MDU6SXNzdWUyMTYwNzQ3ODM= | 3,934 | verify=/path/to/root/certs ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/5101589?v=4",
"events_url": "https://api.github.com/users/mahescho/events{/privacy}",
"followers_url": "https://api.github.com/users/mahescho/followers",
"following_url": "https://api.github.com/users/mahescho/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2017-03-22T14:05:56Z | 2021-09-08T11:00:41Z | 2017-03-22T14:08:21Z | NONE | resolved | I use:
requests.get(URL,verify=/path/to/root/certs
in /path/to/root/certs are some certificates and hashes:
lrwxrwxrwx 1 root root 10 Mär 22 14:43 3104f96d.0 -> cert-2.pem
lrwxrwxrwx 1 root root 10 Mär 22 14:43 33815e15.0 -> cert-1.pem
lrwxrwxrwx 1 root root 10 Mär 22 14:43 738ed572.0 -> 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/3934/reactions"
} | https://api.github.com/repos/psf/requests/issues/3934/timeline | null | completed | null | null | false | [
"Requests 2.4 does not support openssl certificate directories: only single files. You'd need to cat all those files into a single file and use that. That limitation was lifted in 2.9. Please upgrade Requests. :smile:",
"Thanks, pip install requests --upgrade solved the Issue."
] |
https://api.github.com/repos/psf/requests/issues/3933 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3933/labels{/name} | https://api.github.com/repos/psf/requests/issues/3933/comments | https://api.github.com/repos/psf/requests/issues/3933/events | https://github.com/psf/requests/issues/3933 | 215,854,749 | MDU6SXNzdWUyMTU4NTQ3NDk= | 3,933 | [Tracking] slow leak in latest requests with https connections | {
"avatar_url": "https://avatars.githubusercontent.com/u/4001789?v=4",
"events_url": "https://api.github.com/users/thehesiod/events{/privacy}",
"followers_url": "https://api.github.com/users/thehesiod/followers",
"following_url": "https://api.github.com/users/thehesiod/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 15 | 2017-03-21T19:38:22Z | 2021-09-08T02:09:59Z | 2017-04-12T00:41:55Z | NONE | resolved | This seems unrelated to https://github.com/kennethreitz/requests/issues/1685 as this is specific to https connections and I'm specifically closing the session and response connections.
I've spent a few days investigating a memory leak we've seen with the requests module and narrowed it down to three issues:
1) wh... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4001789?v=4",
"events_url": "https://api.github.com/users/thehesiod/events{/privacy}",
"followers_url": "https://api.github.com/users/thehesiod/followers",
"following_url": "https://api.github.com/users/thehesiod/following{/other_user}",
"gists_url": "h... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3933/reactions"
} | https://api.github.com/repos/psf/requests/issues/3933/timeline | null | completed | null | null | false | [
"Thanks for this report! It's very detailed, which is a good start. I'd like to confirm some things:\r\n\r\n1. You used 3.5.2 and 3.5.3, with libssl 1.0.1 and 1.1.0 respectively. You said, however, that \"upgrading libssl didn't fix the problem\". Did that mean just moving to the latest libssl in those releases, or... |
https://api.github.com/repos/psf/requests/issues/3932 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3932/labels{/name} | https://api.github.com/repos/psf/requests/issues/3932/comments | https://api.github.com/repos/psf/requests/issues/3932/events | https://github.com/psf/requests/issues/3932 | 215,754,690 | MDU6SXNzdWUyMTU3NTQ2OTA= | 3,932 | ConnectionError not handled by requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/1035294?v=4",
"events_url": "https://api.github.com/users/fabiocaccamo/events{/privacy}",
"followers_url": "https://api.github.com/users/fabiocaccamo/followers",
"following_url": "https://api.github.com/users/fabiocaccamo/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 1 | 2017-03-21T14:17:41Z | 2021-09-08T11:00:41Z | 2017-03-21T14:27:51Z | NONE | resolved | **ConnectionError not handled by requests
('Connection aborted.', gaierror(-2, 'Name or service not known'))**
This happened when I tried to load an image from an old tumblr url:
```
url = 'http://41.media.tumblr.com/facde6697dff1c78fcfadbc653a8a295/tumblr_mlc3qpepqL1son6j8o1_1280.jpg'
r = requests.get(url, st... | {
"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/3932/reactions"
} | https://api.github.com/repos/psf/requests/issues/3932/timeline | null | completed | null | null | false | [
"Why? There is no response to get there. It doesn't 404, it's returning NXDOMAIN on the DNS lookup. This is entirely expected behaviour."
] |
https://api.github.com/repos/psf/requests/issues/3931 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3931/labels{/name} | https://api.github.com/repos/psf/requests/issues/3931/comments | https://api.github.com/repos/psf/requests/issues/3931/events | https://github.com/psf/requests/issues/3931 | 215,537,110 | MDU6SXNzdWUyMTU1MzcxMTA= | 3,931 | idea - `Response.response_flow` or `Response.response_chain` convenience method | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2017-03-20T19:57:00Z | 2021-09-08T11:00:41Z | 2017-03-21T08:04:52Z | CONTRIBUTOR | resolved | We consume a lot of URL shorteners and redirects. Unlike many requests users, we care about the entire journey -- not just the destination. The current API makes it slightly inconvenient to iterate over the responses in order when needed.
I often end up using a function that does the following, and wanted to sugge... | {
"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/3931/reactions"
} | https://api.github.com/repos/psf/requests/issues/3931/timeline | null | completed | null | null | false | [
"So, my initial inclination is to say that this isn't likely to get in. Our general rule is that a feature request must meet at least two of the following criteria:\r\n\r\n1. Be generally useful: that is, be valuable for a large number of our users. \r\n2. Be complex or subtle to implement, in such a way that will ... |
https://api.github.com/repos/psf/requests/issues/3930 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3930/labels{/name} | https://api.github.com/repos/psf/requests/issues/3930/comments | https://api.github.com/repos/psf/requests/issues/3930/events | https://github.com/psf/requests/issues/3930 | 215,436,763 | MDU6SXNzdWUyMTU0MzY3NjM= | 3,930 | "stati" should be "statuses" | {
"avatar_url": "https://avatars.githubusercontent.com/u/2923742?v=4",
"events_url": "https://api.github.com/users/marthjod/events{/privacy}",
"followers_url": "https://api.github.com/users/marthjod/followers",
"following_url": "https://api.github.com/users/marthjod/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2017-03-20T14:25:51Z | 2021-09-08T11:00:42Z | 2017-03-20T14:36:12Z | NONE | resolved | "stati" is not a word. Plural of "status" is "statuses" (`REDIRECT_STATI` etc.). | {
"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/3930/reactions"
} | https://api.github.com/repos/psf/requests/issues/3930/timeline | null | completed | null | null | false | [
"It's a purely internal name that is not intended to be used by others, so what it's called really doesn't matter. It could be called `MY_FAVOURITE_NUMBERS` and that would be fine. However, if it helps, I'll let you know that the person who wrote the original code knew that \"stati\" is not a word: it was intended ... |
https://api.github.com/repos/psf/requests/issues/3929 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3929/labels{/name} | https://api.github.com/repos/psf/requests/issues/3929/comments | https://api.github.com/repos/psf/requests/issues/3929/events | https://github.com/psf/requests/issues/3929 | 215,269,887 | MDU6SXNzdWUyMTUyNjk4ODc= | 3,929 | Don't override `Authorization` header when contents are bearer token (or any other token) | {
"avatar_url": "https://avatars.githubusercontent.com/u/3877688?v=4",
"events_url": "https://api.github.com/users/tomvlk/events{/privacy}",
"followers_url": "https://api.github.com/users/tomvlk/followers",
"following_url": "https://api.github.com/users/tomvlk/following{/other_user}",
"gists_url": "https://ap... | [] | open | true | null | [] | null | 20 | 2017-03-19T15:03:38Z | 2024-02-01T00:57:03Z | null | NONE | null | I found out that the requests lib is overriding the authorization header when a netrc file is in place, which is awesome. But in some cases you won't want this at all, and is a design flaw imo.
For example you use a bearer token, it gets replaced by the user/password from netrc.
Also see the issue here: https://g... | null | {
"+1": 7,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/psf/requests/issues/3929/reactions"
} | https://api.github.com/repos/psf/requests/issues/3929/timeline | null | null | null | null | false | [
"This behaviour can be overridden by [`trust_env`](http://docs.python-requests.org/en/master/api/#requests.Session.trust_env), which allows you to instruct Requests to ignore the `.netrc` file. Is that sufficient for your purposes?",
"Well, if you look at the issue of the social auth library, you may see that it'... |
https://api.github.com/repos/psf/requests/issues/3928 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3928/labels{/name} | https://api.github.com/repos/psf/requests/issues/3928/comments | https://api.github.com/repos/psf/requests/issues/3928/events | https://github.com/psf/requests/issues/3928 | 215,247,997 | MDU6SXNzdWUyMTUyNDc5OTc= | 3,928 | Drop 2.6 support | {
"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": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "e102d8",
"default": false,
"description": null... | closed | true | null | [] | null | 6 | 2017-03-19T07:54:02Z | 2021-09-08T08:00:33Z | 2017-07-27T14:57:27Z | MEMBER | resolved | Our main dependent that still supports 2.6, pip, has just dropped support (pypa/pip#4343). We are now free to do the same. | {
"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": 10,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 2,
"laugh": 0,
"rocket": 0,
"total_count": 12,
"url": "https://api.github.com/repos/psf/requests/issues/3928/reactions"
} | https://api.github.com/repos/psf/requests/issues/3928/timeline | null | completed | null | null | false | [
"let's do this in 3.0. ",
"@kennethreitz perfectly reasonable to do it with 3.0",
"✨🍰✨",
"i think this is a bit of a political statement, but a good one. ",
"With #4118 merged into the 3.0.0 branch, I think we can consider this resolved. Python 2.6 support will be removed in that release. Thanks @hobarrera... |
https://api.github.com/repos/psf/requests/issues/3927 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3927/labels{/name} | https://api.github.com/repos/psf/requests/issues/3927/comments | https://api.github.com/repos/psf/requests/issues/3927/events | https://github.com/psf/requests/pull/3927 | 215,133,602 | MDExOlB1bGxSZXF1ZXN0MTExMzc0MTY4 | 3,927 | Raise IOError when providing an invalid path to a CA bundle or … | {
"avatar_url": "https://avatars.githubusercontent.com/u/11854690?v=4",
"events_url": "https://api.github.com/users/bagerard/events{/privacy}",
"followers_url": "https://api.github.com/users/bagerard/followers",
"following_url": "https://api.github.com/users/bagerard/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 5 | 2017-03-17T22:03:26Z | 2021-09-07T00:06:26Z | 2017-03-22T20:41:08Z | CONTRIBUTOR | resolved | Use IOError whenever invalid paths are used for ssl certificates (#3926) | {
"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/3927/reactions"
} | https://api.github.com/repos/psf/requests/issues/3927/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3927.diff",
"html_url": "https://github.com/psf/requests/pull/3927",
"merged_at": "2017-03-22T20:41:08Z",
"patch_url": "https://github.com/psf/requests/pull/3927.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3927"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3927?src=pr&el=h1) Report\n> Merging [#3927](https://codecov.io/gh/kennethreitz/requests/pull/3927?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/b60c5a5ed46d75c56e36db5a58a98a50d880141d?src=pr&el=desc) will **increase**... |
https://api.github.com/repos/psf/requests/issues/3926 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3926/labels{/name} | https://api.github.com/repos/psf/requests/issues/3926/comments | https://api.github.com/repos/psf/requests/issues/3926/events | https://github.com/psf/requests/issues/3926 | 215,124,213 | MDU6SXNzdWUyMTUxMjQyMTM= | 3,926 | SSLError raised when path to CA_BUNDLE is not valid could be more meaningful | {
"avatar_url": "https://avatars.githubusercontent.com/u/11854690?v=4",
"events_url": "https://api.github.com/users/bagerard/events{/privacy}",
"followers_url": "https://api.github.com/users/bagerard/followers",
"following_url": "https://api.github.com/users/bagerard/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2017-03-17T21:15:12Z | 2021-09-08T11:00:40Z | 2017-03-22T20:44:26Z | CONTRIBUTOR | resolved | Hi there,
First of all thanks for the requests library, it's just awesome!
In one of my project I was pulling 'verify' from a config file and passing it along every requests as an argument. Instead of receiving a boolean, it turned out that I was actually passing verify='true' to the requests methods, which makes req... | {
"avatar_url": "https://avatars.githubusercontent.com/u/11854690?v=4",
"events_url": "https://api.github.com/users/bagerard/events{/privacy}",
"followers_url": "https://api.github.com/users/bagerard/followers",
"following_url": "https://api.github.com/users/bagerard/following{/other_user}",
"gists_url": "htt... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3926/reactions"
} | https://api.github.com/repos/psf/requests/issues/3926/timeline | null | completed | null | null | false | [
"So, before you leap into this (which is a good idea), be aware that you need to be able to distinguish this case from when either of the paths given to the `cert` parameter are bad.",
"Thanks for the quick feedback, I'll take that into account"
] |
https://api.github.com/repos/psf/requests/issues/3925 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3925/labels{/name} | https://api.github.com/repos/psf/requests/issues/3925/comments | https://api.github.com/repos/psf/requests/issues/3925/events | https://github.com/psf/requests/issues/3925 | 214,749,059 | MDU6SXNzdWUyMTQ3NDkwNTk= | 3,925 | Streaming uploads for files | {
"avatar_url": "https://avatars.githubusercontent.com/u/160090?v=4",
"events_url": "https://api.github.com/users/sorenisanerd/events{/privacy}",
"followers_url": "https://api.github.com/users/sorenisanerd/followers",
"following_url": "https://api.github.com/users/sorenisanerd/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2017-03-16T15:45:39Z | 2021-09-08T11:00:42Z | 2017-03-16T16:08:32Z | NONE | resolved | It would be really nice if there was a way to do a multipart encoded file uploads without having to load all the files into memory before sending the request so that it could be streamed.
I'm pulling a large file from one place (using `requests.get(stream=True)`) and have to send it somewhere else as part of a multp... | {
"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/3925/reactions"
} | https://api.github.com/repos/psf/requests/issues/3925/timeline | null | completed | null | null | false | [
"Thanks for this! Handily, there is exactly such a thing: check out the requests-toolbelt's [`StreamingMultipartEncoder`](https://toolbelt.readthedocs.io/en/latest/uploading-data.html#streaming-multipart-data-encoder)."
] |
https://api.github.com/repos/psf/requests/issues/3924 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3924/labels{/name} | https://api.github.com/repos/psf/requests/issues/3924/comments | https://api.github.com/repos/psf/requests/issues/3924/events | https://github.com/psf/requests/issues/3924 | 214,302,235 | MDU6SXNzdWUyMTQzMDIyMzU= | 3,924 | requests.exceptions.ReadTimeout is raised whenever how long I set the timeout ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/11614773?v=4",
"events_url": "https://api.github.com/users/liuming-dev/events{/privacy}",
"followers_url": "https://api.github.com/users/liuming-dev/followers",
"following_url": "https://api.github.com/users/liuming-dev/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 12 | 2017-03-15T07:14:58Z | 2021-09-08T07:00:28Z | 2017-06-09T12:57:31Z | NONE | resolved | In my apllication, I got this exception:
```
[2017-03-15 14:45:06]: http://club.xywy.com/question/20160115/99407801.htm
Traceback (most recent call last):
File "C:\Program Files\Python\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File... | {
"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/3924/reactions"
} | https://api.github.com/repos/psf/requests/issues/3924/timeline | null | completed | null | null | false | [
"Right now it's very unclear. Can you please answer some of the questions from the contributing guide?\r\n\r\nWhat version of Requests do you have? What version of Python are you using? What other packages do you have installed? And can you provide a minimal example reproduction?",
"@Lukasa \r\nPython version: ``... |
https://api.github.com/repos/psf/requests/issues/3923 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3923/labels{/name} | https://api.github.com/repos/psf/requests/issues/3923/comments | https://api.github.com/repos/psf/requests/issues/3923/events | https://github.com/psf/requests/pull/3923 | 214,168,922 | MDExOlB1bGxSZXF1ZXN0MTEwNjkwNzk3 | 3,923 | Rebase #3745 and add some tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/5553380?v=4",
"events_url": "https://api.github.com/users/vbarbaresi/events{/privacy}",
"followers_url": "https://api.github.com/users/vbarbaresi/followers",
"following_url": "https://api.github.com/users/vbarbaresi/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 3 | 2017-03-14T18:41:10Z | 2021-09-05T00:07:17Z | 2017-03-16T09:53:04Z | NONE | resolved | 2 years after the original #2431, and after #3745
I encountered the strange behavior of `r.iter_lines()`, found this and tried to complete it.
Rebased once more and added more tests using the breakdown of @ianepperson https://github.com/kennethreitz/requests/pull/2431#issuecomment-72333964 | {
"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/3923/reactions"
} | https://api.github.com/repos/psf/requests/issues/3923/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3923.diff",
"html_url": "https://github.com/psf/requests/pull/3923",
"merged_at": "2017-03-16T09:53:04Z",
"patch_url": "https://github.com/psf/requests/pull/3923.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3923"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3923?src=pr&el=h1) Report\n> Merging [#3923](https://codecov.io/gh/kennethreitz/requests/pull/3923?src=pr&el=desc) into [proposed/3.0.0](https://codecov.io/gh/kennethreitz/requests/commit/84dc6b66daf3d864737a61bacf86a91b68408656?src=pr&el=desc) will **in... |
https://api.github.com/repos/psf/requests/issues/3922 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3922/labels{/name} | https://api.github.com/repos/psf/requests/issues/3922/comments | https://api.github.com/repos/psf/requests/issues/3922/events | https://github.com/psf/requests/pull/3922 | 214,103,595 | MDExOlB1bGxSZXF1ZXN0MTEwNjQzNDM2 | 3,922 | Change apostrophe placement in advanced.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/2491257?v=4",
"events_url": "https://api.github.com/users/bgschiller/events{/privacy}",
"followers_url": "https://api.github.com/users/bgschiller/followers",
"following_url": "https://api.github.com/users/bgschiller/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 4 | 2017-03-14T15:10:32Z | 2021-09-07T00:06:27Z | 2017-03-14T15:40:50Z | CONTRIBUTOR | resolved | See Rule2a on http://www.grammarbook.com/punctuation/apostro.asp | {
"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/3922/reactions"
} | https://api.github.com/repos/psf/requests/issues/3922/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3922.diff",
"html_url": "https://github.com/psf/requests/pull/3922",
"merged_at": "2017-03-14T15:40:50Z",
"patch_url": "https://github.com/psf/requests/pull/3922.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3922"
} | true | [
"Yup, this looks right. Thanks for the patch! :sparkles:",
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3922?src=pr&el=h1) Report\n> Merging [#3922](https://codecov.io/gh/kennethreitz/requests/pull/3922?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/29085e7d95915... |
https://api.github.com/repos/psf/requests/issues/3921 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3921/labels{/name} | https://api.github.com/repos/psf/requests/issues/3921/comments | https://api.github.com/repos/psf/requests/issues/3921/events | https://github.com/psf/requests/issues/3921 | 213,668,282 | MDU6SXNzdWUyMTM2NjgyODI= | 3,921 | Inconsistent document about parameter timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/2781994?v=4",
"events_url": "https://api.github.com/users/crindy646/events{/privacy}",
"followers_url": "https://api.github.com/users/crindy646/followers",
"following_url": "https://api.github.com/users/crindy646/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 0 | 2017-03-13T03:59:11Z | 2021-09-08T11:00:42Z | 2017-03-13T04:02:19Z | NONE | resolved | The quickstart document (http://docs.python-requests.org/en/master/user/quickstart/) states that "If no timeout is specified explicitly, requests do not time out.". However, this is not correct as I noticed automatic timeout if no timeout is specified. Besides, this information is inconsistent with the advanced documen... | {
"avatar_url": "https://avatars.githubusercontent.com/u/2781994?v=4",
"events_url": "https://api.github.com/users/crindy646/events{/privacy}",
"followers_url": "https://api.github.com/users/crindy646/followers",
"following_url": "https://api.github.com/users/crindy646/following{/other_user}",
"gists_url": "h... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3921/reactions"
} | https://api.github.com/repos/psf/requests/issues/3921/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/3920 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3920/labels{/name} | https://api.github.com/repos/psf/requests/issues/3920/comments | https://api.github.com/repos/psf/requests/issues/3920/events | https://github.com/psf/requests/pull/3920 | 212,955,033 | MDExOlB1bGxSZXF1ZXN0MTA5ODU0MDE2 | 3,920 | Update README.rst - add 'of' | {
"avatar_url": "https://avatars.githubusercontent.com/u/1449512?v=4",
"events_url": "https://api.github.com/users/dufferzafar/events{/privacy}",
"followers_url": "https://api.github.com/users/dufferzafar/followers",
"following_url": "https://api.github.com/users/dufferzafar/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-03-09T07:20:16Z | 2021-09-07T00:06:27Z | 2017-03-09T08:16:32Z | 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/3920/reactions"
} | https://api.github.com/repos/psf/requests/issues/3920/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3920.diff",
"html_url": "https://github.com/psf/requests/pull/3920",
"merged_at": "2017-03-09T08:16:32Z",
"patch_url": "https://github.com/psf/requests/pull/3920.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3920"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3920?src=pr&el=h1) Report\n> Merging [#3920](https://codecov.io/gh/kennethreitz/requests/pull/3920?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/c43fefa7ed535c41ba7d58021f0f16ed5ba1d584?src=pr&el=desc) will **not change... | |
https://api.github.com/repos/psf/requests/issues/3919 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3919/labels{/name} | https://api.github.com/repos/psf/requests/issues/3919/comments | https://api.github.com/repos/psf/requests/issues/3919/events | https://github.com/psf/requests/issues/3919 | 212,790,055 | MDU6SXNzdWUyMTI3OTAwNTU= | 3,919 | Failed to open a certain url | {
"avatar_url": "https://avatars.githubusercontent.com/u/15707017?v=4",
"events_url": "https://api.github.com/users/Sayalic0/events{/privacy}",
"followers_url": "https://api.github.com/users/Sayalic0/followers",
"following_url": "https://api.github.com/users/Sayalic0/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2017-03-08T16:46:54Z | 2021-09-08T11:00:44Z | 2017-03-08T16:59:25Z | NONE | resolved | I opened debug info for `requests` and request an URL:
import logging
import requests
from http.client import HTTPConnection
HTTPConnection.debuglevel = 1
logging.basicConfig()
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("requests.packages.urll... | {
"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/3919/reactions"
} | https://api.github.com/repos/psf/requests/issues/3919/timeline | null | completed | null | null | false | [
"This is an error in the standard library caused by a misbehaviour in their header parsing logic. The problem is gone in Python 3.6: I recommend you upgrade. :smile:",
"@Lukasa, are you sure this is fixed in 3.6? The redirect URL being passed back is encoded as utf-8 but we're decoding it as ISO-8859-1 which is w... |
https://api.github.com/repos/psf/requests/issues/3918 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3918/labels{/name} | https://api.github.com/repos/psf/requests/issues/3918/comments | https://api.github.com/repos/psf/requests/issues/3918/events | https://github.com/psf/requests/pull/3918 | 212,625,241 | MDExOlB1bGxSZXF1ZXN0MTA5NjE5NTIx | 3,918 | DefaultSelector fallback to less efficient methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/3293865?v=4",
"events_url": "https://api.github.com/users/programatix/events{/privacy}",
"followers_url": "https://api.github.com/users/programatix/followers",
"following_url": "https://api.github.com/users/programatix/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2017-03-08T03:07:14Z | 2021-09-07T00:06:27Z | 2017-03-08T08:29:14Z | NONE | resolved | Test the selector before making it the default selector. This is due to issue reported by myself at https://github.com/kennethreitz/requests/issues/3906 | {
"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/3918/reactions"
} | https://api.github.com/repos/psf/requests/issues/3918/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3918.diff",
"html_url": "https://github.com/psf/requests/pull/3918",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3918.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3918"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3918?src=pr&el=h1) Report\n> Merging [#3918](https://codecov.io/gh/kennethreitz/requests/pull/3918?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/c43fefa7ed535c41ba7d58021f0f16ed5ba1d584?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3917 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3917/labels{/name} | https://api.github.com/repos/psf/requests/issues/3917/comments | https://api.github.com/repos/psf/requests/issues/3917/events | https://github.com/psf/requests/issues/3917 | 212,620,832 | MDU6SXNzdWUyMTI2MjA4MzI= | 3,917 | Excessive calls to chardet.compat.wrap_ord() | {
"avatar_url": "https://avatars.githubusercontent.com/u/331198?v=4",
"events_url": "https://api.github.com/users/fazalmajid/events{/privacy}",
"followers_url": "https://api.github.com/users/fazalmajid/followers",
"following_url": "https://api.github.com/users/fazalmajid/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2017-03-08T02:33:49Z | 2021-09-08T11:00:43Z | 2017-03-08T08:38:25Z | NONE | resolved | I switched [Temboz](github.com/fazalmajid/temboz) from urllib2 to requests for better SSL compatibility with OpenSSL 1.1.0. In the process of running the yappi profiler to identify hot spots, I found 536 calls to `requests.get()` and one call to `requests.post()` generate a truly staggering 78,842,716 calls to the bun... | {
"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/3917/reactions"
} | https://api.github.com/repos/psf/requests/issues/3917/timeline | null | completed | null | null | false | [
"@fazalmajid So, we call into chardet when you ask us to give unicode data back, and the server hasn't given us an encoding to use. That is, if you call `response.text` and we don't know what encoding to use, we sample the data to try to work out what the correct encoding is.\r\n\r\nYou can circumvent this in two w... |
https://api.github.com/repos/psf/requests/issues/3916 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3916/labels{/name} | https://api.github.com/repos/psf/requests/issues/3916/comments | https://api.github.com/repos/psf/requests/issues/3916/events | https://github.com/psf/requests/issues/3916 | 212,604,758 | MDU6SXNzdWUyMTI2MDQ3NTg= | 3,916 | OS certificate bundles being ignored with Python 2.7 | {
"avatar_url": "https://avatars.githubusercontent.com/u/9018897?v=4",
"events_url": "https://api.github.com/users/jgallucci32/events{/privacy}",
"followers_url": "https://api.github.com/users/jgallucci32/followers",
"following_url": "https://api.github.com/users/jgallucci32/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2017-03-08T00:46:41Z | 2021-09-08T08:00:30Z | 2017-07-29T23:43:15Z | NONE | resolved | Currently we are using Ansible with Python 2.7 (2.7.5-34) and boto3 (1.4.4-1) to make calls against Eucalyptus using an HTTPS endpoint and some of their modules are failing with the requests modules with boto3 regarding SSL certificates. Here is the environment variables I have tried to set with no success
```
expor... | {
"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/3916/reactions"
} | https://api.github.com/repos/psf/requests/issues/3916/timeline | null | completed | null | null | false | [
"`REQUESTS_CA_BUNDLE` is a trust bundle we absolutely use. If you have that environment variable and use a simple `requests.get` to the server, does that work? If so, then presumably the calling code has set `trust_env` to `False`, or is explicitly passing a trust bundle that we obey instead of the environment vari... |
https://api.github.com/repos/psf/requests/issues/3915 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3915/labels{/name} | https://api.github.com/repos/psf/requests/issues/3915/comments | https://api.github.com/repos/psf/requests/issues/3915/events | https://github.com/psf/requests/issues/3915 | 212,482,524 | MDU6SXNzdWUyMTI0ODI1MjQ= | 3,915 | Requests follows 301 redirect on PROPFIND request, resubmits request without request body | {
"avatar_url": "https://avatars.githubusercontent.com/u/837573?v=4",
"events_url": "https://api.github.com/users/untitaker/events{/privacy}",
"followers_url": "https://api.github.com/users/untitaker/followers",
"following_url": "https://api.github.com/users/untitaker/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2017-03-07T16:20:10Z | 2021-09-08T12:00:47Z | 2017-03-07T16:35:37Z | CONTRIBUTOR | resolved | When submitting a `PROPFIND` request using requests, and the server redirects using 301, the request is resubmitted at the new URL without request payload, but with the same method (so not changing to `GET`). I am not sure if this behavior is intended. You appear to have a few pull requests to match browser behavior in... | {
"avatar_url": "https://avatars.githubusercontent.com/u/837573?v=4",
"events_url": "https://api.github.com/users/untitaker/events{/privacy}",
"followers_url": "https://api.github.com/users/untitaker/followers",
"following_url": "https://api.github.com/users/untitaker/following{/other_user}",
"gists_url": "ht... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3915/reactions"
} | https://api.github.com/repos/psf/requests/issues/3915/timeline | null | completed | null | null | false | [
"It appears that https://github.com/kennethreitz/requests/pull/3864 contains a relevant change:\r\n\r\n>Relax how Requests strips bodies from redirects. 3.0.0 only supports body removal on 301/302 POST redirects and all 303 redirects.",
"Closing this since it apparently works as intended, sorry for the noise."
] |
https://api.github.com/repos/psf/requests/issues/3914 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3914/labels{/name} | https://api.github.com/repos/psf/requests/issues/3914/comments | https://api.github.com/repos/psf/requests/issues/3914/events | https://github.com/psf/requests/issues/3914 | 212,454,767 | MDU6SXNzdWUyMTI0NTQ3Njc= | 3,914 | Checks for 'not six.PY3' instead of 'six.PY2' breaks python 4.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15009379?v=4",
"events_url": "https://api.github.com/users/stxlvt/events{/privacy}",
"followers_url": "https://api.github.com/users/stxlvt/followers",
"following_url": "https://api.github.com/users/stxlvt/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 6 | 2017-03-07T14:51:05Z | 2021-09-08T05:00:46Z | 2017-03-07T14:54:58Z | NONE | resolved | Multiple places in the source code there are checks involving six.PY3, like in [this example](https://github.com/kennethreitz/requests/blob/362da46e9a46da6e86e1907f03014384ab210151/requests/packages/urllib3/fields.py#L43):
if not six.PY3 and isinstance(value, six.text_type): # Python 2:
This will needlessly ... | {
"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/3914/reactions"
} | https://api.github.com/repos/psf/requests/issues/3914/timeline | null | completed | null | null | false | [
"There is absolutely no evidence to say that Python 4 is going to be a thing. The idea that Python rolls over the major version at '10' is not really founded on any evidence at all, and there are counter examples: for example, Python 2.7 did not become Python 2.8 when 2.7.10 was released.\r\n\r\nIn the absence for ... |
https://api.github.com/repos/psf/requests/issues/3913 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3913/labels{/name} | https://api.github.com/repos/psf/requests/issues/3913/comments | https://api.github.com/repos/psf/requests/issues/3913/events | https://github.com/psf/requests/pull/3913 | 212,374,996 | MDExOlB1bGxSZXF1ZXN0MTA5NDM3MzU4 | 3,913 | Add mention to list od tuples as data param. | {
"avatar_url": "https://avatars.githubusercontent.com/u/167327?v=4",
"events_url": "https://api.github.com/users/StyXman/events{/privacy}",
"followers_url": "https://api.github.com/users/StyXman/followers",
"following_url": "https://api.github.com/users/StyXman/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2017-03-07T09:27:19Z | 2021-09-07T00:06:28Z | 2017-03-07T09:43:27Z | CONTRIBUTOR | resolved | `requests.request` accepts list of tuples in the `data` param, but thereś no mention of it in the docs. | {
"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/3913/reactions"
} | https://api.github.com/repos/psf/requests/issues/3913/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3913.diff",
"html_url": "https://github.com/psf/requests/pull/3913",
"merged_at": "2017-03-07T09:43:27Z",
"patch_url": "https://github.com/psf/requests/pull/3913.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3913"
} | true | [
"Changed.",
"Cool, this looks good. I'll wait for the build to go green and merge. Thanks so much @StyXman! :sparkles:",
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3913?src=pr&el=h1) Report\n> Merging [#3913](https://codecov.io/gh/kennethreitz/requests/pull/3913?src=pr&el=desc) into [master](... |
https://api.github.com/repos/psf/requests/issues/3912 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3912/labels{/name} | https://api.github.com/repos/psf/requests/issues/3912/comments | https://api.github.com/repos/psf/requests/issues/3912/events | https://github.com/psf/requests/issues/3912 | 212,034,220 | MDU6SXNzdWUyMTIwMzQyMjA= | 3,912 | ResourceWarning: unclosed socket.socket when I run a unittest? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 8 | 2017-03-06T06:25:31Z | 2018-01-03T13:50:35Z | 2017-03-06T08:09:22Z | NONE | off-topic | requests show me following warning when I run a unittest:
```python
ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET,
type=SocketKind.SOCK_STREAM, proto=6, laddr=('219.82.68.148', 36006), raddr=('125.46.22.55', 80)>
```
But this warning won't happen if I don't run the code in a unitte... | {
"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/3912/reactions"
} | https://api.github.com/repos/psf/requests/issues/3912/timeline | null | completed | null | null | false | [
"This warning happens because Requests uses a keep-alive model that means we try not to explicitly close sockets in many cases. Exactly why this is happening is likely due to you either using a Session object that you don't explicitly close at the end of your test, or using an older version of Requests.",
"@Lukas... |
https://api.github.com/repos/psf/requests/issues/3911 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3911/labels{/name} | https://api.github.com/repos/psf/requests/issues/3911/comments | https://api.github.com/repos/psf/requests/issues/3911/events | https://github.com/psf/requests/pull/3911 | 212,030,540 | MDExOlB1bGxSZXF1ZXN0MTA5MTk0NDEy | 3,911 | Proposed/3.0.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/23723981?v=4",
"events_url": "https://api.github.com/users/ihhhzk/events{/privacy}",
"followers_url": "https://api.github.com/users/ihhhzk/followers",
"following_url": "https://api.github.com/users/ihhhzk/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 0 | 2017-03-06T05:56:02Z | 2021-09-07T00:06:28Z | 2017-03-06T08:10:59Z | 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/3911/reactions"
} | https://api.github.com/repos/psf/requests/issues/3911/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3911.diff",
"html_url": "https://github.com/psf/requests/pull/3911",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3911.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3911"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/3910 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3910/labels{/name} | https://api.github.com/repos/psf/requests/issues/3910/comments | https://api.github.com/repos/psf/requests/issues/3910/events | https://github.com/psf/requests/issues/3910 | 212,020,264 | MDU6SXNzdWUyMTIwMjAyNjQ= | 3,910 | Failed to establish a new connection: [Errno -4] Non-recoverable error | {
"avatar_url": "https://avatars.githubusercontent.com/u/3444362?v=4",
"events_url": "https://api.github.com/users/ozdanborne/events{/privacy}",
"followers_url": "https://api.github.com/users/ozdanborne/followers",
"following_url": "https://api.github.com/users/ozdanborne/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 2 | 2017-03-06T04:14:36Z | 2021-09-08T11:00:43Z | 2017-03-08T19:23:28Z | NONE | resolved | Hey there, I'm using requests (2.9.1) to make an https request to a kubernetes apiserver but am hitting an error and would appreciate some debugging tips on how to figure out what is causing it.
The error:
```
Traceback (most recent call last):
File "<string>", line 304, in _manage_resource
File "<string>... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3444362?v=4",
"events_url": "https://api.github.com/users/ozdanborne/events{/privacy}",
"followers_url": "https://api.github.com/users/ozdanborne/followers",
"following_url": "https://api.github.com/users/ozdanborne/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/3910/reactions"
} | https://api.github.com/repos/psf/requests/issues/3910/timeline | null | completed | null | null | false | [
"Hrm, that's odd: on most Unices errno is restrained to a positive number. What platform are you on? Even that error message is unusual.\r\n\r\nDoes this happen consistently?",
"Made it to the bottom of this. It was running in an alpine:3.3 docker container which, turns out, has a DNS resolving issue for FQDN's w... |
https://api.github.com/repos/psf/requests/issues/3909 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3909/labels{/name} | https://api.github.com/repos/psf/requests/issues/3909/comments | https://api.github.com/repos/psf/requests/issues/3909/events | https://github.com/psf/requests/pull/3909 | 211,884,556 | MDExOlB1bGxSZXF1ZXN0MTA5MTEwMzgz | 3,909 | Update implementation of TimedCache object | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 2 | 2017-03-04T15:04:57Z | 2021-09-07T00:06:28Z | 2017-03-04T15:27:46Z | CONTRIBUTOR | resolved | There were some odd decisions made about the implementation of some of
the required methods for MuttableMapping in the TimedCache object. This
cleans those up and makes the implementation, ever so slightly, easier
to read.
See also #3885 | {
"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/3909/reactions"
} | https://api.github.com/repos/psf/requests/issues/3909/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3909.diff",
"html_url": "https://github.com/psf/requests/pull/3909",
"merged_at": "2017-03-04T15:27:46Z",
"patch_url": "https://github.com/psf/requests/pull/3909.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3909"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3909?src=pr&el=h1) Report\n> Merging [#3909](https://codecov.io/gh/kennethreitz/requests/pull/3909?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/41a33f2e869e1fdcd88062be469775f613ee8ced?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3908 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3908/labels{/name} | https://api.github.com/repos/psf/requests/issues/3908/comments | https://api.github.com/repos/psf/requests/issues/3908/events | https://github.com/psf/requests/issues/3908 | 211,824,132 | MDU6SXNzdWUyMTE4MjQxMzI= | 3,908 | REQUESTS_CA_BUNDLE does not fall back on system cert chain in Python 3.6? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1542531?v=4",
"events_url": "https://api.github.com/users/dbazile/events{/privacy}",
"followers_url": "https://api.github.com/users/dbazile/followers",
"following_url": "https://api.github.com/users/dbazile/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 7 | 2017-03-03T22:54:45Z | 2021-09-08T12:00:48Z | 2017-03-04T21:12:13Z | NONE | resolved | I'm getting SSL validation errors for certificates signed by well-known root CAs when using the `REQUESTS_CA_BUNDLE` environment variable in Python 3.6 from a project that was working in Python 3.5.
My use case is, let's say I have an app that uses requests to talk to both https://localhost:8080 and https://google.c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1542531?v=4",
"events_url": "https://api.github.com/users/dbazile/events{/privacy}",
"followers_url": "https://api.github.com/users/dbazile/followers",
"following_url": "https://api.github.com/users/dbazile/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/3908/reactions"
} | https://api.github.com/repos/psf/requests/issues/3908/timeline | null | completed | null | null | false | [
"I don't think you're actually using 0.9.8zh. What's `python3 -c 'import ssl; print(ssl.OPENSSL_VERSION)'` print?\r\n\r\n",
"@Lukasa: Interesting—I'd have thought it's using the system's but apparently it's bundled one.\r\n\r\n```\r\n____ [~] ____ $ openssl version\r\nOpenSSL 0.9.8zh 14 Jan 2016\r\n\r\n____ [~] _... |
https://api.github.com/repos/psf/requests/issues/3907 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3907/labels{/name} | https://api.github.com/repos/psf/requests/issues/3907/comments | https://api.github.com/repos/psf/requests/issues/3907/events | https://github.com/psf/requests/issues/3907 | 211,753,388 | MDU6SXNzdWUyMTE3NTMzODg= | 3,907 | requests.get on image url returns 405 (the image url works in browser) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1035294?v=4",
"events_url": "https://api.github.com/users/fabiocaccamo/events{/privacy}",
"followers_url": "https://api.github.com/users/fabiocaccamo/followers",
"following_url": "https://api.github.com/users/fabiocaccamo/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 3 | 2017-03-03T17:34:49Z | 2021-09-08T12:00:48Z | 2017-03-03T22:22:21Z | NONE | resolved | Unfortunately I cannot provide the image url, maybe this can help: https://github.com/thumbor/thumbor/pull/342/files | {
"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/3907/reactions"
} | https://api.github.com/repos/psf/requests/issues/3907/timeline | null | completed | null | null | false | [
"405 means method unsupported. Are you sure you're doing a GET?",
"sure :)",
"Well in that case, the error is almost certainly not with Requests, and unless you can get us more detail we can't really help you. Sorry! 😟"
] |
https://api.github.com/repos/psf/requests/issues/3906 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3906/labels{/name} | https://api.github.com/repos/psf/requests/issues/3906/comments | https://api.github.com/repos/psf/requests/issues/3906/events | https://github.com/psf/requests/issues/3906 | 211,593,369 | MDU6SXNzdWUyMTE1OTMzNjk= | 3,906 | ('Connection aborted.', OSError(89, 'Function not implemented')) in version 2.13.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3293865?v=4",
"events_url": "https://api.github.com/users/programatix/events{/privacy}",
"followers_url": "https://api.github.com/users/programatix/followers",
"following_url": "https://api.github.com/users/programatix/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 12 | 2017-03-03T04:34:33Z | 2021-09-08T12:00:47Z | 2017-03-04T14:52:06Z | NONE | resolved | Version 2.13.0 request.get() function thrown an exception with the message,
`('Connection aborted.', OSError(89, 'Function not implemented'))`
Reverting to version 2.12.5/4 resolved the issue.
Python Version: 3.5.2
OS: entware ng on asuswrt | {
"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/3906/reactions"
} | https://api.github.com/repos/psf/requests/issues/3906/timeline | null | completed | null | null | false | [
"Could you provide a full traceback? Or some kind of reproduction code? Are you running with gevent/eventlet? Do you have PyOpenSSL installed?\r\n\r\nI have a theory, and my theory is that the Python you have on entware-ng is exposing one of the more complex selector syscalls (hard to know which because I can't see... |
https://api.github.com/repos/psf/requests/issues/3905 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3905/labels{/name} | https://api.github.com/repos/psf/requests/issues/3905/comments | https://api.github.com/repos/psf/requests/issues/3905/events | https://github.com/psf/requests/issues/3905 | 211,299,799 | MDU6SXNzdWUyMTEyOTk3OTk= | 3,905 | How to retry streaming uploads | {
"avatar_url": "https://avatars.githubusercontent.com/u/515021?v=4",
"events_url": "https://api.github.com/users/theyoprst/events{/privacy}",
"followers_url": "https://api.github.com/users/theyoprst/followers",
"following_url": "https://api.github.com/users/theyoprst/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 3 | 2017-03-02T06:17:44Z | 2021-09-08T12:00:49Z | 2017-03-02T06:52:45Z | NONE | resolved | Consider this piece of code:
```python
retries = Retry(total=3)
session = requests.Session()
session.mount('http://', HTTPAdapter(max_retries=retries))
with open('big_file.txt', 'rb') as f:
session.put(url, data=f)
```
It has a bug.
When network error occurred during transmission of the file, the corre... | {
"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/3905/reactions"
} | https://api.github.com/repos/psf/requests/issues/3905/timeline | null | completed | null | null | false | [
"Wow. It seems in the latest version it was already fixed.\r\nProbably here: https://github.com/shazow/urllib3/issues/459\r\n",
"Hey @theyoprst, you're correct, this should have been resolved in urllib3 in shazow/urllib3#1039. Are you still experiencing this issue in the latest version of requests?",
"Yep, as i... |
https://api.github.com/repos/psf/requests/issues/3904 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3904/labels{/name} | https://api.github.com/repos/psf/requests/issues/3904/comments | https://api.github.com/repos/psf/requests/issues/3904/events | https://github.com/psf/requests/issues/3904 | 211,201,713 | MDU6SXNzdWUyMTEyMDE3MTM= | 3,904 | Can't use a way to wait until HTML content response is completely saved | {
"avatar_url": "https://avatars.githubusercontent.com/u/100468?v=4",
"events_url": "https://api.github.com/users/brangi/events{/privacy}",
"followers_url": "https://api.github.com/users/brangi/followers",
"following_url": "https://api.github.com/users/brangi/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 11 | 2017-03-01T20:41:05Z | 2021-08-10T00:54:42Z | 2017-03-02T00:51:39Z | NONE | resolved | I am using requests to create a get request and wanting to display the whole html content:
import requests
```
url = 'http://website.net/thelink'
headers = {"User-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36"}
req = requests.get(url,headers=header... | {
"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/3904/reactions"
} | https://api.github.com/repos/psf/requests/issues/3904/timeline | null | completed | null | null | false | [
"What is the *real* URL you try to access? Please note that Requests does not run JavaScript code that may be included in the page. It is not a web browser!",
"This one **http://bgp.he.net/AS36375**",
"Well, that is some unfriendly service. Using `curl` or `wget` I get a `403 Forbidden`. Only a 'real' browser (... |
https://api.github.com/repos/psf/requests/issues/3903 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3903/labels{/name} | https://api.github.com/repos/psf/requests/issues/3903/comments | https://api.github.com/repos/psf/requests/issues/3903/events | https://github.com/psf/requests/pull/3903 | 211,177,814 | MDExOlB1bGxSZXF1ZXN0MTA4NjA2NzQ3 | 3,903 | fix #3902 Add proposed documentation change for post data | {
"avatar_url": "https://avatars.githubusercontent.com/u/38446?v=4",
"events_url": "https://api.github.com/users/garywu/events{/privacy}",
"followers_url": "https://api.github.com/users/garywu/followers",
"following_url": "https://api.github.com/users/garywu/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 4 | 2017-03-01T19:07:25Z | 2021-09-06T00:06:50Z | 2017-05-27T21:25:48Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3903/reactions"
} | https://api.github.com/repos/psf/requests/issues/3903/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3903.diff",
"html_url": "https://github.com/psf/requests/pull/3903",
"merged_at": "2017-05-27T21:25:48Z",
"patch_url": "https://github.com/psf/requests/pull/3903.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3903"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3903?src=pr&el=h1) Report\n> Merging [#3903](https://codecov.io/gh/kennethreitz/requests/pull/3903?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/3f3df8b5ffbbd617a32a9b01503f02e30a0818ee?src=pr&el=desc) will **increase**... | |
https://api.github.com/repos/psf/requests/issues/3902 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3902/labels{/name} | https://api.github.com/repos/psf/requests/issues/3902/comments | https://api.github.com/repos/psf/requests/issues/3902/events | https://github.com/psf/requests/issues/3902 | 211,176,392 | MDU6SXNzdWUyMTExNzYzOTI= | 3,902 | Propose additional documentation for post data | {
"avatar_url": "https://avatars.githubusercontent.com/u/38446?v=4",
"events_url": "https://api.github.com/users/garywu/events{/privacy}",
"followers_url": "https://api.github.com/users/garywu/followers",
"following_url": "https://api.github.com/users/garywu/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 4 | 2017-03-01T19:02:06Z | 2021-09-08T09:00:52Z | 2017-05-27T21:25:49Z | CONTRIBUTOR | resolved | ## Problem statement
Current documentation only specifies the most common case of post data - a dictionary. The code in fact supports other forms of post data which is not documented. Propose to enhance the quick start section that deals with post data to include examples of other uses.
Section of text in the cur... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3902/reactions"
} | https://api.github.com/repos/psf/requests/issues/3902/timeline | null | completed | null | null | false | [
"I am not sure if the use of httpbin is very helpful here. A reader who is not familiar with this service will wonder how the JSON response is produced. It would be more helpful to show the acual *request* body, not how some service interprets it.",
"Thanks for the comment, I'm simply following the existing docum... |
https://api.github.com/repos/psf/requests/issues/3901 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3901/labels{/name} | https://api.github.com/repos/psf/requests/issues/3901/comments | https://api.github.com/repos/psf/requests/issues/3901/events | https://github.com/psf/requests/pull/3901 | 211,173,715 | MDExOlB1bGxSZXF1ZXN0MTA4NjAzNzgy | 3,901 | Smaller logo | {
"avatar_url": "https://avatars.githubusercontent.com/u/23789?v=4",
"events_url": "https://api.github.com/users/nedbat/events{/privacy}",
"followers_url": "https://api.github.com/users/nedbat/followers",
"following_url": "https://api.github.com/users/nedbat/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2017-03-01T18:51:54Z | 2021-09-07T00:06:30Z | 2017-03-01T20:05:14Z | CONTRIBUTOR | resolved | The logo as-is is too large, it won't even fit on my screen!
I made a smaller version for use in the README.rst, because GitHub has neutered some useful features and doesn't care: https://github.com/github/markup/issues/295
NOTE: the image path is to my fork. Once merged, the path should be changed to refer to th... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3901/reactions"
} | https://api.github.com/repos/psf/requests/issues/3901/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3901.diff",
"html_url": "https://github.com/psf/requests/pull/3901",
"merged_at": "2017-03-01T20:05:14Z",
"patch_url": "https://github.com/psf/requests/pull/3901.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3901"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3901?src=pr&el=h1) Report\n> Merging [#3901](https://codecov.io/gh/kennethreitz/requests/pull/3901?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/3f3df8b5ffbbd617a32a9b01503f02e30a0818ee?src=pr&el=desc) will **increase**... |
https://api.github.com/repos/psf/requests/issues/3900 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3900/labels{/name} | https://api.github.com/repos/psf/requests/issues/3900/comments | https://api.github.com/repos/psf/requests/issues/3900/events | https://github.com/psf/requests/pull/3900 | 211,106,362 | MDExOlB1bGxSZXF1ZXN0MTA4NTU1Mzgy | 3,900 | fixed #3894 by mentioning form-encoding of dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | false | null | [] | null | 1 | 2017-03-01T15:00:40Z | 2017-03-01T15:30:37Z | 2017-03-01T15:30:37Z | NONE | null | The optional `data` parameter will be form-encoded, if a dictionary is provided. | {
"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/3900/reactions"
} | https://api.github.com/repos/psf/requests/issues/3900/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3900.diff",
"html_url": "https://github.com/psf/requests/pull/3900",
"merged_at": "2017-03-01T15:30:37Z",
"patch_url": "https://github.com/psf/requests/pull/3900.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3900"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3900?src=pr&el=h1) Report\n> Merging [#3900](https://codecov.io/gh/kennethreitz/requests/pull/3900?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/2aaf6ac03862d29ef8664aa8650a3c34ac4a0b2d?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3899 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3899/labels{/name} | https://api.github.com/repos/psf/requests/issues/3899/comments | https://api.github.com/repos/psf/requests/issues/3899/events | https://github.com/psf/requests/issues/3899 | 210,935,757 | MDU6SXNzdWUyMTA5MzU3NTc= | 3,899 | URL params with special chars fail | {
"avatar_url": "https://avatars.githubusercontent.com/u/436835?v=4",
"events_url": "https://api.github.com/users/ogonbat/events{/privacy}",
"followers_url": "https://api.github.com/users/ogonbat/followers",
"following_url": "https://api.github.com/users/ogonbat/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 5 | 2017-02-28T23:36:14Z | 2021-09-08T12:00:50Z | 2017-03-01T08:23:34Z | NONE | resolved | Hi all
i have to open this link
http://www.mytest.com/rest?api_key=username:password
i do a post or a get call
```
host= "http://www.mytest.com/rest"
queryParams = {"api_key" : "{}:{}".format(username, password)}
requests.post(host, params=queryString)
```
and the server return 500 error, this is be... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3899/reactions"
} | https://api.github.com/repos/psf/requests/issues/3899/timeline | null | completed | null | null | false | [
"I believe the only solution at this time is to drop the params keyword argument and just use a plain old string.\r\n\r\n```python\r\nrequests.post('{0}?api_key={1}:{2}'.format(host, username, password))\r\n```",
"Your query parameter `api_key` will be URL encoded as `api_key?username%3Apassword` by requests. Th... |
https://api.github.com/repos/psf/requests/issues/3898 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3898/labels{/name} | https://api.github.com/repos/psf/requests/issues/3898/comments | https://api.github.com/repos/psf/requests/issues/3898/events | https://github.com/psf/requests/pull/3898 | 210,931,097 | MDExOlB1bGxSZXF1ZXN0MTA4NDMzMDcx | 3,898 | remove redundant exception declaration | {
"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 | 0 | 2017-02-28T23:11:35Z | 2021-09-07T00:06:29Z | 2017-03-02T14:41:18Z | MEMBER | resolved | Looks like a duplicate copy of this exception was added at some point in a previous merge from master. Preferably hold off on merging this until #3897 is merged to avoid rebasing those commits again. | {
"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/3898/reactions"
} | https://api.github.com/repos/psf/requests/issues/3898/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3898.diff",
"html_url": "https://github.com/psf/requests/pull/3898",
"merged_at": "2017-03-02T14:41:18Z",
"patch_url": "https://github.com/psf/requests/pull/3898.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3898"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/3897 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3897/labels{/name} | https://api.github.com/repos/psf/requests/issues/3897/comments | https://api.github.com/repos/psf/requests/issues/3897/events | https://github.com/psf/requests/pull/3897 | 210,914,110 | MDExOlB1bGxSZXF1ZXN0MTA4NDIwODk1 | 3,897 | Refactor Prepare Body | {
"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 | 4 | 2017-02-28T21:59:09Z | 2021-09-07T00:06:29Z | 2017-03-02T14:40:58Z | MEMBER | resolved | This PR supersedes #3338 with the branch brought up to date, as well as a few minor changes, including logic tweaks based on updates to `super_len` since the original PR.
This will forcibly prevent the transmission of headers that include both Content-Length and Transfer-Encoding, as well as simplify redundant code ... | {
"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/3897/reactions"
} | https://api.github.com/repos/psf/requests/issues/3897/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3897.diff",
"html_url": "https://github.com/psf/requests/pull/3897",
"merged_at": "2017-03-02T14:40:58Z",
"patch_url": "https://github.com/psf/requests/pull/3897.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3897"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3897?src=pr&el=h1) Report\n> Merging [#3897](https://codecov.io/gh/kennethreitz/requests/pull/3897?src=pr&el=desc) into [proposed/3.0.0](https://codecov.io/gh/kennethreitz/requests/commit/60339d17eede9d424df9ed685ff8d60caeb3a521?src=pr&el=desc) will **in... |
https://api.github.com/repos/psf/requests/issues/3896 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3896/labels{/name} | https://api.github.com/repos/psf/requests/issues/3896/comments | https://api.github.com/repos/psf/requests/issues/3896/events | https://github.com/psf/requests/issues/3896 | 210,840,496 | MDU6SXNzdWUyMTA4NDA0OTY= | 3,896 | PUT'ing files to Azure blob storage... keeps the whole "body?" | {
"avatar_url": "https://avatars.githubusercontent.com/u/2185159?v=4",
"events_url": "https://api.github.com/users/ckcollab/events{/privacy}",
"followers_url": "https://api.github.com/users/ckcollab/followers",
"following_url": "https://api.github.com/users/ckcollab/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2017-02-28T16:36:37Z | 2021-09-08T11:00:34Z | 2017-02-28T16:38:17Z | NONE | resolved | Heyo! Thanks so much for requests, I use it all the time and appreciate the effort ya'll put into this!
Anyway, I am having a bit of trouble PUT'ing some files to Azure, for some reason Azure receives the files as:
```
--d21a382fd3cb49f085c89cc5c15e180e
Content-Disposition: form-data; name="file"; filename="std... | {
"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/3896/reactions"
} | https://api.github.com/repos/psf/requests/issues/3896/timeline | null | completed | null | null | false | [
"Thanks for this report!\r\n\r\nThe `files` parameter uploads the data using `multipart/form-encoded` as the data structure. This is the most common interaction with HTML forms, and is therefore how that works.\r\n\r\nTo upload just the raw file data, pass the file object to the `data` parameter:\r\n\r\n```python\r... |
https://api.github.com/repos/psf/requests/issues/3895 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3895/labels{/name} | https://api.github.com/repos/psf/requests/issues/3895/comments | https://api.github.com/repos/psf/requests/issues/3895/events | https://github.com/psf/requests/issues/3895 | 210,742,658 | MDU6SXNzdWUyMTA3NDI2NTg= | 3,895 | Redirect issue requests not passing proxies through to redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/4855603?v=4",
"events_url": "https://api.github.com/users/toasteez/events{/privacy}",
"followers_url": "https://api.github.com/users/toasteez/followers",
"following_url": "https://api.github.com/users/toasteez/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 24 | 2017-02-28T10:14:22Z | 2021-09-08T12:00:51Z | 2017-02-28T13:39:24Z | NONE | resolved | I'm trying to retrieve data via [Quandl](https://www.quandl.com/) from behind a proxy.
The reason I have dropped into requests is that the Quandl library does not allow a proxy dictionary to be passed.
I can successfully retrieve datasets where there is no redirect however when you try to retrieve a complete data... | {
"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/3895/reactions"
} | https://api.github.com/repos/psf/requests/issues/3895/timeline | null | completed | null | null | false | [
"It seems like your proxy requires that you authorize to it. Do you have credentials for that proxy?",
"The proxy auto authorizes for a simple dataset request via quandl but not for the redirect. I tested this by removing the proxies=proxies (the request fails) witha MaxRetryError: HTTPSConnectionPool(host='www.... |
https://api.github.com/repos/psf/requests/issues/3894 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3894/labels{/name} | https://api.github.com/repos/psf/requests/issues/3894/comments | https://api.github.com/repos/psf/requests/issues/3894/events | https://github.com/psf/requests/issues/3894 | 210,634,502 | MDU6SXNzdWUyMTA2MzQ1MDI= | 3,894 | Documentation issue: requests.request behavior unclear when 'data' parameter is dictionary | {
"avatar_url": "https://avatars.githubusercontent.com/u/3150861?v=4",
"events_url": "https://api.github.com/users/nmusolino/events{/privacy}",
"followers_url": "https://api.github.com/users/nmusolino/followers",
"following_url": "https://api.github.com/users/nmusolino/following{/other_user}",
"gists_url": "h... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
},
{
"color": "fad8c7",
"default": false,
"descrip... | closed | true | null | [] | null | 3 | 2017-02-27T23:00:22Z | 2021-09-08T12:00:50Z | 2017-03-01T15:30:43Z | NONE | resolved | The [documentation for 'requests.request' ](http://docs.python-requests.org/en/master/api/#requests.request) lists a parameter 'data':
> data -- (optional) Dictionary, bytes, or file-like object to send in the body of the Request.
It is unclear what the behavior will be when a dictionary is passed. Since an HTTP... | {
"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/3894/reactions"
} | https://api.github.com/repos/psf/requests/issues/3894/timeline | null | completed | null | null | false | [
"> \"Dictionary objects will be serialized as JSON using the 'json' module\", along with any restrictions on the content of the dictionary.\r\n\r\nHeh, the fact that you wrote this suggests that it might be worthwhile, given that that's exactly *not* what we do. Dictionaries are encoded as application/x-www-form-ur... |
https://api.github.com/repos/psf/requests/issues/3893 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3893/labels{/name} | https://api.github.com/repos/psf/requests/issues/3893/comments | https://api.github.com/repos/psf/requests/issues/3893/events | https://github.com/psf/requests/pull/3893 | 210,579,293 | MDExOlB1bGxSZXF1ZXN0MTA4MTgyMDcy | 3,893 | Synced upstream | {
"avatar_url": "https://avatars.githubusercontent.com/u/381707?v=4",
"events_url": "https://api.github.com/users/duriantang/events{/privacy}",
"followers_url": "https://api.github.com/users/duriantang/followers",
"following_url": "https://api.github.com/users/duriantang/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 0 | 2017-02-27T19:19:14Z | 2021-09-07T00:06:31Z | 2017-02-27T19:19:31Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/381707?v=4",
"events_url": "https://api.github.com/users/duriantang/events{/privacy}",
"followers_url": "https://api.github.com/users/duriantang/followers",
"following_url": "https://api.github.com/users/duriantang/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/3893/reactions"
} | https://api.github.com/repos/psf/requests/issues/3893/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3893.diff",
"html_url": "https://github.com/psf/requests/pull/3893",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3893.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3893"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/3892 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3892/labels{/name} | https://api.github.com/repos/psf/requests/issues/3892/comments | https://api.github.com/repos/psf/requests/issues/3892/events | https://github.com/psf/requests/pull/3892 | 210,337,817 | MDExOlB1bGxSZXF1ZXN0MTA4MDE1OTI4 | 3,892 | Fixed some typos | {
"avatar_url": "https://avatars.githubusercontent.com/u/26013757?v=4",
"events_url": "https://api.github.com/users/vpfautz/events{/privacy}",
"followers_url": "https://api.github.com/users/vpfautz/followers",
"following_url": "https://api.github.com/users/vpfautz/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2017-02-26T18:36:43Z | 2021-09-07T00:06:31Z | 2017-02-27T16: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/3892/reactions"
} | https://api.github.com/repos/psf/requests/issues/3892/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3892.diff",
"html_url": "https://github.com/psf/requests/pull/3892",
"merged_at": "2017-02-27T16:25:10Z",
"patch_url": "https://github.com/psf/requests/pull/3892.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3892"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3892?src=pr&el=h1) Report\n> Merging [#3892](https://codecov.io/gh/kennethreitz/requests/pull/3892?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/d6f4818c0b40bc6c00433c013b7daaea83b2cd51?src=pr&el=desc) will **increase**... | |
https://api.github.com/repos/psf/requests/issues/3891 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3891/labels{/name} | https://api.github.com/repos/psf/requests/issues/3891/comments | https://api.github.com/repos/psf/requests/issues/3891/events | https://github.com/psf/requests/issues/3891 | 210,312,518 | MDU6SXNzdWUyMTAzMTI1MTg= | 3,891 | Requests fails to handle amazon.com cookies | {
"avatar_url": "https://avatars.githubusercontent.com/u/1310872?v=4",
"events_url": "https://api.github.com/users/ddevault/events{/privacy}",
"followers_url": "https://api.github.com/users/ddevault/followers",
"following_url": "https://api.github.com/users/ddevault/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 7 | 2017-02-26T11:51:07Z | 2021-09-08T12:00:52Z | 2017-02-26T14:09:14Z | NONE | resolved | ```python
import requests
>>> r = requests.get("https://www.amazon.com/ap/signin?openid.assoc_handle=usflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fs... | {
"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/3891/reactions"
} | https://api.github.com/repos/psf/requests/issues/3891/timeline | null | completed | null | null | false | [
"We're handling them fine: those cookies are all set to expire in the past, which is how you ask a user agent to delete them. What problem are you actually having?",
"Hmm, good catch. When you turn around and submit the login form on this page, the response from Amazon is a page asking you to enable cookies.",
... |
https://api.github.com/repos/psf/requests/issues/3890 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3890/labels{/name} | https://api.github.com/repos/psf/requests/issues/3890/comments | https://api.github.com/repos/psf/requests/issues/3890/events | https://github.com/psf/requests/issues/3890 | 210,148,893 | MDU6SXNzdWUyMTAxNDg4OTM= | 3,890 | Starts using socks proxy after socks.wrapmodule(smtplib) | {
"avatar_url": "https://avatars.githubusercontent.com/u/241185?v=4",
"events_url": "https://api.github.com/users/rvernica/events{/privacy}",
"followers_url": "https://api.github.com/users/rvernica/followers",
"following_url": "https://api.github.com/users/rvernica/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 6 | 2017-02-24T20:23:16Z | 2021-01-09T20:42:01Z | 2017-02-24T21:22:30Z | NONE | resolved | On one hand, I am using `requests` to access a web service in the local network. On the other hand, I access a SMTP server outside the network through a proxy. Once I do `socks.wrapmodule(smtplib)`, `requests` starts using the proxy as well. Here is an example:
```
> python
Python 2.7.13 (default, Jan 13 2017, 10:15... | {
"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/3890/reactions"
} | https://api.github.com/repos/psf/requests/issues/3890/timeline | null | completed | null | null | false | [
"If you use socks.wrapmodule then a whole bunch of monkey patching will take place. It is clearly not safe to monkeypatch smtplib, because those monkeypatches end up affecting the socket module, and thus requests. \r\n\r\nYou should look for an smtp module that can use SOCKS directly, or move the SMTP code out of t... |
https://api.github.com/repos/psf/requests/issues/3889 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3889/labels{/name} | https://api.github.com/repos/psf/requests/issues/3889/comments | https://api.github.com/repos/psf/requests/issues/3889/events | https://github.com/psf/requests/issues/3889 | 210,137,969 | MDU6SXNzdWUyMTAxMzc5Njk= | 3,889 | wrong ecxeption? return code wrong? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2017-02-24T19:33:54Z | 2021-09-08T12:00:53Z | 2017-02-24T20:14:30Z | NONE | resolved | Dear everyone!
i am facing strange beahvior with python requests.
here is my snippet:
```
for x in range(0,len(url)):
retrys = 0
while retrys < 10 :
try:
res = requests.get(
url[x],
timeout=(5, 60),
proxies=dict( http='... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3889/reactions"
} | https://api.github.com/repos/psf/requests/issues/3889/timeline | null | completed | null | null | false | [
"close -> stupid!"
] |
https://api.github.com/repos/psf/requests/issues/3888 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3888/labels{/name} | https://api.github.com/repos/psf/requests/issues/3888/comments | https://api.github.com/repos/psf/requests/issues/3888/events | https://github.com/psf/requests/issues/3888 | 210,107,706 | MDU6SXNzdWUyMTAxMDc3MDY= | 3,888 | Non-ascii (iso-8859-1) location headers are handled incorrectly on handling a redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/6267837?v=4",
"events_url": "https://api.github.com/users/atleta/events{/privacy}",
"followers_url": "https://api.github.com/users/atleta/followers",
"following_url": "https://api.github.com/users/atleta/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 12 | 2017-02-24T17:21:57Z | 2021-09-08T11:00:32Z | 2017-04-19T16:28:20Z | NONE | resolved | Hi,
Akkording to the RFC (2616, https://www.ietf.org/rfc/rfc2616.txt) the location header MAY contain non-ascii characters if encoded with iso-8859-1. However, this case is handled incorrectly by requests.
httplib will correctly parse the header as iso-8859-1 (see parse_headers in http/client.py, around line 2... | {
"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/3888/reactions"
} | https://api.github.com/repos/psf/requests/issues/3888/timeline | null | completed | null | null | false | [
"Hi there @atleta,\r\n\r\nFirst, RFC 2616 has been made obsolete by RFCs [7230][], [7231][], [7232][], [7233][], [7234][], and [7235][].\r\n\r\nAs you'll see when you familiarize yourself with those RFCs, the *default* encoding for Headers is no longer ISO-8859-1 (a.k.a., Latin-1).\r\n\r\nI suspect that if you have... |
https://api.github.com/repos/psf/requests/issues/3887 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3887/labels{/name} | https://api.github.com/repos/psf/requests/issues/3887/comments | https://api.github.com/repos/psf/requests/issues/3887/events | https://github.com/psf/requests/issues/3887 | 209,946,210 | MDU6SXNzdWUyMDk5NDYyMTA= | 3,887 | Feature: allow setting of urllib3 backoff_factor | {
"avatar_url": "https://avatars.githubusercontent.com/u/9677399?v=4",
"events_url": "https://api.github.com/users/ofek/events{/privacy}",
"followers_url": "https://api.github.com/users/ofek/followers",
"following_url": "https://api.github.com/users/ofek/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 10 | 2017-02-24T02:53:04Z | 2021-09-08T10:00:48Z | 2017-02-24T08:38:38Z | CONTRIBUTOR | resolved | Or is it possible now from requests to set [https://github.com/kennethreitz/requests/blob/e3f89bf23c53b98593e4248054661472aacac820/requests/packages/urllib3/util/retry.py#L104](https://github.com/kennethreitz/requests/blob/e3f89bf23c53b98593e4248054661472aacac820/requests/packages/urllib3/util/retry.py#L104)? | {
"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/3887/reactions"
} | https://api.github.com/repos/psf/requests/issues/3887/timeline | null | completed | null | null | false | [
"You can use [Requests Transport Adapters](http://docs.python-requests.org/en/master/user/advanced/#transport-adapters) to do this. You only need to override the `HTTPAdapter.__init__` to set `max_retries` appropriately. Should be pretty easy.",
"@Lukasa No need to override `HTTPAdapter.__init__`, actually as HTT... |
https://api.github.com/repos/psf/requests/issues/3886 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3886/labels{/name} | https://api.github.com/repos/psf/requests/issues/3886/comments | https://api.github.com/repos/psf/requests/issues/3886/events | https://github.com/psf/requests/pull/3886 | 209,542,310 | MDExOlB1bGxSZXF1ZXN0MTA3NDcwODYz | 3,886 | proposed 3.0 - altered internal loops of resolve_redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2017-02-22T18:37:11Z | 2021-09-07T00:06:31Z | 2017-02-25T15:05:40Z | CONTRIBUTOR | resolved | This is a resubmit of #3871 against the 3.0.0 branch. | {
"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/3886/reactions"
} | https://api.github.com/repos/psf/requests/issues/3886/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3886.diff",
"html_url": "https://github.com/psf/requests/pull/3886",
"merged_at": "2017-02-25T15:05:40Z",
"patch_url": "https://github.com/psf/requests/pull/3886.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3886"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3886?src=pr&el=h1) Report\n> Merging [#3886](https://codecov.io/gh/kennethreitz/requests/pull/3886?src=pr&el=desc) into [proposed/3.0.0](https://codecov.io/gh/kennethreitz/requests/commit/b22833ce2a2c44d9e53f726e10cb3aac08ae49a5?src=pr&el=desc) will **de... |
https://api.github.com/repos/psf/requests/issues/3885 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3885/labels{/name} | https://api.github.com/repos/psf/requests/issues/3885/comments | https://api.github.com/repos/psf/requests/issues/3885/events | https://github.com/psf/requests/pull/3885 | 209,348,653 | MDExOlB1bGxSZXF1ZXN0MTA3MzMyNzE2 | 3,885 | Cache proxy bypass | {
"avatar_url": "https://avatars.githubusercontent.com/u/174527?v=4",
"events_url": "https://api.github.com/users/dfontenot/events{/privacy}",
"followers_url": "https://api.github.com/users/dfontenot/followers",
"following_url": "https://api.github.com/users/dfontenot/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 7 | 2017-02-22T04:21:30Z | 2021-09-07T00:06:29Z | 2017-02-27T08:56:44Z | CONTRIBUTOR | resolved | Added simple cache over `urllib.proxy_bypass` to remedy #2988. Holds on to entries for a minute. Once it reaches its max size, will evict the first entry that is the oldest.
Added tests over the structure, did not add a test that `should_bypass_proxies` invokes the cache.
This is my first pull request; please let... | {
"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/3885/reactions"
} | https://api.github.com/repos/psf/requests/issues/3885/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3885.diff",
"html_url": "https://github.com/psf/requests/pull/3885",
"merged_at": "2017-02-27T08:56:44Z",
"patch_url": "https://github.com/psf/requests/pull/3885.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3885"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3885?src=pr&el=h1) Report\n> Merging [#3885](https://codecov.io/gh/kennethreitz/requests/pull/3885?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/d6f4818c0b40bc6c00433c013b7daaea83b2cd51?src=pr&el=desc) will **increase**... |
https://api.github.com/repos/psf/requests/issues/3884 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3884/labels{/name} | https://api.github.com/repos/psf/requests/issues/3884/comments | https://api.github.com/repos/psf/requests/issues/3884/events | https://github.com/psf/requests/pull/3884 | 209,313,168 | MDExOlB1bGxSZXF1ZXN0MTA3MzA4MTg1 | 3,884 | Removed response hook hardcode. | {
"avatar_url": "https://avatars.githubusercontent.com/u/381707?v=4",
"events_url": "https://api.github.com/users/duriantang/events{/privacy}",
"followers_url": "https://api.github.com/users/duriantang/followers",
"following_url": "https://api.github.com/users/duriantang/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2017-02-22T00:13:03Z | 2021-09-06T00:06:57Z | 2017-05-17T20:18:49Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/381707?v=4",
"events_url": "https://api.github.com/users/duriantang/events{/privacy}",
"followers_url": "https://api.github.com/users/duriantang/followers",
"following_url": "https://api.github.com/users/duriantang/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/3884/reactions"
} | https://api.github.com/repos/psf/requests/issues/3884/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3884.diff",
"html_url": "https://github.com/psf/requests/pull/3884",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3884.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3884"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3884?src=pr&el=h1) Report\n> Merging [#3884](https://codecov.io/gh/kennethreitz/requests/pull/3884?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/2aaf6ac03862d29ef8664aa8650a3c34ac4a0b2d?src=pr&el=desc) will **increase**... | |
https://api.github.com/repos/psf/requests/issues/3883 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3883/labels{/name} | https://api.github.com/repos/psf/requests/issues/3883/comments | https://api.github.com/repos/psf/requests/issues/3883/events | https://github.com/psf/requests/issues/3883 | 208,976,056 | MDU6SXNzdWUyMDg5NzYwNTY= | 3,883 | This code generates errors only on Mac OSX | {
"avatar_url": "https://avatars.githubusercontent.com/u/25351176?v=4",
"events_url": "https://api.github.com/users/Matt-1-2-3/events{/privacy}",
"followers_url": "https://api.github.com/users/Matt-1-2-3/followers",
"following_url": "https://api.github.com/users/Matt-1-2-3/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 13 | 2017-02-20T20:32:33Z | 2018-10-31T20:35:11Z | 2017-02-20T21:13:13Z | NONE | resolved | When I run the following code in windows 10 and fedora it works without error but on Mac OSX Sierra it throws up errors. Since it only happens on my Mac I am assuming its a bug. I will paste the errors below.
```python
import json
import operator
import requests
url = "https://data.ny.gov/resource/h6w8-42p9.js... | {
"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/3883/reactions"
} | https://api.github.com/repos/psf/requests/issues/3883/timeline | null | completed | null | null | false | [
"Thanks for this report!\r\n\r\nUnfortunately, this issue is caused because the Python versions installed from python.org are linked against the OpenSSL that is shipped by Apple in macOS. This OpenSSL is ancient, and supports almost no modern cipher suites, making it essentially impossible to use securely. This wil... |
https://api.github.com/repos/psf/requests/issues/3882 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3882/labels{/name} | https://api.github.com/repos/psf/requests/issues/3882/comments | https://api.github.com/repos/psf/requests/issues/3882/events | https://github.com/psf/requests/issues/3882 | 208,786,994 | MDU6SXNzdWUyMDg3ODY5OTQ= | 3,882 | HTTPS proxy with requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/7828335?v=4",
"events_url": "https://api.github.com/users/pn1984/events{/privacy}",
"followers_url": "https://api.github.com/users/pn1984/followers",
"following_url": "https://api.github.com/users/pn1984/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2017-02-20T05:26:56Z | 2021-09-08T12:00:54Z | 2017-02-20T08:17:25Z | NONE | resolved | A small (but expanding) set of HTTP clients now offer the ability to connect to proxies over TLS. 'curl' recently added this feature in v7.52.0 (More info. can be found at https://daniel.haxx.se/blog/2016/11/26/https-proxy-with-curl/). Please consider adding support for this feature to '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/3882/reactions"
} | https://api.github.com/repos/psf/requests/issues/3882/timeline | null | completed | null | null | false | [
"Hi there, thanks for this request!\n\nAdding support for this feature requires a pretty substantial internal changes to the code logic of our dependencies. This work is ongoing, and when it's done it can be discussed, but for now it's not something we can promise to put on any kind of roadmap.\n\nSorry! :pray: "
] |
https://api.github.com/repos/psf/requests/issues/3881 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3881/labels{/name} | https://api.github.com/repos/psf/requests/issues/3881/comments | https://api.github.com/repos/psf/requests/issues/3881/events | https://github.com/psf/requests/issues/3881 | 208,738,779 | MDU6SXNzdWUyMDg3Mzg3Nzk= | 3,881 | Suggestion: add a new field `method` to `Response` class | {
"avatar_url": "https://avatars.githubusercontent.com/u/90726?v=4",
"events_url": "https://api.github.com/users/nodakai/events{/privacy}",
"followers_url": "https://api.github.com/users/nodakai/followers",
"following_url": "https://api.github.com/users/nodakai/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2017-02-19T19:11:05Z | 2021-09-08T12:00:55Z | 2017-02-19T21:34:15Z | NONE | resolved | If it make sense to include the [`url`][url] field to the `Response` class in order to be human friendly when automatic redirection kicks in, shouldn't there be a `method` field as well, for the case when a `POST` results in 302 with which Requests respond with `GET` ?
Background: I was investigating an issue with 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/3881/reactions"
} | https://api.github.com/repos/psf/requests/issues/3881/timeline | null | completed | null | null | false | [
"@nodakai that all is available in the response history already. I don't understand how the final response having a method would help you identify that. `response.request.method` already exists and (I thought) is documented.",
"Also, hi! Welcome! Thanks for opening this and starting the discussion for it. I'm a b... |
https://api.github.com/repos/psf/requests/issues/3880 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3880/labels{/name} | https://api.github.com/repos/psf/requests/issues/3880/comments | https://api.github.com/repos/psf/requests/issues/3880/events | https://github.com/psf/requests/issues/3880 | 208,540,960 | MDU6SXNzdWUyMDg1NDA5NjA= | 3,880 | timeout causes exception unrelated to timeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/1634628?v=4",
"events_url": "https://api.github.com/users/bkline/events{/privacy}",
"followers_url": "https://api.github.com/users/bkline/followers",
"following_url": "https://api.github.com/users/bkline/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 24 | 2017-02-17T19:59:29Z | 2022-09-27T19:32:03Z | 2017-03-01T16:01:13Z | NONE | resolved | When I submit a request without specifying a timeout, I get a 404 response (appropriately). For the same URL, requested with a timeout, I immediately get an exception claiming that the remote host has forcibly closed the connection. I can't imagine how the timeout mechanism could result in this behavior.
```
H:\tes... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1634628?v=4",
"events_url": "https://api.github.com/users/bkline/events{/privacy}",
"followers_url": "https://api.github.com/users/bkline/followers",
"following_url": "https://api.github.com/users/bkline/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/3880/reactions"
} | https://api.github.com/repos/psf/requests/issues/3880/timeline | null | completed | null | null | false | [
"Does this reproduce consistently?",
"Yes. Every time I request this URL with a timeout, an exception is thrown.",
"So, I can't reproduce this *at all*, and it seems absurd. Adding a timeout should not cause the remote peer to shut the connection in your face. This is a tough question, I know, but have you test... |
https://api.github.com/repos/psf/requests/issues/3879 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3879/labels{/name} | https://api.github.com/repos/psf/requests/issues/3879/comments | https://api.github.com/repos/psf/requests/issues/3879/events | https://github.com/psf/requests/issues/3879 | 208,326,697 | MDU6SXNzdWUyMDgzMjY2OTc= | 3,879 | python-requests version:1.1.0 ConnectionError: [Errno 2] server failed | {
"avatar_url": "https://avatars.githubusercontent.com/u/12867714?v=4",
"events_url": "https://api.github.com/users/duyanghao/events{/privacy}",
"followers_url": "https://api.github.com/users/duyanghao/followers",
"following_url": "https://api.github.com/users/duyanghao/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 14 | 2017-02-17T03:44:38Z | 2021-09-08T12:00:54Z | 2017-02-17T08:25:10Z | NONE | resolved | python-requests version:1.1.0
there are sometimes two error appear:
error one log:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1687, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python2.6/site-packages/flask/app.py", line 1360, in... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3879/reactions"
} | https://api.github.com/repos/psf/requests/issues/3879/timeline | null | completed | null | null | false | [
"Hi!\n\nUnfortunately, we can't help you with a version of requests that old. Requests 1.1.0 shipped in January 2013, making it four years old now. It is thoroughly unsupported by the Requests team. If you installed it via a Linux package manager, you'll need to contact your distribution. Otherwise, you'll need to ... |
https://api.github.com/repos/psf/requests/issues/3878 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3878/labels{/name} | https://api.github.com/repos/psf/requests/issues/3878/comments | https://api.github.com/repos/psf/requests/issues/3878/events | https://github.com/psf/requests/issues/3878 | 208,277,467 | MDU6SXNzdWUyMDgyNzc0Njc= | 3,878 | Preemptive basic authentication support | {
"avatar_url": "https://avatars.githubusercontent.com/u/5264867?v=4",
"events_url": "https://api.github.com/users/ipilcher/events{/privacy}",
"followers_url": "https://api.github.com/users/ipilcher/followers",
"following_url": "https://api.github.com/users/ipilcher/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2017-02-16T23:07:12Z | 2021-09-08T12:00:55Z | 2017-02-17T00:05:07Z | NONE | resolved | Is $SUBJECT possible? | {
"avatar_url": "https://avatars.githubusercontent.com/u/5264867?v=4",
"events_url": "https://api.github.com/users/ipilcher/events{/privacy}",
"followers_url": "https://api.github.com/users/ipilcher/followers",
"following_url": "https://api.github.com/users/ipilcher/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/3878/reactions"
} | https://api.github.com/repos/psf/requests/issues/3878/timeline | null | completed | null | null | false | [
"Never mind. Authorization header was being stripped because of a redirect in my testing."
] |
https://api.github.com/repos/psf/requests/issues/3877 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3877/labels{/name} | https://api.github.com/repos/psf/requests/issues/3877/comments | https://api.github.com/repos/psf/requests/issues/3877/events | https://github.com/psf/requests/pull/3877 | 208,118,320 | MDExOlB1bGxSZXF1ZXN0MTA2NTIyOTM2 | 3,877 | Correct docstring for Response.ok | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 6 | 2017-02-16T13:16:38Z | 2021-09-07T00:06:32Z | 2017-02-16T13:37:18Z | CONTRIBUTOR | resolved | We added a docstring just a few hours ago but it wasn't entirely accurate. | {
"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/3877/reactions"
} | https://api.github.com/repos/psf/requests/issues/3877/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3877.diff",
"html_url": "https://github.com/psf/requests/pull/3877",
"merged_at": "2017-02-16T13:37:18Z",
"patch_url": "https://github.com/psf/requests/pull/3877.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3877"
} | true | [
"@sigmavirus24 That PR was merged on the grounds that it was consistent with the docstrings that relied on that method. If we're changing one, we should change them all. =)",
"@Lukasa which docstrings are those? I was under the impression that the docstring format was what was borrowed from, not the content of ot... |
https://api.github.com/repos/psf/requests/issues/3876 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3876/labels{/name} | https://api.github.com/repos/psf/requests/issues/3876/comments | https://api.github.com/repos/psf/requests/issues/3876/events | https://github.com/psf/requests/pull/3876 | 208,061,440 | MDExOlB1bGxSZXF1ZXN0MTA2NDgxNjk5 | 3,876 | added docstring for response.ok property | {
"avatar_url": "https://avatars.githubusercontent.com/u/3473617?v=4",
"events_url": "https://api.github.com/users/mislavcimpersak/events{/privacy}",
"followers_url": "https://api.github.com/users/mislavcimpersak/followers",
"following_url": "https://api.github.com/users/mislavcimpersak/following{/other_user}",... | [] | closed | true | null | [] | null | 2 | 2017-02-16T09:10:13Z | 2021-09-07T00:06:33Z | 2017-02-16T09:30:12Z | CONTRIBUTOR | resolved | Nothing much here, just added a docstring for `response.ok` property.
Took the docstring straight from the other methods to stay consistent. | {
"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/3876/reactions"
} | https://api.github.com/repos/psf/requests/issues/3876/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3876.diff",
"html_url": "https://github.com/psf/requests/pull/3876",
"merged_at": "2017-02-16T09:30:12Z",
"patch_url": "https://github.com/psf/requests/pull/3876.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3876"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3876?src=pr&el=h1) Report\n> Merging [#3876](https://codecov.io/gh/kennethreitz/requests/pull/3876?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/655f0edbb43dad16ea5fe6ec0f31fdc1de396610?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3875 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3875/labels{/name} | https://api.github.com/repos/psf/requests/issues/3875/comments | https://api.github.com/repos/psf/requests/issues/3875/events | https://github.com/psf/requests/issues/3875 | 207,693,756 | MDU6SXNzdWUyMDc2OTM3NTY= | 3,875 | UnicodeEncodeError when passing a non-ascii string in "data" | {
"avatar_url": "https://avatars.githubusercontent.com/u/8549?v=4",
"events_url": "https://api.github.com/users/jamshid/events{/privacy}",
"followers_url": "https://api.github.com/users/jamshid/followers",
"following_url": "https://api.github.com/users/jamshid/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2017-02-15T02:38:28Z | 2021-09-08T12:00:56Z | 2017-02-15T05:24:11Z | NONE | resolved | Using requests 2.13.0 I can't seem to pass a non-ascii value as "data" on a PUT.
This might be a duplicate of issue https://github.com/kennethreitz/requests/issues/2638.
How should I send a unicode string in a request body? Doing an `.encode('utf-8')` seems to workaround the problem in first example, but that s... | {
"avatar_url": "https://avatars.githubusercontent.com/u/8549?v=4",
"events_url": "https://api.github.com/users/jamshid/events{/privacy}",
"followers_url": "https://api.github.com/users/jamshid/followers",
"following_url": "https://api.github.com/users/jamshid/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/3875/reactions"
} | https://api.github.com/repos/psf/requests/issues/3875/timeline | null | completed | null | null | false | [
"Hey @jamshid, I believe this is a problem with how you're using unicode in Python 2.7 rather than something requests specific. The repro below fails with the same exception without any requests code. If you pass properly encoded utf-8, it should solve this issue.\r\n\r\n```python\r\nwith open('testfile.out', 'w') ... |
https://api.github.com/repos/psf/requests/issues/3874 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3874/labels{/name} | https://api.github.com/repos/psf/requests/issues/3874/comments | https://api.github.com/repos/psf/requests/issues/3874/events | https://github.com/psf/requests/pull/3874 | 207,565,418 | MDExOlB1bGxSZXF1ZXN0MTA2MTQwNjc2 | 3,874 | variable name consistency | {
"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 | 7 | 2017-02-14T16:27:56Z | 2021-09-07T00:06:32Z | 2017-02-21T19:04:25Z | MEMBER | resolved | Just need to clean up a few variable names. | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3874/reactions"
} | https://api.github.com/repos/psf/requests/issues/3874/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3874.diff",
"html_url": "https://github.com/psf/requests/pull/3874",
"merged_at": "2017-02-21T19:04:25Z",
"patch_url": "https://github.com/psf/requests/pull/3874.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3874"
} | true | [
"All set.",
"So to be clear, the clearer names are on the 3.0 branch already: I just accidentally busted them with names from the master branch like a dummy.",
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3874?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`pr... |
https://api.github.com/repos/psf/requests/issues/3873 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3873/labels{/name} | https://api.github.com/repos/psf/requests/issues/3873/comments | https://api.github.com/repos/psf/requests/issues/3873/events | https://github.com/psf/requests/pull/3873 | 207,537,708 | MDExOlB1bGxSZXF1ZXN0MTA2MTIwMzE0 | 3,873 | properly handled failed seek | {
"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 | 6 | 2017-02-14T14:54:52Z | 2021-09-07T00:06:33Z | 2017-02-14T15:43:19Z | MEMBER | resolved | This is a minor bug in the way we're handling exceptions for `super_len` in `prepare_body`. The mocked `seek` method wasn't created with the optional `whence` parameter and was failing with a `TypeError` when called. A legacy exception block for the older version of `super_len` caught this and made it appear the test w... | {
"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/3873/reactions"
} | https://api.github.com/repos/psf/requests/issues/3873/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3873.diff",
"html_url": "https://github.com/psf/requests/pull/3873",
"merged_at": "2017-02-14T15:43:19Z",
"patch_url": "https://github.com/psf/requests/pull/3873.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3873"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3873?src=pr&el=h1) Report\n> Merging [#3873](https://codecov.io/gh/kennethreitz/requests/pull/3873?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/90f3842ed60f91ff101189f792ce21f7c762b1a0?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/3872 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3872/labels{/name} | https://api.github.com/repos/psf/requests/issues/3872/comments | https://api.github.com/repos/psf/requests/issues/3872/events | https://github.com/psf/requests/issues/3872 | 207,409,032 | MDU6SXNzdWUyMDc0MDkwMzI= | 3,872 | HSTS support | {
"avatar_url": "https://avatars.githubusercontent.com/u/410452?v=4",
"events_url": "https://api.github.com/users/sylvinus/events{/privacy}",
"followers_url": "https://api.github.com/users/sylvinus/followers",
"following_url": "https://api.github.com/users/sylvinus/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 6 | 2017-02-14T03:37:11Z | 2021-09-08T10:00:52Z | 2017-02-14T08:29:52Z | NONE | resolved | Hello!
Not sure this falls in the scope of requests, but nobody seems to have mentioned it so far so here it goes :)
I think it would be great to have an opt-in flag for requests that reads the [HSTS preload list](https://hstspreload.org/), and automatically switches to https if there's a match, just like a brows... | {
"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/3872/reactions"
} | https://api.github.com/repos/psf/requests/issues/3872/timeline | null | completed | null | null | false | [
"Hi there!\r\n\r\nThis is a substantial feature request, and it's one we do want to support, but there's a big chunk of work involved. There has been some initial progress made on shazow/urllib3#608, which could be used to bootstrap this work into urllib3 (which is where it would have to go).\r\n\r\nHowever, some o... |
https://api.github.com/repos/psf/requests/issues/3871 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3871/labels{/name} | https://api.github.com/repos/psf/requests/issues/3871/comments | https://api.github.com/repos/psf/requests/issues/3871/events | https://github.com/psf/requests/pull/3871 | 207,304,806 | MDExOlB1bGxSZXF1ZXN0MTA1OTU0NTE5 | 3,871 | altered internal loops of how ``SessionRedirectMixin.resolve_redirect… | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 6 | 2017-02-13T18:46:05Z | 2021-09-07T00:06:32Z | 2017-02-23T16:09:59Z | CONTRIBUTOR | resolved | This is an idea for updating the `resolve_redirects` loop.
The existing code was hard to untangle as variables get overwritten midway through the loop (`resp` switches between the previous and the next, which can be easy to miss). It manages the `hist` by omitting the first request, appending the previous request... | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/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/3871/reactions"
} | https://api.github.com/repos/psf/requests/issues/3871/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3871.diff",
"html_url": "https://github.com/psf/requests/pull/3871",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3871.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3871"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3871?src=pr&el=h1) Report\n> Merging [#3871](https://codecov.io/gh/kennethreitz/requests/pull/3871?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/90f3842ed60f91ff101189f792ce21f7c762b1a0?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/3869 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3869/labels{/name} | https://api.github.com/repos/psf/requests/issues/3869/comments | https://api.github.com/repos/psf/requests/issues/3869/events | https://github.com/psf/requests/pull/3869 | 207,032,956 | MDExOlB1bGxSZXF1ZXN0MTA1NzgxNTQ5 | 3,869 | revert removal of request param from resolve_redirects | {
"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 | 2017-02-12T06:39:29Z | 2021-09-07T00:06:34Z | 2017-02-12T07:33:14Z | MEMBER | resolved | This will fix the build issue on the proposed/3.0.0 branch.
When the `resp` and `req` parameters were condensed into `response`, it had some unintentional effects on responses modified by hooks. The `req` parameter was the request prior to being sent and hooks being run. Since `handle_401` resends the request again ... | {
"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/3869/reactions"
} | https://api.github.com/repos/psf/requests/issues/3869/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3869.diff",
"html_url": "https://github.com/psf/requests/pull/3869",
"merged_at": "2017-02-12T07:33:14Z",
"patch_url": "https://github.com/psf/requests/pull/3869.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3869"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3869?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`proposed/3.0.0@85a29f1`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).\n> The diff coverage is `10... |
https://api.github.com/repos/psf/requests/issues/3868 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3868/labels{/name} | https://api.github.com/repos/psf/requests/issues/3868/comments | https://api.github.com/repos/psf/requests/issues/3868/events | https://github.com/psf/requests/pull/3868 | 207,005,170 | MDExOlB1bGxSZXF1ZXN0MTA1NzY2MTk3 | 3,868 | Make Response.raise_for_status() return the response object if the response is successful | {
"avatar_url": "https://avatars.githubusercontent.com/u/28710?v=4",
"events_url": "https://api.github.com/users/vmalloc/events{/privacy}",
"followers_url": "https://api.github.com/users/vmalloc/followers",
"following_url": "https://api.github.com/users/vmalloc/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 6 | 2017-02-11T20:12:31Z | 2021-09-07T00:06:34Z | 2017-02-12T09:58:09Z | NONE | resolved | This allows for chaining method calls in cases where we want to raise for bad codes but use the response otherwise,
e.g. `requests.get(URL).raise_for_status().json()['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/3868/reactions"
} | https://api.github.com/repos/psf/requests/issues/3868/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3868.diff",
"html_url": "https://github.com/psf/requests/pull/3868",
"merged_at": "2017-02-12T09:58:09Z",
"patch_url": "https://github.com/psf/requests/pull/3868.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3868"
} | true | [
"@Lukasa added a changelog entry to 3.0-HISTORY. Also the Travis build fails, but it doesn't appear like it's because of my change... not sure how to investigate...",
"Yeah, I don't think it is: the 3.0.0 build has a breakage on it that was caused by one of the recent merges. I'll chase it on Monday. In the meant... |
https://api.github.com/repos/psf/requests/issues/3867 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3867/labels{/name} | https://api.github.com/repos/psf/requests/issues/3867/comments | https://api.github.com/repos/psf/requests/issues/3867/events | https://github.com/psf/requests/issues/3867 | 206,980,309 | MDU6SXNzdWUyMDY5ODAzMDk= | 3,867 | Update certifi certs to 2017.01.23 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1782831?v=4",
"events_url": "https://api.github.com/users/klensy/events{/privacy}",
"followers_url": "https://api.github.com/users/klensy/followers",
"following_url": "https://api.github.com/users/klensy/following{/other_user}",
"gists_url": "https://ap... | [] | 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 | 1 | 2017-02-11T13:40:35Z | 2021-09-08T12:00:58Z | 2017-02-11T14:15:03Z | NONE | resolved | Version 2017.01.23 latest (for today).
Tnx. | {
"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/3867/reactions"
} | https://api.github.com/repos/psf/requests/issues/3867/timeline | null | completed | null | null | false | [
"Thanks, but this is part of our release process. We generally don't update the master branch ahead of releases. \r\n\r\nIf you want to stay up-to-date with certifi you should install it directly: requests will automatically use it in preference to its own trust store. "
] |
https://api.github.com/repos/psf/requests/issues/3866 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3866/labels{/name} | https://api.github.com/repos/psf/requests/issues/3866/comments | https://api.github.com/repos/psf/requests/issues/3866/events | https://github.com/psf/requests/pull/3866 | 206,896,894 | MDExOlB1bGxSZXF1ZXN0MTA1Njk4Njc1 | 3,866 | More extensive while-loop altering | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2017-02-10T20:20:19Z | 2021-09-07T00:06:33Z | 2017-02-10T21:47:33Z | CONTRIBUTOR | resolved | This is offered as an alternate/addition to my other PR, https://github.com/kennethreitz/requests/pull/3846
Specifically the code is in this commit: https://github.com/jvanasco/requests/commit/5e9371854176164db9ce5fee5ceb39b58f4035b2
This passes current tests, but it's a bit of a change so I'm offering it separat... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3866/reactions"
} | https://api.github.com/repos/psf/requests/issues/3866/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3866.diff",
"html_url": "https://github.com/psf/requests/pull/3866",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3866.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3866"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3866?src=pr&el=h1) Report\n> Merging [#3866](https://codecov.io/gh/kennethreitz/requests/pull/3866?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/ad65b0cb19124b5ae4dd01bf19d82c16ffb2485d?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/3865 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3865/labels{/name} | https://api.github.com/repos/psf/requests/issues/3865/comments | https://api.github.com/repos/psf/requests/issues/3865/events | https://github.com/psf/requests/pull/3865 | 206,862,008 | MDExOlB1bGxSZXF1ZXN0MTA1Njc0NDk4 | 3,865 | 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 | 3 | 2017-02-10T17:49:26Z | 2021-09-07T00:06:34Z | 2017-02-10T21:50:11Z | 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/3865/reactions"
} | https://api.github.com/repos/psf/requests/issues/3865/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3865.diff",
"html_url": "https://github.com/psf/requests/pull/3865",
"merged_at": "2017-02-10T21:50:11Z",
"patch_url": "https://github.com/psf/requests/pull/3865.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3865"
} | true | [
"Had done this previously as: https://github.com/kennethreitz/requests/pull/3561",
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3865?src=pr&el=h1) Report\n> Merging [#3865](https://codecov.io/gh/kennethreitz/requests/pull/3865?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/reque... |
https://api.github.com/repos/psf/requests/issues/3864 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3864/labels{/name} | https://api.github.com/repos/psf/requests/issues/3864/comments | https://api.github.com/repos/psf/requests/issues/3864/events | https://github.com/psf/requests/pull/3864 | 206,855,244 | MDExOlB1bGxSZXF1ZXN0MTA1NjcwMTI3 | 3,864 | Proposed/3.0.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501... | closed | true | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2013-11-17T11:29:34Z",
"creator": {
"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",
... | 12 | 2017-02-10T17:23:04Z | 2021-09-01T00:11:46Z | 2018-11-13T12:55:45Z | CONTRIBUTOR | resolved | # v3.0.0 of Requests
This is a long-polling pull request for the next breaking-change version of Requests — version 3.0.0.
Any feature requests should be added as comments here — this is the time to get anything into Requests, if there's any time at at all.
**Expected landing date**: *this year*.
## Upcom... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3864/reactions"
} | https://api.github.com/repos/psf/requests/issues/3864/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3864.diff",
"html_url": "https://github.com/psf/requests/pull/3864",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3864.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3864"
} | true | [
"Needs a rebase!",
"Needs a rebase!",
"# [Codecov](https://codecov.io/gh/requests/requests/pull/3864?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`master@5697148`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit... |
https://api.github.com/repos/psf/requests/issues/3863 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3863/labels{/name} | https://api.github.com/repos/psf/requests/issues/3863/comments | https://api.github.com/repos/psf/requests/issues/3863/events | https://github.com/psf/requests/issues/3863 | 206,843,320 | MDU6SXNzdWUyMDY4NDMzMjA= | 3,863 | Socks5 proxy do not resolves dns through the proxy server | {
"avatar_url": "https://avatars.githubusercontent.com/u/11490531?v=4",
"events_url": "https://api.github.com/users/wavenator/events{/privacy}",
"followers_url": "https://api.github.com/users/wavenator/followers",
"following_url": "https://api.github.com/users/wavenator/following{/other_user}",
"gists_url": "... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
},
{
"color": "fad8c7",
"default": false,
"descrip... | closed | true | null | [] | null | 7 | 2017-02-10T16:36:16Z | 2020-12-06T21:48:26Z | 2017-09-02T02:11:16Z | NONE | resolved | since requests==2.13.0
Using socks5 proxy seems to resolve domains through the client instead of the proxy server.
downgrading to requests==2.12.0 ... 2.10.0 resolves the problem.
```python
In [1]: import requests
In [2]: requests.get(url='https://3g2upl4pq6kufc4m.onion/', proxies={'https': 'socks5://127.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... | {
"+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/3863/reactions"
} | https://api.github.com/repos/psf/requests/issues/3863/timeline | null | completed | null | null | false | [
"Yes, this change was intentional. This was to bring us in line with curl, which uses different schemes to decide whether to resolve via the proxy or via the client. If you use the scheme `socks5h` that should be sufficient to return to the prior behaviour.",
"I agree, it should be documented",
"This change is ... |
https://api.github.com/repos/psf/requests/issues/3862 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3862/labels{/name} | https://api.github.com/repos/psf/requests/issues/3862/comments | https://api.github.com/repos/psf/requests/issues/3862/events | https://github.com/psf/requests/pull/3862 | 206,766,274 | MDExOlB1bGxSZXF1ZXN0MTA1NjA2NDIy | 3,862 | Updated docs for Pipenv | {
"avatar_url": "https://avatars.githubusercontent.com/u/4329213?v=4",
"events_url": "https://api.github.com/users/mattkohl/events{/privacy}",
"followers_url": "https://api.github.com/users/mattkohl/followers",
"following_url": "https://api.github.com/users/mattkohl/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2017-02-10T10:56:00Z | 2021-09-07T00:06:38Z | 2017-02-10T12:19:01Z | NONE | resolved | Removed out-of-date advice for installing `py.test` with `requirements.txt` | {
"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/3862/reactions"
} | https://api.github.com/repos/psf/requests/issues/3862/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3862.diff",
"html_url": "https://github.com/psf/requests/pull/3862",
"merged_at": "2017-02-10T12:19:01Z",
"patch_url": "https://github.com/psf/requests/pull/3862.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3862"
} | true | [
"Sorry I missed that! Done."
] |
https://api.github.com/repos/psf/requests/issues/3861 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3861/labels{/name} | https://api.github.com/repos/psf/requests/issues/3861/comments | https://api.github.com/repos/psf/requests/issues/3861/events | https://github.com/psf/requests/issues/3861 | 206,763,473 | MDU6SXNzdWUyMDY3NjM0NzM= | 3,861 | gevent + requests blocks when using socks | {
"avatar_url": "https://avatars.githubusercontent.com/u/4971925?v=4",
"events_url": "https://api.github.com/users/xsren/events{/privacy}",
"followers_url": "https://api.github.com/users/xsren/followers",
"following_url": "https://api.github.com/users/xsren/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 3 | 2017-02-10T10:43:35Z | 2021-09-08T12:00:59Z | 2017-02-10T16:46:33Z | NONE | resolved | I use python(2.7.6),gevnet(1.1.2),requests(2.11.1) to make http requests concurrent, and it works good. But when I add socks proxy to requests, it blocks.
This is my code:
```
import time
import requests
import logging
import click
import gevent
from gevent import monkey
monkey.patch_all()
FORMAT = '%... | {
"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/3861/reactions"
} | https://api.github.com/repos/psf/requests/issues/3861/timeline | null | completed | null | null | false | [
"My best guess is that you are monkeypatching too late. When using gevent you must monkeypatch *first*, before importing anything else. Doing it later runs the risk of breaking anything that has done a `from` import from the things that gevent monkeypatches.\n\nCan you try moving your import and monkeypatch to the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.