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/4361 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4361/labels{/name} | https://api.github.com/repos/psf/requests/issues/4361/comments | https://api.github.com/repos/psf/requests/issues/4361/events | https://github.com/psf/requests/pull/4361 | 269,529,777 | MDExOlB1bGxSZXF1ZXN0MTQ5NDcwNzk5 | 4,361 | Bugfix issue #4325 by AzePUG team member Elshad Agayev | {
"avatar_url": "https://avatars.githubusercontent.com/u/3605068?v=4",
"events_url": "https://api.github.com/users/elshadaghazade/events{/privacy}",
"followers_url": "https://api.github.com/users/elshadaghazade/followers",
"following_url": "https://api.github.com/users/elshadaghazade/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2017-10-30T09:23:22Z | 2021-09-04T00:06:39Z | 2017-11-27T13:16:12Z | NONE | resolved | PoolManager object was initialized once and assigned to self.poolmanager property of HTTPAdapter class. Thats why updating settings (for example - verify=False to verify=True) does not affect. I reinitialized PoolManager on every connection and problem solved.
adapters.py:166
```
def init_poolmanager(self ...):
... | {
"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/4361/reactions"
} | https://api.github.com/repos/psf/requests/issues/4361/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4361.diff",
"html_url": "https://github.com/psf/requests/pull/4361",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4361.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4361"
} | true | [
"I believe the issue you are attempting to fix was scheduled for Requests 3.0 and is already fixed on the branch of code dedicated to that release. As such, I'm closing this. Thanks for contributing!"
] |
https://api.github.com/repos/psf/requests/issues/4360 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4360/labels{/name} | https://api.github.com/repos/psf/requests/issues/4360/comments | https://api.github.com/repos/psf/requests/issues/4360/events | https://github.com/psf/requests/pull/4360 | 269,525,983 | MDExOlB1bGxSZXF1ZXN0MTQ5NDY4MDYz | 4,360 | bugfix issue #4353 by AzePUG team member Elshad Agayev | {
"avatar_url": "https://avatars.githubusercontent.com/u/3605068?v=4",
"events_url": "https://api.github.com/users/elshadaghazade/events{/privacy}",
"followers_url": "https://api.github.com/users/elshadaghazade/followers",
"following_url": "https://api.github.com/users/elshadaghazade/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2017-10-30T09:09:14Z | 2021-09-04T00:06:43Z | 2017-10-31T04:34:33Z | NONE | resolved | - Added new function validate_url into the file utils.py at the line 858
- Before to call prepend_scheme_if_needed function we are checking validity of proxy url in the file adapters.py at the line 307, if wrong then raising ProxyError exception with clear error message
by Azerbaijan Python User Group | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4360/reactions"
} | https://api.github.com/repos/psf/requests/issues/4360/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4360.diff",
"html_url": "https://github.com/psf/requests/pull/4360",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4360.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4360"
} | true | [
"Thanks for contributing to requests, @elshadaghazade! Unfortunately, this issue is already being addressed in #4356. I'll be closing this one in favor of the earlier PR."
] |
https://api.github.com/repos/psf/requests/issues/4359 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4359/labels{/name} | https://api.github.com/repos/psf/requests/issues/4359/comments | https://api.github.com/repos/psf/requests/issues/4359/events | https://github.com/psf/requests/pull/4359 | 269,376,797 | MDExOlB1bGxSZXF1ZXN0MTQ5MzcxNDc1 | 4,359 | Fix flake8 errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/16889901?v=4",
"events_url": "https://api.github.com/users/Sriharivignesh/events{/privacy}",
"followers_url": "https://api.github.com/users/Sriharivignesh/followers",
"following_url": "https://api.github.com/users/Sriharivignesh/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2017-10-29T07:04:45Z | 2021-09-04T00:06:43Z | 2017-10-29T08:09:00Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4359/reactions"
} | https://api.github.com/repos/psf/requests/issues/4359/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4359.diff",
"html_url": "https://github.com/psf/requests/pull/4359",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4359.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4359"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4359?src=pr&el=h1) Report\n> Merging [#4359](https://codecov.io/gh/requests/requests/pull/4359?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/81b63419cbd8a6f0c9c2b79083d25dc2260156e3?src=pr&el=desc) will **not change** coverage.... | |
https://api.github.com/repos/psf/requests/issues/4358 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4358/labels{/name} | https://api.github.com/repos/psf/requests/issues/4358/comments | https://api.github.com/repos/psf/requests/issues/4358/events | https://github.com/psf/requests/pull/4358 | 269,245,151 | MDExOlB1bGxSZXF1ZXN0MTQ5MjkyNTg4 | 4,358 | [WIP] Fix e.response is None when ChunkedEncodingError occured | {
"avatar_url": "https://avatars.githubusercontent.com/u/13451468?v=4",
"events_url": "https://api.github.com/users/iaroslavscript/events{/privacy}",
"followers_url": "https://api.github.com/users/iaroslavscript/followers",
"following_url": "https://api.github.com/users/iaroslavscript/following{/other_user}",
... | [] | closed | true | null | [] | null | 5 | 2017-10-27T21:46:03Z | 2021-09-03T00:10:56Z | 2018-05-18T14:02:18Z | NONE | resolved | Hi!
I found that it's impossible to read headers and response code when ChunkedEncodingError occured.
Here is demonstration code.
Server code:
```
#!/usr/bin/env python
import BaseHTTPServer
import SocketServer
class ChunkingHTTPServer(SocketServer.ThreadingMixIn,
BaseHTTPServer.H... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4358/reactions"
} | https://api.github.com/repos/psf/requests/issues/4358/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4358.diff",
"html_url": "https://github.com/psf/requests/pull/4358",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4358.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4358"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4358?src=pr&el=h1) Report\n> Merging [#4358](https://codecov.io/gh/requests/requests/pull/4358?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/81b63419cbd8a6f0c9c2b79083d25dc2260156e3?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4357 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4357/labels{/name} | https://api.github.com/repos/psf/requests/issues/4357/comments | https://api.github.com/repos/psf/requests/issues/4357/events | https://github.com/psf/requests/issues/4357 | 268,907,668 | MDU6SXNzdWUyNjg5MDc2Njg= | 4,357 | POST with files and timeout does both? | {
"avatar_url": "https://avatars.githubusercontent.com/u/904818?v=4",
"events_url": "https://api.github.com/users/arski/events{/privacy}",
"followers_url": "https://api.github.com/users/arski/followers",
"following_url": "https://api.github.com/users/arski/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2017-10-26T20:53:55Z | 2021-09-08T04:00:46Z | 2018-01-23T15:51:56Z | NONE | resolved | Hi, im making a requests.post call with sometimes large files object and a 5s timeout. Im observing that even if the call does indeed raise a timeout exception, the full file still ends up being sent.. Somehow.
Is this intentional or are there any nuances to using timeout with files? | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4357/reactions"
} | https://api.github.com/repos/psf/requests/issues/4357/timeline | null | completed | null | null | false | [
"A timeout is a complex thing. In this case, the timeout is applied *per socket operation*. That means each send, regardless of how much data, and each read. \r\n\r\nIn this case you are likely timing out on the read. That will lead to the behaviour you’re describing. \r\n\r\nIf you want a total timeout you can arr... |
https://api.github.com/repos/psf/requests/issues/4356 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4356/labels{/name} | https://api.github.com/repos/psf/requests/issues/4356/comments | https://api.github.com/repos/psf/requests/issues/4356/events | https://github.com/psf/requests/pull/4356 | 268,788,399 | MDExOlB1bGxSZXF1ZXN0MTQ4OTU0OTIz | 4,356 | Check if host is invalid for proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/1779189?v=4",
"events_url": "https://api.github.com/users/nehaljwani/events{/privacy}",
"followers_url": "https://api.github.com/users/nehaljwani/followers",
"following_url": "https://api.github.com/users/nehaljwani/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 8 | 2017-10-26T14:41:40Z | 2021-09-04T00:06:42Z | 2017-11-15T22:16:34Z | CONTRIBUTOR | resolved | According to RFC3986, the authority section can be empty for a given URL,
however, for a proxy URL, it shouldn't be. This patch adds a check to verify
that the parsed URL will have a valid host before creating the proxy manager.
Fixes #4353 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4356/reactions"
} | https://api.github.com/repos/psf/requests/issues/4356/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4356.diff",
"html_url": "https://github.com/psf/requests/pull/4356",
"merged_at": "2017-11-15T22:16:34Z",
"patch_url": "https://github.com/psf/requests/pull/4356.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4356"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4356?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`master@234f80a`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).\n> The diff coverage is `100%`.\n\n[![I... |
https://api.github.com/repos/psf/requests/issues/4355 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4355/labels{/name} | https://api.github.com/repos/psf/requests/issues/4355/comments | https://api.github.com/repos/psf/requests/issues/4355/events | https://github.com/psf/requests/issues/4355 | 268,416,999 | MDU6SXNzdWUyNjg0MTY5OTk= | 4,355 | Use another SSL engine than OpenSSL | {
"avatar_url": "https://avatars.githubusercontent.com/u/2804645?v=4",
"events_url": "https://api.github.com/users/hydrargyrum/events{/privacy}",
"followers_url": "https://api.github.com/users/hydrargyrum/followers",
"following_url": "https://api.github.com/users/hydrargyrum/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-10-25T14:21:22Z | 2021-09-08T06:00:33Z | 2017-10-25T18:15:17Z | NONE | resolved | Requests should let the ability to use other SSL backends than OpenSSL (which has numerous problems), for example NSS. | {
"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/4355/reactions"
} | https://api.github.com/repos/psf/requests/issues/4355/timeline | null | completed | null | null | false | [
"This is an enormously difficult request to achieve. Python is extremely tightly tied to OpenSSL, and so therefore Requests is too (because it ultimately uses httplib). Changing this would require a very substantial patch, and take an enormous amount of developer time. This is sadly just not a priority for the deve... |
https://api.github.com/repos/psf/requests/issues/4354 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4354/labels{/name} | https://api.github.com/repos/psf/requests/issues/4354/comments | https://api.github.com/repos/psf/requests/issues/4354/events | https://github.com/psf/requests/issues/4354 | 268,052,571 | MDU6SXNzdWUyNjgwNTI1NzE= | 4,354 | Typo in path? ""Could not find suitable TLS certificate | {
"avatar_url": "https://avatars.githubusercontent.com/u/5991543?v=4",
"events_url": "https://api.github.com/users/niderhoff/events{/privacy}",
"followers_url": "https://api.github.com/users/niderhoff/followers",
"following_url": "https://api.github.com/users/niderhoff/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2017-10-24T14:23:21Z | 2021-09-08T06:00:33Z | 2017-10-24T15:09:58Z | NONE | resolved | Due to what I susped to be a TYPO in a hard-coded PATH in the requests package, the certificate is not found in Windows 10.
Requests Version is 2.14.2 from anaconda 4.4.0 for Windows 64bit.
## Expected Result
Pip/Conda work using TLS.
## Actual Result
``
`$ C:\Users\niid\AppData\Local\Continuum\Anacon... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5991543?v=4",
"events_url": "https://api.github.com/users/niderhoff/events{/privacy}",
"followers_url": "https://api.github.com/users/niderhoff/followers",
"following_url": "https://api.github.com/users/niderhoff/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/4354/reactions"
} | https://api.github.com/repos/psf/requests/issues/4354/timeline | null | completed | null | null | false | [
"Okay, something messed up my system environment variables. Never mind."
] |
https://api.github.com/repos/psf/requests/issues/4353 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4353/labels{/name} | https://api.github.com/repos/psf/requests/issues/4353/comments | https://api.github.com/repos/psf/requests/issues/4353/events | https://github.com/psf/requests/issues/4353 | 267,605,378 | MDU6SXNzdWUyNjc2MDUzNzg= | 4,353 | Misleading exception with invalid protocol in proxy variable | {
"avatar_url": "https://avatars.githubusercontent.com/u/1779189?v=4",
"events_url": "https://api.github.com/users/nehaljwani/events{/privacy}",
"followers_url": "https://api.github.com/users/nehaljwani/followers",
"following_url": "https://api.github.com/users/nehaljwani/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 10 | 2017-10-23T09:48:27Z | 2021-09-08T06:00:28Z | 2017-11-15T22:16:34Z | CONTRIBUTOR | resolved | When the value of `https_proxy` or `HTTPS_PROXY` variable(s) accidentally miss one '/' in the protocol, a traceback is thrown to the user which doesn't pin point that the issue is with the proxy configuration.
## Expected Result
A better exception
## Actual Result
An exception which doesn't pin point exactl... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4353/reactions"
} | https://api.github.com/repos/psf/requests/issues/4353/timeline | null | completed | null | null | false | [
"On dumping the connection object right before calling `conn.urlopen()`, the output for `print(vars(conn))` reveals:\r\n```\r\n'proxy': Url(scheme='http', auth=None, host=None, port=80, path='/my.proxy.com:3128', query=None, fragment=None), \r\n```\r\nAnd this makes urllib3 think that the proxy to be reached is: `h... |
https://api.github.com/repos/psf/requests/issues/4352 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4352/labels{/name} | https://api.github.com/repos/psf/requests/issues/4352/comments | https://api.github.com/repos/psf/requests/issues/4352/events | https://github.com/psf/requests/pull/4352 | 267,567,146 | MDExOlB1bGxSZXF1ZXN0MTQ4MDU3ODEz | 4,352 | Add something to the docs about hooks on Session() | {
"avatar_url": "https://avatars.githubusercontent.com/u/301220?v=4",
"events_url": "https://api.github.com/users/alexwlchan/events{/privacy}",
"followers_url": "https://api.github.com/users/alexwlchan/followers",
"following_url": "https://api.github.com/users/alexwlchan/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 8 | 2017-10-23T07:31:21Z | 2021-09-04T00:06:43Z | 2017-10-24T18:50:03Z | CONTRIBUTOR | resolved | I had to work this out by reading the source code for `Session` – better to put it front-and-centre in the docs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4352/reactions"
} | https://api.github.com/repos/psf/requests/issues/4352/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4352.diff",
"html_url": "https://github.com/psf/requests/pull/4352",
"merged_at": "2017-10-24T18:50:03Z",
"patch_url": "https://github.com/psf/requests/pull/4352.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4352"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4352?src=pr&el=h1) Report\n> Merging [#4352](https://codecov.io/gh/requests/requests/pull/4352?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/c4c031fc5c62fac25c155e6870962736eb363dc9?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4351 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4351/labels{/name} | https://api.github.com/repos/psf/requests/issues/4351/comments | https://api.github.com/repos/psf/requests/issues/4351/events | https://github.com/psf/requests/issues/4351 | 267,497,957 | MDU6SXNzdWUyNjc0OTc5NTc= | 4,351 | Postback woes | {
"avatar_url": "https://avatars.githubusercontent.com/u/3728987?v=4",
"events_url": "https://api.github.com/users/JohnCC330/events{/privacy}",
"followers_url": "https://api.github.com/users/JohnCC330/followers",
"following_url": "https://api.github.com/users/JohnCC330/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 2 | 2017-10-22T20:55:21Z | 2021-09-08T06:00:34Z | 2017-10-23T12:08:12Z | NONE | resolved | Summary.
When trying to simulate postBack messages in an ASP.NET system, I find that Requests quotes
spaces as '+', but the server seems to expect '%20'. I've ready quite a few posts on the 'net about this,
but no (more or less) elegant solution to solve this using Requests. I tried to convert quote the dict to a ... | {
"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/4351/reactions"
} | https://api.github.com/repos/psf/requests/issues/4351/timeline | null | completed | null | null | false | [
"The [HTML RFC](https://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1) says:\r\n\r\n> Space characters are replaced by '+', and then reserved characters are escaped as described in [RFC1738], section 2.2: Non-alphanumeric characters are replaced by `%HH', a percent sign and two hexadecimal digits representi... |
https://api.github.com/repos/psf/requests/issues/4350 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4350/labels{/name} | https://api.github.com/repos/psf/requests/issues/4350/comments | https://api.github.com/repos/psf/requests/issues/4350/events | https://github.com/psf/requests/issues/4350 | 267,253,921 | MDU6SXNzdWUyNjcyNTM5MjE= | 4,350 | Exception when preparing a request using a value from future.builtins str | {
"avatar_url": "https://avatars.githubusercontent.com/u/2209022?v=4",
"events_url": "https://api.github.com/users/avilaton/events{/privacy}",
"followers_url": "https://api.github.com/users/avilaton/followers",
"following_url": "https://api.github.com/users/avilaton/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 8 | 2017-10-20T17:51:02Z | 2021-09-06T00:06:44Z | 2017-11-13T13:55:35Z | NONE | resolved | Hi all,
I found an issue while passing data to requests which was wrapped in a call to `str(` imported with `from builtins import str` on python 2.7.13.
The request fails to prepare with a KeyError.
I tracked it down to here https://github.com/requests/requests/blob/master/requests/models.py#L104 where the value I... | {
"avatar_url": "https://avatars.githubusercontent.com/u/2209022?v=4",
"events_url": "https://api.github.com/users/avilaton/events{/privacy}",
"followers_url": "https://api.github.com/users/avilaton/followers",
"following_url": "https://api.github.com/users/avilaton/following{/other_user}",
"gists_url": "http... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4350/reactions"
} | https://api.github.com/repos/psf/requests/issues/4350/timeline | null | completed | null | null | false | [
"I am confused. How does calling `str` deal with your Python 2/3 issues? Isn’t it just identical to using the naked string? Or are you using `from __future__ import unicode_literals`?",
"I suspect this is a Python 2/3 \"compatibility\" module the op is using that is doing something very weird/wrong.",
"I think ... |
https://api.github.com/repos/psf/requests/issues/4349 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4349/labels{/name} | https://api.github.com/repos/psf/requests/issues/4349/comments | https://api.github.com/repos/psf/requests/issues/4349/events | https://github.com/psf/requests/pull/4349 | 266,578,791 | MDExOlB1bGxSZXF1ZXN0MTQ3MzY0Njk2 | 4,349 | Fix case-insensitive comparison in Session.get_adapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/1329104?v=4",
"events_url": "https://api.github.com/users/alvarogzp/events{/privacy}",
"followers_url": "https://api.github.com/users/alvarogzp/followers",
"following_url": "https://api.github.com/users/alvarogzp/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 6 | 2017-10-18T17:35:37Z | 2021-09-04T00:06:44Z | 2017-10-21T13:26:32Z | CONTRIBUTOR | resolved | While trying to get the adapter for an url, the url is lowered before comparing with the prefix, but the prefix is not, so if it contains non-lowercase characters (eg. `https://example.com/sOmE_WeiRD_pReFIX/`), it won't return the correct adapter.
The other solution is to lower the prefix while adding the adapter. 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/4349/reactions"
} | https://api.github.com/repos/psf/requests/issues/4349/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4349.diff",
"html_url": "https://github.com/psf/requests/pull/4349",
"merged_at": "2017-10-21T13:26:32Z",
"patch_url": "https://github.com/psf/requests/pull/4349.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4349"
} | true | [
"Yes, I will update the pull request with them.",
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4349?src=pr&el=h1) Report\n> Merging [#4349](https://codecov.io/gh/requests/requests/pull/4349?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/db9da3e0d24c9902e801c45031beb3588d... |
https://api.github.com/repos/psf/requests/issues/4348 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4348/labels{/name} | https://api.github.com/repos/psf/requests/issues/4348/comments | https://api.github.com/repos/psf/requests/issues/4348/events | https://github.com/psf/requests/issues/4348 | 266,404,905 | MDU6SXNzdWUyNjY0MDQ5MDU= | 4,348 | TypeError: __str__ returned non-string (type Error) | {
"avatar_url": "https://avatars.githubusercontent.com/u/32895810?v=4",
"events_url": "https://api.github.com/users/PalashSharma15/events{/privacy}",
"followers_url": "https://api.github.com/users/PalashSharma15/followers",
"following_url": "https://api.github.com/users/PalashSharma15/following{/other_user}",
... | [] | closed | true | null | [] | null | 3 | 2017-10-18T08:34:17Z | 2021-09-08T06:00:35Z | 2017-10-19T06:54:02Z | NONE | resolved | **Summary.**
I want to install arduino-sketch on my raspberry pi. I have python 3 and 2.7 already installed.
But while installing it with pip following error has been occurred...
## **Expected Result**
Successfully installed arduino-sketch
## **Actual Result**
/usr/local/bin/pip run on Mon Apr 10 02:00:33 2017
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4348/reactions"
} | https://api.github.com/repos/psf/requests/issues/4348/timeline | null | completed | null | null | false | [
"Okay guys I resolved the error.\r\nThe error was due to inaccurate date and time of Raspberry PI. To resolve date and time you can do this:\r\n\r\n sudo raspi-config\r\n Internationalization options\r\n Change Time Zone\r\n Select geographical area\r\n Select city or region\r\n Reboot your pi\r\n... |
https://api.github.com/repos/psf/requests/issues/4347 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4347/labels{/name} | https://api.github.com/repos/psf/requests/issues/4347/comments | https://api.github.com/repos/psf/requests/issues/4347/events | https://github.com/psf/requests/issues/4347 | 266,397,952 | MDU6SXNzdWUyNjYzOTc5NTI= | 4,347 | HTTP_PROXY/HTTPS_PROXY not used with urllib3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1178673?v=4",
"events_url": "https://api.github.com/users/alexcchan/events{/privacy}",
"followers_url": "https://api.github.com/users/alexcchan/followers",
"following_url": "https://api.github.com/users/alexcchan/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2017-10-18T08:10:32Z | 2021-09-08T06:00:36Z | 2017-10-19T02:48:41Z | NONE | resolved | It appears that environment variables `HTTP_PROXY` and `HTTPS_PROXY` as described here:
http://docs.python-requests.org/en/master/user/advanced/#proxies
are no longer effective, since requests uses urllib3 instead of urllib.
## Expected Result
```shell
$ export HTTP_PROXY="http://10.10.1.10:3128"
$ export... | {
"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/4347/reactions"
} | https://api.github.com/repos/psf/requests/issues/4347/timeline | null | completed | null | null | false | [
"Request hasn’t used urllib in more than 5 years, and those environment variables have worked fine that entire time. What makes you think they don’t work?"
] |
https://api.github.com/repos/psf/requests/issues/4346 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4346/labels{/name} | https://api.github.com/repos/psf/requests/issues/4346/comments | https://api.github.com/repos/psf/requests/issues/4346/events | https://github.com/psf/requests/issues/4346 | 266,073,580 | MDU6SXNzdWUyNjYwNzM1ODA= | 4,346 | Downloading gzip files is broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/240594?v=4",
"events_url": "https://api.github.com/users/sztomi/events{/privacy}",
"followers_url": "https://api.github.com/users/sztomi/followers",
"following_url": "https://api.github.com/users/sztomi/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 3 | 2017-10-17T10:30:42Z | 2021-09-08T06:00:35Z | 2017-10-19T09:12:27Z | NONE | resolved | I'm trying to download a binary gzip file with a GET request.
## Expected Result
When I download a gzip binary file I would expect the file to be the same size and content as it is on the server.
## Actual Result
The file is uncompressed without any indication and written with a different size and contents.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240594?v=4",
"events_url": "https://api.github.com/users/sztomi/events{/privacy}",
"followers_url": "https://api.github.com/users/sztomi/followers",
"following_url": "https://api.github.com/users/sztomi/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/4346/reactions"
} | https://api.github.com/repos/psf/requests/issues/4346/timeline | null | completed | null | null | false | [
"Please see that linked issue, I have a theory why this occurs. ",
"@sztomi is correct. If the server is sending Content-Type *and* Content-Encoding set to `gzip` for a file that was compressed only once then it is in error. Requests will still only decompress the data once though.",
"Thanks, this indeed was th... |
https://api.github.com/repos/psf/requests/issues/4345 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4345/labels{/name} | https://api.github.com/repos/psf/requests/issues/4345/comments | https://api.github.com/repos/psf/requests/issues/4345/events | https://github.com/psf/requests/issues/4345 | 265,896,016 | MDU6SXNzdWUyNjU4OTYwMTY= | 4,345 | ERROR - TeleBot: "ProxyError occurred Caused by ProxyError('Cannot connect to proxy.', [Errno 11001] | {
"avatar_url": "https://avatars.githubusercontent.com/u/7896106?v=4",
"events_url": "https://api.github.com/users/falconych/events{/privacy}",
"followers_url": "https://api.github.com/users/falconych/followers",
"following_url": "https://api.github.com/users/falconych/following{/other_user}",
"gists_url": "h... | [
{
"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": "f7c6c7",
"default": false,
"description": null,
... | closed | true | null | [] | null | 2 | 2017-10-16T19:57:55Z | 2021-09-08T05:00:50Z | 2017-11-28T13:15:22Z | NONE | resolved | Hello,
I was trying to create a new bot.
It was running correctly, but when I run the code today, which was just copying the message which is written, it failed to run due to some proxy issues
import config
import telebot
bot = telebot.TeleBot(config.token)
@bot.message_handler(content_types=["text"])
d... | {
"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/4345/reactions"
} | https://api.github.com/repos/psf/requests/issues/4345/timeline | null | completed | null | null | false | [
"getaddrinfo is failing. This means you are failing the DNS lookup. are you sure the proxy hostname is resolvable from your host?",
"Without any new information, I'm going to close this. Of course, if you're able to provide new information, @falconych we can reopen this and resume investigation.\r\n\r\nCheers,\r\... |
https://api.github.com/repos/psf/requests/issues/4344 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4344/labels{/name} | https://api.github.com/repos/psf/requests/issues/4344/comments | https://api.github.com/repos/psf/requests/issues/4344/events | https://github.com/psf/requests/issues/4344 | 265,685,429 | MDU6SXNzdWUyNjU2ODU0Mjk= | 4,344 | headers shouldn't be a dictionary, it should be a list | {
"avatar_url": "https://avatars.githubusercontent.com/u/82182?v=4",
"events_url": "https://api.github.com/users/paul-hammant/events{/privacy}",
"followers_url": "https://api.github.com/users/paul-hammant/followers",
"following_url": "https://api.github.com/users/paul-hammant/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 7 | 2017-10-16T08:28:41Z | 2021-09-08T05:00:43Z | 2017-10-20T15:08:49Z | NONE | resolved | ## Summary.
Requests lib has implemented headers as a dictionary, yet the web supports a repeating header with the same key. Subversion via WebDAV is tech that uses that. For example, "svn log" sends up:
```
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/... | {
"avatar_url": "https://avatars.githubusercontent.com/u/82182?v=4",
"events_url": "https://api.github.com/users/paul-hammant/events{/privacy}",
"followers_url": "https://api.github.com/users/paul-hammant/followers",
"following_url": "https://api.github.com/users/paul-hammant/following{/other_user}",
"gists_u... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4344/reactions"
} | https://api.github.com/repos/psf/requests/issues/4344/timeline | null | completed | null | null | false | [
"Ha! You can fool it with trailing spaces on the key:\r\n\r\n```\r\n headers={\r\n \"DAV\" : \"http://subversion.tigris.org/xmlns/dav/svn/depth\",\r\n \"DAV \" : \"http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\",\r\n \"DAV \" : \"http://subversion.tigris.org/xmlns/dav/svn/log-revprops\"\r\n }\r... |
https://api.github.com/repos/psf/requests/issues/4343 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4343/labels{/name} | https://api.github.com/repos/psf/requests/issues/4343/comments | https://api.github.com/repos/psf/requests/issues/4343/events | https://github.com/psf/requests/pull/4343 | 265,632,247 | MDExOlB1bGxSZXF1ZXN0MTQ2Njg2NjIy | 4,343 | Add missing trove classifier to document Python2 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/347634?v=4",
"events_url": "https://api.github.com/users/jdufresne/events{/privacy}",
"followers_url": "https://api.github.com/users/jdufresne/followers",
"following_url": "https://api.github.com/users/jdufresne/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2017-10-16T02:48:47Z | 2021-09-03T00:11:12Z | 2017-10-16T08:21:20Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4343/reactions"
} | https://api.github.com/repos/psf/requests/issues/4343/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4343.diff",
"html_url": "https://github.com/psf/requests/pull/4343",
"merged_at": "2017-10-16T08:21:20Z",
"patch_url": "https://github.com/psf/requests/pull/4343.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4343"
} | true | [
"Thanks @jdufresne!"
] | |
https://api.github.com/repos/psf/requests/issues/4342 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4342/labels{/name} | https://api.github.com/repos/psf/requests/issues/4342/comments | https://api.github.com/repos/psf/requests/issues/4342/events | https://github.com/psf/requests/pull/4342 | 265,631,896 | MDExOlB1bGxSZXF1ZXN0MTQ2Njg2Mzkw | 4,342 | Include license file in the generated wheel package | {
"avatar_url": "https://avatars.githubusercontent.com/u/347634?v=4",
"events_url": "https://api.github.com/users/jdufresne/events{/privacy}",
"followers_url": "https://api.github.com/users/jdufresne/followers",
"following_url": "https://api.github.com/users/jdufresne/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 4 | 2017-10-16T02:45:47Z | 2021-09-03T00:11:12Z | 2017-10-21T23:53:02Z | CONTRIBUTOR | resolved | The wheel package format supports including the license file. This is done using the `[metadata]` section in the `setup.cfg` file. For additional information on this feature, see:
https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4342/reactions"
} | https://api.github.com/repos/psf/requests/issues/4342/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4342.diff",
"html_url": "https://github.com/psf/requests/pull/4342",
"merged_at": "2017-10-21T23:53:02Z",
"patch_url": "https://github.com/psf/requests/pull/4342.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4342"
} | true | [
"@jdufresne can rebase this commit onto master when you have a moment. Thanks!",
"Rebased on latest master.",
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4342?src=pr&el=h1) Report\n> Merging [#4342](https://codecov.io/gh/requests/requests/pull/4342?src=pr&el=desc) into [master](https://codecov.io/... |
https://api.github.com/repos/psf/requests/issues/4341 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4341/labels{/name} | https://api.github.com/repos/psf/requests/issues/4341/comments | https://api.github.com/repos/psf/requests/issues/4341/events | https://github.com/psf/requests/pull/4341 | 265,586,469 | MDExOlB1bGxSZXF1ZXN0MTQ2NjU4NDIy | 4,341 | Python 3.7 not officially supported yet | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2017-10-15T16:56:46Z | 2021-09-04T00:06:46Z | 2017-10-15T20:35:53Z | CONTRIBUTOR | resolved | We don't actually test on 3.7 and 3.7 isn't released for another eight months, so don't yet claim support.
Re: https://github.com/requests/requests/pull/4329#pullrequestreview-69421398 and closes https://github.com/requests/requests/pull/4329.
Also, Python 3.3 was also dropped in https://github.com/requests/reque... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4341/reactions"
} | https://api.github.com/repos/psf/requests/issues/4341/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4341.diff",
"html_url": "https://github.com/psf/requests/pull/4341",
"merged_at": "2017-10-15T20:35:53Z",
"patch_url": "https://github.com/psf/requests/pull/4341.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4341"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/4340 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4340/labels{/name} | https://api.github.com/repos/psf/requests/issues/4340/comments | https://api.github.com/repos/psf/requests/issues/4340/events | https://github.com/psf/requests/issues/4340 | 265,401,997 | MDU6SXNzdWUyNjU0MDE5OTc= | 4,340 | Issue with certs.where() | {
"avatar_url": "https://avatars.githubusercontent.com/u/141466?v=4",
"events_url": "https://api.github.com/users/Downchuck/events{/privacy}",
"followers_url": "https://api.github.com/users/Downchuck/followers",
"following_url": "https://api.github.com/users/Downchuck/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2017-10-13T19:55:11Z | 2021-09-08T06:00:36Z | 2017-10-14T02:09:47Z | NONE | resolved | I'm seeing a cascading failure from the certifi project with no particular way to override the behavior other than changing python code.
Would be nice to be able to at least supply an environment variable to override the CERTS path.
## Expected Result
A usable request object that validates over HTTPS.
## Actu... | {
"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/4340/reactions"
} | https://api.github.com/repos/psf/requests/issues/4340/timeline | null | completed | null | null | false | [
"You can provide an environment variable: `REQUESTS_CA_BUNDLE`."
] |
https://api.github.com/repos/psf/requests/issues/4339 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4339/labels{/name} | https://api.github.com/repos/psf/requests/issues/4339/comments | https://api.github.com/repos/psf/requests/issues/4339/events | https://github.com/psf/requests/pull/4339 | 265,374,362 | MDExOlB1bGxSZXF1ZXN0MTQ2NTIwNjAx | 4,339 | Respect the NETRC environment variable, if set. | {
"avatar_url": "https://avatars.githubusercontent.com/u/238952?v=4",
"events_url": "https://api.github.com/users/chrislawlor/events{/privacy}",
"followers_url": "https://api.github.com/users/chrislawlor/followers",
"following_url": "https://api.github.com/users/chrislawlor/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 2 | 2017-10-13T18:11:04Z | 2021-09-03T00:11:08Z | 2018-03-08T18:02:46Z | NONE | resolved | If the NETRC environment variable is set, use it to
load the user's netrc file. If not set, default to
searching the user's home directory for a `.netrc`
or `_netrc` file.
Issue #4318 | {
"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/4339/reactions"
} | https://api.github.com/repos/psf/requests/issues/4339/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4339.diff",
"html_url": "https://github.com/psf/requests/pull/4339",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4339.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4339"
} | true | [
"Not too sure how to go about testing this, at least with the `os.environ` check done at module load time. I'm thinking about moving it inside `get_netrc_auth` to facilitate testing. With the check done there, a test could look something like:\r\n\r\n1. Create an .netrc file in the temp directory\r\n1. Use `utils.s... |
https://api.github.com/repos/psf/requests/issues/4338 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4338/labels{/name} | https://api.github.com/repos/psf/requests/issues/4338/comments | https://api.github.com/repos/psf/requests/issues/4338/events | https://github.com/psf/requests/issues/4338 | 265,333,061 | MDU6SXNzdWUyNjUzMzMwNjE= | 4,338 | s.get("https://manage.office.com") fails with _ssl.c:504: EOF occurred in violation of protocol | {
"avatar_url": "https://avatars.githubusercontent.com/u/15867001?v=4",
"events_url": "https://api.github.com/users/Akhpatel/events{/privacy}",
"followers_url": "https://api.github.com/users/Akhpatel/followers",
"following_url": "https://api.github.com/users/Akhpatel/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 10 | 2017-10-13T15:40:13Z | 2021-09-08T06:00:34Z | 2017-10-24T10:43:31Z | NONE | resolved | I am behind a proxy. When I execute sess.get("https://google.com") I get a 200 status_code but when I try the same with sess.get("https://manage.office.com") it fails with _ssl.c:504: EOF occurred in violation of protocol
Also requests is not installed. I have placed it in ./lib/ and import it form there. There is a... | {
"avatar_url": "https://avatars.githubusercontent.com/u/15867001?v=4",
"events_url": "https://api.github.com/users/Akhpatel/events{/privacy}",
"followers_url": "https://api.github.com/users/Akhpatel/followers",
"following_url": "https://api.github.com/users/Akhpatel/following{/other_user}",
"gists_url": "htt... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4338/reactions"
} | https://api.github.com/repos/psf/requests/issues/4338/timeline | null | completed | null | null | false | [
"It’s highly likely that you are having problems with the TLS connection: you are running an *ancient* operating system and it will lack a bunch of features we need. I strongly, strongly suggest you try a newer distribution to see if your problem reproduces.",
"Thanks Lukasa for your comment.\r\n\r\nI have tried ... |
https://api.github.com/repos/psf/requests/issues/4337 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4337/labels{/name} | https://api.github.com/repos/psf/requests/issues/4337/comments | https://api.github.com/repos/psf/requests/issues/4337/events | https://github.com/psf/requests/issues/4337 | 265,251,280 | MDU6SXNzdWUyNjUyNTEyODA= | 4,337 | Requests hang multiprocessing | {
"avatar_url": "https://avatars.githubusercontent.com/u/29649428?v=4",
"events_url": "https://api.github.com/users/ironsilk/events{/privacy}",
"followers_url": "https://api.github.com/users/ironsilk/followers",
"following_url": "https://api.github.com/users/ironsilk/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2017-10-13T11:02:50Z | 2021-09-08T06:00:33Z | 2017-10-24T17:22:49Z | NONE | resolved | I'm trying to `get `4 Stack-overflow pages simultaneously with `Requests `and `multiprocessing`.
## Actual Result
Instead of the processes finishing, i get 4 zombie processes. I really tried 100 things, i read everything i could find(or understand) including the documentation, especially [here](http://docs.python... | {
"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/4337/reactions"
} | https://api.github.com/repos/psf/requests/issues/4337/timeline | null | completed | null | null | false | [
"Try setting a timeout of 30 seconds and see if that resolves your issue. I suspect a connection is getting wedged, preventing your program from completing.",
"Hi, the problem got solved, it seems like it wasthe fact that `title` was type `bs.4.Tag` and the attempt to pickle it would hang the program. ( see the a... |
https://api.github.com/repos/psf/requests/issues/4336 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4336/labels{/name} | https://api.github.com/repos/psf/requests/issues/4336/comments | https://api.github.com/repos/psf/requests/issues/4336/events | https://github.com/psf/requests/issues/4336 | 264,651,861 | MDU6SXNzdWUyNjQ2NTE4NjE= | 4,336 | Pylint can't import requests.packages.urllib3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/32494444?v=4",
"events_url": "https://api.github.com/users/shiftysymbol/events{/privacy}",
"followers_url": "https://api.github.com/users/shiftysymbol/followers",
"following_url": "https://api.github.com/users/shiftysymbol/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 4 | 2017-10-11T16:23:16Z | 2021-09-08T06:00:37Z | 2017-10-12T03:32:23Z | NONE | resolved | When I import anything from `requests.packages.urllib3`, `pylint` marks such lines as errors: `Unable to import '...' (import-error)`
## Reproduction Steps
```bash
virtualenv -p python3 test
source test/bin/activate
# taken from http://docs.python-requests.org/en/master/user/advanced/#example-specific-ssl-ve... | {
"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/4336/reactions"
} | https://api.github.com/repos/psf/requests/issues/4336/timeline | null | completed | null | null | false | [
"If you know that you’re using the most recent requests you can safely just use the base urllib3. That is my recommendation in this case.",
"Thanks for the recommendation! If it's official it might be worth updating the docs so users don't wonder about the packaged `urllib3`.",
"@shiftysymbol, urllib3 is no lon... |
https://api.github.com/repos/psf/requests/issues/4335 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4335/labels{/name} | https://api.github.com/repos/psf/requests/issues/4335/comments | https://api.github.com/repos/psf/requests/issues/4335/events | https://github.com/psf/requests/issues/4335 | 264,479,836 | MDU6SXNzdWUyNjQ0Nzk4MzY= | 4,335 | ssl client certificate requests reponse status code is 400 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15722064?v=4",
"events_url": "https://api.github.com/users/hugoren/events{/privacy}",
"followers_url": "https://api.github.com/users/hugoren/followers",
"following_url": "https://api.github.com/users/hugoren/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2017-10-11T07:13:38Z | 2021-09-08T03:00:42Z | 2018-02-24T15:02:36Z | NONE | resolved | Summary.
The server USES nginx to implement HTTPS
## Expected Result
ssl client certificate requests reponse status code is 400
What you expected.
Certificate request
## Actual Result
the nginx error is 21:unable to verify the first certificate
What happened instead.
## Reproduction Steps
```python
impo... | {
"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/4335/reactions"
} | https://api.github.com/repos/psf/requests/issues/4335/timeline | null | completed | null | null | false | [
"Can you show us the contents of the .pem file please? Can you also provide the output of `python -m requests.help` as the template asked for?",
"From my test, I found that in ubuntu 14.04.3, this won't happened, but in ubuntu 16.04.1, 400 status code is replied when requesting HTTPS.\r\nIt's a clue, I haven't di... |
https://api.github.com/repos/psf/requests/issues/4334 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4334/labels{/name} | https://api.github.com/repos/psf/requests/issues/4334/comments | https://api.github.com/repos/psf/requests/issues/4334/events | https://github.com/psf/requests/issues/4334 | 264,450,746 | MDU6SXNzdWUyNjQ0NTA3NDY= | 4,334 | Request blob:domain.com | {
"avatar_url": "https://avatars.githubusercontent.com/u/14329460?v=4",
"events_url": "https://api.github.com/users/saade/events{/privacy}",
"followers_url": "https://api.github.com/users/saade/followers",
"following_url": "https://api.github.com/users/saade/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 1 | 2017-10-11T04:03:17Z | 2021-09-08T06:00:37Z | 2017-10-11T04:18:02Z | NONE | resolved | Summary.
## Expected Result
I want do download blob:domain.com files
## Actual Result
With Requests:
`No connection adapters were found for 'blob:domain.com/aaaaa-bbbbbb-cccc'`
With python urllib2:
`<urlopen error unknown url type: blob>`
## Reproduction Steps
```python
import requests
requests.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4334/reactions"
} | https://api.github.com/repos/psf/requests/issues/4334/timeline | null | completed | null | null | false | [
"Requests is a HTTP library, and so only supports HTTP schemed URLs. There will be no support added for other kinds."
] |
https://api.github.com/repos/psf/requests/issues/4333 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4333/labels{/name} | https://api.github.com/repos/psf/requests/issues/4333/comments | https://api.github.com/repos/psf/requests/issues/4333/events | https://github.com/psf/requests/issues/4333 | 264,450,645 | MDU6SXNzdWUyNjQ0NTA2NDU= | 4,333 | The latest version requests error(Value for header......must be of type str or bytes, not <class 'dict'>),But use verion 2.3.0 is ok。 | {
"avatar_url": "https://avatars.githubusercontent.com/u/16347301?v=4",
"events_url": "https://api.github.com/users/lovebaicai/events{/privacy}",
"followers_url": "https://api.github.com/users/lovebaicai/followers",
"following_url": "https://api.github.com/users/lovebaicai/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2017-10-11T04:02:23Z | 2021-09-08T06:00:37Z | 2017-10-11T04:19:54Z | NONE | resolved | Hi,
- I use the latest version requests 2.18.4(Python2 or Python3),An error occurred:
```
requests.exceptions.InvalidHeader: Value for header {clientInfo: {'longitude': '', 'traderName': 'Google Nexus 6 - 5.1.0 - API 22 - 1440x2560', 'partner': 'Tencent', 'nettype': 'wifi', 'clientAppVersion': '2.1.7', 'screenwid... | {
"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/4333/reactions"
} | https://api.github.com/repos/psf/requests/issues/4333/timeline | null | completed | null | null | false | [
"Requests tightened its interface to only allow header values to be strings, and to not automatically coerce them to strings. You can get the old behaviour back by putting `str()` around your header value."
] |
https://api.github.com/repos/psf/requests/issues/4332 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4332/labels{/name} | https://api.github.com/repos/psf/requests/issues/4332/comments | https://api.github.com/repos/psf/requests/issues/4332/events | https://github.com/psf/requests/pull/4332 | 264,311,445 | MDExOlB1bGxSZXF1ZXN0MTQ1NzUzMzU2 | 4,332 | Warn about possible slowness on older versions of pyOpenSSL | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | false | null | [] | null | 3 | 2017-10-10T17:24:31Z | 2017-10-14T15:41:03Z | 2017-10-14T15:41:03Z | NONE | null | Give a warning when `cryptography < 1.3.4` and `pyOpenSSL < 16.0.0` as discussed in #4309 | {
"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/4332/reactions"
} | https://api.github.com/repos/psf/requests/issues/4332/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4332.diff",
"html_url": "https://github.com/psf/requests/pull/4332",
"merged_at": "2017-10-14T15:41:03Z",
"patch_url": "https://github.com/psf/requests/pull/4332.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4332"
} | true | [
"I think I squashed everything right this time. Please let me know if I missed something!",
"Great! Thanks for working with me and helping me get some experience, I really appreciate it!",
"I've updated the changelog, added myself to AUTHORS.rst, and fixed the commit message."
] |
https://api.github.com/repos/psf/requests/issues/4331 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4331/labels{/name} | https://api.github.com/repos/psf/requests/issues/4331/comments | https://api.github.com/repos/psf/requests/issues/4331/events | https://github.com/psf/requests/pull/4331 | 264,136,690 | MDExOlB1bGxSZXF1ZXN0MTQ1NjI1NDYx | 4,331 | Fix docs for data param in api | {
"avatar_url": "https://avatars.githubusercontent.com/u/7973243?v=4",
"events_url": "https://api.github.com/users/rymdhund/events{/privacy}",
"followers_url": "https://api.github.com/users/rymdhund/followers",
"following_url": "https://api.github.com/users/rymdhund/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 2 | 2017-10-10T08:15:49Z | 2021-09-03T00:11:08Z | 2018-03-08T18:01:55Z | NONE | resolved | The data param also accepts a list of tuples. It says so in the docs for request() but not for post(), put() and patch() | {
"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/4331/reactions"
} | https://api.github.com/repos/psf/requests/issues/4331/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4331.diff",
"html_url": "https://github.com/psf/requests/pull/4331",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4331.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4331"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4331?src=pr&el=h1) Report\n> Merging [#4331](https://codecov.io/gh/requests/requests/pull/4331?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/24092b11d74af0a766d9cc616622f38adb0044b9?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4330 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4330/labels{/name} | https://api.github.com/repos/psf/requests/issues/4330/comments | https://api.github.com/repos/psf/requests/issues/4330/events | https://github.com/psf/requests/issues/4330 | 263,685,027 | MDU6SXNzdWUyNjM2ODUwMjc= | 4,330 | Question: How to throttle bandwidth of a given REST call | {
"avatar_url": "https://avatars.githubusercontent.com/u/1402178?v=4",
"events_url": "https://api.github.com/users/niko-dunixi/events{/privacy}",
"followers_url": "https://api.github.com/users/niko-dunixi/followers",
"following_url": "https://api.github.com/users/niko-dunixi/following{/other_user}",
"gists_ur... | [
{
"color": "777777",
"default": false,
"description": null,
"id": 162780722,
"name": "Question/Not a bug",
"node_id": "MDU6TGFiZWwxNjI3ODA3MjI=",
"url": "https://api.github.com/repos/psf/requests/labels/Question/Not%20a%20bug"
}
] | closed | true | null | [] | null | 2 | 2017-10-08T01:32:27Z | 2021-09-08T06:00:38Z | 2017-10-08T16:33:39Z | NONE | resolved | I'm transitively using Requests, by using [locustio](https://github.com/locustio/locust).
Basically, we're loadtesting a service that accepts file-uploads (pretty much just a vanilla POST request). We want to slow down the upload to resemble what a real user's bandwidth would look like. (For clarification, the machi... | {
"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/4330/reactions"
} | https://api.github.com/repos/psf/requests/issues/4330/timeline | null | completed | null | null | false | [
"There is nothing built into requests to do this. Depending on how you're trying to upload files you can either implement a generator that sleeps the appropriate amount of time or a file-like object that sleeps the appropriate amount of time.\r\n\r\nIn the future, please ask questions on [StackOverflow](https://sta... |
https://api.github.com/repos/psf/requests/issues/4329 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4329/labels{/name} | https://api.github.com/repos/psf/requests/issues/4329/comments | https://api.github.com/repos/psf/requests/issues/4329/events | https://github.com/psf/requests/pull/4329 | 263,345,997 | MDExOlB1bGxSZXF1ZXN0MTQ1MDc5MDYy | 4,329 | Python 3.7 is supported | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2017-10-06T06:18:21Z | 2021-09-04T00:06:47Z | 2017-10-15T20:35:53Z | CONTRIBUTOR | resolved | The README says "Requests officially supports Python 2.6–2.7 & 3.3–3.7, and runs great on PyPy." so update the version in some other places too. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4329/reactions"
} | https://api.github.com/repos/psf/requests/issues/4329/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4329.diff",
"html_url": "https://github.com/psf/requests/pull/4329",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4329.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4329"
} | true | [
"Should we instead remove 3.7 from the README and the commented out 3.7-dev from .travis.yml?\r\n\r\nAlternatively: the commit message for the commenting out was to speed up the build: https://github.com/requests/requests/commit/2758b8b0f029abb9166eb1f124dcabe1bd35e949\r\n\r\nTravis gives up to five parallel build ... |
https://api.github.com/repos/psf/requests/issues/4328 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4328/labels{/name} | https://api.github.com/repos/psf/requests/issues/4328/comments | https://api.github.com/repos/psf/requests/issues/4328/events | https://github.com/psf/requests/pull/4328 | 263,344,710 | MDExOlB1bGxSZXF1ZXN0MTQ1MDc4MTU2 | 4,328 | Remove redundant Python 2.6 stuff | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2017-10-06T06:09:11Z | 2021-09-04T00:06:45Z | 2017-10-19T16:58:54Z | CONTRIBUTOR | resolved | Same as https://github.com/requests/requests/pull/4326 but for the proposed/3.0.0 branch.
The good news is nearly everything was already in this branch from https://github.com/requests/requests/pull/4118, except for tidying up some OrderedDict compat stuff.
Also, pytest>=3.0.0 is required for the Python 3.3 build... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4328/reactions"
} | https://api.github.com/repos/psf/requests/issues/4328/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4328.diff",
"html_url": "https://github.com/psf/requests/pull/4328",
"merged_at": "2017-10-19T16:58:54Z",
"patch_url": "https://github.com/psf/requests/pull/4328.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4328"
} | true | [
"I've removed that commit and rebased onto current proposed/3.0.0 and update AUTHORS.rst on this branch.\r\n\r\n> We could also use a CHANGELOG entry stating that the OrderedDict import no longer exists in compat.py.\r\n\r\n@nateprewitt Is the changelog in https://github.com/requests/requests/blob/proposed/3.0.0/3.... |
https://api.github.com/repos/psf/requests/issues/4327 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4327/labels{/name} | https://api.github.com/repos/psf/requests/issues/4327/comments | https://api.github.com/repos/psf/requests/issues/4327/events | https://github.com/psf/requests/pull/4327 | 263,202,203 | MDExOlB1bGxSZXF1ZXN0MTQ0OTczMjA5 | 4,327 | removed python2 unicode literals from documentation examples | {
"avatar_url": "https://avatars.githubusercontent.com/u/2715854?v=4",
"events_url": "https://api.github.com/users/miguelgrinberg/events{/privacy}",
"followers_url": "https://api.github.com/users/miguelgrinberg/followers",
"following_url": "https://api.github.com/users/miguelgrinberg/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2017-10-05T17:16:00Z | 2021-09-04T00:06:44Z | 2017-10-15T15:44:36Z | NONE | resolved | The documentation has a bunch of examples showing unicode literals in Python 2's `u'foo'` syntax, including one in the front page right below the note encouraging users to switch to Python 3. | {
"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/4327/reactions"
} | https://api.github.com/repos/psf/requests/issues/4327/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4327.diff",
"html_url": "https://github.com/psf/requests/pull/4327",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4327.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4327"
} | true | [
"Given the currently supported versions of Python 3 (e.g., Python 3.4+), using `u''` is a cross-version compatible way of ensuring one always has text when dealing with native strings. I don't think we want to remove this.\r\n\r\nNote: All versions of Python 3 in which unicode-literals were invalid syntax have been... |
https://api.github.com/repos/psf/requests/issues/4326 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4326/labels{/name} | https://api.github.com/repos/psf/requests/issues/4326/comments | https://api.github.com/repos/psf/requests/issues/4326/events | https://github.com/psf/requests/pull/4326 | 263,118,728 | MDExOlB1bGxSZXF1ZXN0MTQ0OTExMzQy | 4,326 | Remove redundant Python 2.6 stuff | {
"avatar_url": "https://avatars.githubusercontent.com/u/1324225?v=4",
"events_url": "https://api.github.com/users/hugovk/events{/privacy}",
"followers_url": "https://api.github.com/users/hugovk/followers",
"following_url": "https://api.github.com/users/hugovk/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 6 | 2017-10-05T13:07:16Z | 2021-09-04T00:06:47Z | 2017-10-05T15:32:19Z | CONTRIBUTOR | resolved | Python 2.6 support was dropped in https://github.com/requests/requests/pull/4118.
This removes some other redundant 2.6 code.
Also mention Python 3.7 as officially supported, to reflect the README.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4326/reactions"
} | https://api.github.com/repos/psf/requests/issues/4326/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4326.diff",
"html_url": "https://github.com/psf/requests/pull/4326",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4326.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4326"
} | true | [
"Looks like some failures regarding cookies, could you check those out?",
"Similar cookie failures are happening on latest master:\r\n\r\nhttps://travis-ci.org/requests/requests/builds/279556831",
"You're right, those will have to be fixed in a different PR. I'm :+1: from my brief look at these changes.",
"He... |
https://api.github.com/repos/psf/requests/issues/4325 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4325/labels{/name} | https://api.github.com/repos/psf/requests/issues/4325/comments | https://api.github.com/repos/psf/requests/issues/4325/events | https://github.com/psf/requests/issues/4325 | 262,873,207 | MDU6SXNzdWUyNjI4NzMyMDc= | 4,325 | Session adapter doesn't update https connections cert data | {
"avatar_url": "https://avatars.githubusercontent.com/u/2819491?v=4",
"events_url": "https://api.github.com/users/aleperno/events{/privacy}",
"followers_url": "https://api.github.com/users/aleperno/followers",
"following_url": "https://api.github.com/users/aleperno/following{/other_user}",
"gists_url": "http... | [] | open | false | null | [] | null | 4 | 2017-10-04T17:45:28Z | 2019-01-04T17:38:35Z | null | NONE | null | Under a session, the first https request sets the HTTPSConnectionPool certs data.
If in a subsequent request, we change the certs data (eg: Set verify to True), the adaptor will update the ConnectionPool attributes, however each connection in the pool will still contain the old certs data, thus when requesting a conne... | null | {
"+1": 0,
"-1": 0,
"confused": 1,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/4325/reactions"
} | https://api.github.com/repos/psf/requests/issues/4325/timeline | null | null | null | null | false | [
"Yeah. Requests is using some old APIs in urllib3 that don’t interact with the connection pooling. It should update to pass the TLS data into the pool manager to ensure that the TLS info factors in. ",
"@Lukasa thanks for your prompt reply",
"This is also true of the certificate/key paths provided in the `cert`... |
https://api.github.com/repos/psf/requests/issues/4324 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4324/labels{/name} | https://api.github.com/repos/psf/requests/issues/4324/comments | https://api.github.com/repos/psf/requests/issues/4324/events | https://github.com/psf/requests/issues/4324 | 262,612,074 | MDU6SXNzdWUyNjI2MTIwNzQ= | 4,324 | Request with method-level auth differs from request with equivalent session-level auth | {
"avatar_url": "https://avatars.githubusercontent.com/u/32467112?v=4",
"events_url": "https://api.github.com/users/mysteryegg/events{/privacy}",
"followers_url": "https://api.github.com/users/mysteryegg/followers",
"following_url": "https://api.github.com/users/mysteryegg/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 6 | 2017-10-03T22:34:57Z | 2021-09-08T03:00:42Z | 2018-02-24T15:01:29Z | NONE | resolved | ## Summary
Explicitly calling out method-level auth parameter that matches associated session-level auth seems to yield functionally different behavior.
## Expected Results
I am parsing a CSV file containing references to local filenames that I am uploading via Requests to a RESTful API I'm helping test. The i... | {
"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/4324/reactions"
} | https://api.github.com/repos/psf/requests/issues/4324/timeline | null | completed | null | null | false | [
"Do you have a `~/.netrc` file? What happens if you set `trust_env=False` in the request?",
"I don't have a ~/.netrc file.\r\nWhen I inject trust_env=False in the individual s.post kwargs, I get a TypeError for unexpected argument trust_env.\r\n\r\nIf I set the session attribute `s.trust_env = False`, then I stil... |
https://api.github.com/repos/psf/requests/issues/4323 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4323/labels{/name} | https://api.github.com/repos/psf/requests/issues/4323/comments | https://api.github.com/repos/psf/requests/issues/4323/events | https://github.com/psf/requests/issues/4323 | 262,203,652 | MDU6SXNzdWUyNjIyMDM2NTI= | 4,323 | Make sessions safe[r] in multi-process environment | {
"avatar_url": "https://avatars.githubusercontent.com/u/290258?v=4",
"events_url": "https://api.github.com/users/rabbbit/events{/privacy}",
"followers_url": "https://api.github.com/users/rabbbit/followers",
"following_url": "https://api.github.com/users/rabbbit/following{/other_user}",
"gists_url": "https://... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
},
{
"color": "fad8c7",
"default": false,
"descrip... | open | false | null | [] | null | 8 | 2017-10-02T19:44:08Z | 2024-05-19T18:56:37Z | null | NONE | null | tldr; in multi-process environment (Celery) sessions might lead to request/responses being mixed up.
It is unsafe to use Session in a multi-process environment - if the fork happens after Session initialisation the underlying connection pool will be shared across both processes, leading to potentially dangerous and ... | null | {
"+1": 6,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/psf/requests/issues/4323/reactions"
} | https://api.github.com/repos/psf/requests/issues/4323/timeline | null | null | null | null | false | [
"So my suggestion here is that we simply document this as a risk. It can’t happen merely by creating a `Session` before forking, it has to actually be *used* before the fork. The difficulty is that forking combined with multi threading and streaming means that we need to check PIDs constantly: additionally, there i... |
https://api.github.com/repos/psf/requests/issues/4322 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4322/labels{/name} | https://api.github.com/repos/psf/requests/issues/4322/comments | https://api.github.com/repos/psf/requests/issues/4322/events | https://github.com/psf/requests/issues/4322 | 262,174,050 | MDU6SXNzdWUyNjIxNzQwNTA= | 4,322 | Reuse ssl.SSLContext across all SSL connections within a requests.Sesssion | {
"avatar_url": "https://avatars.githubusercontent.com/u/772?v=4",
"events_url": "https://api.github.com/users/alex/events{/privacy}",
"followers_url": "https://api.github.com/users/alex/followers",
"following_url": "https://api.github.com/users/alex/following{/other_user}",
"gists_url": "https://api.github.c... | [
{
"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 | false | null | [] | null | 5 | 2017-10-02T18:05:53Z | 2024-05-19T19:07:12Z | 2024-05-19T19:07:12Z | MEMBER | null | requests should pass `ssl_context` to `urllib3.PoolManager`: https://github.com/requests/requests/blob/2a4dd64fb4c072c646277c9d057737b05351b86f/requests/adapters.py#L161-L162
Otherwise a new SSLContext is allocated for all requests. SSLContexsts can be huge, like 1MB, so doing this will be a performance and memory u... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/psf/requests/issues/4322/reactions"
} | https://api.github.com/repos/psf/requests/issues/4322/timeline | null | completed | null | null | false | [
"It looks like Requests doesn't define `ssl_context` anywhere. Where should it be created?",
"How is the status of this issue?",
"Hello, me and my group mates are going to be working on this issue.",
"@alex Could you tell me where you have an instance of ssl_context within the code? Thank you.",
"This shoul... |
https://api.github.com/repos/psf/requests/issues/4321 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4321/labels{/name} | https://api.github.com/repos/psf/requests/issues/4321/comments | https://api.github.com/repos/psf/requests/issues/4321/events | https://github.com/psf/requests/issues/4321 | 262,027,085 | MDU6SXNzdWUyNjIwMjcwODU= | 4,321 | Feature request: Session optio for "strict body content" | {
"avatar_url": "https://avatars.githubusercontent.com/u/3591955?v=4",
"events_url": "https://api.github.com/users/melvyn-sopacua/events{/privacy}",
"followers_url": "https://api.github.com/users/melvyn-sopacua/followers",
"following_url": "https://api.github.com/users/melvyn-sopacua/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2017-10-02T09:25:02Z | 2021-09-08T06:00:39Z | 2017-10-02T12:06:38Z | NONE | resolved | When building an Api client, I abstract the authentication to be able to passed through via headers, params, post data or json. As a result I created a "context dict" that is passed to `Session().method()` consisting of headers, params, data and json. These dict keys were intialized with empty dicts to allow simple `co... | {
"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/4321/reactions"
} | https://api.github.com/repos/psf/requests/issues/4321/timeline | null | completed | null | null | false | [
"> Since I'm unsure this is a feature, I would appreciate a setting that disables this behavior and does not send a body if the request method does not support one.\r\n\r\nEvery request method allows request bodies. Some methods, however, do not assign semantic meaning to them and allow intermediaries (e.g., Cloudf... |
https://api.github.com/repos/psf/requests/issues/4320 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4320/labels{/name} | https://api.github.com/repos/psf/requests/issues/4320/comments | https://api.github.com/repos/psf/requests/issues/4320/events | https://github.com/psf/requests/issues/4320 | 261,940,329 | MDU6SXNzdWUyNjE5NDAzMjk= | 4,320 | SSLError(SSLError("bad handshake: SysCallError(10060, 'WSAETIMEDOUT')",),) on windows 10 | {
"avatar_url": "https://avatars.githubusercontent.com/u/18638605?v=4",
"events_url": "https://api.github.com/users/rnmhdn/events{/privacy}",
"followers_url": "https://api.github.com/users/rnmhdn/followers",
"following_url": "https://api.github.com/users/rnmhdn/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 8 | 2017-10-01T19:37:59Z | 2018-12-26T15:47:06Z | 2017-10-04T18:00:49Z | NONE | resolved | I'm using python 3.5.3 on windows 10 and I get The following Error while trying to send a head or get request to a webpage:
**Here is my Traceback:**
> Traceback (most recent call last):
> File "C:\Users\aran\Anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 441, in wrap_socket
> cnx.do_hand... | {
"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/4320/reactions"
} | https://api.github.com/repos/psf/requests/issues/4320/timeline | null | completed | null | null | false | [
"The error seems to be an underlying syscall issue: specifically, the handshake timing out. What happens if you uninstall PyOpenSSL?",
"This is What I get:\r\n\r\n```\r\nPython 3.5.3 | packaged by conda-forge | (default, Jan 23 2017, 20:04:35) [MSC v.1900 64 bit (AMD64)] on win32\r\nIn[2]: import requests\r\nresp... |
https://api.github.com/repos/psf/requests/issues/4319 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4319/labels{/name} | https://api.github.com/repos/psf/requests/issues/4319/comments | https://api.github.com/repos/psf/requests/issues/4319/events | https://github.com/psf/requests/issues/4319 | 261,924,323 | MDU6SXNzdWUyNjE5MjQzMjM= | 4,319 | SSL Proxy Support | {
"avatar_url": "https://avatars.githubusercontent.com/u/9809130?v=4",
"events_url": "https://api.github.com/users/clusby/events{/privacy}",
"followers_url": "https://api.github.com/users/clusby/followers",
"following_url": "https://api.github.com/users/clusby/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 5 | 2017-10-01T15:33:07Z | 2021-09-08T06:00:39Z | 2017-10-01T15:57:49Z | NONE | resolved | When accessing HTTPS urls via an NTLM proxy, the get request fails with a request.exceptions.ProxyError
I believe this is because the hook to use requests-ntlm isn't dispatched when performing the SSL tunnel. That is, a socket error is thrown when I get a 407 in httplib._tunnel().
Are there any plans to support h... | {
"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/4319/reactions"
} | https://api.github.com/repos/psf/requests/issues/4319/timeline | null | completed | null | null | false | [
"Requests-NTLM is a separate project from Requests: please raise this issue on that repository. ",
"Sure - I think this may involve both projects though. \r\n\r\nThe exception is thrown within sessions.py:\r\n```python\r\n# Send the request\r\nr = adapter.send(request, **kwargs)\r\n```\r\n\r\nWithin send(), the S... |
https://api.github.com/repos/psf/requests/issues/4318 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4318/labels{/name} | https://api.github.com/repos/psf/requests/issues/4318/comments | https://api.github.com/repos/psf/requests/issues/4318/events | https://github.com/psf/requests/issues/4318 | 261,902,183 | MDU6SXNzdWUyNjE5MDIxODM= | 4,318 | netrc reading does not respect NETRC environment variable | {
"avatar_url": "https://avatars.githubusercontent.com/u/585279?v=4",
"events_url": "https://api.github.com/users/mitar/events{/privacy}",
"followers_url": "https://api.github.com/users/mitar/followers",
"following_url": "https://api.github.com/users/mitar/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 4 | 2017-10-01T08:56:47Z | 2021-08-29T00:06:40Z | 2020-11-01T16:52:02Z | NONE | resolved | As described [here](https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html), there is an environment variable `NETRC` which one can use to control where `.netrc` file is. Requests always searches in user's home directory.
## System Information
```
{
"chardet": {
"version": "3.0.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 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/4318/reactions"
} | https://api.github.com/repos/psf/requests/issues/4318/timeline | null | completed | null | null | false | [
"Do we still want this feature? I want this feature, but I don't know overall sentiment among users.\r\n\r\nI see that https://github.com/psf/requests/pull/4339 was closed because it wasn't finished. I volunteer to finish the work with appropriate test coverage and documentation.",
"This has been open very long w... |
https://api.github.com/repos/psf/requests/issues/4317 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4317/labels{/name} | https://api.github.com/repos/psf/requests/issues/4317/comments | https://api.github.com/repos/psf/requests/issues/4317/events | https://github.com/psf/requests/issues/4317 | 261,901,848 | MDU6SXNzdWUyNjE5MDE4NDg= | 4,317 | Option to set server name in HTTPs request | {
"avatar_url": "https://avatars.githubusercontent.com/u/10564697?v=4",
"events_url": "https://api.github.com/users/soumoks/events{/privacy}",
"followers_url": "https://api.github.com/users/soumoks/followers",
"following_url": "https://api.github.com/users/soumoks/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2017-10-01T08:49:39Z | 2021-09-08T05:00:39Z | 2017-12-29T13:38:12Z | NONE | resolved | Summary.
Server name is being read from the request URI resulting in SSL handshake failure when making request to IP address. Setting host_header does not help as the value of ssl.handshake.extensions_server_name is still being set to the IP address.
## Expected Result
Need an option similar to openssl s_client -... | {
"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/4317/reactions"
} | https://api.github.com/repos/psf/requests/issues/4317/timeline | null | completed | null | null | false | [
"That's provided by this [transport adapter](http://toolbelt.readthedocs.io/en/latest/adapters.html#hostheaderssladapter).\r\n\r\nCheers!"
] |
https://api.github.com/repos/psf/requests/issues/4316 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4316/labels{/name} | https://api.github.com/repos/psf/requests/issues/4316/comments | https://api.github.com/repos/psf/requests/issues/4316/events | https://github.com/psf/requests/pull/4316 | 261,853,405 | MDExOlB1bGxSZXF1ZXN0MTQ0MDMzODQx | 4,316 | Avoid importing platform | {
"avatar_url": "https://avatars.githubusercontent.com/u/199592?v=4",
"events_url": "https://api.github.com/users/methane/events{/privacy}",
"followers_url": "https://api.github.com/users/methane/followers",
"following_url": "https://api.github.com/users/methane/following{/other_user}",
"gists_url": "https://... | [] | 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 | 8 | 2017-09-30T16:09:53Z | 2021-09-04T00:06:45Z | 2017-10-20T00:47:40Z | CONTRIBUTOR | resolved | platform module is relatively large: it takes about 5ms to import. | {
"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/4316/reactions"
} | https://api.github.com/repos/psf/requests/issues/4316/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4316.diff",
"html_url": "https://github.com/psf/requests/pull/4316",
"merged_at": "2017-10-20T00:47:40Z",
"patch_url": "https://github.com/psf/requests/pull/4316.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4316"
} | true | [
"Is `sys.platform` always equal to `win32` even on 64bit windows installations?",
"Might wanna do `sys.platform.startswith('win')`? I've seen that in another library, can't recall which.",
"It is always 'win32'.\r\nhttps://docs.python.org/3/library/sys.html#sys.platform\r\n\r\nhttps://github.com/python/cpython/... |
https://api.github.com/repos/psf/requests/issues/4315 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4315/labels{/name} | https://api.github.com/repos/psf/requests/issues/4315/comments | https://api.github.com/repos/psf/requests/issues/4315/events | https://github.com/psf/requests/issues/4315 | 261,846,209 | MDU6SXNzdWUyNjE4NDYyMDk= | 4,315 | Investigate users with slow import time, and attempt to mitigate in future releases | {
"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": "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 | 20 | 2017-09-30T14:10:20Z | 2022-02-26T04:00:39Z | 2021-11-28T03:04:04Z | CONTRIBUTOR | resolved | Letter from a fan:
> Hi Kenneth!
> Lol I'm named Kenneth too :) - but just call me Ken.
> Thanks for Requests! I use it for my bots, and it really simplifies everything.
> It helps my life - I work with a MediaWiki wiki, and Requests condenses all the (guess what) > requests I have to make.
> My only qualm i... | {
"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/4315/reactions"
} | https://api.github.com/repos/psf/requests/issues/4315/timeline | null | completed | null | null | false | [
"See https://gist.github.com/methane/96d58a29e57e5be97769897462ee1c7e",
"@methane can you share how you generated that?",
"This is produced by patched Python.\r\nSee python/cpython#3490",
"Hi \r\nAre there any plans to improve this issue?.\r\n**request** is used in a CLI tool named **iocage** that is used to ... |
https://api.github.com/repos/psf/requests/issues/4314 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4314/labels{/name} | https://api.github.com/repos/psf/requests/issues/4314/comments | https://api.github.com/repos/psf/requests/issues/4314/events | https://github.com/psf/requests/issues/4314 | 261,836,356 | MDU6SXNzdWUyNjE4MzYzNTY= | 4,314 | In reponse, jQuery****({...}); | {
"avatar_url": "https://avatars.githubusercontent.com/u/20521264?v=4",
"events_url": "https://api.github.com/users/kimyoungjin06/events{/privacy}",
"followers_url": "https://api.github.com/users/kimyoungjin06/followers",
"following_url": "https://api.github.com/users/kimyoungjin06/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2017-09-30T10:51:02Z | 2021-09-08T06:00:41Z | 2017-09-30T11:02:42Z | NONE | resolved | Summary.
## Expected Result
I expected to return this form.
{"success":true,"code":"1000",...}
## Actual Result
I return this form with request.get()
jQuery1708155690935019391_1506579003758({"success":true,"code":"1000",...});
## Reproduction Steps
```python
url = 'https://apis.naver.com/commentBox/c... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4314/reactions"
} | https://api.github.com/repos/psf/requests/issues/4314/timeline | null | completed | null | null | false | [
"@kimyoungjin06, the endpoint you're hitting seems to be returning exactly what you're asking for, a JSON dataset wrapped in a callback function (`jQuery1708155690935019391_1506579003758`) which you have declared in the URL parameters. You'll receive the same result if you perform this request with another tool lik... |
https://api.github.com/repos/psf/requests/issues/4313 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4313/labels{/name} | https://api.github.com/repos/psf/requests/issues/4313/comments | https://api.github.com/repos/psf/requests/issues/4313/events | https://github.com/psf/requests/issues/4313 | 261,824,991 | MDU6SXNzdWUyNjE4MjQ5OTE= | 4,313 | Importing requests takes additional 13MB, more than doubling Python's mem usage | {
"avatar_url": "https://avatars.githubusercontent.com/u/731464?v=4",
"events_url": "https://api.github.com/users/erezsh/events{/privacy}",
"followers_url": "https://api.github.com/users/erezsh/followers",
"following_url": "https://api.github.com/users/erezsh/following{/other_user}",
"gists_url": "https://api... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "eb6420",
"default": false,
"description": null,
"id": 44501... | closed | true | null | [] | null | 4 | 2017-09-30T07:17:33Z | 2022-02-26T04:00:38Z | 2021-11-28T03:05:00Z | NONE | resolved | Simple running:
import requests
In a new, blank process, raises memory consumption from ~11MB to ~24MB
## Expected Result
Even big libraries like Django raise it by less than 1MB
## Reproduction Steps
```python
import requests
```
:)
## System Information
$ python -m requests.help
... | {
"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/4313/reactions"
} | https://api.github.com/repos/psf/requests/issues/4313/timeline | null | completed | null | null | false | [
"P.S. the same effect happens in Python 2",
"I've been looking into this, and it's about what you'd expect: 'requests' uses a lot of libraries, and some of them use a lot of memory.\r\n\r\n(In comparison, Django uses very few memory-hungry modules.)\r\n\r\nThe biggest offenders that I've found in 'requests':\r\n\... |
https://api.github.com/repos/psf/requests/issues/4312 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4312/labels{/name} | https://api.github.com/repos/psf/requests/issues/4312/comments | https://api.github.com/repos/psf/requests/issues/4312/events | https://github.com/psf/requests/issues/4312 | 261,759,004 | MDU6SXNzdWUyNjE3NTkwMDQ= | 4,312 | Connecting from HTTPAdapter: Forbidden: Access is denied | {
"avatar_url": "https://avatars.githubusercontent.com/u/25555558?v=4",
"events_url": "https://api.github.com/users/edsonitk/events{/privacy}",
"followers_url": "https://api.github.com/users/edsonitk/followers",
"following_url": "https://api.github.com/users/edsonitk/following{/other_user}",
"gists_url": "htt... | [
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
"name": "Propose Close",
"node_id": "MDU6TGFiZWwxNjc1Mzc2NzA=",
"url": "https://api.github.com/repos/psf/requests/labels/Propose%20Close"
},
{
"color": "fef2c0",
"default": false,
"description": ... | closed | true | null | [] | null | 4 | 2017-09-29T20:17:05Z | 2021-09-08T04:00:53Z | 2018-01-13T21:21:15Z | NONE | resolved | I'm trying to connect with certificate via HTTPAdapter, but the server always returns me error: 403 - Forbidden: Access is denied. This is the code:
```
class DESAdapter (HTTPAdapter):
def __init __ (self, cert=None, key=None):
self.cert_file = cert
self.key_file = key
super (D... | {
"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/4312/reactions"
} | https://api.github.com/repos/psf/requests/issues/4312/timeline | null | completed | null | null | false | [
"Please provide us with the output of\r\n\r\n```\r\npython -m requests.help\r\n```\r\n\r\nIf that is unavailable on your version of Requests please provide some basic information about your system (Python version, operating system, etc).",
"{\r\n \"chardet\": {\r\n \"version\": \"3.0.4\"\r\n },\r\n \"crypto... |
https://api.github.com/repos/psf/requests/issues/4311 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4311/labels{/name} | https://api.github.com/repos/psf/requests/issues/4311/comments | https://api.github.com/repos/psf/requests/issues/4311/events | https://github.com/psf/requests/issues/4311 | 261,607,211 | MDU6SXNzdWUyNjE2MDcyMTE= | 4,311 | [bug]request http over https proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/2764106?v=4",
"events_url": "https://api.github.com/users/foxundermoon/events{/privacy}",
"followers_url": "https://api.github.com/users/foxundermoon/followers",
"following_url": "https://api.github.com/users/foxundermoon/following{/other_user}",
"gists... | [
{
"color": "fef2c0",
"default": false,
"description": null,
"id": 298537994,
"name": "Needs More Information",
"node_id": "MDU6TGFiZWwyOTg1Mzc5OTQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20More%20Information"
}
] | closed | true | null | [] | null | 4 | 2017-09-29T11:04:37Z | 2021-09-08T06:00:38Z | 2017-10-07T09:34:00Z | NONE | resolved | `python 2.7.13`
`requests v2.18.4`
request http website over https proxy always failure.
the proxy is checked pass by `http_proxy=https://ip:port curl ip.sb`
```python
import requests
proxies={'http':'https://proxyhost'}
requests.get('http://targeturl' , proxies=proxies)
```
but request http over htt... | {
"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/4311/reactions"
} | https://api.github.com/repos/psf/requests/issues/4311/timeline | null | completed | null | null | false | [
"Please provide us with the output of \r\n\r\n```\r\npython -m requests.help\r\n```",
"```\r\n{\r\n \"chardet\": {\r\n \"version\": \"3.0.4\"\r\n }, \r\n \"cryptography\": {\r\n \"version\": \"2.0.3\"\r\n }, \r\n \"idna\": {\r\n \"version\": \"2.6\"\r\n }, \r\n \"implementation\": {\r\n \"name\... |
https://api.github.com/repos/psf/requests/issues/4310 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4310/labels{/name} | https://api.github.com/repos/psf/requests/issues/4310/comments | https://api.github.com/repos/psf/requests/issues/4310/events | https://github.com/psf/requests/issues/4310 | 261,566,506 | MDU6SXNzdWUyNjE1NjY1MDY= | 4,310 | SSLError: SOCKSHTTPSConnectionPool(host='www.google.com', port=443) | {
"avatar_url": "https://avatars.githubusercontent.com/u/22742052?v=4",
"events_url": "https://api.github.com/users/wkatios/events{/privacy}",
"followers_url": "https://api.github.com/users/wkatios/followers",
"following_url": "https://api.github.com/users/wkatios/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 5 | 2017-09-29T08:23:35Z | 2021-09-01T00:11:37Z | 2018-05-20T19:28:03Z | NONE | resolved | Open a new issue is to facilitate the view, because #4272 too long.
maybe it can help other people
we know uses socks5 need install
`pip install requests[socks]`
when i use
`pip install --upgrade requests[socks]`
```
import reqeusts
proxies = {'http': 'socks5://127.0.0.1:1080', 'https': 'socks5://127.0... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4310/reactions"
} | https://api.github.com/repos/psf/requests/issues/4310/timeline | null | completed | null | null | false | [
"I meet the same error today. Oddly, the error didn't appear when I setup the same programe tomorrow. ",
"Please provide us with the output of\r\n\r\n```\r\npython -m requests.help\r\n```\r\n\r\nIf that is unavailable on your version of Requests please provide some basic information about your system (Python vers... |
https://api.github.com/repos/psf/requests/issues/4309 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4309/labels{/name} | https://api.github.com/repos/psf/requests/issues/4309/comments | https://api.github.com/repos/psf/requests/issues/4309/events | https://github.com/psf/requests/issues/4309 | 261,346,365 | MDU6SXNzdWUyNjEzNDYzNjU= | 4,309 | Warn about possible slowness when using an older version of pyOpenSSL | {
"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 | 4 | 2017-09-28T14:48:42Z | 2021-09-08T04:00:46Z | 2018-01-23T16:11:55Z | NONE | resolved | [This](https://github.com/requests/requests/issues/4278#issuecomment-329516221) comment on #4278 suggests warning about possible slowness for older versions of pyOpenSSL.
I'd love to work on this, I'm just not sure which versions to warn about and would love input from some developers more experienced with the libra... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4309/reactions"
} | https://api.github.com/repos/psf/requests/issues/4309/timeline | null | completed | null | null | false | [
"So I think @Lukasa or @sigmavirus24 may have a more definitive answer to this, but it looks like `PyOpenSSL 16.0.0` was when the `Cryptography>=1.0` requirement was put in place. From my understanding that's when the speed ups were implemented.\r\n\r\nWe already require `Cryptography>=1.3.4` in both Requests and u... |
https://api.github.com/repos/psf/requests/issues/4308 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4308/labels{/name} | https://api.github.com/repos/psf/requests/issues/4308/comments | https://api.github.com/repos/psf/requests/issues/4308/events | https://github.com/psf/requests/issues/4308 | 260,546,828 | MDU6SXNzdWUyNjA1NDY4Mjg= | 4,308 | request.get params change | {
"avatar_url": "https://avatars.githubusercontent.com/u/22809651?v=4",
"events_url": "https://api.github.com/users/kalinlau/events{/privacy}",
"followers_url": "https://api.github.com/users/kalinlau/followers",
"following_url": "https://api.github.com/users/kalinlau/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2017-09-26T09:05:37Z | 2021-09-08T06:00:41Z | 2017-09-26T14:07:15Z | NONE | resolved | I use` requests.get` to do some web scraping and one key of params, which shows below, changes strangely.
Where is the "25" from? Does it come from the sys environment or language set? Thanks ~
## Expected Result
the `r.url` is
```
'http://www.shufaziti.com/?char=%E7%BA%B5&size=96&forecolor=0&backcolor=0&rad... | {
"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/4308/reactions"
} | https://api.github.com/repos/psf/requests/issues/4308/timeline | null | completed | null | null | false | [
"When you specify `params=` we URL encode the parameters to ensure they're safe. You already have them url-encoded, however, so we're urlencoding the `%` signs as `%25` to make them urlsafe. I can't recall if we've changed this behaviour in newer versions (I think we merely ensure we don't encode something we've al... |
https://api.github.com/repos/psf/requests/issues/4307 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4307/labels{/name} | https://api.github.com/repos/psf/requests/issues/4307/comments | https://api.github.com/repos/psf/requests/issues/4307/events | https://github.com/psf/requests/pull/4307 | 260,427,023 | MDExOlB1bGxSZXF1ZXN0MTQyOTkzNTQy | 4,307 | add library authors instructions for depending on requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2017-09-25T21:54:03Z | 2023-04-21T15:10:21Z | 2017-09-26T14:04:19Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4307/reactions"
} | https://api.github.com/repos/psf/requests/issues/4307/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4307.diff",
"html_url": "https://github.com/psf/requests/pull/4307",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4307.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4307"
} | true | [
"Why are we adding this? It’s a bit of a surprise to find we need to document how versions work. ",
"I agree with @Lukasa. It's not our responsibility to teach users to responsibly use their dependencies. It's also not in our best interest to tell users to cap themselves at version 3."
] | |
https://api.github.com/repos/psf/requests/issues/4306 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4306/labels{/name} | https://api.github.com/repos/psf/requests/issues/4306/comments | https://api.github.com/repos/psf/requests/issues/4306/events | https://github.com/psf/requests/issues/4306 | 260,041,224 | MDU6SXNzdWUyNjAwNDEyMjQ= | 4,306 | urllib3.exceptions.InvalidHeader exception leak | {
"avatar_url": "https://avatars.githubusercontent.com/u/2237894?v=4",
"events_url": "https://api.github.com/users/piotrjurkiewicz/events{/privacy}",
"followers_url": "https://api.github.com/users/piotrjurkiewicz/followers",
"following_url": "https://api.github.com/users/piotrjurkiewicz/following{/other_user}",... | [] | closed | true | null | [] | {
"closed_at": "2021-12-30T21:48:07Z",
"closed_issues": 11,
"created_at": "2021-09-02T07:23:33Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/user... | 3 | 2017-09-23T21:54:58Z | 2021-12-01T08:00:27Z | 2021-08-27T01:17:24Z | CONTRIBUTOR | resolved | In some cases `urlib3.exceptions.InvalidHeader` exception is not being replaced with `requests.InvalidHeader` and leaks.
## Expected Result
Raise `requests.exceptions.InvalidHeader(RequestException, ValueError)`.
## Actual Result
`urllib3.exceptions.InvalidHeader` is raised.
## Stack trace
```
File "... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4306/reactions"
} | https://api.github.com/repos/psf/requests/issues/4306/timeline | null | completed | null | null | false | [
"Thanks for opening this issue, @piotrjurkiewicz! It does seem like we should try to wrap this in the Requests exception namespace. It looks like the HTTPError funnel in adapters.py raises everything it doesn't recognize [here](https://github.com/requests/requests/blob/5eb0811ef82244afbcd865a19b796a76cdecfd71/reque... |
https://api.github.com/repos/psf/requests/issues/4305 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4305/labels{/name} | https://api.github.com/repos/psf/requests/issues/4305/comments | https://api.github.com/repos/psf/requests/issues/4305/events | https://github.com/psf/requests/pull/4305 | 260,038,037 | MDExOlB1bGxSZXF1ZXN0MTQyNzI5MTU2 | 4,305 | Fix the invalid restructured text in HISTORY file | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | 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 | 2017-09-23T20:55:39Z | 2021-09-04T00:06:48Z | 2017-09-23T21:21:49Z | CONTRIBUTOR | resolved | This was breaking the display of our long_description on PyPI. | {
"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/4305/reactions"
} | https://api.github.com/repos/psf/requests/issues/4305/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4305.diff",
"html_url": "https://github.com/psf/requests/pull/4305",
"merged_at": "2017-09-23T21:21:49Z",
"patch_url": "https://github.com/psf/requests/pull/4305.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4305"
} | true | [
"It may be worth, in the future, moving the changelog out of our long description. Flake8 has done this to great effect and made the Changelog far more navigable.",
"This is presently failing because of https://github.com/kennethreitz/httpbin/issues/380 which I'm working on a fix for."
] |
https://api.github.com/repos/psf/requests/issues/4304 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4304/labels{/name} | https://api.github.com/repos/psf/requests/issues/4304/comments | https://api.github.com/repos/psf/requests/issues/4304/events | https://github.com/psf/requests/issues/4304 | 260,031,541 | MDU6SXNzdWUyNjAwMzE1NDE= | 4,304 | Attempting to send struct packed binary data over requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2017-09-23T19:07:55Z | 2021-09-08T06:00:42Z | 2017-09-23T19:12:08Z | NONE | resolved | I attempted to send struct-packed binary data over your lib, failed for me. I placed it in the cookie header, as what im doing requires it to be.
For some strange reason, it said connection refused | {
"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/4304/reactions"
} | https://api.github.com/repos/psf/requests/issues/4304/timeline | null | completed | null | null | false | [
"This does not seem to be a bug in requests, but instead a question better suited for [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests). Please instead direct this and all future questions there."
] |
https://api.github.com/repos/psf/requests/issues/4303 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4303/labels{/name} | https://api.github.com/repos/psf/requests/issues/4303/comments | https://api.github.com/repos/psf/requests/issues/4303/events | https://github.com/psf/requests/issues/4303 | 260,022,722 | MDU6SXNzdWUyNjAwMjI3MjI= | 4,303 | Possible to remove some headers? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2017-09-23T17:12:29Z | 2021-09-08T06:00:42Z | 2017-09-23T17:17:12Z | NONE | resolved | Would it be possible to remove some headers from a POST request, ie for example connection, Accept-Encoding, Accept */*. Unfortunately, writing an exploit and unable to continue unless these headers have been removed strangely enough. | {
"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/4303/reactions"
} | https://api.github.com/repos/psf/requests/issues/4303/timeline | null | completed | null | null | false | [
"Requests does not support the removal of arbitrary headers. It is possible to remove *some* by using the [PreparedRequest flow](http://docs.python-requests.org/en/master/user/advanced/#prepared-requests), but this will not cover all headers."
] |
https://api.github.com/repos/psf/requests/issues/4302 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4302/labels{/name} | https://api.github.com/repos/psf/requests/issues/4302/comments | https://api.github.com/repos/psf/requests/issues/4302/events | https://github.com/psf/requests/pull/4302 | 259,891,132 | MDExOlB1bGxSZXF1ZXN0MTQyNjM1NzA4 | 4,302 | Update no_proxy logic to handle user:password@ in the url. | {
"avatar_url": "https://avatars.githubusercontent.com/u/4935304?v=4",
"events_url": "https://api.github.com/users/bobh66/events{/privacy}",
"followers_url": "https://api.github.com/users/bobh66/followers",
"following_url": "https://api.github.com/users/bobh66/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2017-09-22T17:56:57Z | 2021-09-03T00:11:03Z | 2018-04-29T19:10:43Z | NONE | resolved |
Also updated tests to include user@ and user@password: scenarios
| {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4302/reactions"
} | https://api.github.com/repos/psf/requests/issues/4302/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4302.diff",
"html_url": "https://github.com/psf/requests/pull/4302",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4302.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4302"
} | true | [
"It looks like this ended up getting resolved in #4427, so I'm going to close this out. Thanks for the PR @bobh66!"
] |
https://api.github.com/repos/psf/requests/issues/4301 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4301/labels{/name} | https://api.github.com/repos/psf/requests/issues/4301/comments | https://api.github.com/repos/psf/requests/issues/4301/events | https://github.com/psf/requests/issues/4301 | 259,807,770 | MDU6SXNzdWUyNTk4MDc3NzA= | 4,301 | Sessions apparently corrupting header values on subsequent requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/3287067?v=4",
"events_url": "https://api.github.com/users/asieira/events{/privacy}",
"followers_url": "https://api.github.com/users/asieira/followers",
"following_url": "https://api.github.com/users/asieira/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 8 | 2017-09-22T13:02:09Z | 2021-09-08T03:00:43Z | 2018-02-24T14:59:28Z | CONTRIBUTOR | resolved | After reading http://docs.python-requests.org/en/master/user/advanced/#session-objects I tried setting request headers on a session to ensure that all requests made using that session object would include those headers with their values unchanged. However, I am running into a strange corruption issue that I would like ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/4301/reactions"
} | https://api.github.com/repos/psf/requests/issues/4301/timeline | null | completed | null | null | false | [
"This is an example using the [R binding for libcurl](https://cran.r-project.org/web/packages/curl/index.html) that consistently works as intended:\r\n```\r\n> library(curl)\r\n> h <- new_handle()\r\n> handle_setheaders(h, \"X-Api-Key\" = \"<redacted>tTU=\", \"Accept-Encoding\" = \"gzip, deflate\", \"User-Agent\" =... |
https://api.github.com/repos/psf/requests/issues/4300 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4300/labels{/name} | https://api.github.com/repos/psf/requests/issues/4300/comments | https://api.github.com/repos/psf/requests/issues/4300/events | https://github.com/psf/requests/issues/4300 | 259,716,044 | MDU6SXNzdWUyNTk3MTYwNDQ= | 4,300 | response(200) always need to wait for 120 seconds | {
"avatar_url": "https://avatars.githubusercontent.com/u/10825713?v=4",
"events_url": "https://api.github.com/users/etiaxie/events{/privacy}",
"followers_url": "https://api.github.com/users/etiaxie/followers",
"following_url": "https://api.github.com/users/etiaxie/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2017-09-22T06:31:17Z | 2021-09-08T06:00:42Z | 2017-09-22T16:36:51Z | NONE | resolved |
i use requests to send a HTTP request like this:

and the response like this:

and i always ne... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4300/reactions"
} | https://api.github.com/repos/psf/requests/issues/4300/timeline | null | completed | null | null | false | [
"The remote server is sending a HTTP response with no Content-length or Transfer-encoding chunked. This means that the server is saying \"the request body is complete when I close the connection\". Requests is doing the right thing and waiting for that connection close before it returns. The server should set conte... |
https://api.github.com/repos/psf/requests/issues/4299 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4299/labels{/name} | https://api.github.com/repos/psf/requests/issues/4299/comments | https://api.github.com/repos/psf/requests/issues/4299/events | https://github.com/psf/requests/issues/4299 | 259,668,998 | MDU6SXNzdWUyNTk2Njg5OTg= | 4,299 | 'big5' encoding not detected | {
"avatar_url": "https://avatars.githubusercontent.com/u/44229?v=4",
"events_url": "https://api.github.com/users/samuelclay/events{/privacy}",
"followers_url": "https://api.github.com/users/samuelclay/followers",
"following_url": "https://api.github.com/users/samuelclay/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 4 | 2017-09-22T00:20:45Z | 2021-09-08T06:00:43Z | 2017-09-22T16:35:19Z | NONE | resolved | See this feed: http://www.digitimes.com.tw/tech/rss/xml/xmlrss_10_0.xml
The top line of the feed is:
<?xml version="1.0" encoding="big5" ?>
But the detected encoding is iso-8859-1. It should be big5.
## Expected Result
r.encoding should be big5.
## Actual Result
r.encoding is iso-8859-1.
## ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4299/reactions"
} | https://api.github.com/repos/psf/requests/issues/4299/timeline | null | completed | null | null | false | [
"We rely on `chardet` to determine the encoding of the content. Whatever `chardet` library says is what we auto-detect the content as.",
"Something strange is going on then...\r\n\r\n```\r\n>>> import chardet\r\n>>> chardet.__version__\r\n'3.0.4'\r\n>>> import urllib\r\n>>> r = urllib.urlopen(\"http://www.digitim... |
https://api.github.com/repos/psf/requests/issues/4298 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4298/labels{/name} | https://api.github.com/repos/psf/requests/issues/4298/comments | https://api.github.com/repos/psf/requests/issues/4298/events | https://github.com/psf/requests/issues/4298 | 259,214,059 | MDU6SXNzdWUyNTkyMTQwNTk= | 4,298 | Stop Requests.post from encoding the data field, | {
"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 | 10 | 2017-09-20T15:51:53Z | 2021-09-08T06:00:43Z | 2017-09-20T17:29:38Z | NONE | resolved | Hello,
I was wondering if it it is possible to stop requests from encoding the data field in a post request? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4298/reactions"
} | https://api.github.com/repos/psf/requests/issues/4298/timeline | null | completed | null | null | false | [
"I guess im saying in request body, in a post request.",
"Yes: just pass a string, not a dictionary. ",
"You mean data=\"cmd = blah\"",
"Yes. ",
"Just did that, getting \r\n```python\r\nTraceback (most recent call last):\r\n File \"command_php_exec_noauth.py\", line 9, in <module>\r\n req = requests.pos... |
https://api.github.com/repos/psf/requests/issues/4297 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4297/labels{/name} | https://api.github.com/repos/psf/requests/issues/4297/comments | https://api.github.com/repos/psf/requests/issues/4297/events | https://github.com/psf/requests/issues/4297 | 259,177,386 | MDU6SXNzdWUyNTkxNzczODY= | 4,297 | Data request not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 8 | 2017-09-20T14:09:27Z | 2021-09-08T06:00:44Z | 2017-09-20T14:55:33Z | NONE | resolved | Summary.
I was sending data via parameter, example :
```python
data = {'req': 'ls -alt'}
r = requests.post(url, data=data, headers=headers)
```
and such. for some reason, only when i send ls does it work, but ls -alt returns nothing. I did an echo server, and it claimed that it was an JSON object? so i tr... | {
"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/4297/reactions"
} | https://api.github.com/repos/psf/requests/issues/4297/timeline | null | completed | null | null | false | [
"I updated your issue to correct your formatting. I'm not reading through it in earnest to see if we can understand the bug you're reporting.",
"So if I do:\r\n\r\n```\r\n$ curl --data 'foo=ls -alt' https://httpbin.org/post\r\n```\r\n\r\nI see\r\n\r\n```\r\n{\r\n \"args\": {}, \r\n \"data\": \"\", \r\n \"files... |
https://api.github.com/repos/psf/requests/issues/4296 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4296/labels{/name} | https://api.github.com/repos/psf/requests/issues/4296/comments | https://api.github.com/repos/psf/requests/issues/4296/events | https://github.com/psf/requests/issues/4296 | 258,860,307 | MDU6SXNzdWUyNTg4NjAzMDc= | 4,296 | Still SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",) after enable 3DES | {
"avatar_url": "https://avatars.githubusercontent.com/u/32092795?v=4",
"events_url": "https://api.github.com/users/wmj1238/events{/privacy}",
"followers_url": "https://api.github.com/users/wmj1238/followers",
"following_url": "https://api.github.com/users/wmj1238/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2017-09-19T15:18:08Z | 2021-09-08T06:00:44Z | 2017-09-19T18:05:48Z | NONE | resolved | Summary.
When I use requests to crawl a url ,the cmd always show me bad handshake,and after I refer other solution,it doesn't make sense.The real reason is that the module requests cann't support 3DES
## Expected Result
The requests support 3DES algorithm.
## Actual Result
For the url using 3DES,the requests... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4296/reactions"
} | https://api.github.com/repos/psf/requests/issues/4296/timeline | null | completed | null | null | false | [
"This is intentional: 3DES is insecure for bulk data transfer, and so we disabled it to help protect our users. You can re-enable it for specific hosts as [shown here](https://lukasa.co.uk/2017/02/Configuring_TLS_With_Requests/)."
] |
https://api.github.com/repos/psf/requests/issues/4295 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4295/labels{/name} | https://api.github.com/repos/psf/requests/issues/4295/comments | https://api.github.com/repos/psf/requests/issues/4295/events | https://github.com/psf/requests/pull/4295 | 258,311,166 | MDExOlB1bGxSZXF1ZXN0MTQxNDkwNDU3 | 4,295 | pipfile (work in progress) | {
"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 | 5 | 2017-09-17T15:25:10Z | 2021-09-04T00:06:49Z | 2017-09-17T15:58:46Z | CONTRIBUTOR | resolved | Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
Pipenv has matured a *lot* since we were last using it — I think it's ready for prime time now. | {
"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/4295/reactions"
} | https://api.github.com/repos/psf/requests/issues/4295/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4295.diff",
"html_url": "https://github.com/psf/requests/pull/4295",
"merged_at": "2017-09-17T15:58:46Z",
"patch_url": "https://github.com/psf/requests/pull/4295.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4295"
} | true | [
"this looks like it's working great except for 2.6 support — which requests should probably drop anyway. ",
"excellence! builds are working great :)",
"will merge once all green, here in a minute. ",
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4295?src=pr&el=h1) Report\n> Merging [#4295](https:/... |
https://api.github.com/repos/psf/requests/issues/4294 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4294/labels{/name} | https://api.github.com/repos/psf/requests/issues/4294/comments | https://api.github.com/repos/psf/requests/issues/4294/events | https://github.com/psf/requests/issues/4294 | 258,286,494 | MDU6SXNzdWUyNTgyODY0OTQ= | 4,294 | OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF') | {
"avatar_url": "https://avatars.githubusercontent.com/u/8908100?v=4",
"events_url": "https://api.github.com/users/thomaswpp/events{/privacy}",
"followers_url": "https://api.github.com/users/thomaswpp/followers",
"following_url": "https://api.github.com/users/thomaswpp/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 7 | 2017-09-17T07:45:49Z | 2021-09-08T05:00:39Z | 2017-12-26T17:11:12Z | NONE | resolved | Summary.
I'm on Mint 18.01 and I try requests in site https://www.sifge.caixa.gov.br/Cidadao/Crf/FgeCfSCriteriosPesquisa.asp, but not function.. I did download certificate in the firefox and then
I add certificate in /etc/ssl/cert with comand
```
sudo mkdir /usr/share/ca-certificates/extra
sudo cp WWWSIFGECAIXAG... | {
"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/4294/reactions"
} | https://api.github.com/repos/psf/requests/issues/4294/timeline | null | completed | null | null | false | [
"With modern OpenSSL defaults it turns out that this server shuts the connection down. Likely this is because the remote server is getting confused by us advertising support for TLSv1.1 and 1.2. You could try changing your `context = create_urllib3_context(ciphers=CIPHERS)` line to:\r\n\r\n```python\r\ncontext =cre... |
https://api.github.com/repos/psf/requests/issues/4293 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4293/labels{/name} | https://api.github.com/repos/psf/requests/issues/4293/comments | https://api.github.com/repos/psf/requests/issues/4293/events | https://github.com/psf/requests/issues/4293 | 258,183,320 | MDU6SXNzdWUyNTgxODMzMjA= | 4,293 | End to End TLS + SNI with proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/382292?v=4",
"events_url": "https://api.github.com/users/jshaw86/events{/privacy}",
"followers_url": "https://api.github.com/users/jshaw86/followers",
"following_url": "https://api.github.com/users/jshaw86/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 6 | 2017-09-15T22:49:27Z | 2021-09-08T06:00:44Z | 2017-09-19T04:43:32Z | NONE | resolved | Summary.
We are running TLS+SNI with fabio https://github.com/fabiolb/fabio and backed by a nodejs running an HTTPS server with self signed certs. We have the application working with curl. We can't get this working with requests. I tried the toolbelt as well as may other adapters I found on the internet. Fundamenta... | {
"avatar_url": "https://avatars.githubusercontent.com/u/382292?v=4",
"events_url": "https://api.github.com/users/jshaw86/events{/privacy}",
"followers_url": "https://api.github.com/users/jshaw86/followers",
"following_url": "https://api.github.com/users/jshaw86/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/4293/reactions"
} | https://api.github.com/repos/psf/requests/issues/4293/timeline | null | completed | null | null | false | [
"The problem here is the IP address. When you set that IP address Requests is unable to correctly set the SNI header, which may well be confusing your server. \r\n\r\nUnfortunately at this time Requests does not support anything like curl's `--resolve`. You'd need to edit the hosts file on your machine to get this ... |
https://api.github.com/repos/psf/requests/issues/4292 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4292/labels{/name} | https://api.github.com/repos/psf/requests/issues/4292/comments | https://api.github.com/repos/psf/requests/issues/4292/events | https://github.com/psf/requests/issues/4292 | 258,090,755 | MDU6SXNzdWUyNTgwOTA3NTU= | 4,292 | Failed to establish a new connection: [Errno 10060] | {
"avatar_url": "https://avatars.githubusercontent.com/u/31993462?v=4",
"events_url": "https://api.github.com/users/sus099/events{/privacy}",
"followers_url": "https://api.github.com/users/sus099/followers",
"following_url": "https://api.github.com/users/sus099/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 5 | 2017-09-15T16:08:36Z | 2021-09-05T00:06:54Z | 2018-01-23T16:14:50Z | NONE | resolved | Summary.
## Expected Result
What you expected.
## Actual Result
What happened instead.
## Reproduction Steps
```python
import requests
```
## System Information
$ python -m requests.help
```
Downloading to: e:\Learning\Powershell\C#vs.Net\udemy-dl-windows-2.1.3\udemy-dl-windows\csha... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4292/reactions"
} | https://api.github.com/repos/psf/requests/issues/4292/timeline | null | completed | null | null | false | [
"Seems like you're having trouble connecting to your proxy. Without a better idea of what's going on, we can't really help you I'm afraid. ☹️ ",
"I'm going to close this out due to lack of information and this appearing to be a usability question. If you have more information and feel this is a defect with Reques... |
https://api.github.com/repos/psf/requests/issues/4291 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4291/labels{/name} | https://api.github.com/repos/psf/requests/issues/4291/comments | https://api.github.com/repos/psf/requests/issues/4291/events | https://github.com/psf/requests/issues/4291 | 257,217,723 | MDU6SXNzdWUyNTcyMTc3MjM= | 4,291 | json() crashes interpreter with a JSONDecodeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/11887492?v=4",
"events_url": "https://api.github.com/users/justlurking/events{/privacy}",
"followers_url": "https://api.github.com/users/justlurking/followers",
"following_url": "https://api.github.com/users/justlurking/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 3 | 2017-09-12T23:53:05Z | 2021-09-08T06:00:46Z | 2017-09-13T00:00:42Z | NONE | resolved | I have reproduced this with requests v. 2.18.4 and 2.14.2, along with Python 3.6.1 and 3.6.2. I have used my system-installed Python/requests (macOS Sierra with Python 3.6.1 downloaded from python.org), Python / requests installed as part of conda 4.3.25, and the latest Python and requests installed from conda-forge.
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4291/reactions"
} | https://api.github.com/repos/psf/requests/issues/4291/timeline | null | completed | null | null | false | [
"Hey @justlurking, this is actually working as expected. The .json() method is only usable on Response content that is in the json format. The webpage you're requesting is returning an HTML document and therefore won't work.\r\n\r\nYou'll need to either modify your Accept headers and *attempt* to retrieve valid jso... |
https://api.github.com/repos/psf/requests/issues/4290 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4290/labels{/name} | https://api.github.com/repos/psf/requests/issues/4290/comments | https://api.github.com/repos/psf/requests/issues/4290/events | https://github.com/psf/requests/pull/4290 | 257,204,510 | MDExOlB1bGxSZXF1ZXN0MTQwNjk4MzE4 | 4,290 | New HTTPHeaderDict class for response headers with multiple header value support | {
"avatar_url": "https://avatars.githubusercontent.com/u/4016213?v=4",
"events_url": "https://api.github.com/users/the-allanc/events{/privacy}",
"followers_url": "https://api.github.com/users/the-allanc/followers",
"following_url": "https://api.github.com/users/the-allanc/following{/other_user}",
"gists_url":... | [
{
"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": "1cff91",
"default": false,
"d... | closed | true | null | [] | null | 6 | 2017-09-12T22:37:31Z | 2021-09-03T00:11:07Z | 2018-03-15T13:18:13Z | NONE | resolved | Same changes as my other pull request #4282, but this against the proposed/3.0.0 branch. | {
"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/4290/reactions"
} | https://api.github.com/repos/psf/requests/issues/4290/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4290.diff",
"html_url": "https://github.com/psf/requests/pull/4290",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4290.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4290"
} | true | [
"The CI builds are failing on tests which were failing before my changes were pushed (honest!)",
"We know :)\r\n\r\n@Lukasa what do you think of this? I'm very :+1: personally.",
"I think this will be a major improvement to Requests.",
"Why reinventing the wheel? `urllib3` has a multiheader-ready headers impl... |
https://api.github.com/repos/psf/requests/issues/4289 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4289/labels{/name} | https://api.github.com/repos/psf/requests/issues/4289/comments | https://api.github.com/repos/psf/requests/issues/4289/events | https://github.com/psf/requests/issues/4289 | 257,102,201 | MDU6SXNzdWUyNTcxMDIyMDE= | 4,289 | Bad name in the request: not a legal PLSQL identifer | {
"avatar_url": "https://avatars.githubusercontent.com/u/22199872?v=4",
"events_url": "https://api.github.com/users/wubba1337/events{/privacy}",
"followers_url": "https://api.github.com/users/wubba1337/followers",
"following_url": "https://api.github.com/users/wubba1337/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2017-09-12T16:15:13Z | 2021-09-08T07:00:22Z | 2017-09-12T16:17:54Z | NONE | resolved | Hello guys, relatively new to python. Met with this error while trying to use request POST to extra information. Header and data are directly copied and paste from using google chrome when the POST is made. Couldn't identify any wrong with the formData. Am i missing out on something?
> import requests
> formData ... | {
"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/4289/reactions"
} | https://api.github.com/repos/psf/requests/issues/4289/timeline | null | completed | null | null | false | [
"You're passing urlencoded form data to our `data` parameter which will in turn urlencode it. You will want to decode `r_course_yr`'s value.\r\n\r\nIn the future, please use StackOverflow for questions of this type."
] |
https://api.github.com/repos/psf/requests/issues/4288 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4288/labels{/name} | https://api.github.com/repos/psf/requests/issues/4288/comments | https://api.github.com/repos/psf/requests/issues/4288/events | https://github.com/psf/requests/issues/4288 | 256,980,568 | MDU6SXNzdWUyNTY5ODA1Njg= | 4,288 | redirect(301) always need to wait for 120 seconds | {
"avatar_url": "https://avatars.githubusercontent.com/u/10825713?v=4",
"events_url": "https://api.github.com/users/etiaxie/events{/privacy}",
"followers_url": "https://api.github.com/users/etiaxie/followers",
"following_url": "https://api.github.com/users/etiaxie/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2017-09-12T09:40:24Z | 2021-09-08T06:00:45Z | 2017-09-13T07:01:15Z | NONE | resolved | code like this:
import requests
requests.request('get', 'http://10.192.74.230:6201/en?CSnaL/uZkQC9SLVbaMoQDA8Ph9/+Q7+stJc7S1qGSuvEss6zmYfB7SvYE4vAOWgfUrJuxOBk7giWoAKARD9o7oaZlmg84SgIEIvBgnqr3Jj9OH9RPt4MEbQmHmhsDfBfMzY2OA==')
expect return a response with status_code=301 and then will auto send to the new url in "L... | {
"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/4288/reactions"
} | https://api.github.com/repos/psf/requests/issues/4288/timeline | null | completed | null | null | false | [
"the received 301 message:\r\nHTTP/1.1 301 Moved Permanently\r\nLocation: http://10.192.74.193:6801/en?OquUyLHZ2FyZUDNp2IFFPnft8SvIpFbincdfI+28KZTEss6zmYfB7SvYE4vAOWgfUrJuxOBk7giWoAKARD9o7pP2snF7YaLGUe2u5T4m2HKqrfp1J6hXLT424Rl2iJWSNjkwMA==&&act=get&ztype=0&zvalue=100\r\nConnection: close\r\nDate: Tue, 12 Sep 2017 0... |
https://api.github.com/repos/psf/requests/issues/4287 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4287/labels{/name} | https://api.github.com/repos/psf/requests/issues/4287/comments | https://api.github.com/repos/psf/requests/issues/4287/events | https://github.com/psf/requests/issues/4287 | 256,911,428 | MDU6SXNzdWUyNTY5MTE0Mjg= | 4,287 | Sending HTTPS requests to specific destination IP address | {
"avatar_url": "https://avatars.githubusercontent.com/u/381556?v=4",
"events_url": "https://api.github.com/users/ksze/events{/privacy}",
"followers_url": "https://api.github.com/users/ksze/followers",
"following_url": "https://api.github.com/users/ksze/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 12 | 2017-09-12T04:03:28Z | 2021-08-27T00:08:22Z | 2017-09-12T05:37:10Z | NONE | resolved | Using requests, is there a way to send HTTPS requests while specifying the destination IP address?
E.g. github.com has multiple IP address. If I do a DNS lookup for github.com from Hong Kong, I get 192.30.255.113 and 192.30.255.112.
What if I want to send a HTTPS request to a specific github IP? This is useful fo... | {
"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": 10,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 10,
"url": "https://api.github.com/repos/psf/requests/issues/4287/reactions"
} | https://api.github.com/repos/psf/requests/issues/4287/timeline | null | completed | null | null | false | [
"Right now this is not supported, but you can achieve a similar effect using the hosts file on your machine. There is work ongoing to add the functionality needed to achieve this, however. ",
"I know this issue is closed, but I'm wondering: is this not possible (or feasible) even if I implement a custom Transport... |
https://api.github.com/repos/psf/requests/issues/4286 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4286/labels{/name} | https://api.github.com/repos/psf/requests/issues/4286/comments | https://api.github.com/repos/psf/requests/issues/4286/events | https://github.com/psf/requests/issues/4286 | 256,800,171 | MDU6SXNzdWUyNTY4MDAxNzE= | 4,286 | Pass Multiple Auth Handlers | {
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2017-09-11T18:32:01Z | 2021-09-08T06:00:45Z | 2017-09-11T19:27:35Z | NONE | resolved | Summary.
I would like to pass multiple authentication handlers to the auth variable on requests.
In the urllib.request package when you build an opener, you can chain hanlders.
Example:
```
password_mgr = urllib.request.HTTPPasswordMgrWithDefaultRealm()
# Add the username and password.
# If we knew ... | {
"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/4286/reactions"
} | https://api.github.com/repos/psf/requests/issues/4286/timeline | null | completed | null | null | false | [
"There is no way with the core Requests package, but your use-case can be solved with [the Requests toolbelt](http://toolbelt.readthedocs.io/en/latest/authentication.html#guessauth) package's `GuessAuth` class. For more general use, [`AuthHandler`](http://toolbelt.readthedocs.io/en/latest/authentication.html#authha... |
https://api.github.com/repos/psf/requests/issues/4285 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4285/labels{/name} | https://api.github.com/repos/psf/requests/issues/4285/comments | https://api.github.com/repos/psf/requests/issues/4285/events | https://github.com/psf/requests/issues/4285 | 256,780,181 | MDU6SXNzdWUyNTY3ODAxODE= | 4,285 | Decoding issues on Linux cause Segmentation fault for given sites | {
"avatar_url": "https://avatars.githubusercontent.com/u/8107988?v=4",
"events_url": "https://api.github.com/users/gjthompson1/events{/privacy}",
"followers_url": "https://api.github.com/users/gjthompson1/followers",
"following_url": "https://api.github.com/users/gjthompson1/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 11 | 2017-09-11T17:20:38Z | 2021-09-08T02:09:56Z | 2018-05-20T19:32:34Z | NONE | resolved | Summary.
I have tested the following on my Mac and I get both unicode errors:
For the following:
`r = requests.get('http://xn--w8jujla2a2c4e0lg4403e52qmkrfye.biz', stream=True)`
I get:
`UnicodeError: decoding with 'idna' codec failed (UnicodeError: Invalid character '\x80')`
For:
`r = requests.get(... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4285/reactions"
} | https://api.github.com/repos/psf/requests/issues/4285/timeline | null | completed | null | null | false | [
"Hrm. Requests cannot be the cause of this segfault because it's pure-Python code. Can you use GDB or something similar to examine the coredump and check the Python stack to see what code was executing when the segfault occurred?",
"Lukas, thanks for getting back to me. I tried to run using GDB. I get the followi... |
https://api.github.com/repos/psf/requests/issues/4284 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4284/labels{/name} | https://api.github.com/repos/psf/requests/issues/4284/comments | https://api.github.com/repos/psf/requests/issues/4284/events | https://github.com/psf/requests/issues/4284 | 256,747,992 | MDU6SXNzdWUyNTY3NDc5OTI= | 4,284 | Stream content timeout not working for given site | {
"avatar_url": "https://avatars.githubusercontent.com/u/8107988?v=4",
"events_url": "https://api.github.com/users/gjthompson1/events{/privacy}",
"followers_url": "https://api.github.com/users/gjthompson1/followers",
"following_url": "https://api.github.com/users/gjthompson1/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 7 | 2017-09-11T15:38:46Z | 2021-09-08T07:00:23Z | 2017-09-12T05:35:37Z | NONE | resolved | Summary.
I would expect this to timeout but it doesn't.
`r = requests.get('http://mywatchedmovies.com', stream=True, timeout=1)`
But the following does
`r = requests.head('http://mywatchedmovies.com', stream=True, timeout=1)`
Not sure why?
Stackoverflow question: https://stackoverflow.com/questions/46... | {
"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/4284/reactions"
} | https://api.github.com/repos/psf/requests/issues/4284/timeline | null | completed | null | null | false | [
"Uh...this is a weird one.\r\n\r\nRequests timeouts operate on a per-socket-event basis: that is, a timeout of `1` will fire if it takes more than one second for a server to send us some data: any at all. In this case, the server is sending us *plenty* of data.\r\n\r\nThe server is returning a 302 redirect to `logi... |
https://api.github.com/repos/psf/requests/issues/4283 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4283/labels{/name} | https://api.github.com/repos/psf/requests/issues/4283/comments | https://api.github.com/repos/psf/requests/issues/4283/events | https://github.com/psf/requests/pull/4283 | 256,530,171 | MDExOlB1bGxSZXF1ZXN0MTQwMjE5ODI5 | 4,283 | Pep8ify | {
"avatar_url": "https://avatars.githubusercontent.com/u/4304764?v=4",
"events_url": "https://api.github.com/users/cuonglm/events{/privacy}",
"followers_url": "https://api.github.com/users/cuonglm/followers",
"following_url": "https://api.github.com/users/cuonglm/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 4 | 2017-09-10T18:37:47Z | 2021-09-04T00:06:50Z | 2017-09-10T18:39:09Z | NONE | resolved | PEP8 forbids inventing __double_leading_and_trailing_underscore__
name, so don't do it. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4283/reactions"
} | https://api.github.com/repos/psf/requests/issues/4283/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4283.diff",
"html_url": "https://github.com/psf/requests/pull/4283",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4283.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4283"
} | true | [
"The first rule of PEP8 is that a foolish consistency is the hobgoblin of little minds. In this case, the double-underscore is safe and reasonable. :smile:",
"@Lukasa Why is it safe since when we don't know when Python core add such thing?\r\n\r\nIt also makes someone new to Python think that `__attrs__` is a mag... |
https://api.github.com/repos/psf/requests/issues/4282 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4282/labels{/name} | https://api.github.com/repos/psf/requests/issues/4282/comments | https://api.github.com/repos/psf/requests/issues/4282/events | https://github.com/psf/requests/pull/4282 | 256,518,326 | MDExOlB1bGxSZXF1ZXN0MTQwMjEzMzAy | 4,282 | New HTTPHeaderDict class for response headers with multiple header value support | {
"avatar_url": "https://avatars.githubusercontent.com/u/4016213?v=4",
"events_url": "https://api.github.com/users/the-allanc/events{/privacy}",
"followers_url": "https://api.github.com/users/the-allanc/followers",
"following_url": "https://api.github.com/users/the-allanc/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 17 | 2017-09-10T15:36:22Z | 2021-09-04T00:06:50Z | 2017-09-12T22:41:31Z | NONE | resolved | I personally wanted something like this while writing [my own Requests-related library](https://github.com/the-allanc/pyriform), but I can see other people also have wanted something like this - #3957 and #4214 both mention it in terms of handling `Set-Cookie` headers.
I've written an subclass implementation of `Cas... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4016213?v=4",
"events_url": "https://api.github.com/users/the-allanc/events{/privacy}",
"followers_url": "https://api.github.com/users/the-allanc/followers",
"following_url": "https://api.github.com/users/the-allanc/following{/other_user}",
"gists_url":... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4282/reactions"
} | https://api.github.com/repos/psf/requests/issues/4282/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4282.diff",
"html_url": "https://github.com/psf/requests/pull/4282",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4282.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4282"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4282?src=pr&el=h1) Report\n> Merging [#4282](https://codecov.io/gh/requests/requests/pull/4282?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/fdb9b753b47e7abead1ec75d860c9c9b929ca5f5?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4281 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4281/labels{/name} | https://api.github.com/repos/psf/requests/issues/4281/comments | https://api.github.com/repos/psf/requests/issues/4281/events | https://github.com/psf/requests/issues/4281 | 256,439,549 | MDU6SXNzdWUyNTY0Mzk1NDk= | 4,281 | When running lib under PyPy -X track-resources WARNING about unclosed socket object raised | {
"avatar_url": "https://avatars.githubusercontent.com/u/12595191?v=4",
"events_url": "https://api.github.com/users/davit555/events{/privacy}",
"followers_url": "https://api.github.com/users/davit555/followers",
"following_url": "https://api.github.com/users/davit555/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2017-09-09T13:39:02Z | 2021-09-08T07:00:23Z | 2017-09-09T16:07:00Z | NONE | resolved | Closing this socket object further passed to pypy garbage collector.
What I found from PyPy documentation is
To the best of our knowledge this problem has no better solution than fixing the programs. If it occurs in 3rd-party code, this means going to the authors and explaining the problem to them: they need to cl... | {
"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/4281/reactions"
} | https://api.github.com/repos/psf/requests/issues/4281/timeline | null | completed | null | null | false | [
"The traceback you have there is from urllib3: please open the issue there. "
] |
https://api.github.com/repos/psf/requests/issues/4280 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4280/labels{/name} | https://api.github.com/repos/psf/requests/issues/4280/comments | https://api.github.com/repos/psf/requests/issues/4280/events | https://github.com/psf/requests/issues/4280 | 255,642,008 | MDU6SXNzdWUyNTU2NDIwMDg= | 4,280 | Is log | {
"avatar_url": "https://avatars.githubusercontent.com/u/18706241?v=4",
"events_url": "https://api.github.com/users/oceanlazy/events{/privacy}",
"followers_url": "https://api.github.com/users/oceanlazy/followers",
"following_url": "https://api.github.com/users/oceanlazy/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2017-09-06T15:17:04Z | 2021-09-08T07:00:25Z | 2017-09-06T15:31:09Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4280/reactions"
} | https://api.github.com/repos/psf/requests/issues/4280/timeline | null | completed | null | null | false | [] | |
https://api.github.com/repos/psf/requests/issues/4279 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4279/labels{/name} | https://api.github.com/repos/psf/requests/issues/4279/comments | https://api.github.com/repos/psf/requests/issues/4279/events | https://github.com/psf/requests/issues/4279 | 255,640,330 | MDU6SXNzdWUyNTU2NDAzMzA= | 4,279 | FR: Allow SSL verification to be disabled with an env var | {
"avatar_url": "https://avatars.githubusercontent.com/u/362148?v=4",
"events_url": "https://api.github.com/users/boosh/events{/privacy}",
"followers_url": "https://api.github.com/users/boosh/followers",
"following_url": "https://api.github.com/users/boosh/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2017-09-06T15:12:28Z | 2021-09-08T07:00:24Z | 2017-09-06T17:39:45Z | NONE | resolved | Summary.
Lots of libraries use `requests`. If there's an error verifying SSL in a third-party library it'd be useful to be able to just set an env var to disable SSL verification while the issue is fixed in the failing library.
This issue is currently affecting me and [others](https://github.com/GoogleCloudPlatf... | {
"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/4279/reactions"
} | https://api.github.com/repos/psf/requests/issues/4279/timeline | null | completed | null | null | false | [
"I guess it'd make sense if it used the `PYTHONHTTPSVERIFY` env var that [urllib](https://www.python.org/dev/peps/pep-0493/) uses.",
"@boosh, I believe this has been discussed and soundly rejected before. Please search open **and** closed issues prior to opening new ones. \r\n\r\nFurther, the PEP you're referenci... |
https://api.github.com/repos/psf/requests/issues/4278 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4278/labels{/name} | https://api.github.com/repos/psf/requests/issues/4278/comments | https://api.github.com/repos/psf/requests/issues/4278/events | https://github.com/psf/requests/issues/4278 | 255,582,156 | MDU6SXNzdWUyNTU1ODIxNTY= | 4,278 | python -c "import requests" got a lot slower | {
"avatar_url": "https://avatars.githubusercontent.com/u/477278?v=4",
"events_url": "https://api.github.com/users/gtrainavicius/events{/privacy}",
"followers_url": "https://api.github.com/users/gtrainavicius/followers",
"following_url": "https://api.github.com/users/gtrainavicius/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 19 | 2017-09-06T12:13:41Z | 2021-09-08T05:00:53Z | 2017-11-25T15:14:48Z | NONE | resolved | We have noticed that 'import requests' statement started taking roughly 3 times more time between versions 2.12.0 (bad) and 2.11.1 (last known good), the difference is especially visible running on Raspberry Pi 3.
## Expected Result
'import requests' execution time should not increase by 3-4 times between versio... | {
"avatar_url": "https://avatars.githubusercontent.com/u/477278?v=4",
"events_url": "https://api.github.com/users/gtrainavicius/events{/privacy}",
"followers_url": "https://api.github.com/users/gtrainavicius/followers",
"following_url": "https://api.github.com/users/gtrainavicius/following{/other_user}",
"gis... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4278/reactions"
} | https://api.github.com/repos/psf/requests/issues/4278/timeline | null | completed | null | null | false | [
"I found this similar issue: https://github.com/requests/requests/issues/3213 maybe it's relevant.",
"What other packages do you have installed? Specifically, it's likely that you have ancient versions of pyOpenSSL and Cryptography installed which are causing this.",
"After upgarding pyOpenSSL from 16.2 to 17.2... |
https://api.github.com/repos/psf/requests/issues/4277 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4277/labels{/name} | https://api.github.com/repos/psf/requests/issues/4277/comments | https://api.github.com/repos/psf/requests/issues/4277/events | https://github.com/psf/requests/pull/4277 | 255,379,980 | MDExOlB1bGxSZXF1ZXN0MTM5Mzk5OTQ0 | 4,277 | Update allow_redirects docstrings defaults | {
"avatar_url": "https://avatars.githubusercontent.com/u/8859114?v=4",
"events_url": "https://api.github.com/users/geokala/events{/privacy}",
"followers_url": "https://api.github.com/users/geokala/followers",
"following_url": "https://api.github.com/users/geokala/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 7 | 2017-09-05T19:16:55Z | 2021-08-31T00:07:11Z | 2018-03-08T18:05:14Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4277/reactions"
} | https://api.github.com/repos/psf/requests/issues/4277/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4277.diff",
"html_url": "https://github.com/psf/requests/pull/4277",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4277.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4277"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4277?src=pr&el=h1) Report\n> Merging [#4277](https://codecov.io/gh/requests/requests/pull/4277?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/fdb9b753b47e7abead1ec75d860c9c9b929ca5f5?src=pr&el=desc) will **not change** coverage.... | |
https://api.github.com/repos/psf/requests/issues/4276 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4276/labels{/name} | https://api.github.com/repos/psf/requests/issues/4276/comments | https://api.github.com/repos/psf/requests/issues/4276/events | https://github.com/psf/requests/issues/4276 | 255,377,456 | MDU6SXNzdWUyNTUzNzc0NTY= | 4,276 | Something more robust to deal with the following | {
"avatar_url": "https://avatars.githubusercontent.com/u/8107988?v=4",
"events_url": "https://api.github.com/users/gjthompson1/events{/privacy}",
"followers_url": "https://api.github.com/users/gjthompson1/followers",
"following_url": "https://api.github.com/users/gjthompson1/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-09-05T19:06:44Z | 2021-09-08T07:00:25Z | 2017-09-05T19:54:21Z | NONE | resolved | Summary.
Seems a little overkill to have to do https://stackoverflow.com/questions/22346158/python-requests-how-to-limit-received-size-transfer-rate-and-or-total-time to deal with sites like the below. Would be nice to have that built in. But maybe thats asking to much.
Question on Stack: https://stackoverflow.co... | {
"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/4276/reactions"
} | https://api.github.com/repos/psf/requests/issues/4276/timeline | null | completed | null | null | false | [
"The answer is in your StackOverflow question. Your connection is likely taking less than 5 seconds and you're probably receiving some data at least once every 5 seconds. What you seem to be expecting is some kind of total timeout on the time it takes to complete downloading the response and that's not something th... |
https://api.github.com/repos/psf/requests/issues/4275 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4275/labels{/name} | https://api.github.com/repos/psf/requests/issues/4275/comments | https://api.github.com/repos/psf/requests/issues/4275/events | https://github.com/psf/requests/issues/4275 | 255,227,171 | MDU6SXNzdWUyNTUyMjcxNzE= | 4,275 | Requests tries to resolve `user:pass@host` on OS X | {
"avatar_url": "https://avatars.githubusercontent.com/u/107611?v=4",
"events_url": "https://api.github.com/users/mattbennett/events{/privacy}",
"followers_url": "https://api.github.com/users/mattbennett/followers",
"following_url": "https://api.github.com/users/mattbennett/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": "69ccdb",
"default": false,
"description": null,
"id": 773540467,
... | closed | true | null | [] | null | 1 | 2017-09-05T10:13:27Z | 2021-09-08T04:00:51Z | 2018-01-16T14:07:27Z | NONE | resolved | If you have proxy bypass settings, requests tries to resolve the hostname before stripping credentials from the URL.
It looks like this happens because the [proxy bypass](https://github.com/requests/requests/blob/4bda7b66e7ece5be51b459edd046a70915b4792c/requests/utils.py#L78) logic is called before [urldefragauth](h... | {
"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/4275/reactions"
} | https://api.github.com/repos/psf/requests/issues/4275/timeline | null | completed | null | null | false | [
"So this seems to be an issue with macOS specifically, and in particular how it handles proxy bypass. We should probably strip the auth from the host before we bypass. "
] |
https://api.github.com/repos/psf/requests/issues/4274 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4274/labels{/name} | https://api.github.com/repos/psf/requests/issues/4274/comments | https://api.github.com/repos/psf/requests/issues/4274/events | https://github.com/psf/requests/issues/4274 | 255,226,456 | MDU6SXNzdWUyNTUyMjY0NTY= | 4,274 | allow_redirects default for 'head' not shown in help text | {
"avatar_url": "https://avatars.githubusercontent.com/u/8859114?v=4",
"events_url": "https://api.github.com/users/geokala/events{/privacy}",
"followers_url": "https://api.github.com/users/geokala/followers",
"following_url": "https://api.github.com/users/geokala/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2017-09-05T10:10:53Z | 2021-08-27T00:08:27Z | 2021-04-08T22:19:03Z | NONE | resolved | When checking help(requests.request) to get the default parameters, the text is misleading if a head request is going to be used.
## Expected Result
The help text should indicate where the default differs OR the help text for .head should indicate that it overrides the default.
e.g.
:param allow_redirect... | {
"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/4274/reactions"
} | https://api.github.com/repos/psf/requests/issues/4274/timeline | null | completed | null | null | false | [
"HEAD overrides the default and should be updated. ",
"I've created a PR for this here: https://github.com/requests/requests/pull/4277\r\n\r\nI tried updating just in requests.head, but then the requests.request still has an incorrect docstring if it is only updated there so for a first pass I've updated in just ... |
https://api.github.com/repos/psf/requests/issues/4273 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4273/labels{/name} | https://api.github.com/repos/psf/requests/issues/4273/comments | https://api.github.com/repos/psf/requests/issues/4273/events | https://github.com/psf/requests/pull/4273 | 254,833,541 | MDExOlB1bGxSZXF1ZXN0MTM5MDI1MDA3 | 4,273 | REQUESTS_DONT_USE_PYOPENSSL | {
"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 | 25 | 2017-09-02T20:15:39Z | 2021-09-09T05:35:22Z | 2017-10-19T12:45:47Z | CONTRIBUTOR | resolved | Basically, a lot of people are installing pipenv in envs which also have `requests[security]` installed, which slows down the CLI tool quite a bit (at import time).
This patch would allow pipenv to disable the upgrade within itself, speeding up the experience for those users.
/cc @Lukasa @alex | {
"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/4273/reactions"
} | https://api.github.com/repos/psf/requests/issues/4273/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4273.diff",
"html_url": "https://github.com/psf/requests/pull/4273",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4273.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4273"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4273?src=pr&el=h1) Report\n> Merging [#4273](https://codecov.io/gh/requests/requests/pull/4273?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/b9638ec7be9134786e28684ca17f3d161297ac5e?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4272 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4272/labels{/name} | https://api.github.com/repos/psf/requests/issues/4272/comments | https://api.github.com/repos/psf/requests/issues/4272/events | https://github.com/psf/requests/issues/4272 | 254,567,434 | MDU6SXNzdWUyNTQ1Njc0MzQ= | 4,272 | requests 2.18.4 with proxies throw SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",) | {
"avatar_url": "https://avatars.githubusercontent.com/u/4942944?v=4",
"events_url": "https://api.github.com/users/iacky/events{/privacy}",
"followers_url": "https://api.github.com/users/iacky/followers",
"following_url": "https://api.github.com/users/iacky/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 20 | 2017-09-01T08:11:53Z | 2018-12-24T14:20:53Z | 2018-01-17T11:56:17Z | NONE | resolved | Hi,
When I use requests 2.18.4 with proxies, it throw SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)
MacOS Sierra
Python 3.6.2
OpenSSL 1.0.2l
pip3 list:
asn1crypto (0.22.0)
certifi (2017.7.27.1)
cffi (1.10.0)
chardet (3.0.4)
cryptography (2.0.3)
idna (2.6)
pycparser (2.18)
pyOpenSSL... | {
"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": 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/4272/reactions"
} | https://api.github.com/repos/psf/requests/issues/4272/timeline | null | completed | null | null | false | [
"Did you *try* the solution from #4193?",
"Ah, wait, you're using SOCKS. This may change some stuff around. Is your SOCKS proxy messing with the connection in any way?",
"Ah, yes i tried #4193 ,what is the meaning of ‘messing with the connection in any way’,mybe i make a mistake .. I use Shadowsocks proxy.\r\n\... |
https://api.github.com/repos/psf/requests/issues/4271 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4271/labels{/name} | https://api.github.com/repos/psf/requests/issues/4271/comments | https://api.github.com/repos/psf/requests/issues/4271/events | https://github.com/psf/requests/issues/4271 | 254,053,432 | MDU6SXNzdWUyNTQwNTM0MzI= | 4,271 | Unexpected result in iter_lines with '\r\n' delimiter | {
"avatar_url": "https://avatars.githubusercontent.com/u/374719?v=4",
"events_url": "https://api.github.com/users/pcpa/events{/privacy}",
"followers_url": "https://api.github.com/users/pcpa/followers",
"following_url": "https://api.github.com/users/pcpa/following{/other_user}",
"gists_url": "https://api.githu... | [
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 191274,
"name": "Contributor Friendly",
"node_id": "MDU6TGFiZWwxOTEyNzQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Contributor%20Friendly"
}
] | closed | true | null | [] | null | 7 | 2017-08-30T16:03:56Z | 2021-09-08T07:00:26Z | 2017-09-02T06:04:51Z | NONE | resolved | With this test case (named `request_iter_lines_test.py`):
```
import unittest
import requests
from io import StringIO
class TestIterLines(unittest.TestCase):
def iter_lines_response(self, chunk_size, delimiter=None):
response = requests.Response()
response.raw = StringIO('01\r\n45')
... | {
"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/4271/reactions"
} | https://api.github.com/repos/psf/requests/issues/4271/timeline | null | completed | null | null | false | [
"Yeah, this function definitely needs more work. I agree that the Fedora patch is incomplete: I also worry that it doesn't correctly handle the possibility of repeated sequences of delimiters, which *should* emit empty lines.\r\n\r\nAnyone interested in contributing should feel free to pick this up. I recommend usi... |
https://api.github.com/repos/psf/requests/issues/4270 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4270/labels{/name} | https://api.github.com/repos/psf/requests/issues/4270/comments | https://api.github.com/repos/psf/requests/issues/4270/events | https://github.com/psf/requests/issues/4270 | 253,743,562 | MDU6SXNzdWUyNTM3NDM1NjI= | 4,270 | Missing header information in Response object | {
"avatar_url": "https://avatars.githubusercontent.com/u/11476522?v=4",
"events_url": "https://api.github.com/users/jma1991/events{/privacy}",
"followers_url": "https://api.github.com/users/jma1991/followers",
"following_url": "https://api.github.com/users/jma1991/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 30 | 2017-08-29T17:28:10Z | 2021-09-08T07:00:27Z | 2017-08-29T18:50:46Z | NONE | resolved | ## Summary
The response object generated from a POST request is missing header information. I am using Python (3.6.2) and the requests (2.18.4) library to post a query to the [Primer-BLAST](https://www.ncbi.nlm.nih.gov/tools/primer-blast/) website. I need to retrieve the NCBI-RCGI-RetryURL field from the response's ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4270/reactions"
} | https://api.github.com/repos/psf/requests/issues/4270/timeline | null | completed | null | null | false | [
"What's the status code and content when you use Requests? Are you getting the response data you expect?",
"The status code is 200 and the content is just:\r\n\r\n`b'<html><head><title>Empty Result</title></head><body>Empty Result</body></html>'`\r\n\r\nWhich I believe is correct because the results take a few mi... |
https://api.github.com/repos/psf/requests/issues/4269 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4269/labels{/name} | https://api.github.com/repos/psf/requests/issues/4269/comments | https://api.github.com/repos/psf/requests/issues/4269/events | https://github.com/psf/requests/issues/4269 | 253,743,004 | MDU6SXNzdWUyNTM3NDMwMDQ= | 4,269 | Handling Multiple Sessions with requests.Session() | {
"avatar_url": "https://avatars.githubusercontent.com/u/2643046?v=4",
"events_url": "https://api.github.com/users/Seykotron/events{/privacy}",
"followers_url": "https://api.github.com/users/Seykotron/followers",
"following_url": "https://api.github.com/users/Seykotron/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 4 | 2017-08-29T17:26:08Z | 2021-09-08T07:00:27Z | 2017-08-29T18:20:29Z | NONE | resolved |
Hello, Im trying to make multiple Sessions at once, I need to login multiple users into my webpage, but when instantiating requests.Session() it seems like the session is shared, and if I call requests.Session() again there I have the same cookies and the same headers that I stored in the previus object.
Sorry for... | {
"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/4269/reactions"
} | https://api.github.com/repos/psf/requests/issues/4269/timeline | null | completed | null | null | false | [
"The `Session` object is not shared: it's a class object, it cannot be shared. Can you provide some sample code that reproduces the issue?",
"Wow so fast Lukasa! Thank you for answering, I solved my problen not using Session, instead getting the cookiejar and store it into my class variable.\r\n\r\nAnyway My code... |
https://api.github.com/repos/psf/requests/issues/4268 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4268/labels{/name} | https://api.github.com/repos/psf/requests/issues/4268/comments | https://api.github.com/repos/psf/requests/issues/4268/events | https://github.com/psf/requests/issues/4268 | 253,706,267 | MDU6SXNzdWUyNTM3MDYyNjc= | 4,268 | Recieving 400 Bad Request on PUT against Ranger API | {
"avatar_url": "https://avatars.githubusercontent.com/u/27829577?v=4",
"events_url": "https://api.github.com/users/mtdeguzis/events{/privacy}",
"followers_url": "https://api.github.com/users/mtdeguzis/followers",
"following_url": "https://api.github.com/users/mtdeguzis/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2017-08-29T15:27:38Z | 2021-09-08T07:00:28Z | 2017-08-29T15:46:43Z | NONE | resolved | Summary.
Submitting a PUT request against the Ranger API: https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Policy+Management#RESTAPIsforPolicyManagement-UpdatePolicy. I can create the policy fine, but seems with PUT, I get bad request and cannot determine why.
Headers on GET
```
Retrieving and e... | {
"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/4268/reactions"
} | https://api.github.com/repos/psf/requests/issues/4268/timeline | null | completed | null | null | false | [
"400 bad request generally suggests that this is a problem with your data not matching what Hadoop wants. Without knowing what that looks like, I'm afraid we simply cannot help you."
] |
https://api.github.com/repos/psf/requests/issues/4267 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4267/labels{/name} | https://api.github.com/repos/psf/requests/issues/4267/comments | https://api.github.com/repos/psf/requests/issues/4267/events | https://github.com/psf/requests/issues/4267 | 253,538,255 | MDU6SXNzdWUyNTM1MzgyNTU= | 4,267 | Document Community Extensions | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 19127... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 5 | 2017-08-29T06:04:44Z | 2021-09-06T00:06:34Z | 2019-01-15T13:37:05Z | CONTRIBUTOR | resolved | Exceptional:
- https://github.com/requests/toolbelt
- https://github.com/ionrock/cachecontrol
Note-worthy:
- https://github.com/kislyuk/requests-http-signature
- https://github.com/ross/requests-futures
- https://pypi.python.org/pypi/requests-mock
- https://vcrpy.readthedocs.io/en/latest/
- https://pypi.p... | {
"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/4267/reactions"
} | https://api.github.com/repos/psf/requests/issues/4267/timeline | null | completed | null | null | false | [
"I would say `cachecontrol` falls under `Exceptional`. `responses` isn't an extension and if it is then there are far better ones out there.",
"@sigmavirus24 thanks for the feedback :)",
"updated",
"@kennethreitz i would like to work on this. Should they be documented in the ReadMe.md file?",
"I think thes... |
https://api.github.com/repos/psf/requests/issues/4266 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4266/labels{/name} | https://api.github.com/repos/psf/requests/issues/4266/comments | https://api.github.com/repos/psf/requests/issues/4266/events | https://github.com/psf/requests/issues/4266 | 253,273,400 | MDU6SXNzdWUyNTMyNzM0MDA= | 4,266 | A problem with proxies parameters | {
"avatar_url": "https://avatars.githubusercontent.com/u/18119763?v=4",
"events_url": "https://api.github.com/users/loisjee/events{/privacy}",
"followers_url": "https://api.github.com/users/loisjee/followers",
"following_url": "https://api.github.com/users/loisjee/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2017-08-28T09:21:34Z | 2021-09-08T04:00:46Z | 2018-01-23T16:16:57Z | NONE | resolved | I have a problem about proxies, when I was using ip agent
`requests.get('http://1212.ip138.com/ic.asp', headers=headers,proxies=pro, timeout=9)`
How can i know if I succeed to use the ip agent, sometimes the result from the url is my own ip instead of the ip in proxies.Does that means the ip in proxies is useless?
T... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4266/reactions"
} | https://api.github.com/repos/psf/requests/issues/4266/timeline | null | completed | null | null | false | [
"Without seeing how your proxies are configured I have no idea if that will work or not.",
"Given that we haven't seen in additional information to help debug this, I'm going to close this out. Feel free to ping if you have more information @SongJee."
] |
https://api.github.com/repos/psf/requests/issues/4265 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4265/labels{/name} | https://api.github.com/repos/psf/requests/issues/4265/comments | https://api.github.com/repos/psf/requests/issues/4265/events | https://github.com/psf/requests/pull/4265 | 253,271,602 | MDExOlB1bGxSZXF1ZXN0MTM3OTAyODU1 | 4,265 | fixed syntax for code block for prepared requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/24897834?v=4",
"events_url": "https://api.github.com/users/PascalVA/events{/privacy}",
"followers_url": "https://api.github.com/users/PascalVA/followers",
"following_url": "https://api.github.com/users/PascalVA/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 0 | 2017-08-28T09:14:12Z | 2021-09-04T00:06:51Z | 2017-08-28T09:39:27Z | CONTRIBUTOR | resolved | I just noticed you need to add a double colon for the code block to render. | {
"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/4265/reactions"
} | https://api.github.com/repos/psf/requests/issues/4265/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4265.diff",
"html_url": "https://github.com/psf/requests/pull/4265",
"merged_at": "2017-08-28T09:39:27Z",
"patch_url": "https://github.com/psf/requests/pull/4265.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4265"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/4264 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4264/labels{/name} | https://api.github.com/repos/psf/requests/issues/4264/comments | https://api.github.com/repos/psf/requests/issues/4264/events | https://github.com/psf/requests/pull/4264 | 253,268,111 | MDExOlB1bGxSZXF1ZXN0MTM3OTAwMzEy | 4,264 | Add environment info to prepared requests docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/24897834?v=4",
"events_url": "https://api.github.com/users/PascalVA/events{/privacy}",
"followers_url": "https://api.github.com/users/PascalVA/followers",
"following_url": "https://api.github.com/users/PascalVA/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2017-08-28T08:59:14Z | 2021-09-04T00:06:51Z | 2017-08-28T09:08:08Z | CONTRIBUTOR | resolved | When using prepared requests, the environment is not taken into account. This should be reflected in the documentation. | {
"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/4264/reactions"
} | https://api.github.com/repos/psf/requests/issues/4264/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4264.diff",
"html_url": "https://github.com/psf/requests/pull/4264",
"merged_at": "2017-08-28T09:08:08Z",
"patch_url": "https://github.com/psf/requests/pull/4264.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4264"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4264?src=pr&el=h1) Report\n> Merging [#4264](https://codecov.io/gh/requests/requests/pull/4264?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/369be8afd07e7a0f38bc4f78d6f3764a800711aa?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4263 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4263/labels{/name} | https://api.github.com/repos/psf/requests/issues/4263/comments | https://api.github.com/repos/psf/requests/issues/4263/events | https://github.com/psf/requests/pull/4263 | 253,183,270 | MDExOlB1bGxSZXF1ZXN0MTM3ODQ0NjE1 | 4,263 | [don't merge] unpin httpbin | {
"avatar_url": "https://avatars.githubusercontent.com/u/21099?v=4",
"events_url": "https://api.github.com/users/kevin1024/events{/privacy}",
"followers_url": "https://api.github.com/users/kevin1024/followers",
"following_url": "https://api.github.com/users/kevin1024/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2017-08-27T19:16:18Z | 2021-09-03T00:11:09Z | 2018-03-08T18:01:26Z | NONE | resolved | The upstream bug has been fixed
See also:
* requests/requests#4261
* requests/requests#4258
* requests/requests#4259 | {
"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/4263/reactions"
} | https://api.github.com/repos/psf/requests/issues/4263/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4263.diff",
"html_url": "https://github.com/psf/requests/pull/4263",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4263.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4263"
} | true | [
"✨🍰✨\r\n\r\nsorry for the bug!",
"Hmm... it would appear that there are some upstream changes to digest auth in the newest httpbin that are causing some requests test failures."
] |
https://api.github.com/repos/psf/requests/issues/4262 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4262/labels{/name} | https://api.github.com/repos/psf/requests/issues/4262/comments | https://api.github.com/repos/psf/requests/issues/4262/events | https://github.com/psf/requests/pull/4262 | 253,177,041 | MDExOlB1bGxSZXF1ZXN0MTM3ODQwOTgw | 4,262 | [do not merge] Try to fix hanging tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/21099?v=4",
"events_url": "https://api.github.com/users/kevin1024/events{/privacy}",
"followers_url": "https://api.github.com/users/kevin1024/followers",
"following_url": "https://api.github.com/users/kevin1024/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2017-08-27T17:20:21Z | 2021-09-04T00:06:52Z | 2017-08-27T17:33:10Z | NONE | resolved | The tests are hanging sometimes, see #4259 and #4261. I wonder if it would work to unpin both packages since I think I fixed a bug with pytest-httpbin hanging awhile back. | {
"avatar_url": "https://avatars.githubusercontent.com/u/21099?v=4",
"events_url": "https://api.github.com/users/kevin1024/events{/privacy}",
"followers_url": "https://api.github.com/users/kevin1024/followers",
"following_url": "https://api.github.com/users/kevin1024/following{/other_user}",
"gists_url": "htt... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4262/reactions"
} | https://api.github.com/repos/psf/requests/issues/4262/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4262.diff",
"html_url": "https://github.com/psf/requests/pull/4262",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4262.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4262"
} | true | [
"welp, that doesn't appear to be working."
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.