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/3031 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3031/labels{/name} | https://api.github.com/repos/psf/requests/issues/3031/comments | https://api.github.com/repos/psf/requests/issues/3031/events | https://github.com/psf/requests/issues/3031 | 138,483,327 | MDU6SXNzdWUxMzg0ODMzMjc= | 3,031 | [WinError 10048] Only one usage of each socket address ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/16397493?v=4",
"events_url": "https://api.github.com/users/iliakarmanov/events{/privacy}",
"followers_url": "https://api.github.com/users/iliakarmanov/followers",
"following_url": "https://api.github.com/users/iliakarmanov/following{/other_user}",
"gist... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 136589914,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwxMzY1ODk5MTQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20Info"
},
{
"color": "777777",
"default": false,
"description": null,
... | closed | true | null | [] | null | 8 | 2016-03-04T14:02:15Z | 2021-09-08T14:00:29Z | 2016-04-16T04:05:20Z | NONE | resolved | I notice that despite using requests.Session() - I still seem to be creating new connections/sockets which eventually exhaust (TIME_WAIT) and I get the following error:
> [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted',))
```
s = requests.Session()
data = ... | {
"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/3031/reactions"
} | https://api.github.com/repos/psf/requests/issues/3031/timeline | null | completed | null | null | false | [
"What does `processRequest` do?\n",
"FWIW, I should mention that it's _extremely_ unwise to use a Session from multiple processes at the same time: it's not clear to me at all how well connection pooling will behave in that situation, and any number of things could start misbehaving. It's vastly preferable to hav... |
https://api.github.com/repos/psf/requests/issues/3030 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3030/labels{/name} | https://api.github.com/repos/psf/requests/issues/3030/comments | https://api.github.com/repos/psf/requests/issues/3030/events | https://github.com/psf/requests/issues/3030 | 138,403,878 | MDU6SXNzdWUxMzg0MDM4Nzg= | 3,030 | Strange behaviour in class dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/7345039?v=4",
"events_url": "https://api.github.com/users/coveritytest/events{/privacy}",
"followers_url": "https://api.github.com/users/coveritytest/followers",
"following_url": "https://api.github.com/users/coveritytest/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 1 | 2016-03-04T07:34:22Z | 2016-03-04T15:02:07Z | 2016-03-04T08:13:41Z | NONE | null | Apparently the class does not like hyphens or percent sign.
cookies = dict(hottest-count='working')
SyntaxError: keyword can't be an expression
Same problem with cookies like %FOO%='bar'.
| {
"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/3030/reactions"
} | https://api.github.com/repos/psf/requests/issues/3030/timeline | null | completed | null | null | false | [
"@coveritytest That has nothing to do with requests, and everything to do with Python: as the error reports to you, your _syntax_ is wrong.\n\nTry: `cookies = {\"hottest-count\": \"working\"}`.\n"
] |
https://api.github.com/repos/psf/requests/issues/3029 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3029/labels{/name} | https://api.github.com/repos/psf/requests/issues/3029/comments | https://api.github.com/repos/psf/requests/issues/3029/events | https://github.com/psf/requests/pull/3029 | 138,314,104 | MDExOlB1bGxSZXF1ZXN0NjE2MzU0MDE= | 3,029 | [MULTIPART-FILE] Content type should always be set | {
"avatar_url": "https://avatars.githubusercontent.com/u/1840162?v=4",
"events_url": "https://api.github.com/users/vaibhavkaul/events{/privacy}",
"followers_url": "https://api.github.com/users/vaibhavkaul/followers",
"following_url": "https://api.github.com/users/vaibhavkaul/following{/other_user}",
"gists_ur... | [
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
"name": "Breaking API Change",
"node_id": "MDU6TGFiZWw0NDUwMTI1Ng==",
"url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change"
},
{
"color": "e11d21",
"default": false,
"d... | closed | true | null | [] | null | 15 | 2016-03-03T22:20:14Z | 2021-09-08T04:01:15Z | 2016-03-04T19:57:56Z | NONE | resolved | # Context
In here:
https://github.com/kennethreitz/requests/blob/v2.7.0/requests/models.py#L464-L466
The content type is only set if the there isn't one already set. I feel this shouldn't be the case.
As we can see here: https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/filepost.py#L92... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1840162?v=4",
"events_url": "https://api.github.com/users/vaibhavkaul/events{/privacy}",
"followers_url": "https://api.github.com/users/vaibhavkaul/followers",
"following_url": "https://api.github.com/users/vaibhavkaul/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/3029/reactions"
} | https://api.github.com/repos/psf/requests/issues/3029/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3029.diff",
"html_url": "https://github.com/psf/requests/pull/3029",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3029.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3029"
} | true | [
"Hi @vaibhavkaul,\n\nThanks for sending a pull request. I'm afraid we likely won't be accepting it. Here's why:\n- This is drastically backwards incompatible behaviour. \n- It takes a great deal of freedom away from the user which we have intentionally placed into their hands.\n- This code does not just change this... |
https://api.github.com/repos/psf/requests/issues/3028 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3028/labels{/name} | https://api.github.com/repos/psf/requests/issues/3028/comments | https://api.github.com/repos/psf/requests/issues/3028/events | https://github.com/psf/requests/issues/3028 | 138,167,856 | MDU6SXNzdWUxMzgxNjc4NTY= | 3,028 | "in" operation on resp.cookies should not raise CookieConflictError | {
"avatar_url": "https://avatars.githubusercontent.com/u/687131?v=4",
"events_url": "https://api.github.com/users/trilogysci/events{/privacy}",
"followers_url": "https://api.github.com/users/trilogysci/followers",
"following_url": "https://api.github.com/users/trilogysci/following{/other_user}",
"gists_url": ... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"... | closed | true | null | [] | null | 3 | 2016-03-03T12:37:56Z | 2021-09-08T18:00:55Z | 2016-04-16T04:05:38Z | NONE | resolved | Hosts which have the same cookie define for multiple domains should not raise
"CookieConflictError: There are multiple cookies with name," when performing "in"
It should short cut and return True immediately when found.
| {
"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/3028/reactions"
} | https://api.github.com/repos/psf/requests/issues/3028/timeline | null | completed | null | null | false | [
"So the problem here is that the default implementation of `collections.Mapping.__contains__` calls in to `__getitem__`, which for the `RequestsCookieJar` requires that there be no duplicate. In this instance, we probably get the most bang for our buck by just overriding `__contains__` to call the parent implementa... |
https://api.github.com/repos/psf/requests/issues/3027 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3027/labels{/name} | https://api.github.com/repos/psf/requests/issues/3027/comments | https://api.github.com/repos/psf/requests/issues/3027/events | https://github.com/psf/requests/issues/3027 | 137,907,812 | MDU6SXNzdWUxMzc5MDc4MTI= | 3,027 | requests can't make a request to the server it's running on | {
"avatar_url": "https://avatars.githubusercontent.com/u/3768695?v=4",
"events_url": "https://api.github.com/users/isc-rsingh/events{/privacy}",
"followers_url": "https://api.github.com/users/isc-rsingh/followers",
"following_url": "https://api.github.com/users/isc-rsingh/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 6 | 2016-03-02T15:38:20Z | 2016-03-04T15:02:26Z | 2016-03-02T15:39:59Z | NONE | null | Here's a test case that never returns a response. Shouldn't this work?
``` python
import requests
from flask import Flask
app = Flask(__name__)
@app.route('/')
def Welcome():
return "Testing requests module's ability to call the service in which it's running"
@app.route('/test')
def TestRequest():
resp = re... | {
"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/3027/reactions"
} | https://api.github.com/repos/psf/requests/issues/3027/timeline | null | completed | null | null | false | [
"Flask's debug server cannot handle multiple requests at once. Run Flask behind a proper WSGI server and you'll be fine. =)\n",
"Thanks for the tip @Lukasa. I'm a newbie when it comes to Python web serving. Been struggling getting Apache WSGI module + Flask on OS X el capitan all day. First it was SIP (system int... |
https://api.github.com/repos/psf/requests/issues/3026 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3026/labels{/name} | https://api.github.com/repos/psf/requests/issues/3026/comments | https://api.github.com/repos/psf/requests/issues/3026/events | https://github.com/psf/requests/issues/3026 | 137,789,383 | MDU6SXNzdWUxMzc3ODkzODM= | 3,026 | option to enable TCP level keepalive | {
"avatar_url": "https://avatars.githubusercontent.com/u/61531?v=4",
"events_url": "https://api.github.com/users/woosley/events{/privacy}",
"followers_url": "https://api.github.com/users/woosley/followers",
"following_url": "https://api.github.com/users/woosley/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2016-03-02T06:46:46Z | 2021-09-08T19:00:32Z | 2016-03-02T07:14:21Z | NONE | resolved | When there is firewall between client and server, http session will be killed even with keepalive enabled because no TCP level keepalive probe is sent.
according to [here](http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/usingkeepalive.html)
> Remember that keepalive support, even if configured in the kernel, is not the de... | {
"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/3026/reactions"
} | https://api.github.com/repos/psf/requests/issues/3026/timeline | null | completed | null | null | false | [
"It is already possible: the requests tool belt provides a [Socket Options transport adapter](http://toolbelt.readthedocs.org/en/latest/adapters.html#socketoptionsadapter) that allows you to turn on TCP_KEEPALIVE.\n",
"There's also a separate keep alive adapter which subclasses the socket options adapter. That wi... |
https://api.github.com/repos/psf/requests/issues/3025 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3025/labels{/name} | https://api.github.com/repos/psf/requests/issues/3025/comments | https://api.github.com/repos/psf/requests/issues/3025/events | https://github.com/psf/requests/issues/3025 | 136,877,478 | MDU6SXNzdWUxMzY4Nzc0Nzg= | 3,025 | Proxies not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/15353112?v=4",
"events_url": "https://api.github.com/users/Tosible/events{/privacy}",
"followers_url": "https://api.github.com/users/Tosible/followers",
"following_url": "https://api.github.com/users/Tosible/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 7 | 2016-02-27T04:28:31Z | 2021-09-08T19:00:30Z | 2016-02-27T05:36:42Z | NONE | resolved | My script shows that proxies aren't working. Am I doing something wrong?
Here's the code if you need:
[Script.zip](https://github.com/kennethreitz/requests/files/149201/Script.zip)
| {
"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/3025/reactions"
} | https://api.github.com/repos/psf/requests/issues/3025/timeline | null | completed | null | null | false | [
"Code here:\n\n``` python\n# Important stuff here\nfrom json import load\nimport requests\nfrom random import choice, randint, shuffle\nfrom urllib2 import urlopen\n\nurl = 'http://epiccodes.com' \n\n# Random proxies from - http://proxygaz.com\nproxies = {'https': 'https:131.96.228.236:9064',\n 'https': '... |
https://api.github.com/repos/psf/requests/issues/3024 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3024/labels{/name} | https://api.github.com/repos/psf/requests/issues/3024/comments | https://api.github.com/repos/psf/requests/issues/3024/events | https://github.com/psf/requests/pull/3024 | 134,818,979 | MDExOlB1bGxSZXF1ZXN0NTk5MjU1MzE= | 3,024 | Added unit tests for utils module | {
"avatar_url": "https://avatars.githubusercontent.com/u/1236561?v=4",
"events_url": "https://api.github.com/users/Stranger6667/events{/privacy}",
"followers_url": "https://api.github.com/users/Stranger6667/followers",
"following_url": "https://api.github.com/users/Stranger6667/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 2 | 2016-02-19T09:44:23Z | 2021-09-08T04:01:10Z | 2016-04-06T19:05:13Z | CONTRIBUTOR | resolved | More unit tests for `utils` module. Also there is small cleanup for this module - removed unused imports & variable.
Lines coverage increased from 46% to 75%, but I'd like to ask about some functions, which are not used in `requests` at all (e.g `dict_to_sequence`, `from_key_val_list`, etc). Is there some plan for them... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/3024/reactions"
} | https://api.github.com/repos/psf/requests/issues/3024/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3024.diff",
"html_url": "https://github.com/psf/requests/pull/3024",
"merged_at": "2016-04-06T19:05:13Z",
"patch_url": "https://github.com/psf/requests/pull/3024.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3024"
} | true | [
"Some of the utils module functions are left in place to avoid breaking users that may be using them directly, even though they're not used in requests any more. There's certainly no plan to remove them prior to 3.0.0.\n",
"I'm down for removing ones that _don't belong there_ for 3.0. \n"
] |
https://api.github.com/repos/psf/requests/issues/3023 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3023/labels{/name} | https://api.github.com/repos/psf/requests/issues/3023/comments | https://api.github.com/repos/psf/requests/issues/3023/events | https://github.com/psf/requests/pull/3023 | 134,643,102 | MDExOlB1bGxSZXF1ZXN0NTk4MzM5NTc= | 3,023 | Add exceptions into __init__.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/244969?v=4",
"events_url": "https://api.github.com/users/jtpereyda/events{/privacy}",
"followers_url": "https://api.github.com/users/jtpereyda/followers",
"following_url": "https://api.github.com/users/jtpereyda/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 9 | 2016-02-18T17:28:38Z | 2021-09-08T04:01:16Z | 2016-02-19T01:49:15Z | NONE | resolved | Addresses Issue #3022.
Also added the JetBrains IDE settings folder, `.idea/`, to `.gitignore`.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/3023/reactions"
} | https://api.github.com/repos/psf/requests/issues/3023/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3023.diff",
"html_url": "https://github.com/psf/requests/pull/3023",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3023.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3023"
} | true | [
"I'm going to leave this up to @kennethreitz. As you stated in #3022, this is totally unnecessary, but neither is it a maintenance burden, so I have no objection to it. Thanks for your contribution! :cake:\n",
"We already have all the exceptions available in the public API:\n\n``` python\nfrom .exceptions import ... |
https://api.github.com/repos/psf/requests/issues/3022 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3022/labels{/name} | https://api.github.com/repos/psf/requests/issues/3022/comments | https://api.github.com/repos/psf/requests/issues/3022/events | https://github.com/psf/requests/issues/3022 | 134,639,217 | MDU6SXNzdWUxMzQ2MzkyMTc= | 3,022 | exceptions missing from __init__.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/244969?v=4",
"events_url": "https://api.github.com/users/jtpereyda/events{/privacy}",
"followers_url": "https://api.github.com/users/jtpereyda/followers",
"following_url": "https://api.github.com/users/jtpereyda/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 5 | 2016-02-18T17:12:37Z | 2021-09-08T18:00:55Z | 2016-04-16T04:05:57Z | NONE | resolved | It is traditional to include the public API in `__init__.py`.
Consider this test code:
``` python
import requests
import requests.exceptions
a = requests.exceptions.ConnectTimeout
```
This will run properly, but PyCharm raises a warning, saying, "Cannot find reference 'exceptions' in `__init__.py`".
This could be ... | {
"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/3022/reactions"
} | https://api.github.com/repos/psf/requests/issues/3022/timeline | null | completed | null | null | false | [
"This isn't _technically_ a bug in PyCharm. It is a bug that they should be fixing. If we did something like this for each editor that does nonsensical things like this, I'm not sure we'd have a very coherent project.\n",
"@kennethreitz Resolved this by changing the docs (see PR #3023).\n\nLooks like http://docs.... |
https://api.github.com/repos/psf/requests/issues/3021 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3021/labels{/name} | https://api.github.com/repos/psf/requests/issues/3021/comments | https://api.github.com/repos/psf/requests/issues/3021/events | https://github.com/psf/requests/pull/3021 | 134,496,478 | MDExOlB1bGxSZXF1ZXN0NTk3NTc5MDE= | 3,021 | Fix #3017: Whitespace characters surrounding a URL should be ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/120788?v=4",
"events_url": "https://api.github.com/users/geckon/events{/privacy}",
"followers_url": "https://api.github.com/users/geckon/followers",
"following_url": "https://api.github.com/users/geckon/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 3 | 2016-02-18T06:51:32Z | 2021-09-08T05:00:55Z | 2016-02-18T07:01:41Z | NONE | resolved | My attempt to fix [the issue I reported](https://github.com/kennethreitz/requests/issues/3017). Feel free to comment my changes, especially if you don't agree with them.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/3021/reactions"
} | https://api.github.com/repos/psf/requests/issues/3021/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3021.diff",
"html_url": "https://github.com/psf/requests/pull/3021",
"merged_at": "2016-02-18T07:01:41Z",
"patch_url": "https://github.com/psf/requests/pull/3021.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3021"
} | true | [
"@geckon thank you!\n\nFor the record, this is a potentially breaking change for _someone_, hence why it has to wait for inclusion in the 3.x series. \n",
":sparkles: :cake: :sparkles:\n",
"Thanks for this @geckon \n"
] |
https://api.github.com/repos/psf/requests/issues/3020 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3020/labels{/name} | https://api.github.com/repos/psf/requests/issues/3020/comments | https://api.github.com/repos/psf/requests/issues/3020/events | https://github.com/psf/requests/pull/3020 | 134,435,798 | MDExOlB1bGxSZXF1ZXN0NTk3Mjg2ODY= | 3,020 | Fix #3017: Whitepace characters surrounding a URL should be ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/120788?v=4",
"events_url": "https://api.github.com/users/geckon/events{/privacy}",
"followers_url": "https://api.github.com/users/geckon/followers",
"following_url": "https://api.github.com/users/geckon/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2016-02-17T23:45:37Z | 2021-09-08T05:00:56Z | 2016-02-18T06:54:01Z | NONE | resolved | My attempt to fix [the issue I reported](https://github.com/kennethreitz/requests/issues/3017). Feel free to comment my changes, especially if you don't agree with them.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/120788?v=4",
"events_url": "https://api.github.com/users/geckon/events{/privacy}",
"followers_url": "https://api.github.com/users/geckon/followers",
"following_url": "https://api.github.com/users/geckon/following{/other_user}",
"gists_url": "https://api... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3020/reactions"
} | https://api.github.com/repos/psf/requests/issues/3020/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3020.diff",
"html_url": "https://github.com/psf/requests/pull/3020",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3020.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3020"
} | true | [
"@geckon please rebase this against that branch instead. If you need help, let me know and I can give you some instructions that should work in this case. Thanks for handling this! :cake: \n",
"Hopefully I did it right the third time: https://github.com/kennethreitz/requests/pull/3021\nI believe this PR can be cl... |
https://api.github.com/repos/psf/requests/issues/3019 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3019/labels{/name} | https://api.github.com/repos/psf/requests/issues/3019/comments | https://api.github.com/repos/psf/requests/issues/3019/events | https://github.com/psf/requests/pull/3019 | 134,430,169 | MDExOlB1bGxSZXF1ZXN0NTk3MjUzOTc= | 3,019 | Fix #3017: Whitepace characters surrounding a URL should be ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/120788?v=4",
"events_url": "https://api.github.com/users/geckon/events{/privacy}",
"followers_url": "https://api.github.com/users/geckon/followers",
"following_url": "https://api.github.com/users/geckon/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 4 | 2016-02-17T23:14:54Z | 2021-09-08T05:00:56Z | 2016-02-18T06:54:36Z | NONE | resolved | My attempt to fix [the issue I reported](https://github.com/kennethreitz/requests/issues/3017). Feel free to comment my changes, especially if you don't agree with them.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/120788?v=4",
"events_url": "https://api.github.com/users/geckon/events{/privacy}",
"followers_url": "https://api.github.com/users/geckon/followers",
"following_url": "https://api.github.com/users/geckon/following{/other_user}",
"gists_url": "https://api... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3019/reactions"
} | https://api.github.com/repos/psf/requests/issues/3019/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3019.diff",
"html_url": "https://github.com/psf/requests/pull/3019",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3019.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3019"
} | true | [
"Looks perfect to me!\n",
"@geckon although, we're going to be merging this into the `proposed/3.0.0` branch. would you like to make your PR against that branch instead?\n",
"No problem: https://github.com/kennethreitz/requests/pull/3020\nIs that alright?\n",
"Hopefully I did it right the third time: https://... |
https://api.github.com/repos/psf/requests/issues/3018 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3018/labels{/name} | https://api.github.com/repos/psf/requests/issues/3018/comments | https://api.github.com/repos/psf/requests/issues/3018/events | https://github.com/psf/requests/issues/3018 | 134,293,897 | MDU6SXNzdWUxMzQyOTM4OTc= | 3,018 | ConnectionError: ('Connection aborted.', error(13, 'Permission denied')) | {
"avatar_url": "https://avatars.githubusercontent.com/u/16576155?v=4",
"events_url": "https://api.github.com/users/OneSecure/events{/privacy}",
"followers_url": "https://api.github.com/users/OneSecure/followers",
"following_url": "https://api.github.com/users/OneSecure/following{/other_user}",
"gists_url": "... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 615414998,
"name": "GAE Support",
"node_id": "MDU6TGFiZWw2MTU0MTQ5OTg=",
"url": "https://api.github.com/repos/psf/requests/labels/GAE%20Support"
}
] | closed | true | null | [] | null | 5 | 2016-02-17T14:27:05Z | 2021-09-08T01:21:17Z | 2016-02-17T14:43:43Z | NONE | resolved | On GAE, it went wrong.
WARNING 2016-02-17 14:06:22,023 urlfetch_stub.py:540] Stripped prohibited headers from URLFetch request: ['Host']
INFO 2016-02-17 14:06:22,773 connectionpool.py:758] Starting new HTTPS connection (1): api.weibo.com
ERROR 2016-02-17 14:06:23,531 webapp2.py:1528] ('Connection aborted.', err... | {
"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/3018/reactions"
} | https://api.github.com/repos/psf/requests/issues/3018/timeline | null | completed | null | null | false | [
"When I using version 2.3.0, This issue is disappear.\n\nhttps://github.com/kennethreitz/requests/tree/6366d3dd190a9e58ca582955cddf7e2ac5f32dcc\n\nLike the following link\nhttp://stackoverflow.com/questions/27974128/how-do-i-resolve-django-allauth-connection-aborted-error13-permission-d\n",
"I'm afraid that Reque... |
https://api.github.com/repos/psf/requests/issues/3017 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3017/labels{/name} | https://api.github.com/repos/psf/requests/issues/3017/comments | https://api.github.com/repos/psf/requests/issues/3017/events | https://github.com/psf/requests/issues/3017 | 133,979,726 | MDU6SXNzdWUxMzM5Nzk3MjY= | 3,017 | Whitepace characters surrounding a URL should be ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/120788?v=4",
"events_url": "https://api.github.com/users/geckon/events{/privacy}",
"followers_url": "https://api.github.com/users/geckon/followers",
"following_url": "https://api.github.com/users/geckon/following{/other_user}",
"gists_url": "https://api... | [] | 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",
... | 16 | 2016-02-16T13:17:02Z | 2021-09-08T19:00:32Z | 2016-02-18T22:34:54Z | NONE | resolved | It might be beneficial to unite the behavior with other tools (including browsers) and start ignoring whitespaces surrounding a URL. See the examples:
```
$ curl -s "https://github.com/ " -o /dev/null -w "%{http_code}"; echo
200
$ python -c 'import urllib2; print(urllib2.urlopen("https://github.com/ ").getcode())'
20... | {
"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/3017/reactions"
} | https://api.github.com/repos/psf/requests/issues/3017/timeline | null | completed | null | null | false | [
"I have no objection to calling `strip` on a URL that's passed into requests.\n",
"Do we currently `%20` these?\n",
"Yes.\n",
"> I have no objection to calling strip on a URL that's passed into requests.\n\nDo you mean the requests should do it or the caller?\n\nI may be very well mistaken but it might be eno... |
https://api.github.com/repos/psf/requests/issues/3016 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3016/labels{/name} | https://api.github.com/repos/psf/requests/issues/3016/comments | https://api.github.com/repos/psf/requests/issues/3016/events | https://github.com/psf/requests/issues/3016 | 133,752,844 | MDU6SXNzdWUxMzM3NTI4NDQ= | 3,016 | "Request.hooks" and "Session.hooks" merged inappropriately. | {
"avatar_url": "https://avatars.githubusercontent.com/u/8749411?v=4",
"events_url": "https://api.github.com/users/elonzh/events{/privacy}",
"followers_url": "https://api.github.com/users/elonzh/followers",
"following_url": "https://api.github.com/users/elonzh/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2016-02-15T16:12:19Z | 2021-09-08T19:00:32Z | 2016-02-16T09:07:55Z | NONE | resolved | Both `Session` and `Request` have attribute `hooks`. The hook function list execute sequentially. In this situation, `Session.hooks` executed for every request and `Request.hooks` executed for a specifical request.
But in fact, `Session.hooks` were replaced with `Request.hooks` when code ran into
`merge_setting`:
```... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/3016/reactions"
} | https://api.github.com/repos/psf/requests/issues/3016/timeline | null | completed | null | null | false | [
"@evilerliang Do the requests docs guarantee that `Session.hooks` will not be replaced by `Request.hooks`? In general, things declared for specific requests _override_ the things declared on the `Session`, rather than _supplementing_ them.\n",
"I reviewed the doc, thk.\n\n> Any dictionaries that you pass to a req... |
https://api.github.com/repos/psf/requests/issues/3015 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3015/labels{/name} | https://api.github.com/repos/psf/requests/issues/3015/comments | https://api.github.com/repos/psf/requests/issues/3015/events | https://github.com/psf/requests/issues/3015 | 133,623,869 | MDU6SXNzdWUxMzM2MjM4Njk= | 3,015 | Ability to set timeout after response | {
"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 | 12 | 2016-02-15T05:04:00Z | 2021-09-08T19:00:33Z | 2016-02-15T23:21:51Z | CONTRIBUTOR | resolved | For devs who use this great library, it would be very beneficial to be able to set the timeout AFTER initial connection. There are a few scenarios where this is useful but one of the main patterns/use cases is this:
```
import requests
import socket
# May or may not subclass threading.Thread
class Getter(object):
... | {
"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... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3015/reactions"
} | https://api.github.com/repos/psf/requests/issues/3015/timeline | null | completed | null | null | false | [
"Out of interest, why do you need to set the timeout retroactively? You could just set the timeout in the constructor, could you not?\n",
"To test connection loss handling as explained above. Is there already some way to do this? I was looking through the code but couldn't quite wrap my head around how one might ... |
https://api.github.com/repos/psf/requests/issues/3014 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3014/labels{/name} | https://api.github.com/repos/psf/requests/issues/3014/comments | https://api.github.com/repos/psf/requests/issues/3014/events | https://github.com/psf/requests/pull/3014 | 133,576,032 | MDExOlB1bGxSZXF1ZXN0NTkzMDQ4NjA= | 3,014 | PreparedRequest.dump() | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 63 | 2016-02-14T20:26:41Z | 2021-09-06T00:06:51Z | 2016-04-06T19:08:02Z | CONTRIBUTOR | resolved | ```
>>> r = requests.get('http://httpbin.org/ip')
>>> print r.request.dump()
REQUESTS/2.9.1 GET http://httpbin.org/ip
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: */*
User-Agent: python-requests/2.9.1
```
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 1,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/3014/reactions"
} | https://api.github.com/repos/psf/requests/issues/3014/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3014.diff",
"html_url": "https://github.com/psf/requests/pull/3014",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3014.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3014"
} | true | [
"I think `render` is a good name if it was reporting `HTTP/1.1` in the strings. Another name may be more appropriate now. \n",
"I find it entertaining how this showcases just how much we completely disregard header order. \n",
"Thinking of removing Response's render. \n",
"Maybe `dump()`?\n",
"@Lukasa hmmm,... |
https://api.github.com/repos/psf/requests/issues/3013 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3013/labels{/name} | https://api.github.com/repos/psf/requests/issues/3013/comments | https://api.github.com/repos/psf/requests/issues/3013/events | https://github.com/psf/requests/issues/3013 | 133,534,638 | MDU6SXNzdWUxMzM1MzQ2Mzg= | 3,013 | Easy printing of Requests and Responses, two new utils? | {
"avatar_url": "https://avatars.githubusercontent.com/u/224130?v=4",
"events_url": "https://api.github.com/users/EmilStenstrom/events{/privacy}",
"followers_url": "https://api.github.com/users/EmilStenstrom/followers",
"following_url": "https://api.github.com/users/EmilStenstrom/following{/other_user}",
"gis... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
}
] | closed | true | null | [] | null | 12 | 2016-02-14T12:25:29Z | 2021-09-08T18:00:54Z | 2016-04-16T04:06:18Z | NONE | resolved | Several times now I've stumbled over cases where I would like to print the request and response objects as strings to the console. Simply to see when headers and content are sent. Seems more people than I have had this problem: http://stackoverflow.com/questions/20658572/python-requests-print-entire-http-request-raw
M... | {
"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": 9,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 9,
"url": "https://api.github.com/repos/psf/requests/issues/3013/reactions"
} | https://api.github.com/repos/psf/requests/issues/3013/timeline | null | completed | null | null | false | [
"@EmilStenstrom Generally this is a good idea, but we tend to oppose having 'utility' functions be merged into requests itself: we want to restrict the scope of the main library so that it remains really good at doing its specific roles.\n\nFor that reason, you should check out the [requests toolbelt](https://toolb... |
https://api.github.com/repos/psf/requests/issues/3012 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3012/labels{/name} | https://api.github.com/repos/psf/requests/issues/3012/comments | https://api.github.com/repos/psf/requests/issues/3012/events | https://github.com/psf/requests/issues/3012 | 133,487,050 | MDU6SXNzdWUxMzM0ODcwNTA= | 3,012 | Memory usage | {
"avatar_url": "https://avatars.githubusercontent.com/u/7945525?v=4",
"events_url": "https://api.github.com/users/Leo675/events{/privacy}",
"followers_url": "https://api.github.com/users/Leo675/followers",
"following_url": "https://api.github.com/users/Leo675/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 10 | 2016-02-14T00:25:05Z | 2021-09-08T19:00:33Z | 2016-02-14T01:22:20Z | NONE | resolved | Memory usage seems to be abnormally high for requests when using python 2.7.
Request version being tested is 2.9.1 installed by pip. "pip show requests" output will be at the end.
I'm unsure if this is an "issue", but it seems to be using 25MB just by importing requests.
Testing was done using memory_profiler. I've ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/7945525?v=4",
"events_url": "https://api.github.com/users/Leo675/events{/privacy}",
"followers_url": "https://api.github.com/users/Leo675/followers",
"following_url": "https://api.github.com/users/Leo675/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/3012/reactions"
} | https://api.github.com/repos/psf/requests/issues/3012/timeline | null | completed | null | null | false | [
"update:\n\nAfter upgrading all OTHER python packages, the memory usage with python 2.7 dropped down to 7.8 MiB\n\nSeems to be an issue with another library that is imported into requests and not actually caused by requests itself.\n",
"@IDSninja do you have a list of the packages you upgraded? Requests doesn't i... |
https://api.github.com/repos/psf/requests/issues/3011 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3011/labels{/name} | https://api.github.com/repos/psf/requests/issues/3011/comments | https://api.github.com/repos/psf/requests/issues/3011/events | https://github.com/psf/requests/issues/3011 | 133,412,794 | MDU6SXNzdWUxMzM0MTI3OTQ= | 3,011 | Requests SSL Handshake Failure | {
"avatar_url": "https://avatars.githubusercontent.com/u/9329553?v=4",
"events_url": "https://api.github.com/users/wraithseeker/events{/privacy}",
"followers_url": "https://api.github.com/users/wraithseeker/followers",
"following_url": "https://api.github.com/users/wraithseeker/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 5 | 2016-02-13T08:00:39Z | 2021-09-08T19:00:33Z | 2016-02-13T09:04:42Z | NONE | resolved | I'm getting
requests.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:645) using the Requests library to fetch a webpage with Python3.
Most other https website work but there are only a couple of websites that causes me to encounter this error.
Pip3 list
```
cffi (1.5.0... | {
"avatar_url": "https://avatars.githubusercontent.com/u/9329553?v=4",
"events_url": "https://api.github.com/users/wraithseeker/events{/privacy}",
"followers_url": "https://api.github.com/users/wraithseeker/followers",
"following_url": "https://api.github.com/users/wraithseeker/following{/other_user}",
"gists... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3011/reactions"
} | https://api.github.com/repos/psf/requests/issues/3011/timeline | null | completed | null | null | false | [
"This works on my machine (just adding additional information). I do not, however, have pyOpenSSL installed. \n",
"PyOpenSSL is not currently used on Python 3.\n\nWhat version of OpenSSL are you using? `python -c 'import ssl; print ssl.OPENSSL_VERSION'`\n",
"`OpenSSL 0.9.8zg 14 July 2015`\n\nI tried uninstallin... |
https://api.github.com/repos/psf/requests/issues/3010 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3010/labels{/name} | https://api.github.com/repos/psf/requests/issues/3010/comments | https://api.github.com/repos/psf/requests/issues/3010/events | https://github.com/psf/requests/issues/3010 | 133,394,357 | MDU6SXNzdWUxMzMzOTQzNTc= | 3,010 | get_redirect_location return error hostname | {
"avatar_url": "https://avatars.githubusercontent.com/u/1644359?v=4",
"events_url": "https://api.github.com/users/jsfs2019/events{/privacy}",
"followers_url": "https://api.github.com/users/jsfs2019/followers",
"following_url": "https://api.github.com/users/jsfs2019/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 4 | 2016-02-13T03:39:26Z | 2021-09-08T19:00:34Z | 2016-02-13T03:56:03Z | NONE | resolved | when I visited site http://bitsnoop.com/chano-dominguez-hecho-a-mano-200-q18406062.html like this:
```
In [3]: r = get('http://bitsnoop.com/chano-dominguez-hecho-a-mano-200-q18406062.html', allow_redirects=False)
In [4]: r.status_code
Out[4]: 302
In [5]: r.raw.get_redirect_location()
Out[5]: 'http://127.0.0.1/'
```
I... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3010/reactions"
} | https://api.github.com/repos/psf/requests/issues/3010/timeline | null | completed | null | null | false | [
"`r.raw.get_redirect_location()` is not actually part of the Requests API, and is not a supported way to procure that information.\n\nThe proper way (as it stands) is to simply look at the value of the `Location` header:\n\n``` python\n>>> r.headers['Location']\n'http://127.0.0.1/'\n```\n",
"@jaron92: It looks li... |
https://api.github.com/repos/psf/requests/issues/3009 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3009/labels{/name} | https://api.github.com/repos/psf/requests/issues/3009/comments | https://api.github.com/repos/psf/requests/issues/3009/events | https://github.com/psf/requests/issues/3009 | 133,365,559 | MDU6SXNzdWUxMzMzNjU1NTk= | 3,009 | Inspecting 'response.ok' with non-ascii HTTP status "reason" content causes UnicodeDecodeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/420896?v=4",
"events_url": "https://api.github.com/users/rene-armida/events{/privacy}",
"followers_url": "https://api.github.com/users/rene-armida/followers",
"following_url": "https://api.github.com/users/rene-armida/following{/other_user}",
"gists_url... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 12 | 2016-02-12T23:09:13Z | 2021-09-08T16:00:39Z | 2016-08-05T00:10:35Z | NONE | resolved | Duplicate bug disclaimer: this is related to other Unicode + header issues, however, those all focus on errors raised while generating an outbound request. This applies only to inbound requests. (See also: #1082, #400, and to a lesser extent, #390, #409, #421, and #424; if this is already covered by another bug, sorry ... | {
"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/3009/reactions"
} | https://api.github.com/repos/psf/requests/issues/3009/timeline | null | completed | null | null | false | [
"I think the best way for this to be solved is for us to switch the format specifier for the reason phrase from `%s` to `%r`. Given that RFC 7230 tells us that a client should basically ignore the reason phrase anyway, we should avoid trying to interpret it. \n",
":+1: \n",
"Extra datapoint, I've been bitten by... |
https://api.github.com/repos/psf/requests/issues/3008 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3008/labels{/name} | https://api.github.com/repos/psf/requests/issues/3008/comments | https://api.github.com/repos/psf/requests/issues/3008/events | https://github.com/psf/requests/issues/3008 | 133,362,834 | MDU6SXNzdWUxMzMzNjI4MzQ= | 3,008 | invalid git history | {
"avatar_url": "https://avatars.githubusercontent.com/u/1505226?v=4",
"events_url": "https://api.github.com/users/thestinger/events{/privacy}",
"followers_url": "https://api.github.com/users/thestinger/followers",
"following_url": "https://api.github.com/users/thestinger/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 12 | 2016-02-12T22:51:09Z | 2016-03-09T21:27:22Z | 2016-02-13T00:11:32Z | NONE | null | The Git history for this repository is invalid. You'll run into this if you enable verification of the history in your configuration (which should really be the default):
```
[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
[receive]
fsckobjects = true
```
```
% git clone https://github.com/kenn... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/3008/reactions"
} | https://api.github.com/repos/psf/requests/issues/3008/timeline | null | completed | null | null | false | [
"> verification by default may become the default on various distributions\n\nI'd assume there are many more large/popular repositories that contain at least broken timestamps. IMO it'd be impudent if a distro patches git in a way that would break cloning repos like this. Given requests' history with downstream pat... |
https://api.github.com/repos/psf/requests/issues/3007 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3007/labels{/name} | https://api.github.com/repos/psf/requests/issues/3007/comments | https://api.github.com/repos/psf/requests/issues/3007/events | https://github.com/psf/requests/issues/3007 | 133,202,073 | MDU6SXNzdWUxMzMyMDIwNzM= | 3,007 | Add ability to pass CA certificates by fileobj | {
"avatar_url": "https://avatars.githubusercontent.com/u/88809?v=4",
"events_url": "https://api.github.com/users/Kentzo/events{/privacy}",
"followers_url": "https://api.github.com/users/Kentzo/followers",
"following_url": "https://api.github.com/users/Kentzo/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 8 | 2016-02-12T10:16:35Z | 2021-09-08T13:05:30Z | 2016-02-12T13:27:52Z | NONE | resolved | Sometimes requests has no ability to open file with CA because is no such file, e.g. when CA is embedded in the app.
requests should allow to specify fileobj (which can be a file or io wrapper on top of string and bytes) for that.
| {
"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/3007/reactions"
} | https://api.github.com/repos/psf/requests/issues/3007/timeline | null | completed | null | null | false | [
"Unfortunately that's extremely difficult for requests to do. \n\nThe 'path to a file' approach is actually the API used by OpenSSL. It's also possible to pass an in-memory serialized representation (as read from a file object), but that API is not exposed by the standard library so we can't rely on that being pres... |
https://api.github.com/repos/psf/requests/issues/3006 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3006/labels{/name} | https://api.github.com/repos/psf/requests/issues/3006/comments | https://api.github.com/repos/psf/requests/issues/3006/events | https://github.com/psf/requests/issues/3006 | 133,149,897 | MDU6SXNzdWUxMzMxNDk4OTc= | 3,006 | requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:645) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2891235?v=4",
"events_url": "https://api.github.com/users/caizixian/events{/privacy}",
"followers_url": "https://api.github.com/users/caizixian/followers",
"following_url": "https://api.github.com/users/caizixian/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 77 | 2016-02-12T03:30:56Z | 2021-09-04T00:06:18Z | 2016-08-05T07:52:35Z | NONE | resolved | Here is the first issue.
https://github.com/kennethreitz/requests/issues/2906
Python 3.5.1 (https://www.python.org/downloads/) Virtualenv 14.0.5 Mac OS X 10.11.3
First, I created a virtualenv and `pip install requests[security]`
Then I got
```
>>> from cryptography.hazmat.backends.openssl.backend import backend
>>>... | {
"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/3006/reactions"
} | https://api.github.com/repos/psf/requests/issues/3006/timeline | null | completed | null | null | false | [
"> Then, some of my own scripts crashed which was normal.\n\nWhat does a crash like that look like?\n\n> After that, when I try to run my script again, I got following exceptions\n\nAre you completely unable to run them at all after that?\n",
"@sigmavirus24 It's just some bug in my own code without anything to do... |
https://api.github.com/repos/psf/requests/issues/3005 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3005/labels{/name} | https://api.github.com/repos/psf/requests/issues/3005/comments | https://api.github.com/repos/psf/requests/issues/3005/events | https://github.com/psf/requests/pull/3005 | 133,051,769 | MDExOlB1bGxSZXF1ZXN0NTkwNzMzMzk= | 3,005 | Use time.monotonic() for tracking elapsed time where available | {
"avatar_url": "https://avatars.githubusercontent.com/u/109152?v=4",
"events_url": "https://api.github.com/users/scop/events{/privacy}",
"followers_url": "https://api.github.com/users/scop/followers",
"following_url": "https://api.github.com/users/scop/following{/other_user}",
"gists_url": "https://api.githu... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 44501305,
"name": "Not Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTMwNQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Not%20Ready%20To%20Merge"
},
{
"color": "e11d21",
"default": false,
"d... | closed | true | null | [] | null | 5 | 2016-02-11T18:30:48Z | 2021-09-08T04:01:11Z | 2016-04-06T18:56:17Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3005/reactions"
} | https://api.github.com/repos/psf/requests/issues/3005/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3005.diff",
"html_url": "https://github.com/psf/requests/pull/3005",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3005.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3005"
} | true | [
"Hey @scop I was wondering if you could provide detail about why this is desirable and why we should change the existing behaviour as well as a description of when/where monotonic will be available and where/when it won't.\n",
"Most of the requested details should be answered by the `time.monotonic` docs: https:/... | |
https://api.github.com/repos/psf/requests/issues/3004 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3004/labels{/name} | https://api.github.com/repos/psf/requests/issues/3004/comments | https://api.github.com/repos/psf/requests/issues/3004/events | https://github.com/psf/requests/issues/3004 | 132,781,456 | MDU6SXNzdWUxMzI3ODE0NTY= | 3,004 | Durable way to obtain SSLError errno | {
"avatar_url": "https://avatars.githubusercontent.com/u/1385596?v=4",
"events_url": "https://api.github.com/users/AlanCoding/events{/privacy}",
"followers_url": "https://api.github.com/users/AlanCoding/followers",
"following_url": "https://api.github.com/users/AlanCoding/following{/other_user}",
"gists_url":... | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 6 | 2016-02-10T18:33:23Z | 2024-05-20T14:35:28Z | 2024-05-20T14:35:28Z | NONE | null | ## Issue
I want to get the errno property of an SSLError object the right way.
## Description
I have a Session object, for which I call the request method made inside of a try-catch block. I would like to distinguish between different situations, all of which will have the same traceback, and all of which produce an ... | {
"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/3004/reactions"
} | https://api.github.com/repos/psf/requests/issues/3004/timeline | null | completed | null | null | false | [
"This would be helpful as i get `SSLError: (\"bad handshake: SysCallError(-1, 'Unexpected EOF')\",)` when i run my scripts and i am not sure what error is causing this issue exactly. The traceback does lead to the Requests `adapter.py` library.\n",
"@girishsortur This would not help you at all. You can already se... |
https://api.github.com/repos/psf/requests/issues/3003 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3003/labels{/name} | https://api.github.com/repos/psf/requests/issues/3003/comments | https://api.github.com/repos/psf/requests/issues/3003/events | https://github.com/psf/requests/pull/3003 | 132,563,476 | MDExOlB1bGxSZXF1ZXN0NTg4MjM1NTY= | 3,003 | Added pprint() function to Response and PreparedRequest objects for human-reading goodness | {
"avatar_url": "https://avatars.githubusercontent.com/u/5515484?v=4",
"events_url": "https://api.github.com/users/mtj42/events{/privacy}",
"followers_url": "https://api.github.com/users/mtj42/followers",
"following_url": "https://api.github.com/users/mtj42/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 6 | 2016-02-09T23:05:14Z | 2021-09-08T05:00:57Z | 2016-02-10T20:26:21Z | NONE | resolved | This feature is aimed at making debugging/following HTTP traffic easier on a developer. Many times in the past, I would send Requests' traffic through Burp proxy in order to have a visual representation of my HTTP traffic. With this pull request, a developer can simply call pprint() on their HTTP requests to see a Burp... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5515484?v=4",
"events_url": "https://api.github.com/users/mtj42/events{/privacy}",
"followers_url": "https://api.github.com/users/mtj42/followers",
"following_url": "https://api.github.com/users/mtj42/following{/other_user}",
"gists_url": "https://api.g... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3003/reactions"
} | https://api.github.com/repos/psf/requests/issues/3003/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3003.diff",
"html_url": "https://github.com/psf/requests/pull/3003",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3003.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3003"
} | true | [
"This already exists (to a degree) in the requests-toolbelt: https://toolbelt.readthedocs.org/en/latest/dumputils.html\n",
"My major problem with the dump utility is that it is not as granular as pprint(), which gives a developer the ability to dump a single request or a response without the body attached (good f... |
https://api.github.com/repos/psf/requests/issues/3002 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3002/labels{/name} | https://api.github.com/repos/psf/requests/issues/3002/comments | https://api.github.com/repos/psf/requests/issues/3002/events | https://github.com/psf/requests/issues/3002 | 132,525,007 | MDU6SXNzdWUxMzI1MjUwMDc= | 3,002 | Request via IPv6 ip result in a broken Host header | {
"avatar_url": "https://avatars.githubusercontent.com/u/569440?v=4",
"events_url": "https://api.github.com/users/pneumaticdeath/events{/privacy}",
"followers_url": "https://api.github.com/users/pneumaticdeath/followers",
"following_url": "https://api.github.com/users/pneumaticdeath/following{/other_user}",
"... | [] | closed | true | null | [] | null | 27 | 2016-02-09T20:30:32Z | 2021-09-08T16:00:35Z | 2016-08-05T07:51:40Z | NONE | resolved | This is a regression from 2.7.0 and 2.9.1. When using a URL with an IPv6 ip in the host part of the url:
http://[2620:10d:c021:11::75]/foo, in 2.7.0 the Host header looks correct as so:
Host: [2620:10d:c021:11::75]
But when using 2.9.1, it gets munged:
Host: [[2620:10d:c021:11::75]]
This causes Django to barf.
| {
"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/3002/reactions"
} | https://api.github.com/repos/psf/requests/issues/3002/timeline | null | completed | null | null | false | [
"Just to clarify, where did you install requests from?\n",
"So this was probably introduced by shazow/urllib3#708. Looks like we'll have to revert that @shazow.\n\n@pneumaticdeath Why Python version are you using?\n",
"I got it from https://pypi.python.org/packages/source/r/requests/requests-2.9.1.tar.gz#md5=0b... |
https://api.github.com/repos/psf/requests/issues/3001 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3001/labels{/name} | https://api.github.com/repos/psf/requests/issues/3001/comments | https://api.github.com/repos/psf/requests/issues/3001/events | https://github.com/psf/requests/issues/3001 | 132,501,201 | MDU6SXNzdWUxMzI1MDEyMDE= | 3,001 | Multipart mixed responses generate warnings | {
"avatar_url": "https://avatars.githubusercontent.com/u/36793?v=4",
"events_url": "https://api.github.com/users/ndw/events{/privacy}",
"followers_url": "https://api.github.com/users/ndw/followers",
"following_url": "https://api.github.com/users/ndw/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 1 | 2016-02-09T18:57:40Z | 2021-09-08T19:00:35Z | 2016-02-09T19:17:12Z | NONE | resolved | If you read a multipart/mixed response, the connectionpool issues a couple of warnings about defects in the message. I'm not sure what the expected, correct behavior is, but these warnings seem spurious.
Stick this perl script somewhere:
```
#!/usr/bin/perl
print "Server: Some Server Name\r\n";
print "Content-Type: ... | {
"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/3001/reactions"
} | https://api.github.com/repos/psf/requests/issues/3001/timeline | null | completed | null | null | false | [
"Ah, can you raise this issue on the urllib3 repo! We'd love to merge a fix at the project! It's [here](https://github.com/shazow/urllib3).\n"
] |
https://api.github.com/repos/psf/requests/issues/3000 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3000/labels{/name} | https://api.github.com/repos/psf/requests/issues/3000/comments | https://api.github.com/repos/psf/requests/issues/3000/events | https://github.com/psf/requests/issues/3000 | 132,283,591 | MDU6SXNzdWUxMzIyODM1OTE= | 3,000 | Problem with Content-Lenght is missing | {
"avatar_url": "https://avatars.githubusercontent.com/u/17131854?v=4",
"events_url": "https://api.github.com/users/victor1969/events{/privacy}",
"followers_url": "https://api.github.com/users/victor1969/followers",
"following_url": "https://api.github.com/users/victor1969/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 6 | 2016-02-08T23:11:45Z | 2021-09-08T19:00:35Z | 2016-02-08T23:37:19Z | NONE | resolved | I'm playing clonk rage but i can't play online because this happend
Content-Lenght is missing pls help me
PS: i don't speak english so well
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/3000/reactions"
} | https://api.github.com/repos/psf/requests/issues/3000/timeline | null | completed | null | null | false | [
"@victor1969 can you please share the code you are using so we can understand what you're asking?\n",
"where i get the code?\n",
"@victor1969 is this an error you saw while playing a game? Why did you decide to post about it here?\n",
"i'm just trying to play online Clonk rage but says on the server list\nInt... |
https://api.github.com/repos/psf/requests/issues/2999 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2999/labels{/name} | https://api.github.com/repos/psf/requests/issues/2999/comments | https://api.github.com/repos/psf/requests/issues/2999/events | https://github.com/psf/requests/issues/2999 | 131,995,844 | MDU6SXNzdWUxMzE5OTU4NDQ= | 2,999 | URL-encoded boolean parameter passed as ?foo=True instead of ?foo=1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6293202?v=4",
"events_url": "https://api.github.com/users/FlyingLotus1983/events{/privacy}",
"followers_url": "https://api.github.com/users/FlyingLotus1983/followers",
"following_url": "https://api.github.com/users/FlyingLotus1983/following{/other_user}",... | [] | closed | true | null | [] | null | 2 | 2016-02-07T18:34:30Z | 2021-09-08T19:00:35Z | 2016-02-07T19:48:24Z | NONE | resolved | When encoding a boolean into a URL encoded parameter:
```
payload = {'foo': True}
resp = requests.post(path, params=payload)
```
Requests currently generates: `?foo=True` .. I would expect the boolean to be encoded as a 1 or 0, e.g. `?foo=1` , as some clients may not understand `True` as a boolean.
I did some googl... | {
"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/2999/reactions"
} | https://api.github.com/repos/psf/requests/issues/2999/timeline | null | completed | null | null | false | [
"There are no rules for how to encode Boolean types, because urlencoding is performed on strings, not on typed objects. For that reason, Reuests coerces all objects passed to the urlencoding logic to strings (except for `None`, which it handles specially).\n\nThis is not considered a bug by the requests team: while... |
https://api.github.com/repos/psf/requests/issues/2998 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2998/labels{/name} | https://api.github.com/repos/psf/requests/issues/2998/comments | https://api.github.com/repos/psf/requests/issues/2998/events | https://github.com/psf/requests/issues/2998 | 131,786,503 | MDU6SXNzdWUxMzE3ODY1MDM= | 2,998 | Requests default to environment CA even when there's a session-set CA | {
"avatar_url": "https://avatars.githubusercontent.com/u/1117819?v=4",
"events_url": "https://api.github.com/users/jcmcken/events{/privacy}",
"followers_url": "https://api.github.com/users/jcmcken/followers",
"following_url": "https://api.github.com/users/jcmcken/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 4 | 2016-02-05T23:16:51Z | 2021-09-08T19:00:34Z | 2016-02-10T08:46:49Z | NONE | resolved | If I set a CA via an environment variable, such as:
``` console
$ export REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt
```
(Where the CA bundle actually does exist)
And then I prepare a session like this:
``` python
import requests
session = requests.Session()
session.verify = '/path/to/custom/ca.pem'
```
(... | {
"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/2998/reactions"
} | https://api.github.com/repos/psf/requests/issues/2998/timeline | null | completed | null | null | false | [
"I believe this is related to https://github.com/kennethreitz/requests/issues/2018 which is scheduled for 3.0.0\n",
"As an aside, you can disable using the environment by setting `trust_env=False`.\n",
"Closing to centralise on #2018.\n",
"@sigmavirus24 That's the workaround I intend to use, although it's a l... |
https://api.github.com/repos/psf/requests/issues/2997 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2997/labels{/name} | https://api.github.com/repos/psf/requests/issues/2997/comments | https://api.github.com/repos/psf/requests/issues/2997/events | https://github.com/psf/requests/issues/2997 | 131,736,140 | MDU6SXNzdWUxMzE3MzYxNDA= | 2,997 | allow_redirects=True for one get affects the next one | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 7 | 2016-02-05T19:41:55Z | 2021-09-08T19:00:36Z | 2016-02-05T22:53:55Z | NONE | resolved | Here is an example with 3 similar `get` calls with all allow_redirects=False:
```
$> PYTHONPATH=$PWD python -c "import requests; url = 'http://127.0.0.1:45508/ds666'; sess = requests.Session(); print sess.get(url, allow_redirects=False); print sess.get(url, allow_redirects=False); print sess.get(url, allow_redirects=F... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/2997/reactions"
} | https://api.github.com/repos/psf/requests/issues/2997/timeline | null | completed | null | null | false | [
"Good spot! I suspect this might be the result of the 301 cache misbehaving somewhat. @sigmavirus24, does that sound right to you?\n",
"Yikes, this is a nasty bug.\n",
"I actually can't reproduce this, using the code available in our `master` branch.\n",
"copy paste after me! ;)\n\n```\nhopa:/tmp\n$> git clon... |
https://api.github.com/repos/psf/requests/issues/2996 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2996/labels{/name} | https://api.github.com/repos/psf/requests/issues/2996/comments | https://api.github.com/repos/psf/requests/issues/2996/events | https://github.com/psf/requests/pull/2996 | 131,638,696 | MDExOlB1bGxSZXF1ZXN0NTg0MjU5MzA= | 2,996 | Added tests module | {
"avatar_url": "https://avatars.githubusercontent.com/u/1236561?v=4",
"events_url": "https://api.github.com/users/Stranger6667/events{/privacy}",
"followers_url": "https://api.github.com/users/Stranger6667/followers",
"following_url": "https://api.github.com/users/Stranger6667/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 4 | 2016-02-05T13:01:41Z | 2021-09-08T05:00:57Z | 2016-02-05T20:54:25Z | CONTRIBUTOR | resolved | Hello, I want to propose some tests changes again :)
What is done:
1. All tests are moved to`tests` module.
2. All tests related to `requests.utils` are separated in `tests.test_utils` module.
3. Fixtures `httpbin` and `httpbin_secure` were slightly refactored and moved to `tests.conftest` module.
4. `ThreadPool` was ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/2996/reactions"
} | https://api.github.com/repos/psf/requests/issues/2996/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2996.diff",
"html_url": "https://github.com/psf/requests/pull/2996",
"merged_at": "2016-02-05T20:54:25Z",
"patch_url": "https://github.com/psf/requests/pull/2996.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2996"
} | true | [
"Pinging @kennethreitz again for review on test code.\n\nThanks for this @Stranger6667!\n",
"@Stranger6667 more tests for `utils` are more than welcome!\n",
":sparkles: :cake: :sparkles:\n",
"Thank you, @Lukasa @kennethreitz ! :)\n"
] |
https://api.github.com/repos/psf/requests/issues/2995 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2995/labels{/name} | https://api.github.com/repos/psf/requests/issues/2995/comments | https://api.github.com/repos/psf/requests/issues/2995/events | https://github.com/psf/requests/issues/2995 | 131,486,326 | MDU6SXNzdWUxMzE0ODYzMjY= | 2,995 | SSL Get Server Certificate Error | {
"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 | 2016-02-04T22:02:03Z | 2021-09-08T19:00:36Z | 2016-02-04T22:05:37Z | NONE | resolved | I'm getting certificate verify failed errors for a few websites including Google. I've just tried with a new Digital Ocean droplet and still having the same issues so it's not just my server.
I did the following, create a new Ubuntu 14.04 droplet on Digital Ocean. Installed python-pip (python and OpenSSL were already ... | {
"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/2995/reactions"
} | https://api.github.com/repos/psf/requests/issues/2995/timeline | null | completed | null | null | false | [
"You'll need to read certifi/python-certifi#26.\n"
] |
https://api.github.com/repos/psf/requests/issues/2994 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2994/labels{/name} | https://api.github.com/repos/psf/requests/issues/2994/comments | https://api.github.com/repos/psf/requests/issues/2994/events | https://github.com/psf/requests/pull/2994 | 131,140,637 | MDExOlB1bGxSZXF1ZXN0NTgxOTQ1MzE= | 2,994 | Fixed test execution. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1236561?v=4",
"events_url": "https://api.github.com/users/Stranger6667/events{/privacy}",
"followers_url": "https://api.github.com/users/Stranger6667/followers",
"following_url": "https://api.github.com/users/Stranger6667/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 1 | 2016-02-03T20:20:08Z | 2021-09-08T05:00:58Z | 2016-02-03T20:53:08Z | CONTRIBUTOR | resolved | Now hook executes as expected.
| {
"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/2994/reactions"
} | https://api.github.com/repos/psf/requests/issues/2994/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2994.diff",
"html_url": "https://github.com/psf/requests/pull/2994",
"merged_at": "2016-02-03T20:53:08Z",
"patch_url": "https://github.com/psf/requests/pull/2994.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2994"
} | true | [
"This looks good to me, thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/2993 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2993/labels{/name} | https://api.github.com/repos/psf/requests/issues/2993/comments | https://api.github.com/repos/psf/requests/issues/2993/events | https://github.com/psf/requests/pull/2993 | 131,107,460 | MDExOlB1bGxSZXF1ZXN0NTgxNzY5NzI= | 2,993 | Changes to support sending a complete response object when 407 errors… | {
"avatar_url": "https://avatars.githubusercontent.com/u/17050642?v=4",
"events_url": "https://api.github.com/users/angelcaido19/events{/privacy}",
"followers_url": "https://api.github.com/users/angelcaido19/followers",
"following_url": "https://api.github.com/users/angelcaido19/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 3 | 2016-02-03T18:08:43Z | 2021-09-08T05:00:58Z | 2016-02-03T18:10:24Z | NONE | resolved | … is found while doing the CONNECT to proxy. Added a way to stablish a connection using connect over an already connected socket
Trying to connect to a "https" web page using a proxy uses a "HTTP CONNECT" verb to tell the proxy that we want to connect to a https destination.
With "basic authentication" the "CONNECT" i... | {
"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/2993/reactions"
} | https://api.github.com/repos/psf/requests/issues/2993/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2993.diff",
"html_url": "https://github.com/psf/requests/pull/2993",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2993.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2993"
} | true | [
"@angelcaido19 Sorry, but this includes changes in urllib3. You'll need to propose this patch over there first, I'm afraid. =(\n",
"@Lukasa Hey thanks. Help me with this: Is this \"https://github.com/shazow/urllib3\" the oficial urllib3 repo?\nThanks again!!\n",
"Ah, sorry I didn't link it: yeah it is!\n"
] |
https://api.github.com/repos/psf/requests/issues/2992 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2992/labels{/name} | https://api.github.com/repos/psf/requests/issues/2992/comments | https://api.github.com/repos/psf/requests/issues/2992/events | https://github.com/psf/requests/pull/2992 | 131,049,763 | MDExOlB1bGxSZXF1ZXN0NTgxNDg0Mjc= | 2,992 | Use TTLCache to cache proxy_bypass. | {
"avatar_url": "https://avatars.githubusercontent.com/u/2840571?v=4",
"events_url": "https://api.github.com/users/lazywei/events{/privacy}",
"followers_url": "https://api.github.com/users/lazywei/followers",
"following_url": "https://api.github.com/users/lazywei/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 18 | 2016-02-03T14:59:15Z | 2021-09-07T00:06:36Z | 2017-02-10T17:19:47Z | NONE | resolved | As mentioned in https://github.com/kennethreitz/requests/issues/2988, we might leverage the LRU cache to speed up the `proxy_bypass`, which might cause unexpected delay.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/2992/reactions"
} | https://api.github.com/repos/psf/requests/issues/2992/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2992.diff",
"html_url": "https://github.com/psf/requests/pull/2992",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2992.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2992"
} | true | [
"The bigger problem here is that `functools.lru_cache` is not available in Python 2. It should be fairly trivial to lift the code into a backport module and vendor it though.\n",
"For general code review I'm not best placed to do it because I suggested the approach to begin with, so let's tag in @sigmavirus24 and... |
https://api.github.com/repos/psf/requests/issues/2991 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2991/labels{/name} | https://api.github.com/repos/psf/requests/issues/2991/comments | https://api.github.com/repos/psf/requests/issues/2991/events | https://github.com/psf/requests/pull/2991 | 130,677,837 | MDExOlB1bGxSZXF1ZXN0NTc5ODM3MTk= | 2,991 | [WIP] Test suite refactoring | {
"avatar_url": "https://avatars.githubusercontent.com/u/1236561?v=4",
"events_url": "https://api.github.com/users/Stranger6667/events{/privacy}",
"followers_url": "https://api.github.com/users/Stranger6667/followers",
"following_url": "https://api.github.com/users/Stranger6667/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 5 | 2016-02-02T13:04:14Z | 2021-09-08T05:00:58Z | 2016-02-03T08:26:27Z | CONTRIBUTOR | resolved | Hello, I'd like to propose some refactorings for current test suite. First of all it is more about testing convenience, to make development process easier.
Current changes:
- Changed test running to setup.py. It allows to use some tuning on dependencies during test runs
- Updated classifiers list. All tests run fine o... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/2991/reactions"
} | https://api.github.com/repos/psf/requests/issues/2991/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2991.diff",
"html_url": "https://github.com/psf/requests/pull/2991",
"merged_at": "2016-02-03T08:26:27Z",
"patch_url": "https://github.com/psf/requests/pull/2991.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2991"
} | true | [
"Thanks for this! I'll handle answering some questions, but I know that @kennethreitz has got opinions about some of the changes you're making here so I'll let him weigh in to do the actual review work.\n\nTo your first question, I suspect that test is just poorly written.\n\nTo Python 3.2 support, requests explici... |
https://api.github.com/repos/psf/requests/issues/2990 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2990/labels{/name} | https://api.github.com/repos/psf/requests/issues/2990/comments | https://api.github.com/repos/psf/requests/issues/2990/events | https://github.com/psf/requests/issues/2990 | 130,479,500 | MDU6SXNzdWUxMzA0Nzk1MDA= | 2,990 | Consider simplifying Session.resolve_redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
"name": "Breaking API Change",
"node_id": "MDU6TGFiZWw0NDUwMTI1Ng==",
"url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change"
}
] | 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",
... | 3 | 2016-02-01T20:52:02Z | 2021-09-08T19:00:36Z | 2016-02-02T06:44:36Z | CONTRIBUTOR | resolved | Currently, the `Session.resolve_redirects` method requires a `Response` to be passed in, as well as a `Request` (the response's originating request). When using this method directly, this is a bit confusing, especially considering that the desired/required `Request` is an attribute of the obviously required `Response`.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/2990/reactions"
} | https://api.github.com/repos/psf/requests/issues/2990/timeline | null | completed | null | null | false | [
"Adding this to 3.0.0 because it would be a fairly significant breaking change. I was also never quite certain why that was required, but I'm not certain it is actively harmful either :/\n",
"Yeah, this would be a 3.0.0 change. \n\n@sigmavirus24 I was just trying to use it directly while debugging an infinitely r... |
https://api.github.com/repos/psf/requests/issues/2989 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2989/labels{/name} | https://api.github.com/repos/psf/requests/issues/2989/comments | https://api.github.com/repos/psf/requests/issues/2989/events | https://github.com/psf/requests/issues/2989 | 130,462,974 | MDU6SXNzdWUxMzA0NjI5NzQ= | 2,989 | Any idea if it would be possible to use something like oscrypto instead of the bundled SSL lib for HTTPS? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10779010?v=4",
"events_url": "https://api.github.com/users/danechitoaie/events{/privacy}",
"followers_url": "https://api.github.com/users/danechitoaie/followers",
"following_url": "https://api.github.com/users/danechitoaie/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 4 | 2016-02-01T19:46:29Z | 2021-09-08T19:00:34Z | 2016-02-10T08:47:09Z | NONE | resolved | Any idea if it would be possible to use something like [oscrypto](https://github.com/wbond/oscrypto) instead of the bundled SSL lib for HTTPS?
I need to use this in a Sublime Text 3 plugin where the bundled version of SSL is pretty old and I can't connect to some hosts supporting only TLS1.2. Using the above should fi... | {
"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/2989/reactions"
} | https://api.github.com/repos/psf/requests/issues/2989/timeline | null | completed | null | null | false | [
"@danechitoaie Let's split this into two questions.\n\nFirst, the problem with OpenSSL. If you can use a third-party library, you should be able to install `PyOpenSSL`, `ndg-httpsclient`, and `pyasn1`. If the `cryptography` library that backs PyOpenSSL is linked against a newer version of OpenSSL than the bundled o... |
https://api.github.com/repos/psf/requests/issues/2988 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2988/labels{/name} | https://api.github.com/repos/psf/requests/issues/2988/comments | https://api.github.com/repos/psf/requests/issues/2988/events | https://github.com/psf/requests/issues/2988 | 130,289,799 | MDU6SXNzdWUxMzAyODk3OTk= | 2,988 | Proxy bypass detection could add delay of ~4.5 seconds to each request | {
"avatar_url": "https://avatars.githubusercontent.com/u/238652?v=4",
"events_url": "https://api.github.com/users/schlamar/events{/privacy}",
"followers_url": "https://api.github.com/users/schlamar/followers",
"following_url": "https://api.github.com/users/schlamar/following{/other_user}",
"gists_url": "https... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "0b02e1",
"default": false,
"description": null... | closed | true | null | [] | null | 27 | 2016-02-01T08:16:17Z | 2021-09-08T11:00:35Z | 2017-03-04T14:53:00Z | CONTRIBUTOR | resolved | Requests uses `urlib.proxy_bypass` to check if the proxy should be bypassed. This uses `socket.gethostbyaddr` to check if the provided IP matches a hostname entered in the proxy bypass list. In some cases, `gethostbyaddr` takes up to 4.5 seconds on Windows (e.g. when the IP is found but the primary DNS doesn't recogniz... | {
"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/2988/reactions"
} | https://api.github.com/repos/psf/requests/issues/2988/timeline | null | completed | null | null | false | [
"Yeah, 4.5 seconds is probably too long.\n\nThe concern with caching the result is that the resolver doesn't give enough information for us to invalidate that cache appropriately, but we will from time to time want to invalidate it (so that long running processes don't end up so broken that they need a restart).\n\... |
https://api.github.com/repos/psf/requests/issues/2987 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2987/labels{/name} | https://api.github.com/repos/psf/requests/issues/2987/comments | https://api.github.com/repos/psf/requests/issues/2987/events | https://github.com/psf/requests/issues/2987 | 130,101,833 | MDU6SXNzdWUxMzAxMDE4MzM= | 2,987 | Enhanced form-data serialization | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 8 | 2016-01-31T08:41:47Z | 2024-05-20T14:36:28Z | 2024-05-20T14:36:27Z | CONTRIBUTOR | null | Would be great to include the functionality of `requests_toolbelt.utils.formdata.urlencode` in Requests.
http://toolbelt.readthedocs.org/en/latest/formdata.html
Thoughts?
/cc @Lukasa @sigmavirus24
| {
"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/2987/reactions"
} | https://api.github.com/repos/psf/requests/issues/2987/timeline | null | completed | null | null | false | [
"No objection from me, but the tool belt is @sigmavirus24's baby so he may have a stronger position,\n",
"To be clear, I mean making that the default behavior. \n",
"I think I'm the only contributing author of that code and both requests and the toolbelt are Apache-2.0.\n\nIf we want to move that into requests ... |
https://api.github.com/repos/psf/requests/issues/2986 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2986/labels{/name} | https://api.github.com/repos/psf/requests/issues/2986/comments | https://api.github.com/repos/psf/requests/issues/2986/events | https://github.com/psf/requests/pull/2986 | 130,024,126 | MDExOlB1bGxSZXF1ZXN0NTc3NDczMDM= | 2,986 | Fix syntax error | {
"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 | 2016-01-30T18:56:10Z | 2021-09-08T05:00:59Z | 2016-01-30T19:14:20Z | CONTRIBUTOR | resolved | null | {
"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/2986/reactions"
} | https://api.github.com/repos/psf/requests/issues/2986/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2986.diff",
"html_url": "https://github.com/psf/requests/pull/2986",
"merged_at": "2016-01-30T19:14:20Z",
"patch_url": "https://github.com/psf/requests/pull/2986.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2986"
} | true | [
"Thanks @untitaker!\n",
"oops\n"
] |
https://api.github.com/repos/psf/requests/issues/2985 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2985/labels{/name} | https://api.github.com/repos/psf/requests/issues/2985/comments | https://api.github.com/repos/psf/requests/issues/2985/events | https://github.com/psf/requests/pull/2985 | 129,987,754 | MDExOlB1bGxSZXF1ZXN0NTc3NDAwNjg= | 2,985 | Fixed markup for/rendering of list in section "Custom Headers". | {
"avatar_url": "https://avatars.githubusercontent.com/u/95277?v=4",
"events_url": "https://api.github.com/users/homeworkprod/events{/privacy}",
"followers_url": "https://api.github.com/users/homeworkprod/followers",
"following_url": "https://api.github.com/users/homeworkprod/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2016-01-30T13:45:23Z | 2021-09-08T05:01:01Z | 2016-01-30T14:00:14Z | 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/2985/reactions"
} | https://api.github.com/repos/psf/requests/issues/2985/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2985.diff",
"html_url": "https://github.com/psf/requests/pull/2985",
"merged_at": "2016-01-30T14:00:14Z",
"patch_url": "https://github.com/psf/requests/pull/2985.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2985"
} | true | [
"Thanks! :sparkles: :cake: :sparkles:\n",
"You're welcome. Glad I could help :)\n"
] | |
https://api.github.com/repos/psf/requests/issues/2984 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2984/labels{/name} | https://api.github.com/repos/psf/requests/issues/2984/comments | https://api.github.com/repos/psf/requests/issues/2984/events | https://github.com/psf/requests/pull/2984 | 129,912,566 | MDExOlB1bGxSZXF1ZXN0NTc3MTg0MjE= | 2,984 | Remove int type on HTTPAdapter's max_retries argument doc | {
"avatar_url": "https://avatars.githubusercontent.com/u/46059?v=4",
"events_url": "https://api.github.com/users/carsonyl/events{/privacy}",
"followers_url": "https://api.github.com/users/carsonyl/followers",
"following_url": "https://api.github.com/users/carsonyl/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2016-01-29T23:41:23Z | 2021-09-08T05:00:59Z | 2016-01-30T02:59:04Z | CONTRIBUTOR | resolved | The argument description says `max_retries` can be an int, or a `urllib3.util.Retry` object. However, the type declared in the doc restricts it to int only. Passing a Retry object causes a warning in PyCharm code inspection.
The behaviour described for `max_retries` is accurate: HTTPAdapter passes `max_retries` to `Re... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2984/reactions"
} | https://api.github.com/repos/psf/requests/issues/2984/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2984.diff",
"html_url": "https://github.com/psf/requests/pull/2984",
"merged_at": "2016-01-30T02:59:04Z",
"patch_url": "https://github.com/psf/requests/pull/2984.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2984"
} | true | [
"Thanks!\n"
] |
https://api.github.com/repos/psf/requests/issues/2983 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2983/labels{/name} | https://api.github.com/repos/psf/requests/issues/2983/comments | https://api.github.com/repos/psf/requests/issues/2983/events | https://github.com/psf/requests/issues/2983 | 129,640,029 | MDU6SXNzdWUxMjk2NDAwMjk= | 2,983 | First line of uploading files disappears. | {
"avatar_url": "https://avatars.githubusercontent.com/u/11981676?v=4",
"events_url": "https://api.github.com/users/amdei/events{/privacy}",
"followers_url": "https://api.github.com/users/amdei/followers",
"following_url": "https://api.github.com/users/amdei/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 3 | 2016-01-29T01:56:38Z | 2021-09-08T19:00:37Z | 2016-01-29T17:24:35Z | NONE | resolved | requests 2.9.1
Executing of this code (from samples in documentation):
`import requests
url = 'http://192.168.88.164:8000/'
files = {'file': ('conf.txt', 'some, data,to send\r\nnanother,row,to,send\r\nyet another,row,to,send\r\n')}
r = requests.post(url, files=files)
print r.text`
Results in correctly uploaded fil... | {
"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/2983/reactions"
} | https://api.github.com/repos/psf/requests/issues/2983/timeline | null | completed | null | null | false | [
"Sorry, but I can't reproduce this using a publicly available website. If I run this code:\n\n``` python\nimport requests\nurl = 'http://http2bin.org/post'\nfiles = {'file': ('conf.txt', 'some, data,to send\\r\\nnanother,row,to,send\\r\\nyet another,row,to,send\\r\\n')}\nr = requests.post(url, files=files)\nprint r... |
https://api.github.com/repos/psf/requests/issues/2982 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2982/labels{/name} | https://api.github.com/repos/psf/requests/issues/2982/comments | https://api.github.com/repos/psf/requests/issues/2982/events | https://github.com/psf/requests/issues/2982 | 129,265,819 | MDU6SXNzdWUxMjkyNjU4MTk= | 2,982 | Error 404 for url, that contains relative path parts | {
"avatar_url": "https://avatars.githubusercontent.com/u/3865300?v=4",
"events_url": "https://api.github.com/users/Lol4t0/events{/privacy}",
"followers_url": "https://api.github.com/users/Lol4t0/followers",
"following_url": "https://api.github.com/users/Lol4t0/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
"name": "Breaking API Change",
"node_id": "MDU6TGFiZWw0NDUwMTI1Ng==",
"url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 39 | 2016-01-27T20:55:05Z | 2024-05-20T14:34:59Z | 2024-05-20T14:34:59Z | NONE | null | Browser & other tools seem to ignore trailing dot in the URL. Unfortunately `requests` does not.
Compare
```
$ curl -s https://github.com/. -o /dev/null -w "%{http_code}"; echo
200
```
With
```
$ python -c 'import requests; print(requests.get("https://github.com/.").status_code)'
404
```
| {
"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/2982/reactions"
} | https://api.github.com/repos/psf/requests/issues/2982/timeline | null | completed | null | null | false | [
"requests/api.py - request()\n\n```\nwith sessions.Session() as session:\n return session.request(method=method, url=url.rstrip(\".\"), **kwargs)\n```\n\nNot sure if this matches any style guides, but should help solve this issue\n",
"@TetraEtc that's overly general. While curl and browsers detect the `.` as t... |
https://api.github.com/repos/psf/requests/issues/2981 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2981/labels{/name} | https://api.github.com/repos/psf/requests/issues/2981/comments | https://api.github.com/repos/psf/requests/issues/2981/events | https://github.com/psf/requests/pull/2981 | 129,122,256 | MDExOlB1bGxSZXF1ZXN0NTczNDk4NzA= | 2,981 | Warn about encrypted keys 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... | [] | closed | true | null | [] | null | 1 | 2016-01-27T11:57:13Z | 2021-09-08T05:01:03Z | 2016-01-27T16:19:27Z | MEMBER | resolved | We don't support them!
| {
"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/2981/reactions"
} | https://api.github.com/repos/psf/requests/issues/2981/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2981.diff",
"html_url": "https://github.com/psf/requests/pull/2981",
"merged_at": "2016-01-27T16:19:27Z",
"patch_url": "https://github.com/psf/requests/pull/2981.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2981"
} | true | [
"See also #2312.\n"
] |
https://api.github.com/repos/psf/requests/issues/2980 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2980/labels{/name} | https://api.github.com/repos/psf/requests/issues/2980/comments | https://api.github.com/repos/psf/requests/issues/2980/events | https://github.com/psf/requests/issues/2980 | 128,481,273 | MDU6SXNzdWUxMjg0ODEyNzM= | 2,980 | request question | {
"avatar_url": "https://avatars.githubusercontent.com/u/3785409?v=4",
"events_url": "https://api.github.com/users/rfyiamcool/events{/privacy}",
"followers_url": "https://api.github.com/users/rfyiamcool/followers",
"following_url": "https://api.github.com/users/rfyiamcool/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2016-01-25T07:46:14Z | 2021-09-08T19:00:38Z | 2016-01-25T08:06:50Z | NONE | resolved | requests.get('xxx', params={"id":111})
requests.get('xxx', params=json.dumps{"id":111})
These two are the same ?
| {
"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/2980/reactions"
} | https://api.github.com/repos/psf/requests/issues/2980/timeline | null | completed | null | null | false | [
"@rfyiamcool No. The first case does this: `xxx?id=111`. The second case does this: `xxx?%7B%22id%22:%20111%7D`.\n\nIn future, please ask questions on Stack Overflow: the GitHub issues page is strictly for bugs.\n"
] |
https://api.github.com/repos/psf/requests/issues/2979 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2979/labels{/name} | https://api.github.com/repos/psf/requests/issues/2979/comments | https://api.github.com/repos/psf/requests/issues/2979/events | https://github.com/psf/requests/issues/2979 | 128,423,683 | MDU6SXNzdWUxMjg0MjM2ODM= | 2,979 | JSON content type for PUT method | {
"avatar_url": "https://avatars.githubusercontent.com/u/1684705?v=4",
"events_url": "https://api.github.com/users/Neraste/events{/privacy}",
"followers_url": "https://api.github.com/users/Neraste/followers",
"following_url": "https://api.github.com/users/Neraste/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2016-01-24T20:39:05Z | 2021-09-08T19:00:38Z | 2016-01-24T20:53:58Z | NONE | resolved | According to the [doc](http://docs.python-requests.org/en/latest/api/), you can specify to send a request with JSON content type for POST method. But there is nothing like this for PUT or PATCH methods.
Is there a reason? Can this be implemented?
| {
"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/2979/reactions"
} | https://api.github.com/repos/psf/requests/issues/2979/timeline | null | completed | null | null | false | [
"If you look at the documentation for [`requests.put`](http://docs.python-requests.org/en/latest/api/#requests.put) and [`requests.patch`](http://docs.python-requests.org/en/latest/api/#requests.patch) they take `**kwargs` that are passed to [`requests.request`](http://docs.python-requests.org/en/latest/api/#reques... |
https://api.github.com/repos/psf/requests/issues/2978 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2978/labels{/name} | https://api.github.com/repos/psf/requests/issues/2978/comments | https://api.github.com/repos/psf/requests/issues/2978/events | https://github.com/psf/requests/issues/2978 | 128,419,712 | MDU6SXNzdWUxMjg0MTk3MTI= | 2,978 | Inconsistent behaviour with https between urllib3 and requestsion. | {
"avatar_url": "https://avatars.githubusercontent.com/u/410950?v=4",
"events_url": "https://api.github.com/users/jorourke/events{/privacy}",
"followers_url": "https://api.github.com/users/jorourke/followers",
"following_url": "https://api.github.com/users/jorourke/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 9 | 2016-01-24T19:41:01Z | 2021-09-08T16:00:35Z | 2016-08-05T07:49:52Z | NONE | resolved | In trying to make a https connection as so:
``` shell
(trustmile-api-p2710)jBeast:trustmile james$ python -c "import requests; r = requests.get('https://devapi.trustmile.com/static/index.html', verify=True)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/james/.virtualenvs/tru... | {
"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/2978/reactions"
} | https://api.github.com/repos/psf/requests/issues/2978/timeline | null | completed | null | null | false | [
"Out of interest, what version of OpenSSL are you using? Run `python -c 'import ssl; print ssl.OPENSSL_VERSION'`\n",
"OpenSSL 0.9.8zg 14 July 2015\n",
"Interesting. Does this problem occur if you don't pass `verify=True`?\n",
"Yep, same issue\n",
"Hmm. What other packages do you have installed?\n",
"Ah, t... |
https://api.github.com/repos/psf/requests/issues/2977 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2977/labels{/name} | https://api.github.com/repos/psf/requests/issues/2977/comments | https://api.github.com/repos/psf/requests/issues/2977/events | https://github.com/psf/requests/issues/2977 | 128,412,088 | MDU6SXNzdWUxMjg0MTIwODg= | 2,977 | JSON-ROA data ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/113206?v=4",
"events_url": "https://api.github.com/users/birk/events{/privacy}",
"followers_url": "https://api.github.com/users/birk/followers",
"following_url": "https://api.github.com/users/birk/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 4 | 2016-01-24T17:29:44Z | 2021-09-08T19:00:39Z | 2016-01-24T17:50:40Z | NONE | resolved | Hi,
I'm trying to read JSON-ROA responses from an API that look like this:
``` json
{
"_json-roa": {
"filled_with": "lots of data"
},
"created_at": "2015-11-05T10:33:37.249Z",
"creator_id": "a41b963a-e50e-40ad-9c37-dc5dfcc9a1de",
"id": "c97e9d4c-aaff-415a-a996-4a7e79ce0c81",
}
```
A call t... | {
"avatar_url": "https://avatars.githubusercontent.com/u/113206?v=4",
"events_url": "https://api.github.com/users/birk/events{/privacy}",
"followers_url": "https://api.github.com/users/birk/followers",
"following_url": "https://api.github.com/users/birk/following{/other_user}",
"gists_url": "https://api.githu... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2977/reactions"
} | https://api.github.com/repos/psf/requests/issues/2977/timeline | null | completed | null | null | false | [
"If `r.text` only shows the last three nodes, that means that only the last three nodes are present. This means that for some reason the server is choosing not to send you that data.\n\nYou'll need to consult with your API documentation or server operator to determine why that data is absent.\n",
"Thanks for the ... |
https://api.github.com/repos/psf/requests/issues/2976 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2976/labels{/name} | https://api.github.com/repos/psf/requests/issues/2976/comments | https://api.github.com/repos/psf/requests/issues/2976/events | https://github.com/psf/requests/pull/2976 | 128,077,424 | MDExOlB1bGxSZXF1ZXN0NTY4NDM3OTU= | 2,976 | Fix api doc of debug logging for Python 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/71619?v=4",
"events_url": "https://api.github.com/users/shoma/events{/privacy}",
"followers_url": "https://api.github.com/users/shoma/followers",
"following_url": "https://api.github.com/users/shoma/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 3 | 2016-01-22T03:48:40Z | 2021-09-08T05:01:03Z | 2016-01-22T07:12:01Z | CONTRIBUTOR | resolved | `httplib` was renamed in Python 3.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2976/reactions"
} | https://api.github.com/repos/psf/requests/issues/2976/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2976.diff",
"html_url": "https://github.com/psf/requests/pull/2976",
"merged_at": "2016-01-22T07:12:01Z",
"patch_url": "https://github.com/psf/requests/pull/2976.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2976"
} | true | [
"This then breaks for users on Python 2. Can you simply add comments explaining how to do this on Python 3 instead of removing the recipe for people using Python 2?\n",
"@sigmavirus24 \n\nOk, I'll update.\n",
"Thanks! :sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/2975 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2975/labels{/name} | https://api.github.com/repos/psf/requests/issues/2975/comments | https://api.github.com/repos/psf/requests/issues/2975/events | https://github.com/psf/requests/issues/2975 | 127,923,191 | MDU6SXNzdWUxMjc5MjMxOTE= | 2,975 | Why retry doesn't work on sesson.post method | {
"avatar_url": "https://avatars.githubusercontent.com/u/1451096?v=4",
"events_url": "https://api.github.com/users/demonguy/events{/privacy}",
"followers_url": "https://api.github.com/users/demonguy/followers",
"following_url": "https://api.github.com/users/demonguy/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 7 | 2016-01-21T13:23:15Z | 2021-09-08T19:00:39Z | 2016-01-21T13:29:33Z | NONE | resolved | I've pasted requests.packages.urllib3.util.Retry object to max_retries argument of HTTPAdapter
But i found, it only works on session.get. How could i make it work on session.post ?
| {
"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/2975/reactions"
} | https://api.github.com/repos/psf/requests/issues/2975/timeline | null | completed | null | null | false | [
"When you say it doesn't work on post, what does that mean? What are you expecting to see and what actually happens?\n",
"it means. when i use session.post to access url = 'https://httpbin.org/status/500', it doesn't retry and just return an 500 error, not maxretry error.\n",
"@demonguy That's not how retries w... |
https://api.github.com/repos/psf/requests/issues/2974 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2974/labels{/name} | https://api.github.com/repos/psf/requests/issues/2974/comments | https://api.github.com/repos/psf/requests/issues/2974/events | https://github.com/psf/requests/issues/2974 | 127,714,446 | MDU6SXNzdWUxMjc3MTQ0NDY= | 2,974 | Response encoding defaulting to ISO-8859-1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/208952?v=4",
"events_url": "https://api.github.com/users/eskerda/events{/privacy}",
"followers_url": "https://api.github.com/users/eskerda/followers",
"following_url": "https://api.github.com/users/eskerda/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2016-01-20T15:59:55Z | 2021-09-08T19:00:39Z | 2016-01-20T16:04:35Z | NONE | resolved | Hello,
For the last month I've been getting reported issues on badly encoded data (ie: https://github.com/eskerda/pybikes/issues/109)
I've searched through the issues and also tried to pinpoint it to a particular change, but only one if found is from 2014.
Has something changed recently?
Can be reproduced as:
``` ... | {
"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/2974/reactions"
} | https://api.github.com/repos/psf/requests/issues/2974/timeline | null | completed | null | null | false | [
"This has not changed: requests has behaved like this for an extremely long time. See #2086 for a discussion about it.\n\nIf this used to work but has now stopped working, it's likely that the server used to send a `charset` field in the Content-Type header but no longer does.\n\nIf you know you're going to be hand... |
https://api.github.com/repos/psf/requests/issues/2973 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2973/labels{/name} | https://api.github.com/repos/psf/requests/issues/2973/comments | https://api.github.com/repos/psf/requests/issues/2973/events | https://github.com/psf/requests/pull/2973 | 127,687,147 | MDExOlB1bGxSZXF1ZXN0NTY2MTAwNTQ= | 2,973 | Stop falling back to distutils in setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 2 | 2016-01-20T13:53:40Z | 2021-09-08T05:01:04Z | 2016-01-20T13:54:58Z | CONTRIBUTOR | resolved | distutils has been deprecated for years now and pip is refusing to install
projects using it. As such, _some_ users are reporting problems installing
requests. Let's avoid this entirely by not falling back to distutils at all.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2973/reactions"
} | https://api.github.com/repos/psf/requests/issues/2973/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2973.diff",
"html_url": "https://github.com/psf/requests/pull/2973",
"merged_at": "2016-01-20T13:54:58Z",
"patch_url": "https://github.com/psf/requests/pull/2973.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2973"
} | true | [
"/cc @dstufft (re: https://github.com/pypa/pip/issues/3384#issuecomment-173202320) although I'm starting to suspect that that is a version of requests packaged by the distro that is causing wichert's problems.\n",
"Still, we just don't need this fallback now.\n"
] |
https://api.github.com/repos/psf/requests/issues/2972 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2972/labels{/name} | https://api.github.com/repos/psf/requests/issues/2972/comments | https://api.github.com/repos/psf/requests/issues/2972/events | https://github.com/psf/requests/pull/2972 | 127,576,727 | MDExOlB1bGxSZXF1ZXN0NTY1NDk3Mjk= | 2,972 | Return request & response with TooManyRedirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/500774?v=4",
"events_url": "https://api.github.com/users/munro/events{/privacy}",
"followers_url": "https://api.github.com/users/munro/followers",
"following_url": "https://api.github.com/users/munro/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 6 | 2016-01-20T00:53:26Z | 2021-09-08T05:01:03Z | 2016-01-21T23:01:58Z | CONTRIBUTOR | resolved | I'm using requests to fetch data from websites that I don't maintain, and sometimes websites have broken cyclic redirects, but still return useful responses. So I would like to grab the last cut off response, similar to the browser.
The problem is that `TooManyRedirects` doesn't throw the ending response state for me... | {
"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/2972/reactions"
} | https://api.github.com/repos/psf/requests/issues/2972/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2972.diff",
"html_url": "https://github.com/psf/requests/pull/2972",
"merged_at": "2016-01-21T23:01:58Z",
"patch_url": "https://github.com/psf/requests/pull/2972.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2972"
} | true | [
"@Lukasa I'm +0.5 on this. The reason I'm not a full +1 is that we might start leaking sockets this way.\n",
"@sigmavirus24 We shouldn't leak sockets here: the redirect logic consumes all the data from the connection, which should return it back to the connection pool, and that happens before we raise `TooManyRed... |
https://api.github.com/repos/psf/requests/issues/2971 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2971/labels{/name} | https://api.github.com/repos/psf/requests/issues/2971/comments | https://api.github.com/repos/psf/requests/issues/2971/events | https://github.com/psf/requests/issues/2971 | 127,079,968 | MDU6SXNzdWUxMjcwNzk5Njg= | 2,971 | SSL error: bad handshake | {
"avatar_url": "https://avatars.githubusercontent.com/u/7250762?v=4",
"events_url": "https://api.github.com/users/Mohammed-Aadil/events{/privacy}",
"followers_url": "https://api.github.com/users/Mohammed-Aadil/followers",
"following_url": "https://api.github.com/users/Mohammed-Aadil/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2016-01-17T07:30:44Z | 2021-09-08T19:00:40Z | 2016-01-19T19:32:41Z | NONE | resolved | Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/dev-django1/.virtualenvs/logic_srv/local/lib/python2.7/site-packages/requests/api.py", line 68, in get
return request('get', url, *_kwargs)
File "/home/dev-django1/.virtualenvs/logic_srv/local/lib/python2.7/site-packages/reques... | {
"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/2971/reactions"
} | https://api.github.com/repos/psf/requests/issues/2971/timeline | null | completed | null | null | false | [
"What OS are you using?\n",
"Yeah im using linux. Btw I fixed the error by removing and installing virtualenv package, not sure why this happened but i got it running. Thank you for your reply :)\n"
] |
https://api.github.com/repos/psf/requests/issues/2970 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2970/labels{/name} | https://api.github.com/repos/psf/requests/issues/2970/comments | https://api.github.com/repos/psf/requests/issues/2970/events | https://github.com/psf/requests/pull/2970 | 126,712,324 | MDExOlB1bGxSZXF1ZXN0NTYwNzExODk= | 2,970 | Rebase to 2.9.1 changes | {
"avatar_url": "https://avatars.githubusercontent.com/u/2167844?v=4",
"events_url": "https://api.github.com/users/hwms/events{/privacy}",
"followers_url": "https://api.github.com/users/hwms/followers",
"following_url": "https://api.github.com/users/hwms/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 1 | 2016-01-14T18:02:38Z | 2021-09-08T04:01:02Z | 2016-01-21T19:58:26Z | NONE | resolved | I just rebased the proposed 3.0.0 to current master near 2.9.1 to further help with socks support there also :)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/2167844?v=4",
"events_url": "https://api.github.com/users/hwms/events{/privacy}",
"followers_url": "https://api.github.com/users/hwms/followers",
"following_url": "https://api.github.com/users/hwms/following{/other_user}",
"gists_url": "https://api.gith... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2970/reactions"
} | https://api.github.com/repos/psf/requests/issues/2970/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2970.diff",
"html_url": "https://github.com/psf/requests/pull/2970",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2970.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2970"
} | true | [
"As long as it pushes the 3.0 to current upgrades (and works of course) i am happy with it :)\n"
] |
https://api.github.com/repos/psf/requests/issues/2969 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2969/labels{/name} | https://api.github.com/repos/psf/requests/issues/2969/comments | https://api.github.com/repos/psf/requests/issues/2969/events | https://github.com/psf/requests/issues/2969 | 126,671,871 | MDU6SXNzdWUxMjY2NzE4NzE= | 2,969 | Cut a release to match urllib3-1.14? | {
"avatar_url": "https://avatars.githubusercontent.com/u/331338?v=4",
"events_url": "https://api.github.com/users/ralphbean/events{/privacy}",
"followers_url": "https://api.github.com/users/ralphbean/followers",
"following_url": "https://api.github.com/users/ralphbean/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 12 | 2016-01-14T15:03:07Z | 2021-09-08T16:00:36Z | 2016-08-05T07:49:39Z | CONTRIBUTOR | resolved | Hi, we noticed that urllib3-1.14 was released right at the end of 2015. Are there plans to release a new version of requests bundling that?
Downstream in Fedora we had a bug filed requesting urllib3-1.14, but with the way things stand now, we can't update to that until we have a matching requests release. https://bu... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/2969/reactions"
} | https://api.github.com/repos/psf/requests/issues/2969/timeline | null | completed | null | null | false | [
"@ralphbean At some point, sure. We weren't generally planning on racing to new urllib3 versions, especially as really the only change in that urllib3 release is the SOCKS proxy support.\n\nIs there a particular rush to get urllib3 1.14 into Fedora?\n",
"I think Nir Magnezi in that ticket was having issues settin... |
https://api.github.com/repos/psf/requests/issues/2968 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2968/labels{/name} | https://api.github.com/repos/psf/requests/issues/2968/comments | https://api.github.com/repos/psf/requests/issues/2968/events | https://github.com/psf/requests/issues/2968 | 126,354,819 | MDU6SXNzdWUxMjYzNTQ4MTk= | 2,968 | how can i use keystore file in request? | {
"avatar_url": "https://avatars.githubusercontent.com/u/935632?v=4",
"events_url": "https://api.github.com/users/vinsia/events{/privacy}",
"followers_url": "https://api.github.com/users/vinsia/followers",
"following_url": "https://api.github.com/users/vinsia/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2016-01-13T06:48:21Z | 2021-09-08T20:00:47Z | 2016-01-13T08:16:17Z | NONE | resolved | i got a keystore file, it contains much x.509 certificates.
how to import them, while request something?
| {
"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/2968/reactions"
} | https://api.github.com/repos/psf/requests/issues/2968/timeline | null | completed | null | null | false | [
"@vinsia At this time requests can only pass X509 certificates to OpenSSL from the filesystem: either a file of PEM-encoded certificates or a directory of them. If you serialize your keystore file out to PEM-encoding, you should be able to use the `verify` argument to use them.\n"
] |
https://api.github.com/repos/psf/requests/issues/2967 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2967/labels{/name} | https://api.github.com/repos/psf/requests/issues/2967/comments | https://api.github.com/repos/psf/requests/issues/2967/events | https://github.com/psf/requests/issues/2967 | 126,214,154 | MDU6SXNzdWUxMjYyMTQxNTQ= | 2,967 | SSL-Client-Certificate and Subject Alternative Names | {
"avatar_url": "https://avatars.githubusercontent.com/u/3438840?v=4",
"events_url": "https://api.github.com/users/felskrone/events{/privacy}",
"followers_url": "https://api.github.com/users/felskrone/followers",
"following_url": "https://api.github.com/users/felskrone/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 4 | 2016-01-12T16:14:02Z | 2021-09-08T20:00:47Z | 2016-01-12T18:08:10Z | NONE | resolved | I have a (Puppet-)generated SSL-certificate with a CN and several SANs. A stripped output of openssl-output looks like this:
``` bash
# openssl x509 -in cert.crt -text
Certificate:
...
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=Puppet CA: puppet.domain.com
...
X509v3 extens... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3438840?v=4",
"events_url": "https://api.github.com/users/felskrone/events{/privacy}",
"followers_url": "https://api.github.com/users/felskrone/followers",
"following_url": "https://api.github.com/users/felskrone/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/2967/reactions"
} | https://api.github.com/repos/psf/requests/issues/2967/timeline | null | completed | null | null | false | [
"Sorry...I'm confused. When you say \"to do the actual request\", what do you mean?\n",
"I meant when i do request.post(url, cert()..) that requests always picks the CN.\n\nBut i think thats not the problem here. Im quite certain that the remote (apache) or maybe even the application (foreman) has to look at the ... |
https://api.github.com/repos/psf/requests/issues/2966 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2966/labels{/name} | https://api.github.com/repos/psf/requests/issues/2966/comments | https://api.github.com/repos/psf/requests/issues/2966/events | https://github.com/psf/requests/issues/2966 | 125,993,142 | MDU6SXNzdWUxMjU5OTMxNDI= | 2,966 | Consider using system trust stores by default in 3.0.0. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "fef2c0",
"default": false,
"description": null,
"id": 60669570,
"name": "Please Review",
"node_id": "MDU6TGFiZWw2MDY2OTU3MA==",
"url": "https://api.github.com/repos/psf/requests/labels/Please%20Review"
},
{
"color": "777777",
"default": false,
"description": n... | closed | false | 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",
... | 211 | 2016-01-11T17:15:47Z | 2024-05-19T18:35:48Z | 2024-05-19T18:35:47Z | MEMBER | null | It's been raised repeatedly, mostly by people using Linux systems, that it's annoying that requests doesn't use the system trust store and instead uses the one that certifi ships. This is an understandable position. I have some personal attachment to the certifi approach, but the other side of that argument definitely ... | {
"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": 89,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 3,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 92,
"url": "https://api.github.com/repos/psf/requests/issues/2966/reactions"
} | https://api.github.com/repos/psf/requests/issues/2966/timeline | null | completed | null | null | false | [
"I think the system trust stores (or not) essentially boils down to whether you want requests to act the same across platforms, or whether you want it to act in line with the platform it is running on. I do not think that _either_ of these options are wrong (or right), just different trade offs.\n\nI think that it'... |
https://api.github.com/repos/psf/requests/issues/2965 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2965/labels{/name} | https://api.github.com/repos/psf/requests/issues/2965/comments | https://api.github.com/repos/psf/requests/issues/2965/events | https://github.com/psf/requests/issues/2965 | 125,929,971 | MDU6SXNzdWUxMjU5Mjk5NzE= | 2,965 | HTTPAdapter ignored | {
"avatar_url": "https://avatars.githubusercontent.com/u/5319224?v=4",
"events_url": "https://api.github.com/users/swmerko/events{/privacy}",
"followers_url": "https://api.github.com/users/swmerko/followers",
"following_url": "https://api.github.com/users/swmerko/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 4 | 2016-01-11T12:11:55Z | 2021-09-08T20:00:48Z | 2016-01-11T12:13:40Z | NONE | resolved | Hi,
i'm trying to force ssl.PROTOCOL_TLSv1 as written in documentation:
http://docs.python-requests.org/en/latest/user/advanced/#example-specific-ssl-version
```
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.poolmanager import PoolManager
import ssl
class MyAdapter(HTTPAdapter):
def ini... | {
"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/2965/reactions"
} | https://api.github.com/repos/psf/requests/issues/2965/timeline | null | completed | null | null | false | [
"@swmerko You have to route your request through the Session object. In your code example you create a Session object `s`, but then call `requests.get`. That's not how Session objects work. Change your last line to `s.get()` instead of `requests.get()` and your problem should be solved.\n",
"Is there a way to def... |
https://api.github.com/repos/psf/requests/issues/2964 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2964/labels{/name} | https://api.github.com/repos/psf/requests/issues/2964/comments | https://api.github.com/repos/psf/requests/issues/2964/events | https://github.com/psf/requests/pull/2964 | 125,830,552 | MDExOlB1bGxSZXF1ZXN0NTU1Njg4MDI= | 2,964 | Python 3.5 : AttributeError: 'socket' object has no attribute 'getpeercert' | {
"avatar_url": "https://avatars.githubusercontent.com/u/2358471?v=4",
"events_url": "https://api.github.com/users/FabriceSalvaire/events{/privacy}",
"followers_url": "https://api.github.com/users/FabriceSalvaire/followers",
"following_url": "https://api.github.com/users/FabriceSalvaire/following{/other_user}",... | [] | closed | true | null | [] | null | 1 | 2016-01-10T16:48:25Z | 2021-09-08T05:01:05Z | 2016-01-10T16:50:18Z | NONE | resolved | Traceback:
File "/opt/python-virtual-env/py35/lib/python3.5/site-packages/yieldfrom/requests/api.py", line 61, in get
r = yield from request('get', url, *_kwargs)
File "/opt/python-virtual-env/py35/lib/python3.5/site-packages/yieldfrom/requests/api.py", line 49, in request
r = yield from session.request(me... | {
"avatar_url": "https://avatars.githubusercontent.com/u/2358471?v=4",
"events_url": "https://api.github.com/users/FabriceSalvaire/events{/privacy}",
"followers_url": "https://api.github.com/users/FabriceSalvaire/followers",
"following_url": "https://api.github.com/users/FabriceSalvaire/following{/other_user}",... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2964/reactions"
} | https://api.github.com/repos/psf/requests/issues/2964/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2964.diff",
"html_url": "https://github.com/psf/requests/pull/2964",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2964.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2964"
} | true | [
"It is a mistake using \"New Pull Request\" from rdbhost:master. Sorry.\n"
] |
https://api.github.com/repos/psf/requests/issues/2963 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2963/labels{/name} | https://api.github.com/repos/psf/requests/issues/2963/comments | https://api.github.com/repos/psf/requests/issues/2963/events | https://github.com/psf/requests/issues/2963 | 125,295,072 | MDU6SXNzdWUxMjUyOTUwNzI= | 2,963 | ResourceWarning still triggered when warnings enabled | {
"avatar_url": "https://avatars.githubusercontent.com/u/796623?v=4",
"events_url": "https://api.github.com/users/anarcat/events{/privacy}",
"followers_url": "https://api.github.com/users/anarcat/followers",
"following_url": "https://api.github.com/users/anarcat/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 10 | 2016-01-07T00:25:14Z | 2021-09-08T20:00:47Z | 2016-01-07T11:04:50Z | NONE | resolved | I can reproducibly get ResourceWarnings when running incomplete requests with [iter_lines](http://docs.python-requests.org/en/latest/api/#requests.Response.iter_lines).
this is my test code:
``` python
#!/usr/bin/python3
from contextlib import closing
import re
import time
import warnings
import requests
print("re... | {
"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/2963/reactions"
} | https://api.github.com/repos/psf/requests/issues/2963/timeline | null | completed | null | null | false | [
"Requests works very hard to prevent you closing a response. This is because it gets in the way of our connection pooling. If you _really must_ close the connection, you need to close the underlying urllib3 connection: use `response.raw.close()`.\n\nThe reason the resource warnings are back is because we're much be... |
https://api.github.com/repos/psf/requests/issues/2962 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2962/labels{/name} | https://api.github.com/repos/psf/requests/issues/2962/comments | https://api.github.com/repos/psf/requests/issues/2962/events | https://github.com/psf/requests/issues/2962 | 125,270,260 | MDU6SXNzdWUxMjUyNzAyNjA= | 2,962 | Stay in a queue | {
"avatar_url": "https://avatars.githubusercontent.com/u/1591920?v=4",
"events_url": "https://api.github.com/users/Djokx/events{/privacy}",
"followers_url": "https://api.github.com/users/Djokx/followers",
"following_url": "https://api.github.com/users/Djokx/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 3 | 2016-01-06T21:44:02Z | 2021-09-08T20:00:48Z | 2016-01-06T23:13:45Z | NONE | resolved | Hi,
I've written a program which works perfectly well to seek inforamtions on a website. But when too many people are on this site, a queue is set in order to avoid crashes of the server.
The issue is that the script stays in the queue forever. I mean, on a browser we the queue is there you join it automaticly and aft... | {
"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/2962/reactions"
} | https://api.github.com/repos/psf/requests/issues/2962/timeline | null | completed | null | null | false | [
"@Djokx are you using the requests library in your project? This is a repository for a Python library called requests, not a repository to request help for arbitrary problems. If you are using this library, could you share some code so we can help you debug whatever problem it is that you're running into? It's not ... |
https://api.github.com/repos/psf/requests/issues/2961 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2961/labels{/name} | https://api.github.com/repos/psf/requests/issues/2961/comments | https://api.github.com/repos/psf/requests/issues/2961/events | https://github.com/psf/requests/pull/2961 | 125,011,663 | MDExOlB1bGxSZXF1ZXN0NTUxMTc5NzU= | 2,961 | Rename {Missing,Invalid}Schema to *Scheme | {
"avatar_url": "https://avatars.githubusercontent.com/u/134455?v=4",
"events_url": "https://api.github.com/users/chadwhitacre/events{/privacy}",
"followers_url": "https://api.github.com/users/chadwhitacre/followers",
"following_url": "https://api.github.com/users/chadwhitacre/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 7 | 2016-01-05T17:22:26Z | 2021-09-08T05:01:05Z | 2016-01-05T17:23:21Z | CONTRIBUTOR | resolved | As @merwok pointed out at https://github.com/kennethreitz/requests/pull/512#commitcomment-1296187, schemes are what they're called, not schemas. I got tripped up by this at https://github.com/CenterForOpenScience/osf.io/pull/4745#issuecomment-169038417, where "InvalidSchema" made me think I was hitting a database error... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2961/reactions"
} | https://api.github.com/repos/psf/requests/issues/2961/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2961.diff",
"html_url": "https://github.com/psf/requests/pull/2961",
"merged_at": "2016-01-05T17:23:21Z",
"patch_url": "https://github.com/psf/requests/pull/2961.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2961"
} | true | [
"\\o/ Thanks @whit537! :sparkles: :cake: :sparkles:\n",
"Huzzah, thanks! :-)\n\n@Lukasa++\n",
"@Lukasa please add release notes for this. I think it may be a good idea to have some shim for this as people may be catching `InvalidSchema` or `MissingSchema` exceptions and they won't be able to catch those anymore... |
https://api.github.com/repos/psf/requests/issues/2960 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2960/labels{/name} | https://api.github.com/repos/psf/requests/issues/2960/comments | https://api.github.com/repos/psf/requests/issues/2960/events | https://github.com/psf/requests/pull/2960 | 125,000,851 | MDExOlB1bGxSZXF1ZXN0NTUxMTE1MzI= | 2,960 | Rename {Missing,Invalid}Schema to *Scheme | {
"avatar_url": "https://avatars.githubusercontent.com/u/134455?v=4",
"events_url": "https://api.github.com/users/chadwhitacre/events{/privacy}",
"followers_url": "https://api.github.com/users/chadwhitacre/followers",
"following_url": "https://api.github.com/users/chadwhitacre/following{/other_user}",
"gists_... | [
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501256,
"name": "Breaking API Change",
"node_id": "MDU6TGFiZWw0NDUwMTI1Ng==",
"url": "https://api.github.com/repos/psf/requests/labels/Breaking%20API%20Change"
},
{
"color": "e11d21",
"default": false,
"d... | closed | true | null | [] | null | 3 | 2016-01-05T16:30:37Z | 2021-09-08T05:01:06Z | 2016-01-05T17:15:13Z | CONTRIBUTOR | resolved | As @merwok pointed out at https://github.com/kennethreitz/requests/pull/512#commitcomment-1296187, schemes are what they're called, not schemas. I got tripped up by this at https://github.com/CenterForOpenScience/osf.io/pull/4745#issuecomment-169038417, where "InvalidSchema" made me think I was hitting a database error... | {
"avatar_url": "https://avatars.githubusercontent.com/u/134455?v=4",
"events_url": "https://api.github.com/users/chadwhitacre/events{/privacy}",
"followers_url": "https://api.github.com/users/chadwhitacre/followers",
"following_url": "https://api.github.com/users/chadwhitacre/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2960/reactions"
} | https://api.github.com/repos/psf/requests/issues/2960/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2960.diff",
"html_url": "https://github.com/psf/requests/pull/2960",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2960.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2960"
} | true | [
"Thanks @whit537. Unfortunately, this is a breaking change so we can't accept it until 3.0.0: can you adjust this PR to point to the proposed/3.0.0 branch instead please?\n",
"Sure thing. Closing this PR ...\n",
"It occurs to me that it'd be possible to implement this in a backwards-compatible way, but since th... |
https://api.github.com/repos/psf/requests/issues/2959 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2959/labels{/name} | https://api.github.com/repos/psf/requests/issues/2959/comments | https://api.github.com/repos/psf/requests/issues/2959/events | https://github.com/psf/requests/issues/2959 | 124,929,466 | MDU6SXNzdWUxMjQ5Mjk0NjY= | 2,959 | CERTIFICATE_VERIFY_FAILED with python-requests 2.8.1 and curl, but works in browsers | {
"avatar_url": "https://avatars.githubusercontent.com/u/406946?v=4",
"events_url": "https://api.github.com/users/progval/events{/privacy}",
"followers_url": "https://api.github.com/users/progval/followers",
"following_url": "https://api.github.com/users/progval/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2016-01-05T09:43:27Z | 2021-09-08T20:00:49Z | 2016-01-05T10:13:19Z | NONE | resolved | ```
$ python3
Python 3.4.2 (default, Oct 8 2014, 10:45:20)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> requests.get('https://irestos.nuonet.fr/generation.php?crous=21&resto=351&ext=xml')
Traceback (most recent call last):
File "/home/progval/.l... | {
"avatar_url": "https://avatars.githubusercontent.com/u/406946?v=4",
"events_url": "https://api.github.com/users/progval/events{/privacy}",
"followers_url": "https://api.github.com/users/progval/followers",
"following_url": "https://api.github.com/users/progval/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/2959/reactions"
} | https://api.github.com/repos/psf/requests/issues/2959/timeline | null | completed | null | null | false | [
"This is almost certainly because the site is not sending its intermediate certificates.\n\nGenerally, when configuring a site for TLS, the site author should ensure that the TLS handshake sends both the leaf certificate (the one valid for that site) _and_ any intermediate certificates between the leaf and the root... |
https://api.github.com/repos/psf/requests/issues/2958 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2958/labels{/name} | https://api.github.com/repos/psf/requests/issues/2958/comments | https://api.github.com/repos/psf/requests/issues/2958/events | https://github.com/psf/requests/pull/2958 | 124,792,493 | MDExOlB1bGxSZXF1ZXN0NTQ5OTQyOTM= | 2,958 | Add equality functions for authentication handlers | {
"avatar_url": "https://avatars.githubusercontent.com/u/1901599?v=4",
"events_url": "https://api.github.com/users/Malizor/events{/privacy}",
"followers_url": "https://api.github.com/users/Malizor/followers",
"following_url": "https://api.github.com/users/Malizor/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 8 | 2016-01-04T16:39:11Z | 2021-09-08T05:01:02Z | 2016-01-30T03:08:26Z | CONTRIBUTOR | resolved | A use case for this is mocking.
If you have a function that wrap a call like `requests.post('http://my_url', auth=HTTPBasicAuth(user, password))` and mock requests.post in your tests, calling `assert_called_once_with('http://my_url', auth=HTTPBasicAuth(user, password))` will fail.
Implementing equality functions solv... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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/2958/reactions"
} | https://api.github.com/repos/psf/requests/issues/2958/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2958.diff",
"html_url": "https://github.com/psf/requests/pull/2958",
"merged_at": "2016-01-30T03:08:26Z",
"patch_url": "https://github.com/psf/requests/pull/2958.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2958"
} | true | [
"Was there already a bug or discussion of this? I didn't notice it if there was.\n\nI'm pretty sure there's no other practical use of this which makes me very conflicted about accepting this.\n\nYes it would be nice to be able to use `assert_called_once_with` but there are many other ways to do exactly that while a... |
https://api.github.com/repos/psf/requests/issues/2957 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2957/labels{/name} | https://api.github.com/repos/psf/requests/issues/2957/comments | https://api.github.com/repos/psf/requests/issues/2957/events | https://github.com/psf/requests/issues/2957 | 124,580,502 | MDU6SXNzdWUxMjQ1ODA1MDI= | 2,957 | Persistent Connection suffer from delay of Nagle | {
"avatar_url": "https://avatars.githubusercontent.com/u/4146182?v=4",
"events_url": "https://api.github.com/users/zhangi/events{/privacy}",
"followers_url": "https://api.github.com/users/zhangi/followers",
"following_url": "https://api.github.com/users/zhangi/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 5 | 2016-01-02T08:00:31Z | 2021-09-08T20:00:49Z | 2016-01-02T10:53:27Z | NONE | resolved | Not sure if this is a bug from urllib3 or Requests, the problem is that there is an extra delay introduced for all subsequent requests other than the first one when reusing a session object.
The test are performed in Ubuntu 14 to a http server running on the localhost
``` python
with requests.Session() as session:
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4146182?v=4",
"events_url": "https://api.github.com/users/zhangi/events{/privacy}",
"followers_url": "https://api.github.com/users/zhangi/followers",
"following_url": "https://api.github.com/users/zhangi/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/2957/reactions"
} | https://api.github.com/repos/psf/requests/issues/2957/timeline | null | completed | null | null | false | [
"There should not be a Nagle's algorithm delay, because by default we disable Nagle's algorithm. Can you please answer the questions from our [CONTRIBUTING.md](https://github.com/kennethreitz/requests/blob/master/CONTRIBUTING.md), specifically:\n\n> Tell us **what version of Requests you're using**, and **how you i... |
https://api.github.com/repos/psf/requests/issues/2956 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2956/labels{/name} | https://api.github.com/repos/psf/requests/issues/2956/comments | https://api.github.com/repos/psf/requests/issues/2956/events | https://github.com/psf/requests/issues/2956 | 124,484,256 | MDU6SXNzdWUxMjQ0ODQyNTY= | 2,956 | API feature - POST request to HTML element by id | {
"avatar_url": "https://avatars.githubusercontent.com/u/11060902?v=4",
"events_url": "https://api.github.com/users/aewhatley/events{/privacy}",
"followers_url": "https://api.github.com/users/aewhatley/followers",
"following_url": "https://api.github.com/users/aewhatley/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2015-12-31T16:29:29Z | 2021-09-08T20:00:49Z | 2015-12-31T18:16:37Z | NONE | resolved | Right now, the requests.post() function only appears to send post requests to HTML elements by their name. Are there any plans of creating something like a requests.post_to_name() and requests.post_to_id(), so that the user can make post requests to HTML elements via their id instead, similar to the API used in Splinte... | {
"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/2956/reactions"
} | https://api.github.com/repos/psf/requests/issues/2956/timeline | null | completed | null | null | false | [
"@aewhatley requests is an _HTTP_ client and has nothing to do with _HTML_. POST requests are made to URLs, not HTML elements. As such, we would not be adding any such methods because they wouldn't make sense as part of our API.\n\nThanks for the suggestion but I think you're a little confused about how requests wo... |
https://api.github.com/repos/psf/requests/issues/2955 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2955/labels{/name} | https://api.github.com/repos/psf/requests/issues/2955/comments | https://api.github.com/repos/psf/requests/issues/2955/events | https://github.com/psf/requests/issues/2955 | 124,341,446 | MDU6SXNzdWUxMjQzNDE0NDY= | 2,955 | Issue with Lets Encrypt certificates | {
"avatar_url": "https://avatars.githubusercontent.com/u/16189630?v=4",
"events_url": "https://api.github.com/users/yhorian/events{/privacy}",
"followers_url": "https://api.github.com/users/yhorian/followers",
"following_url": "https://api.github.com/users/yhorian/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 13 | 2015-12-30T12:24:20Z | 2021-09-08T18:00:40Z | 2015-12-30T13:12:57Z | NONE | resolved | Having problems getting Requests to work with ssl certificates issued by lets encrypt. The error message is very unhelpful in narrowing down what the issue is exactly.
Lets see if I can post the right error this time:
File "E:\anaconda27\lib\site-packages\requests\api.py", line 67, in get
return request('get', ... | {
"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/2955/reactions"
} | https://api.github.com/repos/psf/requests/issues/2955/timeline | null | completed | null | null | false | [
"I previously submitted a post with error messages testing httplib2 and other libraries, which are having similar issues but aren't providing much more information on why they're returning this error when browser and a PHP script aren't having this problem.\n",
"@yhorian1 Aha, there we go!\n\nSo, the problem here... |
https://api.github.com/repos/psf/requests/issues/2954 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2954/labels{/name} | https://api.github.com/repos/psf/requests/issues/2954/comments | https://api.github.com/repos/psf/requests/issues/2954/events | https://github.com/psf/requests/issues/2954 | 124,339,435 | MDU6SXNzdWUxMjQzMzk0MzU= | 2,954 | HTTPS verification for Let's Encrypt certificates | {
"avatar_url": "https://avatars.githubusercontent.com/u/16189630?v=4",
"events_url": "https://api.github.com/users/yhorian/events{/privacy}",
"followers_url": "https://api.github.com/users/yhorian/followers",
"following_url": "https://api.github.com/users/yhorian/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2015-12-30T12:01:29Z | 2021-09-08T20:00:50Z | 2015-12-30T12:04:52Z | NONE | resolved | I've been trying to get requests to work with sites using Let's Encrypt SSL certificates but getting a very unhelpful error:
```
File "E:\anaconda27\lib\site-packages\httplib2\__init__.py", line 1609, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirec... | {
"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/2954/reactions"
} | https://api.github.com/repos/psf/requests/issues/2954/timeline | null | completed | null | null | false | [
"@yhorian1 Your bug is in httplib2. This is not httplib2.\n"
] |
https://api.github.com/repos/psf/requests/issues/2953 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2953/labels{/name} | https://api.github.com/repos/psf/requests/issues/2953/comments | https://api.github.com/repos/psf/requests/issues/2953/events | https://github.com/psf/requests/pull/2953 | 124,332,472 | MDExOlB1bGxSZXF1ZXN0NTQ3OTE0ODg= | 2,953 | SOCKS Proxy 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... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | {
"closed_at": "2016-09-06T00:07:25Z",
"closed_issues": 1,
"created_at": "2015-12-15T14:43:38Z",
"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/Luka... | 27 | 2015-12-30T10:46:50Z | 2021-09-08T04:01:02Z | 2016-04-29T22:03:04Z | MEMBER | resolved | This pull request _finally_ adds SOCKS proxy support to the Requests module, pretty much four years _to the day_ since we were first asked (in #324 for those who want to follow it).
This pull request relies on a pull request I have opened against urllib3, so we can't land it until urllib3 1.14.1 is released containing... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/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": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/2953/reactions"
} | https://api.github.com/repos/psf/requests/issues/2953/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2953.diff",
"html_url": "https://github.com/psf/requests/pull/2953",
"merged_at": "2016-04-29T22:03:04Z",
"patch_url": "https://github.com/psf/requests/pull/2953.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2953"
} | true | [
":pray: \n",
":+1: on the code and :+1: on the milestone.\n",
"@Lukasa what do you think about having a `socks` extra for requests that installs `PySocks` and whatever else?\n",
"Done. =)\n",
"Does PySocks require any compilation during installation? We should consider vendoring it if we want to consider th... |
https://api.github.com/repos/psf/requests/issues/2952 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2952/labels{/name} | https://api.github.com/repos/psf/requests/issues/2952/comments | https://api.github.com/repos/psf/requests/issues/2952/events | https://github.com/psf/requests/pull/2952 | 124,273,309 | MDExOlB1bGxSZXF1ZXN0NTQ3NjEwMzk= | 2,952 | Discard 0-byte chunks from request body iterators | {
"avatar_url": "https://avatars.githubusercontent.com/u/4432952?v=4",
"events_url": "https://api.github.com/users/tipabu/events{/privacy}",
"followers_url": "https://api.github.com/users/tipabu/followers",
"following_url": "https://api.github.com/users/tipabu/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2015-12-29T21:51:44Z | 2021-09-08T05:01:06Z | 2015-12-29T22:06:16Z | NONE | resolved | Previously, an empty chunk in a request body iterator would be
faithfully translated to a 0-length chunk on the wire, which the server
would interpret as the end of the transfer. That is, a request like
```
def data():
yield 'foo'
yield ''
yield 'bar'
requests.put(url, data=data())
```
... would cause 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/2952/reactions"
} | https://api.github.com/repos/psf/requests/issues/2952/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2952.diff",
"html_url": "https://github.com/psf/requests/pull/2952",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2952.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2952"
} | true | [
"This is a breaking change that cannot be merged for 2.x but has been fixed for 3.0.0 in #2631 by @neosab.\n"
] |
https://api.github.com/repos/psf/requests/issues/2951 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2951/labels{/name} | https://api.github.com/repos/psf/requests/issues/2951/comments | https://api.github.com/repos/psf/requests/issues/2951/events | https://github.com/psf/requests/issues/2951 | 124,191,541 | MDU6SXNzdWUxMjQxOTE1NDE= | 2,951 | TypeError: unsupported operand type(s) for -=: 'unicode' and 'int' | {
"avatar_url": "https://avatars.githubusercontent.com/u/13664257?v=4",
"events_url": "https://api.github.com/users/vkosuri/events{/privacy}",
"followers_url": "https://api.github.com/users/vkosuri/followers",
"following_url": "https://api.github.com/users/vkosuri/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 11 | 2015-12-29T10:22:09Z | 2021-09-08T20:00:51Z | 2015-12-29T18:30:34Z | NONE | resolved | While sending huge amount requests to Unit rejecting requests, However I am using max_retries=20 still i am getting this error message
```
File "/home/mkosuri/venv/local/lib/python2.7/site-packages/RequestsLibrary/RequestsKeywords.py", line 258, in post_request response = self._post_request(session, uri, data, headers... | {
"avatar_url": "https://avatars.githubusercontent.com/u/13664257?v=4",
"events_url": "https://api.github.com/users/vkosuri/events{/privacy}",
"followers_url": "https://api.github.com/users/vkosuri/followers",
"following_url": "https://api.github.com/users/vkosuri/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/2951/reactions"
} | https://api.github.com/repos/psf/requests/issues/2951/timeline | null | completed | null | null | false | [
"Do you receive it always? Under what conditions do you receive it? What does your code look like? What version of requests are you using? From where did you install it?\n",
"Do you receive it always? \n\n> Yes\n\nUnder what conditions do you receive it? \n\n> I am sending around different 5K combination of GET,... |
https://api.github.com/repos/psf/requests/issues/2950 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2950/labels{/name} | https://api.github.com/repos/psf/requests/issues/2950/comments | https://api.github.com/repos/psf/requests/issues/2950/events | https://github.com/psf/requests/issues/2950 | 124,181,847 | MDU6SXNzdWUxMjQxODE4NDc= | 2,950 | Unable to upload chunks to Flask | {
"avatar_url": "https://avatars.githubusercontent.com/u/5459596?v=4",
"events_url": "https://api.github.com/users/johaven/events{/privacy}",
"followers_url": "https://api.github.com/users/johaven/followers",
"following_url": "https://api.github.com/users/johaven/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 32 | 2015-12-29T08:46:10Z | 2015-12-31T14:26:03Z | 2015-12-29T13:35:40Z | NONE | null | I do not know if it comes from flask or requests , I link this issue posted on Flask issues
https://github.com/mitsuhiko/flask/issues/1668
| {
"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/2950/reactions"
} | https://api.github.com/repos/psf/requests/issues/2950/timeline | null | completed | null | null | false | [
"Are you sure the headers you posted in the Flask issue are right? They look totally invalid. \n",
"Yes, these headers are received by Flask.\nI'm working on localhost, request between \"requests\" and \"Flask\" are send directly.\n\nHowever I just tested this same case on a server with (flask / uwsgi / nginx and... |
https://api.github.com/repos/psf/requests/issues/2949 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2949/labels{/name} | https://api.github.com/repos/psf/requests/issues/2949/comments | https://api.github.com/repos/psf/requests/issues/2949/events | https://github.com/psf/requests/issues/2949 | 124,130,987 | MDU6SXNzdWUxMjQxMzA5ODc= | 2,949 | Session's Authorization header isn't sent on redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/287161?v=4",
"events_url": "https://api.github.com/users/jwineinger/events{/privacy}",
"followers_url": "https://api.github.com/users/jwineinger/followers",
"following_url": "https://api.github.com/users/jwineinger/following{/other_user}",
"gists_url": ... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 37 | 2015-12-28T21:44:14Z | 2021-12-07T23:00:27Z | 2021-09-08T22:43:04Z | NONE | resolved | I'm using requests to hit developer-api.nest.com and setting an Authorization header with a bearer token. On some requests, that API responds with an 307 redirect. When that happens, I still need the Authorization header to be sent on the subsequent request. I've tried using `requests.get()` as well as a session.
I su... | {
"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": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/2949/reactions"
} | https://api.github.com/repos/psf/requests/issues/2949/timeline | null | completed | null | null | false | [
"Where is the redirect to?\n",
"Ah, a different domain. firebase-apiserver03-tah01-iad01.dapi.production.nest.com\n",
"Yup, so that's somewhat deliberate: we're very aggressive with stripping authorization headers when redirected to a new host. This is a safety feature to deal with [CVE 2014-1829](http://www.cv... |
https://api.github.com/repos/psf/requests/issues/2948 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2948/labels{/name} | https://api.github.com/repos/psf/requests/issues/2948/comments | https://api.github.com/repos/psf/requests/issues/2948/events | https://github.com/psf/requests/pull/2948 | 124,080,084 | MDExOlB1bGxSZXF1ZXN0NTQ2NjIwMDE= | 2,948 | advanced: use "client.*" to designate client certificate | {
"avatar_url": "https://avatars.githubusercontent.com/u/631446?v=4",
"events_url": "https://api.github.com/users/vincentbernat/events{/privacy}",
"followers_url": "https://api.github.com/users/vincentbernat/followers",
"following_url": "https://api.github.com/users/vincentbernat/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 1 | 2015-12-28T15:22:45Z | 2021-09-08T05:01:06Z | 2015-12-28T15:58:54Z | CONTRIBUTOR | resolved | Using "server.crt" is confusing as one may try to put the server certificate while this is really the client certificate that should be put here. Instead, use "client.cert", "client.key" and "client.pem".
| {
"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/2948/reactions"
} | https://api.github.com/repos/psf/requests/issues/2948/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2948.diff",
"html_url": "https://github.com/psf/requests/pull/2948",
"merged_at": "2015-12-28T15:58:54Z",
"patch_url": "https://github.com/psf/requests/pull/2948.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2948"
} | true | [
"Good spot, thanks! :sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/2947 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2947/labels{/name} | https://api.github.com/repos/psf/requests/issues/2947/comments | https://api.github.com/repos/psf/requests/issues/2947/events | https://github.com/psf/requests/issues/2947 | 124,023,695 | MDU6SXNzdWUxMjQwMjM2OTU= | 2,947 | No protection against line breaks in header values | {
"avatar_url": "https://avatars.githubusercontent.com/u/555363?v=4",
"events_url": "https://api.github.com/users/dsavenko/events{/privacy}",
"followers_url": "https://api.github.com/users/dsavenko/followers",
"following_url": "https://api.github.com/users/dsavenko/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 10 | 2015-12-28T06:17:25Z | 2021-09-08T15:00:54Z | 2016-09-06T00:07:58Z | NONE | resolved | Hi,
The following call leads to 'another-header' appearing in the headers sent to the server:
```
>>> r = requests.get('https://httpbin.org/get', params={'q': 'query'}, headers={'my-header': 'a\r\nanother-header: b'})
```
I expected either the line break to be escaped in some way, or an exception to be raised. A new... | {
"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/2947/reactions"
} | https://api.github.com/repos/psf/requests/issues/2947/timeline | null | completed | null | null | false | [
"Ugh, yeah, good spot. This isn't really ideal: while what occurs here is kinda exactly what you'd expect if you have an understanding of the system, it provides a nice shiny footgun for developers who aren't expecting it, potentially allowing for header injection if they're passing user-provided data directly to a... |
https://api.github.com/repos/psf/requests/issues/2946 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2946/labels{/name} | https://api.github.com/repos/psf/requests/issues/2946/comments | https://api.github.com/repos/psf/requests/issues/2946/events | https://github.com/psf/requests/issues/2946 | 123,902,291 | MDU6SXNzdWUxMjM5MDIyOTE= | 2,946 | getting unexpected output | {
"avatar_url": "https://avatars.githubusercontent.com/u/3628354?v=4",
"events_url": "https://api.github.com/users/L1ghtn1ng/events{/privacy}",
"followers_url": "https://api.github.com/users/L1ghtn1ng/followers",
"following_url": "https://api.github.com/users/L1ghtn1ng/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 3 | 2015-12-26T00:44:53Z | 2021-09-08T20:00:51Z | 2015-12-26T11:30:11Z | NONE | resolved | So I am creating a script to interact with an API for https://haveibeenpwned.com/API/v2 (link to the API docs) so when I run this from the example on the site in python3 this works as expected.
``` #!/usr/bin/python3
import requests
import pprint
headers = {'User-agent': 'Have I been pwn module'}
API = 'https://hav... | {
"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/2946/reactions"
} | https://api.github.com/repos/psf/requests/issues/2946/timeline | null | completed | null | null | false | [
"Can you let us know what your email address is? Do you feel comfortable with that?\n",
"@Lukasa I would prefer not to but if you under the API var put your email address you should hit the same issue I am having as long as you are not in any of the breach lists\n",
"@L1ghtn1ng So in both Python 3 and Python 2 ... |
https://api.github.com/repos/psf/requests/issues/2945 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2945/labels{/name} | https://api.github.com/repos/psf/requests/issues/2945/comments | https://api.github.com/repos/psf/requests/issues/2945/events | https://github.com/psf/requests/pull/2945 | 123,316,909 | MDExOlB1bGxSZXF1ZXN0NTQyNzg1Mjg= | 2,945 | Docs: clarify the precedence of `auth=` over `netrc` | {
"avatar_url": "https://avatars.githubusercontent.com/u/235903?v=4",
"events_url": "https://api.github.com/users/ibnIrshad/events{/privacy}",
"followers_url": "https://api.github.com/users/ibnIrshad/followers",
"following_url": "https://api.github.com/users/ibnIrshad/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2015-12-21T16:57:08Z | 2021-09-08T05:01:07Z | 2015-12-21T18:49:52Z | NONE | resolved | This closes #2062 by clarifying in the docs which auth
header takes precedence:
1st auth=
2nd .netrc
3rd headers=
This precedence order is already tested in test_requests.py,
in the test_basicauth_with_netrc method. Perhaps we should
add further tests for non-basic auth schemes.
| {
"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/2945/reactions"
} | https://api.github.com/repos/psf/requests/issues/2945/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2945.diff",
"html_url": "https://github.com/psf/requests/pull/2945",
"merged_at": "2015-12-21T18:49:52Z",
"patch_url": "https://github.com/psf/requests/pull/2945.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2945"
} | true | [
"Thanks! :sparkles: :cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/2944 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2944/labels{/name} | https://api.github.com/repos/psf/requests/issues/2944/comments | https://api.github.com/repos/psf/requests/issues/2944/events | https://github.com/psf/requests/pull/2944 | 123,201,647 | MDExOlB1bGxSZXF1ZXN0NTQyMTY2NjI= | 2,944 | Clarification of .netrc and auth= precedence | {
"avatar_url": "https://avatars.githubusercontent.com/u/235903?v=4",
"events_url": "https://api.github.com/users/ibnIrshad/events{/privacy}",
"followers_url": "https://api.github.com/users/ibnIrshad/followers",
"following_url": "https://api.github.com/users/ibnIrshad/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 0 | 2015-12-21T03:00:40Z | 2021-09-08T05:01:08Z | 2015-12-21T03:01:15Z | NONE | resolved | This closes #2062 by clarifying which auth header takes precedence:
1. auth=
2. .netrc
3. headers=
| {
"avatar_url": "https://avatars.githubusercontent.com/u/235903?v=4",
"events_url": "https://api.github.com/users/ibnIrshad/events{/privacy}",
"followers_url": "https://api.github.com/users/ibnIrshad/followers",
"following_url": "https://api.github.com/users/ibnIrshad/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/2944/reactions"
} | https://api.github.com/repos/psf/requests/issues/2944/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2944.diff",
"html_url": "https://github.com/psf/requests/pull/2944",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/2944.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2944"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/2943 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2943/labels{/name} | https://api.github.com/repos/psf/requests/issues/2943/comments | https://api.github.com/repos/psf/requests/issues/2943/events | https://github.com/psf/requests/issues/2943 | 123,200,811 | MDU6SXNzdWUxMjMyMDA4MTE= | 2,943 | Add json parameter to put methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/763608?v=4",
"events_url": "https://api.github.com/users/ibuchanan/events{/privacy}",
"followers_url": "https://api.github.com/users/ibuchanan/followers",
"following_url": "https://api.github.com/users/ibuchanan/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2015-12-21T02:50:21Z | 2021-09-08T20:00:53Z | 2015-12-21T16:57:50Z | NONE | resolved | I enjoy both `requests.post(json=payload)` and `session.post(json=payload)`. I would like to have the same for both `requests.put()` and `session.put()`.
In a cursory examination of the code, it looks like a simple change. I would be happy to create a pull request for it. Is there a reason the convenience wasn't alrea... | {
"avatar_url": "https://avatars.githubusercontent.com/u/763608?v=4",
"events_url": "https://api.github.com/users/ibuchanan/events{/privacy}",
"followers_url": "https://api.github.com/users/ibuchanan/followers",
"following_url": "https://api.github.com/users/ibuchanan/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/2943/reactions"
} | https://api.github.com/repos/psf/requests/issues/2943/timeline | null | completed | null | null | false | [
"> Is there a reason the convenience wasn't already propagated to PUTs?\n\nIt was. =) All our keyword arguments work on _all_ verbs, which means `json=` works on PUT as well as POST. The only thing we didn't do was add it as an explicit keyword argument so that it appears in the documentation. Would you like to mak... |
https://api.github.com/repos/psf/requests/issues/2942 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2942/labels{/name} | https://api.github.com/repos/psf/requests/issues/2942/comments | https://api.github.com/repos/psf/requests/issues/2942/events | https://github.com/psf/requests/issues/2942 | 123,200,656 | MDU6SXNzdWUxMjMyMDA2NTY= | 2,942 | How to POST a very Big file with 'chunk' mode? | {
"avatar_url": "https://avatars.githubusercontent.com/u/4278114?v=4",
"events_url": "https://api.github.com/users/jchluo/events{/privacy}",
"followers_url": "https://api.github.com/users/jchluo/followers",
"following_url": "https://api.github.com/users/jchluo/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2015-12-21T02:49:02Z | 2021-09-08T20:00:53Z | 2015-12-21T09:49:27Z | NONE | resolved | I want to Post to a very big file to the server, will requests use the "chunk" mode ?
if
>>> f = open("very big file")
>>> requests.post(url, data=f)
From the `PreparedRequest.prepare_body` method, file length can get from `util.super_len`,
then the `'Content-Length'` will be a number, which make chunk mode False.
I... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4278114?v=4",
"events_url": "https://api.github.com/users/jchluo/events{/privacy}",
"followers_url": "https://api.github.com/users/jchluo/followers",
"following_url": "https://api.github.com/users/jchluo/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/2942/reactions"
} | https://api.github.com/repos/psf/requests/issues/2942/timeline | null | completed | null | null | false | [
"Requests will not chunk the file, but neither will it read it all into memory. Instead, it will \"stream\" it: that is, send it from the file directly to the network. Do you really specifically need chunked-transfer-encoding here? What does chunked transfer encoding get you that the streaming method does not?\n",
... |
https://api.github.com/repos/psf/requests/issues/2941 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2941/labels{/name} | https://api.github.com/repos/psf/requests/issues/2941/comments | https://api.github.com/repos/psf/requests/issues/2941/events | https://github.com/psf/requests/issues/2941 | 123,151,294 | MDU6SXNzdWUxMjMxNTEyOTQ= | 2,941 | COC? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1840865?v=4",
"events_url": "https://api.github.com/users/alison985/events{/privacy}",
"followers_url": "https://api.github.com/users/alison985/followers",
"following_url": "https://api.github.com/users/alison985/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2015-12-20T10:12:16Z | 2021-09-08T20:00:54Z | 2015-12-20T11:55:10Z | NONE | resolved | Hi,
I'm just wondering what your code of conduct is for this project?
Thanks,
Alison
| {
"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": 1,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/2941/reactions"
} | https://api.github.com/repos/psf/requests/issues/2941/timeline | null | completed | null | null | false | [
"Hi @alison985!\n\nCurrently our relatively minor code of conduct is [defined here](http://docs.python-requests.org/en/latest/dev/contributing/). There is interest amongst some of the maintainers in moving to something based on the [Contributor Covenant](http://contributor-covenant.org/), given that both myself and... |
https://api.github.com/repos/psf/requests/issues/2940 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2940/labels{/name} | https://api.github.com/repos/psf/requests/issues/2940/comments | https://api.github.com/repos/psf/requests/issues/2940/events | https://github.com/psf/requests/issues/2940 | 123,109,372 | MDU6SXNzdWUxMjMxMDkzNzI= | 2,940 | Add response.closed attribute | {
"avatar_url": "https://avatars.githubusercontent.com/u/76945?v=4",
"events_url": "https://api.github.com/users/vitorbaptista/events{/privacy}",
"followers_url": "https://api.github.com/users/vitorbaptista/followers",
"following_url": "https://api.github.com/users/vitorbaptista/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 4 | 2015-12-19T20:35:13Z | 2021-09-08T20:00:54Z | 2015-12-21T11:54:38Z | NONE | resolved | I'm able to explictly close a response by calling `response.close()`, but as far as I could see, the only way to check if the response is closed or not is calling `response.raw.closed`. This feels like violating Demeter's Law, so I would suggest adding a `response.closed` attribute.
If you agree, I'd be happy to send ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/76945?v=4",
"events_url": "https://api.github.com/users/vitorbaptista/events{/privacy}",
"followers_url": "https://api.github.com/users/vitorbaptista/followers",
"following_url": "https://api.github.com/users/vitorbaptista/following{/other_user}",
"gist... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2940/reactions"
} | https://api.github.com/repos/psf/requests/issues/2940/timeline | null | completed | null | null | false | [
"@vitorbaptista Out of interest, why do you care if the response object is closed?\n",
"I have a class that internally uses requests, but not through contexts (I have to keep the response around for a while, so I can't use contexts). I want to write a test to ensure that the response is closed after the object is... |
https://api.github.com/repos/psf/requests/issues/2939 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2939/labels{/name} | https://api.github.com/repos/psf/requests/issues/2939/comments | https://api.github.com/repos/psf/requests/issues/2939/events | https://github.com/psf/requests/issues/2939 | 123,086,277 | MDU6SXNzdWUxMjMwODYyNzc= | 2,939 | Multiple Location headers in response are concatenated | {
"avatar_url": "https://avatars.githubusercontent.com/u/1921370?v=4",
"events_url": "https://api.github.com/users/L2501/events{/privacy}",
"followers_url": "https://api.github.com/users/L2501/followers",
"following_url": "https://api.github.com/users/L2501/following{/other_user}",
"gists_url": "https://api.g... | [] | 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",
... | 28 | 2015-12-19T13:50:05Z | 2021-09-08T15:00:54Z | 2016-09-06T00:07:12Z | NONE | resolved | tested with requests 2.9
when a http server resonds with multiple Location headers in 301 redirect the locations are concatenated
eg
Location: http://foo.com
Location: http://foo.com
results in a redirect to
"http://foo.com,http://foo.com"
pretty sure this behavior is not present in any other http clients
| {
"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/2939/reactions"
} | https://api.github.com/repos/psf/requests/issues/2939/timeline | null | completed | null | null | false | [
"A web server MUST NOT respond with multiple location header fields. From [RFC 7320 Section 3.2.2](https://tools.ietf.org/html/rfc7230#section-3.2.2):\n\n> A sender MUST NOT generate multiple header fields with the same field name in a message unless either the entire field value for that header field is defined as... |
https://api.github.com/repos/psf/requests/issues/2938 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2938/labels{/name} | https://api.github.com/repos/psf/requests/issues/2938/comments | https://api.github.com/repos/psf/requests/issues/2938/events | https://github.com/psf/requests/issues/2938 | 123,062,910 | MDU6SXNzdWUxMjMwNjI5MTA= | 2,938 | Unicode decode error with PATCH request | {
"avatar_url": "https://avatars.githubusercontent.com/u/4306733?v=4",
"events_url": "https://api.github.com/users/scossu/events{/privacy}",
"followers_url": "https://api.github.com/users/scossu/followers",
"following_url": "https://api.github.com/users/scossu/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2015-12-19T05:06:23Z | 2021-09-08T20:00:54Z | 2015-12-19T08:39:01Z | NONE | resolved | In requests 2.9.0:
```
>>> requests.patch('https://example.org', data=bytes('ô', 'utf-8'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/combine/virtualenv/lib/python3.4/site-packages/requests/api.py", line 133, in patch
return request('patch', url, data=data, **kwarg... | {
"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/2938/reactions"
} | https://api.github.com/repos/psf/requests/issues/2938/timeline | null | completed | null | null | false | [
"This is a duplicate of #2933 and #2930, and is fixed in #2931. Thanks for the report, but in future please check both open and **closed** issues before filing a bug, as the issue may already be known. A new release of requests will be made on Monday that contains the fix for this issue.\n\nThanks! :sparkles: :cake... |
https://api.github.com/repos/psf/requests/issues/2937 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2937/labels{/name} | https://api.github.com/repos/psf/requests/issues/2937/comments | https://api.github.com/repos/psf/requests/issues/2937/events | https://github.com/psf/requests/pull/2937 | 122,917,318 | MDExOlB1bGxSZXF1ZXN0NTQwODM1NDM= | 2,937 | Release 2.9.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 16 | 2015-12-18T09:56:33Z | 2021-09-08T05:01:07Z | 2015-12-21T14:51:21Z | MEMBER | resolved | This release is scheduled for Monday. I'm aiming to set this up now so that it's an easy release to push on Monday.
@shazow, what are the odds that we can get a urllib3 patch release 1.13.1 containing the fix for shazow/urllib3#761 by Monday? I'd owe you lots of :custard: if we could get it! :heart:
| {
"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/2937/reactions"
} | https://api.github.com/repos/psf/requests/issues/2937/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2937.diff",
"html_url": "https://github.com/psf/requests/pull/2937",
"merged_at": "2015-12-21T14:51:21Z",
"patch_url": "https://github.com/psf/requests/pull/2937.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2937"
} | true | [
"Note: please don't merge this until we're ready to release on Monday! We may land other patches between now and then, and we'll want to make sure the changelog is updated!\n\nFor those who are interested: the reason we're enforcing a delay between 2.9.0 and 2.9.1 is to try to land as many regression fixes as possi... |
https://api.github.com/repos/psf/requests/issues/2936 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2936/labels{/name} | https://api.github.com/repos/psf/requests/issues/2936/comments | https://api.github.com/repos/psf/requests/issues/2936/events | https://github.com/psf/requests/pull/2936 | 122,911,202 | MDExOlB1bGxSZXF1ZXN0NTQwODA2NjE= | 2,936 | Handle bytes and unicode URLs for netloc | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | null | 1 | 2015-12-18T09:23:48Z | 2021-09-08T05:01:08Z | 2015-12-19T17:34:34Z | MEMBER | resolved | Spotted this on my local machine running tests on Python 3. Annoyingly, we didn't see this on the CI rig because the Jenkins box doesn't have a netrc file, so it never gets that far in the function.
However, tests preparing bytes URLs fail here on Python 3 because the splitter is the wrong type. This change ensures th... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/2936/reactions"
} | https://api.github.com/repos/psf/requests/issues/2936/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/2936.diff",
"html_url": "https://github.com/psf/requests/pull/2936",
"merged_at": "2015-12-19T17:34:34Z",
"patch_url": "https://github.com/psf/requests/pull/2936.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/2936"
} | true | [
"Woot! :+1: \n\nThanks @Lukasa (also YAY OUR CI IS WORKING AGAIN)\n"
] |
https://api.github.com/repos/psf/requests/issues/2935 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2935/labels{/name} | https://api.github.com/repos/psf/requests/issues/2935/comments | https://api.github.com/repos/psf/requests/issues/2935/events | https://github.com/psf/requests/issues/2935 | 122,853,114 | MDU6SXNzdWUxMjI4NTMxMTQ= | 2,935 | KeyError in connectionpool? | {
"avatar_url": "https://avatars.githubusercontent.com/u/56894?v=4",
"events_url": "https://api.github.com/users/Kronuz/events{/privacy}",
"followers_url": "https://api.github.com/users/Kronuz/followers",
"following_url": "https://api.github.com/users/Kronuz/following{/other_user}",
"gists_url": "https://api.... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "fef2c0",
"default": false,
"description": null,
"id": 298537994,
... | closed | true | null | [] | null | 44 | 2015-12-18T00:38:06Z | 2021-09-08T19:00:30Z | 2016-03-09T08:17:03Z | NONE | resolved | I'm getting a weird error during this call `conn = old_pool.get(block=False)` in connectionpool.py:410.
The Error in Sentry is: `Queue in get, KeyError: (1, True)`
And this is the traceback, which doesn't make sense, as `requests/packages/urllib3/connectionpool.py` catches that Empty exception; plus I have no idea 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/2935/reactions"
} | https://api.github.com/repos/psf/requests/issues/2935/timeline | null | completed | null | null | false | [
"@Kronuz What version of requests are you using, please?\n",
"Sorry, forgot to say. I'm using v2.8.1, from PyPI.\n",
"Are you running Python 3?\n",
"Nope, I'm using Python 2.7.11\n",
"Ok, so I'm inclined to believe that the traceback you're showing me cannot be right. It just doesn't seem to make any sense ... |
https://api.github.com/repos/psf/requests/issues/2934 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2934/labels{/name} | https://api.github.com/repos/psf/requests/issues/2934/comments | https://api.github.com/repos/psf/requests/issues/2934/events | https://github.com/psf/requests/issues/2934 | 122,744,855 | MDU6SXNzdWUxMjI3NDQ4NTU= | 2,934 | DigestAuth doesn't re-auth with provided WWW-Authenticate | {
"avatar_url": "https://avatars.githubusercontent.com/u/39889?v=4",
"events_url": "https://api.github.com/users/yarikoptic/events{/privacy}",
"followers_url": "https://api.github.com/users/yarikoptic/followers",
"following_url": "https://api.github.com/users/yarikoptic/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 2 | 2015-12-17T14:29:27Z | 2021-09-08T20:00:55Z | 2015-12-17T16:02:04Z | NONE | resolved | I am trying to use DigestAuth but it seems that requests doesn't try to complete the negotiation:
```
In [19]: url = 'http://crawdad.org//download/cambridge/haggle/imote-trace1.tar.gz'
*In [20]: r = requests.get(url, auth=requests.auth.HTTPDigestAuth(user, passw))
INFO:requests.packages.urllib3.connectionpool:Startin... | {
"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/2934/reactions"
} | https://api.github.com/repos/psf/requests/issues/2934/timeline | null | completed | null | null | false | [
"The reason you're not authenticating is because the remote service isn't doing Digest auth, it's doing basic. Try `r = requests.get(url, auth=(user, passw))`.\n",
"Thank you @Lukasa . I guess something else went wrong for me originally (when I thought I did use basic auth), and I did misread wget output (which ... |
https://api.github.com/repos/psf/requests/issues/2933 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2933/labels{/name} | https://api.github.com/repos/psf/requests/issues/2933/comments | https://api.github.com/repos/psf/requests/issues/2933/events | https://github.com/psf/requests/issues/2933 | 122,599,228 | MDU6SXNzdWUxMjI1OTkyMjg= | 2,933 | Problem with bytes body in request 2.9 in Py 3.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1050156?v=4",
"events_url": "https://api.github.com/users/lmazuel/events{/privacy}",
"followers_url": "https://api.github.com/users/lmazuel/followers",
"following_url": "https://api.github.com/users/lmazuel/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2015-12-16T20:55:44Z | 2021-09-08T20:00:55Z | 2015-12-16T21:19:07Z | NONE | resolved | Hello,
Our library suddenly stops to works in Python 3 for our users after `requests` 2.9 release, for instance:
https://github.com/Azure/azure-storage-python/issues/89
I investigated the stack trace, and I found that when the body of the requests contains "real" bytes ("real" stands for OSImage, PDF,... not somethin... | {
"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/2933/reactions"
} | https://api.github.com/repos/psf/requests/issues/2933/timeline | null | completed | null | null | false | [
"This is already fixed in #2931. In the future, please check open _and_ closed issues before filing new issues.\n",
"Sorry, yes I forgot to check closed issues.\nThank you for the report.\n"
] |
https://api.github.com/repos/psf/requests/issues/2932 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/2932/labels{/name} | https://api.github.com/repos/psf/requests/issues/2932/comments | https://api.github.com/repos/psf/requests/issues/2932/events | https://github.com/psf/requests/issues/2932 | 122,560,251 | MDU6SXNzdWUxMjI1NjAyNTE= | 2,932 | PyPI doesn't know about python 3 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/528022?v=4",
"events_url": "https://api.github.com/users/mrterry/events{/privacy}",
"followers_url": "https://api.github.com/users/mrterry/followers",
"following_url": "https://api.github.com/users/mrterry/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2015-12-16T17:26:32Z | 2021-09-08T20:00:56Z | 2015-12-16T17:34:29Z | NONE | resolved | PyPI doesn't seem to know that requests supports Python 3 (3.3, 3.4, & 3.5!). As a result, [caniusepython3](https://caniusepython3.com/) thinks `requests` is a Python 3 blocker and `requests` is in red on the [Python 3 Wall of Superpowers](https://python3wos.appspot.com/).
Requests is awesome and it should get the cr... | {
"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/2932/reactions"
} | https://api.github.com/repos/psf/requests/issues/2932/timeline | null | completed | null | null | false | [
"Annoyingly, our trove classifiers appear to have disappeared again. I've re-uploaded them. Thanks!\n"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.