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/4761 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4761/labels{/name} | https://api.github.com/repos/psf/requests/issues/4761/comments | https://api.github.com/repos/psf/requests/issues/4761/events | https://github.com/psf/requests/issues/4761 | 349,304,360 | MDU6SXNzdWUzNDkzMDQzNjA= | 4,761 | JSON response has double-quotes replaced by single-quotes | {
"avatar_url": "https://avatars.githubusercontent.com/u/42220377?v=4",
"events_url": "https://api.github.com/users/DavidFriedmanAMD/events{/privacy}",
"followers_url": "https://api.github.com/users/DavidFriedmanAMD/followers",
"following_url": "https://api.github.com/users/DavidFriedmanAMD/following{/other_use... | [] | closed | true | null | [] | null | 2 | 2018-08-09T21:52:57Z | 2021-09-01T00:11:34Z | 2018-08-09T22:14:34Z | NONE | resolved | I am trying to develop a Python3 script to query GitHub for data on specific repositories, using their v4 GraphQL API with results in JSON format. I took a sample query from the GitHub developer pages, and embedded it into the attached script "github-graphql-test.py" based on a (referenced) example found in a Web searc... | {
"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/4761/reactions"
} | https://api.github.com/repos/psf/requests/issues/4761/timeline | null | completed | null | null | false | [
"Hi @DavidFriedmanAMD, the `json()` method is going to return a python representation of the JSON data (i.e. a dictionary) which won’t use double quotes. If you need a valid JSON string with double quotes, you would need to use the json module and call json.dumps, or simply pass the response.content which should be... |
https://api.github.com/repos/psf/requests/issues/4760 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4760/labels{/name} | https://api.github.com/repos/psf/requests/issues/4760/comments | https://api.github.com/repos/psf/requests/issues/4760/events | https://github.com/psf/requests/issues/4760 | 348,589,198 | MDU6SXNzdWUzNDg1ODkxOTg= | 4,760 | yield from waiter ConnectionResetError | {
"avatar_url": "https://avatars.githubusercontent.com/u/26271528?v=4",
"events_url": "https://api.github.com/users/Qwcscy/events{/privacy}",
"followers_url": "https://api.github.com/users/Qwcscy/followers",
"following_url": "https://api.github.com/users/Qwcscy/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2018-08-08T06:16:38Z | 2018-08-11T17:27:08Z | 2018-08-08T07:19:19Z | NONE | spam | asyncio+aiohttp implemnt multiple request to different domain,patrs of requets raise exception as fllows:
but when testing the single domain,the excetion disappeared.I have met the bug a few days,help!!!
Traceback (most recent call last):
File "/home/jojo/Documents/boceProject/aiohttp/connector.py", line 822... | {
"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/4760/reactions"
} | https://api.github.com/repos/psf/requests/issues/4760/timeline | null | completed | null | null | false | [
"Hi @Qwcscy, this appears to be a request for assistance and with a separate project (aiohttp). I would suggest either filing an issue with them or on Stackoverflow since this issue tracker is reserved for defect reports in Requests. Thanks!",
"ok,so how can I solve this problem?"
] |
https://api.github.com/repos/psf/requests/issues/4759 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4759/labels{/name} | https://api.github.com/repos/psf/requests/issues/4759/comments | https://api.github.com/repos/psf/requests/issues/4759/events | https://github.com/psf/requests/issues/4759 | 348,579,780 | MDU6SXNzdWUzNDg1Nzk3ODA= | 4,759 | requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:645) | {
"avatar_url": "https://avatars.githubusercontent.com/u/34479567?v=4",
"events_url": "https://api.github.com/users/xiantang/events{/privacy}",
"followers_url": "https://api.github.com/users/xiantang/followers",
"following_url": "https://api.github.com/users/xiantang/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2018-08-08T05:26:19Z | 2021-09-08T01:21:03Z | 2018-08-08T05:30:32Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
when i open 32 threads,requets raise this exception. | {
"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/4759/reactions"
} | https://api.github.com/repos/psf/requests/issues/4759/timeline | null | completed | null | null | false | [
"{\r\n \"chardet\": {\r\n \"version\": \"3.0.4\"\r\n },\r\n \"cryptography\": {\r\n \"version\": \"2.2.2\"\r\n },\r\n \"idna\": {\r\n \"version\": \"2.7\"\r\n },\r\n \"implementation\": {\r\n \"name\": \"CPython\",\r\n \"version\": \"3.5.2\"\r\n },\r\n \"platform\": {\r\n \"release\": \"4... |
https://api.github.com/repos/psf/requests/issues/4758 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4758/labels{/name} | https://api.github.com/repos/psf/requests/issues/4758/comments | https://api.github.com/repos/psf/requests/issues/4758/events | https://github.com/psf/requests/issues/4758 | 347,712,838 | MDU6SXNzdWUzNDc3MTI4Mzg= | 4,758 | encoding double backslash | {
"avatar_url": "https://avatars.githubusercontent.com/u/8792118?v=4",
"events_url": "https://api.github.com/users/mharol/events{/privacy}",
"followers_url": "https://api.github.com/users/mharol/followers",
"following_url": "https://api.github.com/users/mharol/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2018-08-05T16:40:25Z | 2021-09-08T01:21:04Z | 2018-08-07T05:58:06Z | NONE | resolved | Summary.
Downloading files with \\ in query strings doesn't encode properly
## Expected Result %5C%5C
## Actual Result %5C
| {
"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/4758/reactions"
} | https://api.github.com/repos/psf/requests/issues/4758/timeline | null | completed | null | null | false | [
"@mharol it sounds like you're passing double backslashes as a string to Requests. Python's native strings are going to treat this as an escape character when passing it to urlencode which is why you're seeing the single %5C. You'll need to pass a raw string (`r'\\\\'`) with the backslashes if you want them to be i... |
https://api.github.com/repos/psf/requests/issues/4757 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4757/labels{/name} | https://api.github.com/repos/psf/requests/issues/4757/comments | https://api.github.com/repos/psf/requests/issues/4757/events | https://github.com/psf/requests/issues/4757 | 347,570,403 | MDU6SXNzdWUzNDc1NzA0MDM= | 4,757 | TLSV1_ALERT_PROTOCOL_VERSION Error when requesting https sites | {
"avatar_url": "https://avatars.githubusercontent.com/u/9668239?v=4",
"events_url": "https://api.github.com/users/asherbig/events{/privacy}",
"followers_url": "https://api.github.com/users/asherbig/followers",
"following_url": "https://api.github.com/users/asherbig/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2018-08-04T00:40:03Z | 2021-09-08T01:21:07Z | 2018-08-04T12:25:45Z | NONE | resolved | I get the error "**ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:598)**" when attempting to access https sites. This is the specific site I got the error on https://www.apartments.com/westhampton-court-apartment-homes-atlanta-ga/sqpw607/ I've been stuck on this issue for over 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/4757/reactions"
} | https://api.github.com/repos/psf/requests/issues/4757/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\r\n\r\n---\r\n\r\nAs an aside, your python is using ope... |
https://api.github.com/repos/psf/requests/issues/4756 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4756/labels{/name} | https://api.github.com/repos/psf/requests/issues/4756/comments | https://api.github.com/repos/psf/requests/issues/4756/events | https://github.com/psf/requests/issues/4756 | 347,305,913 | MDU6SXNzdWUzNDczMDU5MTM= | 4,756 | OSError: Tunnel connection failed: 400 Bad Request | {
"avatar_url": "https://avatars.githubusercontent.com/u/4387347?v=4",
"events_url": "https://api.github.com/users/mughilanand/events{/privacy}",
"followers_url": "https://api.github.com/users/mughilanand/followers",
"following_url": "https://api.github.com/users/mughilanand/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2018-08-03T08:28:22Z | 2021-05-26T12:11:07Z | 2018-08-03T14:45:56Z | NONE | off-topic | Python : 3.6.5 ( Anaconda)
Operating system: RHEL 6.9
I am hit by 400 Bad request error while connection attempt by https over proxy. But the same is working fine without http and curl. I have exported https_proxy and http_proxy in linux cli. Anyone advise me what to do?
>>> import requests
>>> session = reques... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4756/reactions"
} | https://api.github.com/repos/psf/requests/issues/4756/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.",
"@mughilanand \r\n\r\nhaving the same problem, did ... |
https://api.github.com/repos/psf/requests/issues/4755 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4755/labels{/name} | https://api.github.com/repos/psf/requests/issues/4755/comments | https://api.github.com/repos/psf/requests/issues/4755/events | https://github.com/psf/requests/pull/4755 | 346,496,342 | MDExOlB1bGxSZXF1ZXN0MjA1MzQ0Njg3 | 4,755 | Add return type on cookies.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/9590242?v=4",
"events_url": "https://api.github.com/users/dohvis/events{/privacy}",
"followers_url": "https://api.github.com/users/dohvis/followers",
"following_url": "https://api.github.com/users/dohvis/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2018-08-01T08:21:19Z | 2021-09-02T00:07:36Z | 2018-08-02T17:53:44Z | CONTRIBUTOR | resolved | http://docs.python-requests.org/en/master/api/#api-cookies | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4755/reactions"
} | https://api.github.com/repos/psf/requests/issues/4755/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4755.diff",
"html_url": "https://github.com/psf/requests/pull/4755",
"merged_at": "2018-08-02T17:53:44Z",
"patch_url": "https://github.com/psf/requests/pull/4755.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4755"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4755?src=pr&el=h1) Report\n> Merging [#4755](https://codecov.io/gh/requests/requests/pull/4755?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/e4d214dd763caf9a59dba0b382106cbf9938aa51?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4754 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4754/labels{/name} | https://api.github.com/repos/psf/requests/issues/4754/comments | https://api.github.com/repos/psf/requests/issues/4754/events | https://github.com/psf/requests/issues/4754 | 345,696,024 | MDU6SXNzdWUzNDU2OTYwMjQ= | 4,754 | error on "pip install requests" with chardet | {
"avatar_url": "https://avatars.githubusercontent.com/u/484366?v=4",
"events_url": "https://api.github.com/users/mhndm/events{/privacy}",
"followers_url": "https://api.github.com/users/mhndm/followers",
"following_url": "https://api.github.com/users/mhndm/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2018-07-30T10:15:42Z | 2021-09-08T01:21:05Z | 2018-08-04T12:33:43Z | NONE | resolved | Summary.
pip install requests
Collecting requests
Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl
Requirement already satisfied: idna<2.8,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests) (2.... | {
"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/4754/reactions"
} | https://api.github.com/repos/psf/requests/issues/4754/timeline | null | completed | null | null | false | [
"This is likely an issue with you having system package manager installed packages and then trying to globally reinstall those packages with pip. This is not an issue with Requests or chardet, but with what you're attempting to do. You've also not provided the information we request as part of an issue to help you ... |
https://api.github.com/repos/psf/requests/issues/4753 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4753/labels{/name} | https://api.github.com/repos/psf/requests/issues/4753/comments | https://api.github.com/repos/psf/requests/issues/4753/events | https://github.com/psf/requests/issues/4753 | 345,571,273 | MDU6SXNzdWUzNDU1NzEyNzM= | 4,753 | SSLV3_ALERT_HANDSHAKE_FAILURE in Python 3.5, works in Python 2.7 | {
"avatar_url": "https://avatars.githubusercontent.com/u/51596?v=4",
"events_url": "https://api.github.com/users/ghtyrant/events{/privacy}",
"followers_url": "https://api.github.com/users/ghtyrant/followers",
"following_url": "https://api.github.com/users/ghtyrant/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 4 | 2018-07-29T23:14:46Z | 2021-08-27T00:08:35Z | 2018-08-08T05:46:09Z | NONE | resolved | I'm running the following code:
```python
import requests
import ssl
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.poolmanager import PoolManager
class SSLAdapter(HTTPAdapter):
'''An HTTPS Transport Adapter that uses an arbitrary SSL version.'''
def __init__(self, ssl_vers... | {
"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": 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/4753/reactions"
} | https://api.github.com/repos/psf/requests/issues/4753/timeline | null | completed | null | null | false | [
"Hi @ghtyrant,\r\n\r\nIt looks like there is some variance in your SSL setup between each python install. The 3.5 interpreter is unable to negotiate an acceptable protocol with the server. The fact that installing PyOpenSSL solves this suggests that there is something wrong with your 3.5 SSL setup.\r\n\r\nI unfortu... |
https://api.github.com/repos/psf/requests/issues/4752 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4752/labels{/name} | https://api.github.com/repos/psf/requests/issues/4752/comments | https://api.github.com/repos/psf/requests/issues/4752/events | https://github.com/psf/requests/issues/4752 | 344,410,456 | MDU6SXNzdWUzNDQ0MTA0NTY= | 4,752 | bdist_wheel upload failes for python3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/15922770?v=4",
"events_url": "https://api.github.com/users/thilo-maurer/events{/privacy}",
"followers_url": "https://api.github.com/users/thilo-maurer/followers",
"following_url": "https://api.github.com/users/thilo-maurer/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2018-07-25T11:49:54Z | 2021-09-08T01:21:02Z | 2018-08-11T20:04:13Z | NONE | resolved | Cannot upload wheel using python3.
Reason is that in this projects's `setup.py` line 86, argument `classifiers` should be an array, not a tuple. Replacing `(` by `[` fixes the issue.
## Expected Result
Success for
```python3 setup.py bdist_wheel upload -r artifactory```
## Actual Result
```
root@host:/buil... | {
"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/4752/reactions"
} | https://api.github.com/repos/psf/requests/issues/4752/timeline | null | completed | null | null | false | [
"Hi @thilo-maurer, this should be resolved in 489f58ce. Thanks for the report!"
] |
https://api.github.com/repos/psf/requests/issues/4751 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4751/labels{/name} | https://api.github.com/repos/psf/requests/issues/4751/comments | https://api.github.com/repos/psf/requests/issues/4751/events | https://github.com/psf/requests/pull/4751 | 344,400,850 | MDExOlB1bGxSZXF1ZXN0MjAzODAzNjkw | 4,751 | compat.py already defines unicode() as str() on Python 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3709715?v=4",
"events_url": "https://api.github.com/users/cclauss/events{/privacy}",
"followers_url": "https://api.github.com/users/cclauss/followers",
"following_url": "https://api.github.com/users/cclauss/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2018-07-25T11:17:06Z | 2021-09-02T00:07:38Z | 2018-07-25T11:31:59Z | CONTRIBUTOR | resolved | It is not necessary or desirable to repeat the logic that properly belongs in compat.py. | {
"avatar_url": "https://avatars.githubusercontent.com/u/3709715?v=4",
"events_url": "https://api.github.com/users/cclauss/events{/privacy}",
"followers_url": "https://api.github.com/users/cclauss/followers",
"following_url": "https://api.github.com/users/cclauss/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/4751/reactions"
} | https://api.github.com/repos/psf/requests/issues/4751/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4751.diff",
"html_url": "https://github.com/psf/requests/pull/4751",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4751.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4751"
} | true | [
"Fails pretty miserably. "
] |
https://api.github.com/repos/psf/requests/issues/4750 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4750/labels{/name} | https://api.github.com/repos/psf/requests/issues/4750/comments | https://api.github.com/repos/psf/requests/issues/4750/events | https://github.com/psf/requests/pull/4750 | 344,196,341 | MDExOlB1bGxSZXF1ZXN0MjAzNjQ5MDY3 | 4,750 | Update all documentation to show Python 3.7 is supported | {
"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 | 2018-07-24T20:43:42Z | 2021-09-02T00:07:37Z | 2018-08-02T17:55:41Z | CONTRIBUTOR | resolved | Official support was added in 6686ac173011a302c26c4aedbd992f96d6e58357. | {
"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/4750/reactions"
} | https://api.github.com/repos/psf/requests/issues/4750/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4750.diff",
"html_url": "https://github.com/psf/requests/pull/4750",
"merged_at": "2018-08-02T17:55:41Z",
"patch_url": "https://github.com/psf/requests/pull/4750.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4750"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4750?src=pr&el=h1) Report\n> Merging [#4750](https://codecov.io/gh/requests/requests/pull/4750?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/e4d214dd763caf9a59dba0b382106cbf9938aa51?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4749 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4749/labels{/name} | https://api.github.com/repos/psf/requests/issues/4749/comments | https://api.github.com/repos/psf/requests/issues/4749/events | https://github.com/psf/requests/pull/4749 | 344,109,448 | MDExOlB1bGxSZXF1ZXN0MjAzNTgyODMz | 4,749 | make content-type's charset information case-insensitive | {
"avatar_url": "https://avatars.githubusercontent.com/u/5463445?v=4",
"events_url": "https://api.github.com/users/derlin/events{/privacy}",
"followers_url": "https://api.github.com/users/derlin/followers",
"following_url": "https://api.github.com/users/derlin/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2018-07-24T16:18:54Z | 2021-09-02T00:07:38Z | 2018-07-24T16:42:28Z | CONTRIBUTOR | resolved | Fix bug described in https://github.com/requests/requests/issues/4748 . | {
"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/4749/reactions"
} | https://api.github.com/repos/psf/requests/issues/4749/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4749.diff",
"html_url": "https://github.com/psf/requests/pull/4749",
"merged_at": "2018-07-24T16:42:28Z",
"patch_url": "https://github.com/psf/requests/pull/4749.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4749"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4749?src=pr&el=h1) Report\n> Merging [#4749](https://codecov.io/gh/requests/requests/pull/4749?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/6686ac173011a302c26c4aedbd992f96d6e58357?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4748 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4748/labels{/name} | https://api.github.com/repos/psf/requests/issues/4748/comments | https://api.github.com/repos/psf/requests/issues/4748/events | https://github.com/psf/requests/issues/4748 | 344,062,986 | MDU6SXNzdWUzNDQwNjI5ODY= | 4,748 | case-insensitive charset handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/5463445?v=4",
"events_url": "https://api.github.com/users/derlin/events{/privacy}",
"followers_url": "https://api.github.com/users/derlin/followers",
"following_url": "https://api.github.com/users/derlin/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 4 | 2018-07-24T14:28:26Z | 2021-09-08T01:21:09Z | 2018-07-24T16:46:20Z | CONTRIBUTOR | resolved | I get encoding issues when extracting text from some URLs, for example this [one](https://zuri.net/magazin/slang/33/thema_small-talk.htm). After some digging, it seems that although the `headers` dictionary is case-insensitive, the parsing of the content-type header entry is not. For example, if the server sends:
... | {
"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/4748/reactions"
} | https://api.github.com/repos/psf/requests/issues/4748/timeline | null | completed | null | null | false | [
"Hi @derlin, thanks for bringing this to our attention! This definitely looks like a miss on our part.\r\n\r\nI think your suggestion of lower-casing is probably the better solution from an overhead perspective. That way we can avoid instantiating a new `CaseInsenstiveDict` every call when it's likely only going to... |
https://api.github.com/repos/psf/requests/issues/4747 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4747/labels{/name} | https://api.github.com/repos/psf/requests/issues/4747/comments | https://api.github.com/repos/psf/requests/issues/4747/events | https://github.com/psf/requests/issues/4747 | 343,920,747 | MDU6SXNzdWUzNDM5MjA3NDc= | 4,747 | urllib3 Retry and Response Hooks (Duplicates #4514) | {
"avatar_url": "https://avatars.githubusercontent.com/u/9652736?v=4",
"events_url": "https://api.github.com/users/belthaZornv/events{/privacy}",
"followers_url": "https://api.github.com/users/belthaZornv/followers",
"following_url": "https://api.github.com/users/belthaZornv/following{/other_user}",
"gists_ur... | [] | open | false | null | [] | null | 5 | 2018-07-24T07:41:46Z | 2021-04-04T21:11:00Z | null | NONE | null | Given you have a session, and have successfully attached the auth class and the response hooks accordingly; although you'd like to add the Retry class into the picture from urllib3.
## Expected Result
I'd expect the response hooks to be honoured - at the very least on the first response (not retry).
## Actual ... | null | {
"+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/4747/reactions"
} | https://api.github.com/repos/psf/requests/issues/4747/timeline | null | null | null | null | false | [
"Can anyone suggest a work around for this? (except for the standard flagging and re-doing what Retry does)",
"@belthaZornv can you share what part of our documentation misled you here?\r\n\r\n`Retry` logic from urllib3 operates at a much lower level than the response hook(s). You have specified `401` as a status... |
https://api.github.com/repos/psf/requests/issues/4746 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4746/labels{/name} | https://api.github.com/repos/psf/requests/issues/4746/comments | https://api.github.com/repos/psf/requests/issues/4746/events | https://github.com/psf/requests/issues/4746 | 343,560,824 | MDU6SXNzdWUzNDM1NjA4MjQ= | 4,746 | urllib3 LocationParseError uncaught by requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/115884?v=4",
"events_url": "https://api.github.com/users/Arduous/events{/privacy}",
"followers_url": "https://api.github.com/users/Arduous/followers",
"following_url": "https://api.github.com/users/Arduous/following{/other_user}",
"gists_url": "https://... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 2 | 2018-07-23T09:43:33Z | 2021-09-07T00:06:16Z | 2018-10-01T02:25:44Z | NONE | resolved | When accessing a page that is not redirecting properly (in this case, port is "-1", urllib3 LocationParseError is returned without being caught by requests.
The URL _currently_ (Jul 23rd 2018) badly redirecting: https://www.fossil.com/us/en/account-dashboard/registered-products.html
## Expected Result
An except... | {
"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/4746/reactions"
} | https://api.github.com/repos/psf/requests/issues/4746/timeline | null | completed | null | null | false | [
"Thanks for bringing this to our attention @Arduous! We do appear to be leaking an exception when we're trying to pull a connection from the pool. We should try to identify what exceptions can be raised here and then add handling for at least `urllib3.exceptions.HTTPError`, and possibly more specific cases if appro... |
https://api.github.com/repos/psf/requests/issues/4745 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4745/labels{/name} | https://api.github.com/repos/psf/requests/issues/4745/comments | https://api.github.com/repos/psf/requests/issues/4745/events | https://github.com/psf/requests/issues/4745 | 343,304,930 | MDU6SXNzdWUzNDMzMDQ5MzA= | 4,745 | Exceptions when using data=json.dumps(payload)) | {
"avatar_url": "https://avatars.githubusercontent.com/u/5896180?v=4",
"events_url": "https://api.github.com/users/redstoneleo/events{/privacy}",
"followers_url": "https://api.github.com/users/redstoneleo/followers",
"following_url": "https://api.github.com/users/redstoneleo/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2018-07-21T07:08:26Z | 2021-09-08T01:21:10Z | 2018-07-21T21:58:51Z | NONE | resolved | ```
import json , requests
r = requests.post(
"http://httpbin.org/post",
files={'image': open(filename, 'rb')},
data=json.dumps({'wordPos': [86, 23]})
)
```
**exceptions:**
```
Traceback (most recent call last):
File "D:\BaiduYunDownload\编程\Python\Project\EngkuDict\Utils.py", li... | {
"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/4745/reactions"
} | https://api.github.com/repos/psf/requests/issues/4745/timeline | null | completed | null | null | false | [
"@redstoneleo it's not clear how you would be hitting this code path. `_encode_files` is only triggered when the `files` parameter isn't False-y. The code you've provided doesn't seem to reproduce the issue either.\r\n\r\nWe'll need the information we initially asked for with this issue in order to do any further d... |
https://api.github.com/repos/psf/requests/issues/4744 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4744/labels{/name} | https://api.github.com/repos/psf/requests/issues/4744/comments | https://api.github.com/repos/psf/requests/issues/4744/events | https://github.com/psf/requests/issues/4744 | 343,185,507 | MDU6SXNzdWUzNDMxODU1MDc= | 4,744 | urllib3.exceptions.NewConnectionError | {
"avatar_url": "https://avatars.githubusercontent.com/u/1474127?v=4",
"events_url": "https://api.github.com/users/pinkynrg/events{/privacy}",
"followers_url": "https://api.github.com/users/pinkynrg/followers",
"following_url": "https://api.github.com/users/pinkynrg/following{/other_user}",
"gists_url": "http... | [
{
"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 | 2 | 2018-07-20T17:20:08Z | 2021-09-08T01:21:07Z | 2018-08-04T12:29:43Z | NONE | resolved | It seems like I'm getting an Exception from urllib3: urllib3.exceptions.NewConnectionError.
## Expected Result
I am expecting to catch the exception using requests.exceptions.RequestException
## Actual Result
The exception in not getting caught.
## Reproduction Steps
```python
import requests
try:
... | {
"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/4744/reactions"
} | https://api.github.com/repos/psf/requests/issues/4744/timeline | null | completed | null | null | false | [
"Hi @pinkynrg, can we please get the full stack trace you’re seeing and a minimum viable reproduction?\r\n\r\nA simplified version of what you’ve supplied returns a `requests.exception.ConnectionError` which wraps the `NewConnectionError`.\r\n\r\n```python\r\nimport requests\r\n\r\nrequests.post(‘http://0.0.0.0:808... |
https://api.github.com/repos/psf/requests/issues/4743 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4743/labels{/name} | https://api.github.com/repos/psf/requests/issues/4743/comments | https://api.github.com/repos/psf/requests/issues/4743/events | https://github.com/psf/requests/issues/4743 | 342,932,917 | MDU6SXNzdWUzNDI5MzI5MTc= | 4,743 | Link to donate for requests for py3 isn't working | {
"avatar_url": "https://avatars.githubusercontent.com/u/265677?v=4",
"events_url": "https://api.github.com/users/cgthayer/events{/privacy}",
"followers_url": "https://api.github.com/users/cgthayer/followers",
"following_url": "https://api.github.com/users/cgthayer/following{/other_user}",
"gists_url": "https... | [] | 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 | 3 | 2018-07-20T00:27:36Z | 2021-09-07T00:06:23Z | 2018-09-10T15:22:27Z | NONE | resolved | Summary.
link to support requests for py3 isn't working at the top of
http://docs.python-requests.org/en/master/
leads to https://www.kennethreitz.org/requests3
What you expected.
a website
What happened instead.
404
```python
import requests
```
## System Information
$ python -m requ... | {
"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": 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/4743/reactions"
} | https://api.github.com/repos/psf/requests/issues/4743/timeline | null | completed | null | null | false | [
"@kennethreitz this is a bug in your website redesign and URL routing",
"Need to bring the death clock back — or remove the banner entirely.\n\nSent from my iPhone\n\n> On Jul 20, 2018, at 11:09 AM, Ian Stapleton Cordasco <notifications@github.com> wrote:\n> \n> @kennethreitz this is a bug in your website redesig... |
https://api.github.com/repos/psf/requests/issues/4742 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4742/labels{/name} | https://api.github.com/repos/psf/requests/issues/4742/comments | https://api.github.com/repos/psf/requests/issues/4742/events | https://github.com/psf/requests/issues/4742 | 342,597,079 | MDU6SXNzdWUzNDI1OTcwNzk= | 4,742 | Response.content returns the gzip compressed file | {
"avatar_url": "https://avatars.githubusercontent.com/u/29884752?v=4",
"events_url": "https://api.github.com/users/xqs42b/events{/privacy}",
"followers_url": "https://api.github.com/users/xqs42b/followers",
"following_url": "https://api.github.com/users/xqs42b/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 3 | 2018-07-19T06:38:03Z | 2018-11-20T13:00:05Z | 2018-07-19T13:37:21Z | NONE | resolved |
Response.content has not been unzip
Response.content has not been unzip
Hello, please ask a question, other website requests are basically decompressed, but when you request this URL(https://www.betburger.com/users/sigin_in), you return the compressed string.
=======================code==========================... | {
"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/4742/reactions"
} | https://api.github.com/repos/psf/requests/issues/4742/timeline | null | completed | null | null | false | [
"sos",
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.",
"@sigmavirus24 The response header content... |
https://api.github.com/repos/psf/requests/issues/4741 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4741/labels{/name} | https://api.github.com/repos/psf/requests/issues/4741/comments | https://api.github.com/repos/psf/requests/issues/4741/events | https://github.com/psf/requests/issues/4741 | 342,162,413 | MDU6SXNzdWUzNDIxNjI0MTM= | 4,741 | Proxy password contains square bracket "[" will failed with error "Invalid IPv6 URL" from urllib3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/892870?v=4",
"events_url": "https://api.github.com/users/Hugh----/events{/privacy}",
"followers_url": "https://api.github.com/users/Hugh----/followers",
"following_url": "https://api.github.com/users/Hugh----/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2018-07-18T03:22:40Z | 2021-09-08T01:21:10Z | 2018-07-18T05:59:44Z | NONE | resolved | Summary.
## Expected Result
When I have passed a proxy with square bracket "[" in the password, the request session should work.
## Actual Result
There will be error "Invalid IPv6 URL" generated by urllib3 which requests is based on.
## Reproduction Steps
```python
from requests import Request, Sessi... | {
"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/4741/reactions"
} | https://api.github.com/repos/psf/requests/issues/4741/timeline | null | completed | null | null | false | [
"Hi @Hugh----, the stacktrace you provided shows this error is from the standard library `urllib` module rather than urllib3. [RFC 3986](https://tools.ietf.org/html/rfc3986#section-3.2.1) states the allowable ABNF for a URI's authority component which doesn't include gen-delims (i.e. square brackets).\r\n\r\nYou'll... |
https://api.github.com/repos/psf/requests/issues/4740 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4740/labels{/name} | https://api.github.com/repos/psf/requests/issues/4740/comments | https://api.github.com/repos/psf/requests/issues/4740/events | https://github.com/psf/requests/issues/4740 | 341,733,560 | MDU6SXNzdWUzNDE3MzM1NjA= | 4,740 | Cant't get correct response (post multipart/form-data including file) | {
"avatar_url": "https://avatars.githubusercontent.com/u/37398286?v=4",
"events_url": "https://api.github.com/users/wangyujieitcast/events{/privacy}",
"followers_url": "https://api.github.com/users/wangyujieitcast/followers",
"following_url": "https://api.github.com/users/wangyujieitcast/following{/other_user}"... | [] | closed | true | null | [] | null | 0 | 2018-07-17T01:33:10Z | 2021-09-08T01:21:11Z | 2018-07-17T03:04:11Z | NONE | resolved | URL=“http://recognition.image.myqcloud.com/ocr/general”
When I used postman(Uploading screenshot file failed multiple times):
headers
Authorization:my_key
form-data:
appid:1257121697
image:local_file(File Type)
It's working! But when I used requests:
headers = {
"Host": 'recognition.image.myq... | {
"avatar_url": "https://avatars.githubusercontent.com/u/37398286?v=4",
"events_url": "https://api.github.com/users/wangyujieitcast/events{/privacy}",
"followers_url": "https://api.github.com/users/wangyujieitcast/followers",
"following_url": "https://api.github.com/users/wangyujieitcast/following{/other_user}"... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4740/reactions"
} | https://api.github.com/repos/psf/requests/issues/4740/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/4739 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4739/labels{/name} | https://api.github.com/repos/psf/requests/issues/4739/comments | https://api.github.com/repos/psf/requests/issues/4739/events | https://github.com/psf/requests/pull/4739 | 340,954,294 | MDExOlB1bGxSZXF1ZXN0MjAxMjQwOTk3 | 4,739 | Document that params and data can be list of tuples everywhere | {
"avatar_url": "https://avatars.githubusercontent.com/u/14709?v=4",
"events_url": "https://api.github.com/users/moy/events{/privacy}",
"followers_url": "https://api.github.com/users/moy/followers",
"following_url": "https://api.github.com/users/moy/following{/other_user}",
"gists_url": "https://api.github.co... | [] | closed | true | null | [] | null | 9 | 2018-07-13T09:49:48Z | 2021-09-01T00:11:42Z | 2018-07-17T22:16:03Z | CONTRIBUTOR | resolved | Fix a few inconsistencies in the doc found while working on [MechanicalSoup](https://github.com/MechanicalSoup/MechanicalSoup/pull/219). | {
"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/4739/reactions"
} | https://api.github.com/repos/psf/requests/issues/4739/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4739.diff",
"html_url": "https://github.com/psf/requests/pull/4739",
"merged_at": "2018-07-17T22:16:03Z",
"patch_url": "https://github.com/psf/requests/pull/4739.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4739"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4739?src=pr&el=h1) Report\n> Merging [#4739](https://codecov.io/gh/requests/requests/pull/4739?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/f6e13ccfc4b50dc458ee374e5dba347205b9a2da?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4738 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4738/labels{/name} | https://api.github.com/repos/psf/requests/issues/4738/comments | https://api.github.com/repos/psf/requests/issues/4738/events | https://github.com/psf/requests/issues/4738 | 340,744,005 | MDU6SXNzdWUzNDA3NDQwMDU= | 4,738 | Add Status Code Constants As A Module | {
"avatar_url": "https://avatars.githubusercontent.com/u/31661703?v=4",
"events_url": "https://api.github.com/users/ndibari-sp/events{/privacy}",
"followers_url": "https://api.github.com/users/ndibari-sp/followers",
"following_url": "https://api.github.com/users/ndibari-sp/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2018-07-12T18:13:17Z | 2021-09-08T01:21:12Z | 2018-07-12T18:15:09Z | NONE | resolved | It would be nice if requests had a module that housed all the possible status codes for an HTTP request in the package. That way users can utilize the constants defined in the module instead of hard coding magic numbers for testing/status code checking/etc. The django rest framework library has a similar feature to thi... | {
"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/4738/reactions"
} | https://api.github.com/repos/psf/requests/issues/4738/timeline | null | completed | null | null | false | [
"`requests.codes`.",
"Thanks @kennethreitz I didn't know that was a thing"
] |
https://api.github.com/repos/psf/requests/issues/4737 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4737/labels{/name} | https://api.github.com/repos/psf/requests/issues/4737/comments | https://api.github.com/repos/psf/requests/issues/4737/events | https://github.com/psf/requests/issues/4737 | 340,689,787 | MDU6SXNzdWUzNDA2ODk3ODc= | 4,737 | no_proxy is not compatible with urls without hostname | {
"avatar_url": "https://avatars.githubusercontent.com/u/7490006?v=4",
"events_url": "https://api.github.com/users/vxgmichel/events{/privacy}",
"followers_url": "https://api.github.com/users/vxgmichel/followers",
"following_url": "https://api.github.com/users/vxgmichel/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 2 | 2018-07-12T15:32:05Z | 2021-09-07T00:06:16Z | 2018-10-01T02:16:21Z | NONE | resolved | The `no_proxy` environment variable causes an exception when a url without a hostname is used.
This happens with conda local file system adapter for instance.
## Reproduction Steps
Consider the following example:
```python
import requests
from requests.models import Response
from requests.adapters import ... | {
"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/4737/reactions"
} | https://api.github.com/repos/psf/requests/issues/4737/timeline | null | completed | null | null | false | [
"Hi @vxgmichel, we have an initial proposal in #4723 to resolve this. We’re still reviewing options to address the problem, but are aiming to have the issue resolved within the next week or so.",
"Resolved with #4723."
] |
https://api.github.com/repos/psf/requests/issues/4736 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4736/labels{/name} | https://api.github.com/repos/psf/requests/issues/4736/comments | https://api.github.com/repos/psf/requests/issues/4736/events | https://github.com/psf/requests/pull/4736 | 340,589,689 | MDExOlB1bGxSZXF1ZXN0MjAwOTY0MDM0 | 4,736 | HTTPAdapter set response.peercert to keep SSL certificate details before connection release | {
"avatar_url": "https://avatars.githubusercontent.com/u/19931768?v=4",
"events_url": "https://api.github.com/users/ZuZuD/events{/privacy}",
"followers_url": "https://api.github.com/users/ZuZuD/followers",
"following_url": "https://api.github.com/users/ZuZuD/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2018-07-12T11:00:04Z | 2021-09-02T00:07:36Z | 2018-08-06T12:48:26Z | NONE | resolved | Hi guys,
To troubleshoot requests queries, I found useful to be able to access the connection SSL certificate details. Once the connection is closed, urllib3 call release_conn() and this information is not available afterwards, therefore I suggest to set a new attribute peercert in Response and set it in the HTTPAda... | {
"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/4736/reactions"
} | https://api.github.com/repos/psf/requests/issues/4736/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4736.diff",
"html_url": "https://github.com/psf/requests/pull/4736",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4736.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4736"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4736?src=pr&el=h1) Report\n> Merging [#4736](https://codecov.io/gh/requests/requests/pull/4736?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/4499401a55dedea27831fd9b3c6249b9679f3a2d?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4735 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4735/labels{/name} | https://api.github.com/repos/psf/requests/issues/4735/comments | https://api.github.com/repos/psf/requests/issues/4735/events | https://github.com/psf/requests/pull/4735 | 340,546,481 | MDExOlB1bGxSZXF1ZXN0MjAwOTMwNjI5 | 4,735 | Add field "last_response" in Session object. | {
"avatar_url": "https://avatars.githubusercontent.com/u/28260580?v=4",
"events_url": "https://api.github.com/users/Sk0fa/events{/privacy}",
"followers_url": "https://api.github.com/users/Sk0fa/followers",
"following_url": "https://api.github.com/users/Sk0fa/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 2 | 2018-07-12T08:53:35Z | 2021-09-02T00:07:39Z | 2018-07-12T13:35:37Z | NONE | resolved | I want to create logger for pytest in my project. And logging last response from session. This field is necessary for me ;) | {
"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/4735/reactions"
} | https://api.github.com/repos/psf/requests/issues/4735/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4735.diff",
"html_url": "https://github.com/psf/requests/pull/4735",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4735.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4735"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4735?src=pr&el=h1) Report\n> Merging [#4735](https://codecov.io/gh/requests/requests/pull/4735?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/4499401a55dedea27831fd9b3c6249b9679f3a2d?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4734 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4734/labels{/name} | https://api.github.com/repos/psf/requests/issues/4734/comments | https://api.github.com/repos/psf/requests/issues/4734/events | https://github.com/psf/requests/issues/4734 | 340,360,788 | MDU6SXNzdWUzNDAzNjA3ODg= | 4,734 | Why does Python not use the system certs? | {
"avatar_url": "https://avatars.githubusercontent.com/u/106150?v=4",
"events_url": "https://api.github.com/users/mark0978/events{/privacy}",
"followers_url": "https://api.github.com/users/mark0978/followers",
"following_url": "https://api.github.com/users/mark0978/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2018-07-11T18:44:09Z | 2021-09-08T01:21:04Z | 2018-08-04T12:40:04Z | NONE | resolved | I've seen https://github.com/requests/requests/issues/4463 but I'm wondering why the system level certs are not used. I know it has "never" done it, but why? Is the problem related to supporting multiple platforms, or is there another reason?
I've just run into a problem where the IT dept was doing a MITM on their... | {
"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/4734/reactions"
} | https://api.github.com/repos/psf/requests/issues/4734/timeline | null | completed | null | null | false | [
"https://github.com/requests/requests/issues/2966"
] |
https://api.github.com/repos/psf/requests/issues/4733 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4733/labels{/name} | https://api.github.com/repos/psf/requests/issues/4733/comments | https://api.github.com/repos/psf/requests/issues/4733/events | https://github.com/psf/requests/pull/4733 | 340,285,635 | MDExOlB1bGxSZXF1ZXN0MjAwNzMzNzg4 | 4,733 | fix cookie management bug | {
"avatar_url": "https://avatars.githubusercontent.com/u/2161266?v=4",
"events_url": "https://api.github.com/users/fx-kirin/events{/privacy}",
"followers_url": "https://api.github.com/users/fx-kirin/followers",
"following_url": "https://api.github.com/users/fx-kirin/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2018-07-11T15:08:46Z | 2023-05-12T00:03:10Z | 2022-05-11T00:26:08Z | NONE | resolved | Even I used custom cookie jar class to manage cookie values, redirecting link only used default `RequestCookieJar` class and it seemed there was not work around. | {
"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/4733/reactions"
} | https://api.github.com/repos/psf/requests/issues/4733/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4733.diff",
"html_url": "https://github.com/psf/requests/pull/4733",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4733.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4733"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4733?src=pr&el=h1) Report\n> Merging [#4733](https://codecov.io/gh/requests/requests/pull/4733?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/4499401a55dedea27831fd9b3c6249b9679f3a2d?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4732 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4732/labels{/name} | https://api.github.com/repos/psf/requests/issues/4732/comments | https://api.github.com/repos/psf/requests/issues/4732/events | https://github.com/psf/requests/issues/4732 | 340,067,854 | MDU6SXNzdWUzNDAwNjc4NTQ= | 4,732 | help.py get a error when i run it alone | {
"avatar_url": "https://avatars.githubusercontent.com/u/13884292?v=4",
"events_url": "https://api.github.com/users/songyingxin/events{/privacy}",
"followers_url": "https://api.github.com/users/songyingxin/followers",
"following_url": "https://api.github.com/users/songyingxin/following{/other_user}",
"gists_u... | [
{
"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 | 3 | 2018-07-11T02:20:06Z | 2021-09-08T01:21:06Z | 2018-08-04T12:30:15Z | NONE | resolved | Summary.
## Expected Result
```
{
"chardet":{
"version":"3.0.4"
},
"cryptography":{
"version":"2.1.4"
},
"idna":{
"version":"2.6"
},
"implementation":{
"name":"CPython",
"version":"3.6.4"
},
"platform":{
"release":"4.15.0-24-generic",
"system":"Linux"
... | {
"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/4732/reactions"
} | https://api.github.com/repos/psf/requests/issues/4732/timeline | null | completed | null | null | false | [
"Hi @songyingxin, it looks like you may have a file named requests.py in your project that is hijacking the namespace we’re expecting. Alternatively, you may have two different versions of requests installed, one of which is older and doesn’t support help.",
"Also, what does \"run it alone\" mean?",
"No informa... |
https://api.github.com/repos/psf/requests/issues/4731 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4731/labels{/name} | https://api.github.com/repos/psf/requests/issues/4731/comments | https://api.github.com/repos/psf/requests/issues/4731/events | https://github.com/psf/requests/issues/4731 | 339,749,987 | MDU6SXNzdWUzMzk3NDk5ODc= | 4,731 | socket.timeout: timed out | {
"avatar_url": "https://avatars.githubusercontent.com/u/38598597?v=4",
"events_url": "https://api.github.com/users/daisywx/events{/privacy}",
"followers_url": "https://api.github.com/users/daisywx/followers",
"following_url": "https://api.github.com/users/daisywx/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2018-07-10T08:52:42Z | 2021-09-08T01:21:13Z | 2018-07-10T09:29:37Z | NONE | resolved | Traceback (most recent call last):
File "E:/Python-Code/crawler/okex/Client.py", line 20, in <module>
print (okcoinSpot.ticker('btc_usdt'))
File "E:\Python-Code\crawler\okex\OkcoinSpotAPI.py", line 19, in ticker
return httpGet(self.__url,TICKER_RESOURCE,params)
File "E:\Python-Code\crawler\okex\HttpM... | {
"avatar_url": "https://avatars.githubusercontent.com/u/38598597?v=4",
"events_url": "https://api.github.com/users/daisywx/events{/privacy}",
"followers_url": "https://api.github.com/users/daisywx/followers",
"following_url": "https://api.github.com/users/daisywx/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/4731/reactions"
} | https://api.github.com/repos/psf/requests/issues/4731/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/4730 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4730/labels{/name} | https://api.github.com/repos/psf/requests/issues/4730/comments | https://api.github.com/repos/psf/requests/issues/4730/events | https://github.com/psf/requests/issues/4730 | 339,479,519 | MDU6SXNzdWUzMzk0Nzk1MTk= | 4,730 | Requests toolbelt HostHeaderSSL Adapter has issues with non-standard ports. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1930065?v=4",
"events_url": "https://api.github.com/users/JohnOmernik/events{/privacy}",
"followers_url": "https://api.github.com/users/JohnOmernik/followers",
"following_url": "https://api.github.com/users/JohnOmernik/following{/other_user}",
"gists_ur... | [] | open | false | null | [] | null | 4 | 2018-07-09T14:43:35Z | 2020-03-26T05:06:12Z | null | NONE | null | Summary.
I've posted this in the requests.toolbelt issues as well as urlib3 issues. My challenge is following what is happening from from requests.toolbelt all the way to urllib3 is beyond my capabilities right now and I am looking for help.
The original issue on requests toolbelt is here:
https://github.com/r... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4730/reactions"
} | https://api.github.com/repos/psf/requests/issues/4730/timeline | null | null | null | null | false | [
"As I posed in urllib3 (I am not sure who owns this issue) \r\n\r\nhttps://github.com/urllib3/urllib3/issues/1411\r\n\r\nBasically the issue is by setting the hostheader to a name, if the webserver provides a 303 redirect, it will use that host, and sessions follows redirects by default. Thus, allow_redirects caus... |
https://api.github.com/repos/psf/requests/issues/4729 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4729/labels{/name} | https://api.github.com/repos/psf/requests/issues/4729/comments | https://api.github.com/repos/psf/requests/issues/4729/events | https://github.com/psf/requests/issues/4729 | 339,472,061 | MDU6SXNzdWUzMzk0NzIwNjE= | 4,729 | Header string values are changed to lower-case even though required to be case-sensitive by RFC-2017 | {
"avatar_url": "https://avatars.githubusercontent.com/u/7488035?v=4",
"events_url": "https://api.github.com/users/klindt/events{/privacy}",
"followers_url": "https://api.github.com/users/klindt/followers",
"following_url": "https://api.github.com/users/klindt/following{/other_user}",
"gists_url": "https://ap... | [
{
"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 | 1 | 2018-07-09T14:25:29Z | 2021-09-08T01:21:08Z | 2018-07-25T15:21:05Z | NONE | resolved | Summary.
To create a redirect resource within a Fedora4 Common repository (https://wiki.duraspace.org/display/FEDORA4x/RESTful+HTTP+API#RESTfulHTTPAPI-external-content) you'll have to use a PUT header involving Content-Type header "message/external-body" (defined in https://tools.ietf.org/html/rfc2017).
Request c... | {
"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/4729/reactions"
} | https://api.github.com/repos/psf/requests/issues/4729/timeline | null | completed | null | null | false | [
"Hi @klindt,\r\n\r\nI don't believe this is the product of Requests. We shouldn't be doing any mutating of the header values, only keys which is allowable for normalization.\r\n\r\nHere's a simple repro showing we maintain the casing:\r\n```python\r\nimport requests\r\n\r\nheaders = {\r\n 'Content-Type': 'messag... |
https://api.github.com/repos/psf/requests/issues/4728 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4728/labels{/name} | https://api.github.com/repos/psf/requests/issues/4728/comments | https://api.github.com/repos/psf/requests/issues/4728/events | https://github.com/psf/requests/pull/4728 | 339,241,646 | MDExOlB1bGxSZXF1ZXN0MTk5OTUxNDY4 | 4,728 | Fix an invalid escape sequence | {
"avatar_url": "https://avatars.githubusercontent.com/u/1937689?v=4",
"events_url": "https://api.github.com/users/yan12125/events{/privacy}",
"followers_url": "https://api.github.com/users/yan12125/followers",
"following_url": "https://api.github.com/users/yan12125/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2018-07-08T17:12:29Z | 2021-09-02T00:07:39Z | 2018-07-09T12:19:50Z | CONTRIBUTOR | resolved | Fix errors like this:
```
$ python -W error -c 'import requests'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/yen/Projects/requests/requests/__init__.py", line 114, in <module>
from .models import Request, Response, PreparedRequest
File "/Users/yen/Projects/reque... | {
"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/4728/reactions"
} | https://api.github.com/repos/psf/requests/issues/4728/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4728.diff",
"html_url": "https://github.com/psf/requests/pull/4728",
"merged_at": "2018-07-09T12:19:50Z",
"patch_url": "https://github.com/psf/requests/pull/4728.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4728"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4728?src=pr&el=h1) Report\n> Merging [#4728](https://codecov.io/gh/requests/requests/pull/4728?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/ef88b9faa6d73bc83a07ddebc424c551d2ee671c?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4727 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4727/labels{/name} | https://api.github.com/repos/psf/requests/issues/4727/comments | https://api.github.com/repos/psf/requests/issues/4727/events | https://github.com/psf/requests/issues/4727 | 339,216,642 | MDU6SXNzdWUzMzkyMTY2NDI= | 4,727 | Which project is prefer to use? | {
"avatar_url": "https://avatars.githubusercontent.com/u/14233969?v=4",
"events_url": "https://api.github.com/users/karambaq/events{/privacy}",
"followers_url": "https://api.github.com/users/karambaq/followers",
"following_url": "https://api.github.com/users/karambaq/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2018-07-08T11:00:25Z | 2021-09-08T01:21:13Z | 2018-07-08T14:16:12Z | NONE | resolved | Hello, which projects is prefer to use? This or requests-html? | {
"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/4727/reactions"
} | https://api.github.com/repos/psf/requests/issues/4727/timeline | null | completed | null | null | false | [
"Hi @karambaq, that’s entirely dependent on your use case. This appears to be a question though, which we would prefer you direct to [StackOverflow](https://stackoveflow.com). This issue tracker is reserved for tracking defects in Requests. Thanks!"
] |
https://api.github.com/repos/psf/requests/issues/4726 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4726/labels{/name} | https://api.github.com/repos/psf/requests/issues/4726/comments | https://api.github.com/repos/psf/requests/issues/4726/events | https://github.com/psf/requests/issues/4726 | 338,944,914 | MDU6SXNzdWUzMzg5NDQ5MTQ= | 4,726 | Session.verify is ignored when REQUESTS_CA_BUNDLE is set in environment | {
"avatar_url": "https://avatars.githubusercontent.com/u/979026?v=4",
"events_url": "https://api.github.com/users/schlenk/events{/privacy}",
"followers_url": "https://api.github.com/users/schlenk/followers",
"following_url": "https://api.github.com/users/schlenk/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2018-07-06T13:43:51Z | 2021-09-08T01:21:14Z | 2018-07-06T16:14:08Z | NONE | resolved | Trying to use a Session object to have a common TLS verify option for a bunch of calls in a CI environment for test with self signed certificates.
This works all right when no environment variable is set, but once REQUESTS_CA_BUNDLE or the equivalent curl var is set up, it fails.
This probably happens due to the ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4726/reactions"
} | https://api.github.com/repos/psf/requests/issues/4726/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates."
] |
https://api.github.com/repos/psf/requests/issues/4725 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4725/labels{/name} | https://api.github.com/repos/psf/requests/issues/4725/comments | https://api.github.com/repos/psf/requests/issues/4725/events | https://github.com/psf/requests/pull/4725 | 338,873,959 | MDExOlB1bGxSZXF1ZXN0MTk5Njk2MzAx | 4,725 | Fix print output of content | {
"avatar_url": "https://avatars.githubusercontent.com/u/29581152?v=4",
"events_url": "https://api.github.com/users/shiveshabhishek/events{/privacy}",
"followers_url": "https://api.github.com/users/shiveshabhishek/followers",
"following_url": "https://api.github.com/users/shiveshabhishek/following{/other_user}"... | [] | closed | true | null | [] | null | 1 | 2018-07-06T09:42:24Z | 2021-09-02T00:07:40Z | 2018-07-06T12:49:34Z | NONE | resolved | -- Removed b at the beginning of printing of content of a response
Fixes to Issue: #4724
Signed-off-by: Shivesh <shankeyshivesh@gmail.com> | {
"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/4725/reactions"
} | https://api.github.com/repos/psf/requests/issues/4725/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4725.diff",
"html_url": "https://github.com/psf/requests/pull/4725",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4725.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4725"
} | true | [
"This is not a fix for #4724"
] |
https://api.github.com/repos/psf/requests/issues/4724 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4724/labels{/name} | https://api.github.com/repos/psf/requests/issues/4724/comments | https://api.github.com/repos/psf/requests/issues/4724/events | https://github.com/psf/requests/issues/4724 | 338,872,166 | MDU6SXNzdWUzMzg4NzIxNjY= | 4,724 | Getting response content starting with b | {
"avatar_url": "https://avatars.githubusercontent.com/u/29581152?v=4",
"events_url": "https://api.github.com/users/shiveshabhishek/events{/privacy}",
"followers_url": "https://api.github.com/users/shiveshabhishek/followers",
"following_url": "https://api.github.com/users/shiveshabhishek/following{/other_user}"... | [] | closed | true | null | [] | null | 2 | 2018-07-06T09:36:50Z | 2021-09-08T01:21:14Z | 2018-07-06T12:50:11Z | NONE | resolved | Summary.
In output of content of a response , it is getting printed with starting as **b**
## Expected Result
No **b** at the starting of output
What you expected.
No **b** at the starting of output
## Actual Result
output without **b** at the beginning
What happened instead.
` returns an empty string for the `hostname` attribute rather than `None`. Either way, the assumption blows up both for `is... | {
"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/4723/reactions"
} | https://api.github.com/repos/psf/requests/issues/4723/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4723.diff",
"html_url": "https://github.com/psf/requests/pull/4723",
"merged_at": "2018-08-13T16:54:33Z",
"patch_url": "https://github.com/psf/requests/pull/4723.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4723"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4723?src=pr&el=h1) Report\n> Merging [#4723](https://codecov.io/gh/requests/requests/pull/4723?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/dffd5d435e2d51958af1ccc9fd5e0f8f9df2fdfe?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4722 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4722/labels{/name} | https://api.github.com/repos/psf/requests/issues/4722/comments | https://api.github.com/repos/psf/requests/issues/4722/events | https://github.com/psf/requests/pull/4722 | 338,364,927 | MDExOlB1bGxSZXF1ZXN0MTk5MzE2MTMz | 4,722 | Fixed pep8 issues in tests/test_help.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/8190677?v=4",
"events_url": "https://api.github.com/users/phanikiranthaticharla/events{/privacy}",
"followers_url": "https://api.github.com/users/phanikiranthaticharla/followers",
"following_url": "https://api.github.com/users/phanikiranthaticharla/follow... | [] | closed | true | null | [] | null | 2 | 2018-07-04T19:51:40Z | 2021-09-02T00:07:40Z | 2018-07-04T23:04:22Z | NONE | resolved | Fixed pep8 issues below:
test_help.py:10:47: E231 missing whitespace after ','
test_help.py:10:80: E501 line too long (83 > 79 characters)
test_help.py:18:42: E231 missing whitespace after ','
test_help.py:38:80: E501 line too long (81 > 79 characters)
| {
"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/4722/reactions"
} | https://api.github.com/repos/psf/requests/issues/4722/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4722.diff",
"html_url": "https://github.com/psf/requests/pull/4722",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4722.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4722"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4722?src=pr&el=h1) Report\n> Merging [#4722](https://codecov.io/gh/requests/requests/pull/4722?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/ef88b9faa6d73bc83a07ddebc424c551d2ee671c?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4721 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4721/labels{/name} | https://api.github.com/repos/psf/requests/issues/4721/comments | https://api.github.com/repos/psf/requests/issues/4721/events | https://github.com/psf/requests/issues/4721 | 338,121,067 | MDU6SXNzdWUzMzgxMjEwNjc= | 4,721 | Session baseUrl? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10343470?v=4",
"events_url": "https://api.github.com/users/NoahCardoza/events{/privacy}",
"followers_url": "https://api.github.com/users/NoahCardoza/followers",
"following_url": "https://api.github.com/users/NoahCardoza/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 4 | 2018-07-04T03:47:51Z | 2018-07-04T19:19:17Z | 2018-07-04T13:31:05Z | NONE | resolved | "Requests is not accepting feature requests at this time." I see.
But really guys, would it be too much to ask to get this implemented into the Sessions? I could submit a PR. Axios and many other libraries support this already, and it comes it really handy.
I know there are workarounds, subclass it and what not b... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4721/reactions"
} | https://api.github.com/repos/psf/requests/issues/4721/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates.",
"I am aware there have been [previous requests](https://github.com/requests/requests/issues/133), but obviously, they *haven't been answered*... Hence me opening a new issue. \r\n\r\nThere wasn't even a discus... |
https://api.github.com/repos/psf/requests/issues/4720 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4720/labels{/name} | https://api.github.com/repos/psf/requests/issues/4720/comments | https://api.github.com/repos/psf/requests/issues/4720/events | https://github.com/psf/requests/issues/4720 | 337,723,799 | MDU6SXNzdWUzMzc3MjM3OTk= | 4,720 | requests get using proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/4375111?v=4",
"events_url": "https://api.github.com/users/wangshuai666/events{/privacy}",
"followers_url": "https://api.github.com/users/wangshuai666/followers",
"following_url": "https://api.github.com/users/wangshuai666/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 0 | 2018-07-03T02:30:29Z | 2021-09-08T01:21:16Z | 2018-07-03T02:57:26Z | NONE | resolved | Summary.
## Expected Result
What you expected.
utils.py proxy = proxies[proxy_key]
proxies is a set
What happened instead.
ip = random.choice(p_list)
proxy = {'http', 'http://{0}:{1}'.format(ip, port)}
req = requests.get(url=target, proxies=proxy)
```python
Traceback (most recent call last):
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4375111?v=4",
"events_url": "https://api.github.com/users/wangshuai666/events{/privacy}",
"followers_url": "https://api.github.com/users/wangshuai666/followers",
"following_url": "https://api.github.com/users/wangshuai666/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/4720/reactions"
} | https://api.github.com/repos/psf/requests/issues/4720/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/4719 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4719/labels{/name} | https://api.github.com/repos/psf/requests/issues/4719/comments | https://api.github.com/repos/psf/requests/issues/4719/events | https://github.com/psf/requests/issues/4719 | 337,562,968 | MDU6SXNzdWUzMzc1NjI5Njg= | 4,719 | Running tests with tarball from PyPi fails due to missing Pipfile | {
"avatar_url": "https://avatars.githubusercontent.com/u/1158848?v=4",
"events_url": "https://api.github.com/users/StefanBruens/events{/privacy}",
"followers_url": "https://api.github.com/users/StefanBruens/followers",
"following_url": "https://api.github.com/users/StefanBruens/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 0 | 2018-07-02T15:22:42Z | 2021-09-08T01:21:12Z | 2018-07-12T18:15:47Z | NONE | resolved | Summary.
## Expected Result
Tests complete successfully
## Actual Result
```
[ 109s] ______________ TestRequests.test_POSTBIN_GET_POST_FILES_WITH_DATA ______________
[ 109s]
[ 109s] self = <tests.test_requests.TestRequests instance at 0xb623c18c>
[ 109s] httpbin = <function inner at 0xb691609c>
[ ... | {
"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/4719/reactions"
} | https://api.github.com/repos/psf/requests/issues/4719/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/4718 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4718/labels{/name} | https://api.github.com/repos/psf/requests/issues/4718/comments | https://api.github.com/repos/psf/requests/issues/4718/events | https://github.com/psf/requests/pull/4718 | 336,654,286 | MDExOlB1bGxSZXF1ZXN0MTk4MDU1NDg3 | 4,718 | Strip Authorization header whenever root URL changes | {
"avatar_url": "https://avatars.githubusercontent.com/u/1963944?v=4",
"events_url": "https://api.github.com/users/bmerry/events{/privacy}",
"followers_url": "https://api.github.com/users/bmerry/followers",
"following_url": "https://api.github.com/users/bmerry/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 16 | 2018-06-28T14:48:34Z | 2021-09-01T00:11:53Z | 2018-09-14T12:08:05Z | CONTRIBUTOR | resolved | Previously the header was stripped only if the hostname changed, but in
an https -> http redirect that can leak the credentials on the wire
(#4716). Based on with RFC 7235 section 2.2, the header is now stripped
if the "canonical root URL" (scheme+authority) has changed.
Closes #4716. | {
"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/4718/reactions"
} | https://api.github.com/repos/psf/requests/issues/4718/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4718.diff",
"html_url": "https://github.com/psf/requests/pull/4718",
"merged_at": "2018-09-14T12:08:05Z",
"patch_url": "https://github.com/psf/requests/pull/4718.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4718"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4718?src=pr&el=h1) Report\n> Merging [#4718](https://codecov.io/gh/requests/requests/pull/4718?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/33b41c7880a02166d12915ca9c4cfc13de2d9fb7?src=pr&el=desc) will **decrease** coverage by... |
https://api.github.com/repos/psf/requests/issues/4717 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4717/labels{/name} | https://api.github.com/repos/psf/requests/issues/4717/comments | https://api.github.com/repos/psf/requests/issues/4717/events | https://github.com/psf/requests/pull/4717 | 336,490,674 | MDExOlB1bGxSZXF1ZXN0MTk3OTI5NDcy | 4,717 | Add official Python 3.7 support | {
"avatar_url": "https://avatars.githubusercontent.com/u/5316833?v=4",
"events_url": "https://api.github.com/users/ericwb/events{/privacy}",
"followers_url": "https://api.github.com/users/ericwb/followers",
"following_url": "https://api.github.com/users/ericwb/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 12 | 2018-06-28T06:32:11Z | 2021-09-02T00:07:35Z | 2018-07-24T14:44:38Z | CONTRIBUTOR | resolved | Python 3.7 was just released [1]. This is a small change to
enable support in requests.
[1] https://docs.python.org/3.7/whatsnew/3.7.html
Signed-off-by: Eric Brown <browne@vmware.com> | {
"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/4717/reactions"
} | https://api.github.com/repos/psf/requests/issues/4717/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4717.diff",
"html_url": "https://github.com/psf/requests/pull/4717",
"merged_at": "2018-07-24T14:44:38Z",
"patch_url": "https://github.com/psf/requests/pull/4717.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4717"
} | true | [
"Travis doesnt' appear to support 3.7 yet: https://travis-ci.org/requests/requests/jobs/397660384",
"Looks like it's being worked: https://github.com/travis-ci/travis-ci/issues/9815",
"I see nothing indicating that it's in progress on Travis' part other than an issue that non-Travis-CI employees are commenting ... |
https://api.github.com/repos/psf/requests/issues/4716 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4716/labels{/name} | https://api.github.com/repos/psf/requests/issues/4716/comments | https://api.github.com/repos/psf/requests/issues/4716/events | https://github.com/psf/requests/issues/4716 | 336,140,577 | MDU6SXNzdWUzMzYxNDA1Nzc= | 4,716 | Should Authorization header be cleared in https -> http redirect? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1963944?v=4",
"events_url": "https://api.github.com/users/bmerry/events{/privacy}",
"followers_url": "https://api.github.com/users/bmerry/followers",
"following_url": "https://api.github.com/users/bmerry/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 4 | 2018-06-27T09:06:49Z | 2021-09-07T00:06:10Z | 2018-09-14T12:08:05Z | CONTRIBUTOR | resolved | This may be considered intentional behaviour (in which case feel free to close this), but if a request is made to an https endpoint with authorization and it redirects to http on the same host, the Authorization header is not stripped and will be exposed on the wire.
## Expected Result
rebuild_auth would strip th... | {
"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/4716/reactions"
} | https://api.github.com/repos/psf/requests/issues/4716/timeline | null | completed | null | null | false | [
"From what I can tell by experiment, Firefox and Chromium treat http and https versions of a site as separate authentication realms, and don't automatically reuse basic credentials on either a redirect or manual browsing between the two. Two http URLs with the same host (localhost) and different port numbers also s... |
https://api.github.com/repos/psf/requests/issues/4715 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4715/labels{/name} | https://api.github.com/repos/psf/requests/issues/4715/comments | https://api.github.com/repos/psf/requests/issues/4715/events | https://github.com/psf/requests/issues/4715 | 336,112,791 | MDU6SXNzdWUzMzYxMTI3OTE= | 4,715 | SessionRedirectMixin.get_redirect_target got an error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 8: invalid continuation byte" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1303581?v=4",
"events_url": "https://api.github.com/users/sumous/events{/privacy}",
"followers_url": "https://api.github.com/users/sumous/followers",
"following_url": "https://api.github.com/users/sumous/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2018-06-27T07:43:32Z | 2021-09-08T01:21:09Z | 2018-07-25T15:20:40Z | NONE | resolved | Summary.
curl -d 'vpsname=111&vpspassword=222' 'http://admin.yunkv.com/vpsadm/selfvpslogin.asp'
works.
When I use python2+, it also works.
```#!/usr/bin/env python2
import requests
import json
data = {'vpsname':'111', 'vppassword':'222'}
url = 'http://admin.yunkv.com/vpsadm/selfvpslogin.asp'
req = requests.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/4715/reactions"
} | https://api.github.com/repos/psf/requests/issues/4715/timeline | null | completed | null | null | false | [
"Hi @sumous,\r\n\r\nThe values you've provided in the example don't include the byte range or sequence from the traceback. My guess is there's a user name or password that's encoded in something other than UTF-8, perhaps ISO-8859-5 or KOI8-R if those are the OS default on your machine. We'd need a more accurate exa... |
https://api.github.com/repos/psf/requests/issues/4714 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4714/labels{/name} | https://api.github.com/repos/psf/requests/issues/4714/comments | https://api.github.com/repos/psf/requests/issues/4714/events | https://github.com/psf/requests/issues/4714 | 336,011,831 | MDU6SXNzdWUzMzYwMTE4MzE= | 4,714 | JSONDecodeError: Expecting value: line 1 column 1 (char 0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/36957166?v=4",
"events_url": "https://api.github.com/users/ikrambennasrbennasr/events{/privacy}",
"followers_url": "https://api.github.com/users/ikrambennasrbennasr/followers",
"following_url": "https://api.github.com/users/ikrambennasrbennasr/following{/... | [] | closed | true | null | [] | null | 2 | 2018-06-26T22:20:08Z | 2021-09-08T01:21:16Z | 2018-06-30T18:42:22Z | NONE | resolved | Hello ; please i run this code :
import json
import requests
url = "http://add_server"
data = json.dumps({'sl':5.84,'sw':3.0,'pl':3.75,'pw':1.1})
r = requests.post(url,data)
print(r.json)
and i get this error :
<bound method Response.json of <Response [500]>>
and when i run this code :
import json
... | {
"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/4714/reactions"
} | https://api.github.com/repos/psf/requests/issues/4714/timeline | null | completed | null | null | false | [
"Hey, I'll address both of the problems.\r\n1. You write `print(r.json)` but `r.json` is a method, so instead you should write `print(r.json())`.\r\n2. I got a little confused with what's going on here, but the thing is that the response is not a valid json (HTTP status code of 500), therefore you can't access `r.j... |
https://api.github.com/repos/psf/requests/issues/4713 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4713/labels{/name} | https://api.github.com/repos/psf/requests/issues/4713/comments | https://api.github.com/repos/psf/requests/issues/4713/events | https://github.com/psf/requests/pull/4713 | 335,950,422 | MDExOlB1bGxSZXF1ZXN0MTk3NTIwMTQw | 4,713 | Misspelled 'proxy' parameter in docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2018-06-26T18:58:55Z | 2021-09-02T00:07:41Z | 2018-06-26T20:32:33Z | CONTRIBUTOR | resolved | The 'proxy' parameter was misspelled as 'proxies' in the docstring. | {
"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/4713/reactions"
} | https://api.github.com/repos/psf/requests/issues/4713/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4713.diff",
"html_url": "https://github.com/psf/requests/pull/4713",
"merged_at": "2018-06-26T20:32:33Z",
"patch_url": "https://github.com/psf/requests/pull/4713.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4713"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4713?src=pr&el=h1) Report\n> Merging [#4713](https://codecov.io/gh/requests/requests/pull/4713?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/9fc639d0306a8068057c9f5bcd34adf5f20fb083?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4712 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4712/labels{/name} | https://api.github.com/repos/psf/requests/issues/4712/comments | https://api.github.com/repos/psf/requests/issues/4712/events | https://github.com/psf/requests/pull/4712 | 335,941,754 | MDExOlB1bGxSZXF1ZXN0MTk3NTEzNTc2 | 4,712 | Remove unused httpbin parameters | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2018-06-26T18:32:35Z | 2021-09-02T00:07:39Z | 2018-07-18T02:39:19Z | CONTRIBUTOR | resolved | httpbin is used to mock HTTP endpoints. In these methods, the parameter goes unused. | {
"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/4712/reactions"
} | https://api.github.com/repos/psf/requests/issues/4712/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4712.diff",
"html_url": "https://github.com/psf/requests/pull/4712",
"merged_at": "2018-07-18T02:39:19Z",
"patch_url": "https://github.com/psf/requests/pull/4712.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4712"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4712?src=pr&el=h1) Report\n> Merging [#4712](https://codecov.io/gh/requests/requests/pull/4712?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/9fc639d0306a8068057c9f5bcd34adf5f20fb083?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4711 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4711/labels{/name} | https://api.github.com/repos/psf/requests/issues/4711/comments | https://api.github.com/repos/psf/requests/issues/4711/events | https://github.com/psf/requests/pull/4711 | 335,913,758 | MDExOlB1bGxSZXF1ZXN0MTk3NDkyMTI5 | 4,711 | Simplify chained comparison | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2018-06-26T17:07:07Z | 2021-09-02T00:07:42Z | 2018-06-26T17:15:17Z | CONTRIBUTOR | resolved | Improve code readability by simplifying logic for a chained comparison. | {
"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/4711/reactions"
} | https://api.github.com/repos/psf/requests/issues/4711/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4711.diff",
"html_url": "https://github.com/psf/requests/pull/4711",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4711.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4711"
} | true | [
"Hi @Stevoisiak, just to reiterate again, if there isn’t a compelling reason to change something that provides noticeable benefit to the user or fixes something wrong in the code, we’re unlikely to accept it. This is a stylistic change that doesn’t really fit that criteria so I believe we’re going to pass on this. ... |
https://api.github.com/repos/psf/requests/issues/4710 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4710/labels{/name} | https://api.github.com/repos/psf/requests/issues/4710/comments | https://api.github.com/repos/psf/requests/issues/4710/events | https://github.com/psf/requests/pull/4710 | 335,902,787 | MDExOlB1bGxSZXF1ZXN0MTk3NDgzODQ5 | 4,710 | Remove unused session variables | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2018-06-26T16:35:25Z | 2021-09-02T00:07:42Z | 2018-06-26T16:50:41Z | CONTRIBUTOR | resolved | Removed local session variables that go unused during testing. | {
"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/4710/reactions"
} | https://api.github.com/repos/psf/requests/issues/4710/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4710.diff",
"html_url": "https://github.com/psf/requests/pull/4710",
"merged_at": "2018-06-26T16:50:41Z",
"patch_url": "https://github.com/psf/requests/pull/4710.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4710"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4710?src=pr&el=h1) Report\n> Merging [#4710](https://codecov.io/gh/requests/requests/pull/4710?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/943a5c8e89db1758ae24adbbedacb3b05c32df4a?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4709 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4709/labels{/name} | https://api.github.com/repos/psf/requests/issues/4709/comments | https://api.github.com/repos/psf/requests/issues/4709/events | https://github.com/psf/requests/pull/4709 | 335,489,081 | MDExOlB1bGxSZXF1ZXN0MTk3MTc1OTM0 | 4,709 | Update max Twitter characters to 280 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2018-06-25T16:56:33Z | 2021-09-02T00:07:43Z | 2018-06-25T18:11:40Z | CONTRIBUTOR | resolved | Twitter expanded the maximum character count per tweet from 140 to 280 in November 2017. | {
"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/4709/reactions"
} | https://api.github.com/repos/psf/requests/issues/4709/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4709.diff",
"html_url": "https://github.com/psf/requests/pull/4709",
"merged_at": "2018-06-25T18:11:40Z",
"patch_url": "https://github.com/psf/requests/pull/4709.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4709"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4709?src=pr&el=h1) Report\n> Merging [#4709](https://codecov.io/gh/requests/requests/pull/4709?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/d79187143ffa8e05a6cfb518b949954e1208bdfe?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4708 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4708/labels{/name} | https://api.github.com/repos/psf/requests/issues/4708/comments | https://api.github.com/repos/psf/requests/issues/4708/events | https://github.com/psf/requests/pull/4708 | 335,464,653 | MDExOlB1bGxSZXF1ZXN0MTk3MTU3MTY2 | 4,708 | Change "StackOverflow" to "Stack Overflow" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 0 | 2018-06-25T15:46:48Z | 2021-08-31T00:07:21Z | 2018-06-25T15:48:06Z | CONTRIBUTOR | resolved | Add a missing space when referring to [Stack Overflow](https://stackoverflow.com). | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4708/reactions"
} | https://api.github.com/repos/psf/requests/issues/4708/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4708.diff",
"html_url": "https://github.com/psf/requests/pull/4708",
"merged_at": "2018-06-25T15:48:05Z",
"patch_url": "https://github.com/psf/requests/pull/4708.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4708"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/4707 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4707/labels{/name} | https://api.github.com/repos/psf/requests/issues/4707/comments | https://api.github.com/repos/psf/requests/issues/4707/events | https://github.com/psf/requests/pull/4707 | 335,107,136 | MDExOlB1bGxSZXF1ZXN0MTk2OTA2MTI5 | 4,707 | Add SemVer stability badge to README | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144873?v=4",
"events_url": "https://api.github.com/users/greysteil/events{/privacy}",
"followers_url": "https://api.github.com/users/greysteil/followers",
"following_url": "https://api.github.com/users/greysteil/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 7 | 2018-06-23T15:02:21Z | 2021-09-02T00:07:41Z | 2018-07-04T19:31:04Z | CONTRIBUTOR | resolved | First of all, thanks for Requests!
Would you be up for adding a badge that shows how SemVer compliant / bug free new releases are? I was looking through the data we gather at Dependabot and realised we could put one together, so threw together the below:
[ Report\n> Merging [#4707](https://codecov.io/gh/requests/requests/pull/4707?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/cd97ce90ba04156a4aae2fd05aa22c790bec1a5c?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4706 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4706/labels{/name} | https://api.github.com/repos/psf/requests/issues/4706/comments | https://api.github.com/repos/psf/requests/issues/4706/events | https://github.com/psf/requests/issues/4706 | 334,858,197 | MDU6SXNzdWUzMzQ4NTgxOTc= | 4,706 | SSLError when using requests.session | {
"avatar_url": "https://avatars.githubusercontent.com/u/567893?v=4",
"events_url": "https://api.github.com/users/masoom/events{/privacy}",
"followers_url": "https://api.github.com/users/masoom/followers",
"following_url": "https://api.github.com/users/masoom/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2018-06-22T12:20:02Z | 2021-09-08T01:21:04Z | 2018-08-04T12:41:41Z | NONE | resolved | Summary.
Getting a SSLError while using requests.session to send a POST Request. OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to dev.domain.nl:443
When using requests sessions to connect to a https url , requests throws a SSLError
Some background
- I have not added any certificates
- The project works... | {
"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/4706/reactions"
} | https://api.github.com/repos/psf/requests/issues/4706/timeline | null | completed | null | null | false | [
"@Lukasa Do you think you can help me? :) ",
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\r\n\r\n-... |
https://api.github.com/repos/psf/requests/issues/4705 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4705/labels{/name} | https://api.github.com/repos/psf/requests/issues/4705/comments | https://api.github.com/repos/psf/requests/issues/4705/events | https://github.com/psf/requests/pull/4705 | 334,653,109 | MDExOlB1bGxSZXF1ZXN0MTk2NTcyMTc2 | 4,705 | Remove test for Python 2.6 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2018-06-21T20:52:08Z | 2021-09-02T00:07:44Z | 2018-06-21T21:00:54Z | CONTRIBUTOR | resolved | Requests does not officially support 2.6, meaning this test is no longer needed. | {
"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/4705/reactions"
} | https://api.github.com/repos/psf/requests/issues/4705/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4705.diff",
"html_url": "https://github.com/psf/requests/pull/4705",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4705.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4705"
} | true | [
"Even if we don’t actively support 2.6 anymore, we don’t need to remove visibility on issues or intentionally break 2.6 at this time. We’ve intentionally deferred removing 2.6 specific code until the Requests 3.0 release."
] |
https://api.github.com/repos/psf/requests/issues/4704 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4704/labels{/name} | https://api.github.com/repos/psf/requests/issues/4704/comments | https://api.github.com/repos/psf/requests/issues/4704/events | https://github.com/psf/requests/pull/4704 | 334,648,283 | MDExOlB1bGxSZXF1ZXN0MTk2NTY4NTQz | 4,704 | Don't use depreciated `session()` method | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 3 | 2018-06-21T20:37:34Z | 2021-09-02T00:07:35Z | 2018-08-11T18:27:49Z | CONTRIBUTOR | resolved | - References to depreciated method `session()` now initialize `Session()` directly.
- Added test for depreciated `session()` method. | {
"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/4704/reactions"
} | https://api.github.com/repos/psf/requests/issues/4704/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4704.diff",
"html_url": "https://github.com/psf/requests/pull/4704",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4704.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4704"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4704?src=pr&el=h1) Report\n> Merging [#4704](https://codecov.io/gh/requests/requests/pull/4704?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/cd97ce90ba04156a4aae2fd05aa22c790bec1a5c?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4703 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4703/labels{/name} | https://api.github.com/repos/psf/requests/issues/4703/comments | https://api.github.com/repos/psf/requests/issues/4703/events | https://github.com/psf/requests/issues/4703 | 334,345,512 | MDU6SXNzdWUzMzQzNDU1MTI= | 4,703 | OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF') error for Visual Recognition Watson API | {
"avatar_url": "https://avatars.githubusercontent.com/u/39694460?v=4",
"events_url": "https://api.github.com/users/abhishekkumar123090/events{/privacy}",
"followers_url": "https://api.github.com/users/abhishekkumar123090/followers",
"following_url": "https://api.github.com/users/abhishekkumar123090/following{/... | [] | closed | true | null | [] | null | 1 | 2018-06-21T05:38:03Z | 2021-09-08T01:21:18Z | 2018-06-21T13:42:14Z | NONE | resolved | Traceback (most recent call last):
File "C:\Users\Asus\AppData\Local\Programs\Python\Python36\lib\site-packages\urllib3\contrib\pyopenssl.py", line 304, in _send_until_done
return self.connection.send(data)
File "C:\Users\Asus\AppData\Local\Programs\Python\Python36\lib\site-packages\OpenSSL\SSL.py", line 172... | {
"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/4703/reactions"
} | https://api.github.com/repos/psf/requests/issues/4703/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\r\n\r\nThis is not a bug. The remote server is closing ... |
https://api.github.com/repos/psf/requests/issues/4702 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4702/labels{/name} | https://api.github.com/repos/psf/requests/issues/4702/comments | https://api.github.com/repos/psf/requests/issues/4702/events | https://github.com/psf/requests/issues/4702 | 334,320,253 | MDU6SXNzdWUzMzQzMjAyNTM= | 4,702 | response.json() is failing enconding for non ascii characters | {
"avatar_url": "https://avatars.githubusercontent.com/u/12054748?v=4",
"events_url": "https://api.github.com/users/maufonfa/events{/privacy}",
"followers_url": "https://api.github.com/users/maufonfa/followers",
"following_url": "https://api.github.com/users/maufonfa/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2018-06-21T03:01:41Z | 2021-09-08T01:21:17Z | 2018-06-21T13:43:58Z | NONE | resolved | Summary.
I'm executing a simple GET request with a list of data. But the .json() fails because there's a non ascii character and it can't encode it.
## Expected Result
[
{
"key": "value"
}
]
## Actual Result
*** UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 329: ordi... | {
"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/4702/reactions"
} | https://api.github.com/repos/psf/requests/issues/4702/timeline | null | completed | null | null | false | [
"Requests uses the standard `json` library. Your alternative here is to do\r\n\r\n```py\r\njson.loads(response.text)\r\n```\r\n\r\nThat should exhibit exactly the same problem. This is not a bug in requests. Note that the `json()` method on a `Response` allows you to pass in extra keyword arguments. Those correspon... |
https://api.github.com/repos/psf/requests/issues/4701 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4701/labels{/name} | https://api.github.com/repos/psf/requests/issues/4701/comments | https://api.github.com/repos/psf/requests/issues/4701/events | https://github.com/psf/requests/pull/4701 | 334,216,936 | MDExOlB1bGxSZXF1ZXN0MTk2MjQ3NDk3 | 4,701 | Documentation and tests for form-encoded multivalued elements as lists | {
"avatar_url": "https://avatars.githubusercontent.com/u/13725?v=4",
"events_url": "https://api.github.com/users/akaihola/events{/privacy}",
"followers_url": "https://api.github.com/users/akaihola/followers",
"following_url": "https://api.github.com/users/akaihola/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 3 | 2018-06-20T19:26:18Z | 2021-09-02T00:07:38Z | 2018-07-20T16:56:29Z | NONE | 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/4701/reactions"
} | https://api.github.com/repos/psf/requests/issues/4701/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4701.diff",
"html_url": "https://github.com/psf/requests/pull/4701",
"merged_at": "2018-07-20T16:56:28Z",
"patch_url": "https://github.com/psf/requests/pull/4701.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4701"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4701?src=pr&el=h1) Report\n> Merging [#4701](https://codecov.io/gh/requests/requests/pull/4701?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/4d51e6d20179bdc906c45506c0817b6b677589ae?src=pr&el=desc) will **not change** coverage.... | |
https://api.github.com/repos/psf/requests/issues/4700 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4700/labels{/name} | https://api.github.com/repos/psf/requests/issues/4700/comments | https://api.github.com/repos/psf/requests/issues/4700/events | https://github.com/psf/requests/issues/4700 | 334,208,974 | MDU6SXNzdWUzMzQyMDg5NzQ= | 4,700 | Multivalued `data=` works when given as a list, but is not documented nor tested | {
"avatar_url": "https://avatars.githubusercontent.com/u/13725?v=4",
"events_url": "https://api.github.com/users/akaihola/events{/privacy}",
"followers_url": "https://api.github.com/users/akaihola/followers",
"following_url": "https://api.github.com/users/akaihola/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2018-06-20T19:00:42Z | 2021-09-08T01:21:10Z | 2018-07-20T16:57:21Z | NONE | resolved | For the `params=` request argument, [the documentation](http://docs.python-requests.org/en/master/user/quickstart/#passing-parameters-in-urls) explains how multivalued query parameters can be expressed as lists in the dictionary:
>You can also pass a list of items as a value:
>```python
>>>> payload = {'key1': 'va... | {
"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/4700/reactions"
} | https://api.github.com/repos/psf/requests/issues/4700/timeline | null | completed | null | null | false | [
"Resolved in #4701."
] |
https://api.github.com/repos/psf/requests/issues/4699 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4699/labels{/name} | https://api.github.com/repos/psf/requests/issues/4699/comments | https://api.github.com/repos/psf/requests/issues/4699/events | https://github.com/psf/requests/pull/4699 | 334,198,976 | MDExOlB1bGxSZXF1ZXN0MTk2MjMzODEw | 4,699 | Test multi-class inheritance for BaseAdapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 2 | 2018-06-20T18:29:16Z | 2021-09-02T00:07:44Z | 2018-06-21T02:43:30Z | CONTRIBUTOR | resolved | Ensure that `BaseAdapter` supports multi-class inheritance. This means a subclass of `BaseAdapter` will invoke all parent classes when inheriting from multiple classes.
See: https://github.com/requests/requests/pull/4697#issuecomment-398814166
class BaseAdapter(object): # pass
def __init__(self):
... | {
"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/4699/reactions"
} | https://api.github.com/repos/psf/requests/issues/4699/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4699.diff",
"html_url": "https://github.com/psf/requests/pull/4699",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4699.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4699"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4699?src=pr&el=h1) Report\n> Merging [#4699](https://codecov.io/gh/requests/requests/pull/4699?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/883caaf145fbe93bd0d208a6b864de9146087312?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4698 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4698/labels{/name} | https://api.github.com/repos/psf/requests/issues/4698/comments | https://api.github.com/repos/psf/requests/issues/4698/events | https://github.com/psf/requests/pull/4698 | 333,941,376 | MDExOlB1bGxSZXF1ZXN0MTk2MDM0NDM3 | 4,698 | Issue #4690: Fixing problems when you post something like {'some-var':None} | {
"avatar_url": "https://avatars.githubusercontent.com/u/545094?v=4",
"events_url": "https://api.github.com/users/jion/events{/privacy}",
"followers_url": "https://api.github.com/users/jion/followers",
"following_url": "https://api.github.com/users/jion/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 0 | 2018-06-20T06:33:39Z | 2021-09-02T00:07:41Z | 2018-07-02T20:45:51Z | NONE | resolved | In #4690, an scenario is provided where if you make a post using as `data` a dictionary with empty values, the request library will treat this post as a chunked request. (More detail explanaition in my comment in the issue)
This PR fix that problem, creating the encoded data first to check if there is really data to... | {
"avatar_url": "https://avatars.githubusercontent.com/u/545094?v=4",
"events_url": "https://api.github.com/users/jion/events{/privacy}",
"followers_url": "https://api.github.com/users/jion/followers",
"following_url": "https://api.github.com/users/jion/following{/other_user}",
"gists_url": "https://api.githu... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4698/reactions"
} | https://api.github.com/repos/psf/requests/issues/4698/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4698.diff",
"html_url": "https://github.com/psf/requests/pull/4698",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4698.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4698"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/4697 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4697/labels{/name} | https://api.github.com/repos/psf/requests/issues/4697/comments | https://api.github.com/repos/psf/requests/issues/4697/events | https://github.com/psf/requests/pull/4697 | 333,798,976 | MDExOlB1bGxSZXF1ZXN0MTk1OTI2ODU4 | 4,697 | Remove redundant __init__ for BaseAdapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 8 | 2018-06-19T19:02:10Z | 2018-06-26T14:50:10Z | 2018-06-19T19:43:27Z | CONTRIBUTOR | resolved | `BaseAdapter.__init__()` overrides the default `__init__` method in an unnecessary way. Pylint classifies this code with `useless-super-delegation`.
> `useless-super-delegation` [is] used whenever we can detect that an
> overridden method is useless, relying on `super()` delegation to do the
> same thing as anothe... | {
"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/4697/reactions"
} | https://api.github.com/repos/psf/requests/issues/4697/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4697.diff",
"html_url": "https://github.com/psf/requests/pull/4697",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4697.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4697"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4697?src=pr&el=h1) Report\n> Merging [#4697](https://codecov.io/gh/requests/requests/pull/4697?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/883caaf145fbe93bd0d208a6b864de9146087312?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4696 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4696/labels{/name} | https://api.github.com/repos/psf/requests/issues/4696/comments | https://api.github.com/repos/psf/requests/issues/4696/events | https://github.com/psf/requests/pull/4696 | 333,756,796 | MDExOlB1bGxSZXF1ZXN0MTk1ODk0MDI0 | 4,696 | Ignore '.idea' folder (PyCharm Settings) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 2 | 2018-06-19T16:54:56Z | 2021-09-02T00:07:45Z | 2018-06-19T17:39:38Z | CONTRIBUTOR | resolved | When a project is opened in PyCharm, a '.idea' folder is automatically created to store user-specific settings. This can be safely ignored.
See https://rider-support.jetbrains.com/hc/en-us/articles/207097529-What-is-the-idea-folder- | {
"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/4696/reactions"
} | https://api.github.com/repos/psf/requests/issues/4696/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4696.diff",
"html_url": "https://github.com/psf/requests/pull/4696",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4696.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4696"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4696?src=pr&el=h1) Report\n> Merging [#4696](https://codecov.io/gh/requests/requests/pull/4696?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/883caaf145fbe93bd0d208a6b864de9146087312?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4695 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4695/labels{/name} | https://api.github.com/repos/psf/requests/issues/4695/comments | https://api.github.com/repos/psf/requests/issues/4695/events | https://github.com/psf/requests/issues/4695 | 333,615,116 | MDU6SXNzdWUzMzM2MTUxMTY= | 4,695 | Documentation for response.json() wrong | {
"avatar_url": "https://avatars.githubusercontent.com/u/4580051?v=4",
"events_url": "https://api.github.com/users/l0rb/events{/privacy}",
"followers_url": "https://api.github.com/users/l0rb/followers",
"following_url": "https://api.github.com/users/l0rb/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 1 | 2018-06-19T10:39:30Z | 2021-09-08T01:21:20Z | 2018-06-19T14:05:21Z | NONE | resolved | ## Summary
When calling response.json() on a response where the content is not valid json a JSONDecodeError bubbles up from the json library, although the documentation claims a ValueError should occur for that
## Expected Result
ValueError
## Actual Result
JSONDecodeError
## Reproduction Steps
```... | {
"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/4695/reactions"
} | https://api.github.com/repos/psf/requests/issues/4695/timeline | null | completed | null | null | false | [
"Hi @l0rb,\r\n\r\n`JSONDecodeError` is a subclass of `ValueError`. It will be returned by the `json` module response in Python3 in some cases, but doesn't exist in Python2. For code compatible across both versions, or Python 3 code that's compatible in all cases, you'd want to be excepting the `ValueError`."
] |
https://api.github.com/repos/psf/requests/issues/4694 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4694/labels{/name} | https://api.github.com/repos/psf/requests/issues/4694/comments | https://api.github.com/repos/psf/requests/issues/4694/events | https://github.com/psf/requests/issues/4694 | 333,612,618 | MDU6SXNzdWUzMzM2MTI2MTg= | 4,694 | Getting size of performed request | {
"avatar_url": "https://avatars.githubusercontent.com/u/1589986?v=4",
"events_url": "https://api.github.com/users/pbaranski/events{/privacy}",
"followers_url": "https://api.github.com/users/pbaranski/followers",
"following_url": "https://api.github.com/users/pbaranski/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 2 | 2018-06-19T10:31:58Z | 2021-09-08T01:21:18Z | 2018-06-19T14:31:41Z | NONE | resolved | I want to find out what is the size of performed request - is it possible in requests library?
## Expected Result
in my dreams:
```
response.request.size()
```
## Actual Result
not apply
## Reproduction Steps
What I should consider manually computing this value. Header, querystring, body (if appl... | {
"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/4694/reactions"
} | https://api.github.com/repos/psf/requests/issues/4694/timeline | null | completed | null | null | false | [
"Hi @pbaranski,\r\n\r\nRequests is in a feature freeze, so I don't know if we'd introduce a `size()` method to the `Request` object.\r\n\r\nIf your definition of \"size\" is bytes sent over the wire, I'm not sure that `sys.getsizeof(response.request)` expresses that. You can find the definition/layout of an http me... |
https://api.github.com/repos/psf/requests/issues/4693 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4693/labels{/name} | https://api.github.com/repos/psf/requests/issues/4693/comments | https://api.github.com/repos/psf/requests/issues/4693/events | https://github.com/psf/requests/issues/4693 | 333,568,122 | MDU6SXNzdWUzMzM1NjgxMjI= | 4,693 | Backslash char in Unicode encoded characters becomes a double backslash | {
"avatar_url": "https://avatars.githubusercontent.com/u/77923?v=4",
"events_url": "https://api.github.com/users/ringods/events{/privacy}",
"followers_url": "https://api.github.com/users/ringods/followers",
"following_url": "https://api.github.com/users/ringods/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2018-06-19T08:26:32Z | 2021-09-08T01:21:20Z | 2018-06-19T10:44:46Z | NONE | resolved | We have an application which returns JSON responses. In such a response document, some string values could have encoded Unicode characters like `\u003C` (<) or `\u003E` (>). But `requests` seems to "process" this return value.
## Expected Result
Simplified version of my response JSON:
```
{ "key": "\u003CSome... | {
"avatar_url": "https://avatars.githubusercontent.com/u/77923?v=4",
"events_url": "https://api.github.com/users/ringods/events{/privacy}",
"followers_url": "https://api.github.com/users/ringods/followers",
"following_url": "https://api.github.com/users/ringods/following{/other_user}",
"gists_url": "https://a... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4693/reactions"
} | https://api.github.com/repos/psf/requests/issues/4693/timeline | null | completed | null | null | false | [
"well, that's not requests's fault, that's because you `print` it out, python escape that if you print it.\r\njust write the content to file and you will get what you want.",
"@AndCycle thanks for putting me on the right track.\r\n\r\nFirst of all, I find it very confusing that Python prints the double escaped ve... |
https://api.github.com/repos/psf/requests/issues/4692 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4692/labels{/name} | https://api.github.com/repos/psf/requests/issues/4692/comments | https://api.github.com/repos/psf/requests/issues/4692/events | https://github.com/psf/requests/issues/4692 | 333,501,758 | MDU6SXNzdWUzMzM1MDE3NTg= | 4,692 | `RequestException` does not contain `request` as a field in some situation. | {
"avatar_url": "https://avatars.githubusercontent.com/u/13601247?v=4",
"events_url": "https://api.github.com/users/dong-zeyu/events{/privacy}",
"followers_url": "https://api.github.com/users/dong-zeyu/followers",
"following_url": "https://api.github.com/users/dong-zeyu/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 2 | 2018-06-19T02:55:12Z | 2022-05-03T17:11:18Z | 2022-02-02T17:09:35Z | NONE | resolved | `RequestException` does not contain `request` as a field in some situation.
## Expected Result
A `RequestException` (or its subclass) should contain a field named `request` if possible.
## Actual Result
I did not see any in
https://github.com/requests/requests/blob/883caaf145fbe93bd0d208a6b864de91460873... | {
"avatar_url": "https://avatars.githubusercontent.com/u/13601247?v=4",
"events_url": "https://api.github.com/users/dong-zeyu/events{/privacy}",
"followers_url": "https://api.github.com/users/dong-zeyu/followers",
"following_url": "https://api.github.com/users/dong-zeyu/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/4692/reactions"
} | https://api.github.com/repos/psf/requests/issues/4692/timeline | null | completed | null | null | false | [
"We omit it in these cases as you have a `response` which has `response.request` so if you're iterating over content you have the request that you can munge yourself if you're handling exceptions close to that response.\r\n\r\nOn top of that, those really aren't specific to a request as it is. Those happen after th... |
https://api.github.com/repos/psf/requests/issues/4691 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4691/labels{/name} | https://api.github.com/repos/psf/requests/issues/4691/comments | https://api.github.com/repos/psf/requests/issues/4691/events | https://github.com/psf/requests/issues/4691 | 333,497,921 | MDU6SXNzdWUzMzM0OTc5MjE= | 4,691 | Multiple POST requests, second request gets a 404 error code | {
"avatar_url": "https://avatars.githubusercontent.com/u/28879144?v=4",
"events_url": "https://api.github.com/users/nwadeit/events{/privacy}",
"followers_url": "https://api.github.com/users/nwadeit/followers",
"following_url": "https://api.github.com/users/nwadeit/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 3 | 2018-06-19T02:29:53Z | 2021-09-08T01:21:19Z | 2018-06-19T02:44:15Z | NONE | resolved | Hello, I am new to python and am having this same issue. I am trying to authenticate to a website that redirects you to a security question after the initial login. Both the initial login and subsequent page use the same "action URL" and on the second post request I am receiving a 404, here is my code, any help would b... | {
"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/4691/reactions"
} | https://api.github.com/repos/psf/requests/issues/4691/timeline | null | completed | null | null | false | [
"Hi @mwadiet,\r\n\r\nThis looks like it’s a request for help rather than a report of a defect in Requests. What you’re describing is a behavior of the server which isn’t related to Requests. If you open a question on [StackOverflow](https://stackoverflow.com), you should be able to get some guidance on how to appro... |
https://api.github.com/repos/psf/requests/issues/4690 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4690/labels{/name} | https://api.github.com/repos/psf/requests/issues/4690/comments | https://api.github.com/repos/psf/requests/issues/4690/events | https://github.com/psf/requests/issues/4690 | 332,869,943 | MDU6SXNzdWUzMzI4Njk5NDM= | 4,690 | Request with single form parameter evaluating to `None` duplicates `Host` headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/472488?v=4",
"events_url": "https://api.github.com/users/pirogoeth/events{/privacy}",
"followers_url": "https://api.github.com/users/pirogoeth/followers",
"following_url": "https://api.github.com/users/pirogoeth/following{/other_user}",
"gists_url": "ht... | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 3 | 2018-06-15T18:15:30Z | 2024-05-20T14:37:11Z | 2024-05-20T14:37:11Z | NONE | null | Somehow, performing a `POST` request where the body is encoded as `application/x-www-form-urlencoded` with the body containing a single field which evaluates to `None` (a la `{'param': None}`) submits a request containing *two* `Host` headers, one of which is the provided override and the other which is built from the ... | {
"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/4690/reactions"
} | https://api.github.com/repos/psf/requests/issues/4690/timeline | null | completed | null | null | false | [
"Problem is that when you put `{'some_value': None}` in the data parameter, the body of the prepared request (made by the request library from your input data) is filled with `''` (empty string) and also not 'ContentLength' pair is added in its header dictionary:\r\n\r\n| How you fill your post data | `prepared_req... |
https://api.github.com/repos/psf/requests/issues/4689 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4689/labels{/name} | https://api.github.com/repos/psf/requests/issues/4689/comments | https://api.github.com/repos/psf/requests/issues/4689/events | https://github.com/psf/requests/issues/4689 | 332,825,374 | MDU6SXNzdWUzMzI4MjUzNzQ= | 4,689 | requests.get is very slow while fetching websites | {
"avatar_url": "https://avatars.githubusercontent.com/u/24193921?v=4",
"events_url": "https://api.github.com/users/statnihilist/events{/privacy}",
"followers_url": "https://api.github.com/users/statnihilist/followers",
"following_url": "https://api.github.com/users/statnihilist/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 2 | 2018-06-15T15:46:21Z | 2021-09-08T01:21:21Z | 2018-06-15T17:26:04Z | NONE | resolved | I am trying to build a simple terminal app to search stuff online through the terminal.
When I submit get requests through the library, I get very large wall times. I can't seem to pinpoint the problem.
Its fast when I directly type into the browser.
 is taking less than 1/5th of a second. The rest of that time would appear to be coming from the network time. Unfortunately, we are ... |
https://api.github.com/repos/psf/requests/issues/4688 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4688/labels{/name} | https://api.github.com/repos/psf/requests/issues/4688/comments | https://api.github.com/repos/psf/requests/issues/4688/events | https://github.com/psf/requests/issues/4688 | 332,777,031 | MDU6SXNzdWUzMzI3NzcwMzE= | 4,688 | Set-Cookie header sets cookie in response but not session | {
"avatar_url": "https://avatars.githubusercontent.com/u/3901743?v=4",
"events_url": "https://api.github.com/users/Audace/events{/privacy}",
"followers_url": "https://api.github.com/users/Audace/followers",
"following_url": "https://api.github.com/users/Audace/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 6 | 2018-06-15T13:39:43Z | 2021-09-08T01:21:21Z | 2018-06-15T15:23:16Z | NONE | resolved | When requesting a resource that responds with a `Set-Cookie` header, the `response.cookies` returns a `RequestsCookierJar` with the cookies set in the header, however, the `session.cookies` returns an empty `RequestsCookieJar`.
## Expected Result
When requesting a resource that responds with the following headers... | {
"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/4688/reactions"
} | https://api.github.com/repos/psf/requests/issues/4688/timeline | null | completed | null | null | false | [
"Hey again @Audace, I put together a little more in depth test. Using the headers you've provided, we can still see the cookie being set on both `Session` and `Response`. We're going to need to see a few things.\r\n* The exact headers you're being sent.\r\n* What platform/server stack they're being generated on.\r\... |
https://api.github.com/repos/psf/requests/issues/4687 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4687/labels{/name} | https://api.github.com/repos/psf/requests/issues/4687/comments | https://api.github.com/repos/psf/requests/issues/4687/events | https://github.com/psf/requests/issues/4687 | 332,556,014 | MDU6SXNzdWUzMzI1NTYwMTQ= | 4,687 | Response.content is wasteful in time and memory for large inputs | {
"avatar_url": "https://avatars.githubusercontent.com/u/7489847?v=4",
"events_url": "https://api.github.com/users/tzickel/events{/privacy}",
"followers_url": "https://api.github.com/users/tzickel/followers",
"following_url": "https://api.github.com/users/tzickel/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 2 | 2018-06-14T20:39:24Z | 2018-06-16T17:01:14Z | null | NONE | null | https://github.com/requests/requests/blob/883caaf145fbe93bd0d208a6b864de9146087312/requests/models.py#L827
iter chunk is 10K, let's say we have binary content that is about 10MB, the .join first converts the iter_content to a list of 1000 items of 10K each (if it's not chunked), then it creates a new large 10MB stri... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4687/reactions"
} | https://api.github.com/repos/psf/requests/issues/4687/timeline | null | null | null | null | false | [
"Thanks for taking the time start this discussion, @tzickel! My initial thoughts here are mostly about usability and expectations around Requests' API. We deal predominantly in byte strings and strings when handling data. Implementing the suggested change would break that, and converting the `bytesarray` back to `b... |
https://api.github.com/repos/psf/requests/issues/4686 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4686/labels{/name} | https://api.github.com/repos/psf/requests/issues/4686/comments | https://api.github.com/repos/psf/requests/issues/4686/events | https://github.com/psf/requests/issues/4686 | 332,227,389 | MDU6SXNzdWUzMzIyMjczODk= | 4,686 | requests.exceptions.RequestException can't catch urllib3.exceptions.ReadTimeoutError | {
"avatar_url": "https://avatars.githubusercontent.com/u/7598892?v=4",
"events_url": "https://api.github.com/users/beruhan/events{/privacy}",
"followers_url": "https://api.github.com/users/beruhan/followers",
"following_url": "https://api.github.com/users/beruhan/following{/other_user}",
"gists_url": "https:/... | [
{
"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 | 3 | 2018-06-14T02:17:12Z | 2021-09-08T01:21:21Z | 2018-06-15T01:32:39Z | NONE | resolved | I used RequestException catch requests.get exception,But I found it can't catch ReadTimeoutError in urllib3,How can I catch exception raised by 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/4686/reactions"
} | https://api.github.com/repos/psf/requests/issues/4686/timeline | null | completed | null | null | false | [
"Hi @beruhan, [a quick glance](https://github.com/requests/requests/blob/2530323faf576def7f3f5bde636962c23f4b187f/requests/adapters.py#L525-L526) suggests we should be catching this and raising a `ReadTimeout` from the requests namespace.\r\n\r\nWould you mind providing the information originally requested with the... |
https://api.github.com/repos/psf/requests/issues/4685 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4685/labels{/name} | https://api.github.com/repos/psf/requests/issues/4685/comments | https://api.github.com/repos/psf/requests/issues/4685/events | https://github.com/psf/requests/pull/4685 | 332,076,587 | MDExOlB1bGxSZXF1ZXN0MTk0NjQ4ODY0 | 4,685 | Note that session() should not be used | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330770?v=4",
"events_url": "https://api.github.com/users/Stevoisiak/events{/privacy}",
"followers_url": "https://api.github.com/users/Stevoisiak/followers",
"following_url": "https://api.github.com/users/Stevoisiak/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 11 | 2018-06-13T16:43:14Z | 2021-09-02T00:07:44Z | 2018-06-21T19:09:06Z | CONTRIBUTOR | resolved | According to requests/api.rst, the `Session` class was originally named session in 0.x. [When the class name was capitalized in 1.x](https://github.com/requests/requests/blob/265ef609d5903151374fba480aa81aafe68126ff/docs/api.rst#migrating-to-1x), the `session()` method was added for backwards compatibility.
This add... | {
"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/4685/reactions"
} | https://api.github.com/repos/psf/requests/issues/4685/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4685.diff",
"html_url": "https://github.com/psf/requests/pull/4685",
"merged_at": "2018-06-21T19:09:06Z",
"patch_url": "https://github.com/psf/requests/pull/4685.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4685"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4685?src=pr&el=h1) Report\n> Merging [#4685](https://codecov.io/gh/requests/requests/pull/4685?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/883caaf145fbe93bd0d208a6b864de9146087312?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4684 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4684/labels{/name} | https://api.github.com/repos/psf/requests/issues/4684/comments | https://api.github.com/repos/psf/requests/issues/4684/events | https://github.com/psf/requests/issues/4684 | 331,896,237 | MDU6SXNzdWUzMzE4OTYyMzc= | 4,684 | 2.19.0 - TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' | {
"avatar_url": "https://avatars.githubusercontent.com/u/5378995?v=4",
"events_url": "https://api.github.com/users/akalex/events{/privacy}",
"followers_url": "https://api.github.com/users/akalex/followers",
"following_url": "https://api.github.com/users/akalex/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2018-06-13T08:40:05Z | 2021-09-08T01:21:22Z | 2018-06-14T13:43:52Z | NONE | resolved | When running python program with command line arguments **-OO** the exception occurs. That issue can be reproduced since **requests** version **2.19.0**, since the logic inside module **requests/status_codes.py** has changed.
## Expected Result
python3.6 -OO -m my_script.py runs without any exceptions
## Actual ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/4684/reactions"
} | https://api.github.com/repos/psf/requests/issues/4684/timeline | null | completed | null | null | false | [
"Fixed in #4683",
"2.19.1 is pushed to pypi, so this should be resolved now. Thanks everyone!"
] |
https://api.github.com/repos/psf/requests/issues/4683 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4683/labels{/name} | https://api.github.com/repos/psf/requests/issues/4683/comments | https://api.github.com/repos/psf/requests/issues/4683/events | https://github.com/psf/requests/pull/4683 | 331,768,289 | MDExOlB1bGxSZXF1ZXN0MTk0NDE4ODg4 | 4,683 | Do not alter status_codes docstring if it is None | {
"avatar_url": "https://avatars.githubusercontent.com/u/6042212?v=4",
"events_url": "https://api.github.com/users/martindurant/events{/privacy}",
"followers_url": "https://api.github.com/users/martindurant/followers",
"following_url": "https://api.github.com/users/martindurant/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 2 | 2018-06-12T21:55:41Z | 2021-09-02T00:07:46Z | 2018-06-13T15:24:46Z | CONTRIBUTOR | resolved | Following https://github.com/requests/requests/pull/4394/files, with PYTHONOPTIMIZE=2, the current code breaks with TypeError due to None as the docstring. This broke dask tests https://github.com/dask/dask/pull/3594 . | {
"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/4683/reactions"
} | https://api.github.com/repos/psf/requests/issues/4683/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4683.diff",
"html_url": "https://github.com/psf/requests/pull/4683",
"merged_at": "2018-06-13T15:24:46Z",
"patch_url": "https://github.com/psf/requests/pull/4683.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4683"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4683?src=pr&el=h1) Report\n> Merging [#4683](https://codecov.io/gh/requests/requests/pull/4683?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/991e8b76b7a9d21f698b24fa0058d3d5968721bc?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4682 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4682/labels{/name} | https://api.github.com/repos/psf/requests/issues/4682/comments | https://api.github.com/repos/psf/requests/issues/4682/events | https://github.com/psf/requests/pull/4682 | 331,596,791 | MDExOlB1bGxSZXF1ZXN0MTk0Mjg2OTQx | 4,682 | v2.19.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2018-06-12T13:50:42Z | 2021-09-02T00:07:46Z | 2018-06-12T14:38:11Z | MEMBER | resolved | 363 days later, final prep steps for release.
* Updated HISTORY.rst.
* Moved version pin for idna to allow recent 2.7 release.
* Updated version warning for urllib3 to allow 1.23.
* Updated metadata dunders in __version__.py.
* Remove Python 2.6 trove classifier. | {
"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": 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/4682/reactions"
} | https://api.github.com/repos/psf/requests/issues/4682/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4682.diff",
"html_url": "https://github.com/psf/requests/pull/4682",
"merged_at": "2018-06-12T14:38:11Z",
"patch_url": "https://github.com/psf/requests/pull/4682.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4682"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4682?src=pr&el=h1) Report\n> Merging [#4682](https://codecov.io/gh/requests/requests/pull/4682?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/7e297ed95bdbd1018657f5d6000379ecdfa54423?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4681 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4681/labels{/name} | https://api.github.com/repos/psf/requests/issues/4681/comments | https://api.github.com/repos/psf/requests/issues/4681/events | https://github.com/psf/requests/issues/4681 | 331,208,533 | MDU6SXNzdWUzMzEyMDg1MzM= | 4,681 | idna version pin does not allow version 2.7 | {
"avatar_url": "https://avatars.githubusercontent.com/u/862794?v=4",
"events_url": "https://api.github.com/users/jakul/events{/privacy}",
"followers_url": "https://api.github.com/users/jakul/followers",
"following_url": "https://api.github.com/users/jakul/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2018-06-11T14:17:06Z | 2021-09-08T01:21:23Z | 2018-06-12T14:54:24Z | NONE | resolved | `idna` have just released 2.7. `requests` is pinned to `idna>=2.5,<2.7`
https://github.com/requests/requests/blob/d1aeb7ea8cec833e61ea390a6c19ef8b7ac3e4e7/setup.py#L53
Can the pin be updated to allow v2.7? | {
"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/4681/reactions"
} | https://api.github.com/repos/psf/requests/issues/4681/timeline | null | completed | null | null | false | [
"Hi @jakul, this is addressed (generally, replace \"urllib3\" with \"idna\") in https://github.com/requests/requests/issues/4673#issuecomment-395069592. We'll update our version pins in the next release of Requests (which will likely be this week). Thanks for letting us know!",
"hitting it in openstack as well no... |
https://api.github.com/repos/psf/requests/issues/4680 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4680/labels{/name} | https://api.github.com/repos/psf/requests/issues/4680/comments | https://api.github.com/repos/psf/requests/issues/4680/events | https://github.com/psf/requests/issues/4680 | 331,139,015 | MDU6SXNzdWUzMzExMzkwMTU= | 4,680 | The conflict between proxies and TLSv1.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/22391643?v=4",
"events_url": "https://api.github.com/users/ytig/events{/privacy}",
"followers_url": "https://api.github.com/users/ytig/followers",
"following_url": "https://api.github.com/users/ytig/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 1 | 2018-06-11T10:52:36Z | 2021-09-05T00:07:01Z | 2019-02-14T14:55:04Z | NONE | resolved | I want to use the HTTPS proxy, the first request is success, but all subsequent requests failed.
the crash log is:
> HTTPSConnectionPool(host='***', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', 'sslv3 alert unexpected message')],... | {
"avatar_url": "https://avatars.githubusercontent.com/u/6740665?v=4",
"events_url": "https://api.github.com/users/lmiguelvargasf/events{/privacy}",
"followers_url": "https://api.github.com/users/lmiguelvargasf/followers",
"following_url": "https://api.github.com/users/lmiguelvargasf/following{/other_user}",
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4680/reactions"
} | https://api.github.com/repos/psf/requests/issues/4680/timeline | null | completed | null | null | false | [
"Closed due to inactivity."
] |
https://api.github.com/repos/psf/requests/issues/4679 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4679/labels{/name} | https://api.github.com/repos/psf/requests/issues/4679/comments | https://api.github.com/repos/psf/requests/issues/4679/events | https://github.com/psf/requests/pull/4679 | 331,036,424 | MDExOlB1bGxSZXF1ZXN0MTkzODY4MDU2 | 4,679 | idna had a release | {
"avatar_url": "https://avatars.githubusercontent.com/u/909098?v=4",
"events_url": "https://api.github.com/users/russellballestrini/events{/privacy}",
"followers_url": "https://api.github.com/users/russellballestrini/followers",
"following_url": "https://api.github.com/users/russellballestrini/following{/other... | [] | closed | true | null | [] | null | 2 | 2018-06-11T03:43:26Z | 2021-09-02T00:07:48Z | 2018-06-11T03:49:20Z | NONE | resolved | we should upgrade our bounds to avoid people running into trouble.
https://github.com/kjd/idna/commit/f8389a87092e5a5eb2f92aabf4fbcef4fc9e9499 | {
"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/4679/reactions"
} | https://api.github.com/repos/psf/requests/issues/4679/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4679.diff",
"html_url": "https://github.com/psf/requests/pull/4679",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4679.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4679"
} | true | [
"Hi @russellballestrini, thanks for letting us know! This is something we’ll handle in our release process for the next formal Requests release.",
"This breakes most installations of 2.18.4. We fixed it in our case by adding `idna==2.6` to our `requirements.txt` before `requests`, in case someone else has this pr... |
https://api.github.com/repos/psf/requests/issues/4678 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4678/labels{/name} | https://api.github.com/repos/psf/requests/issues/4678/comments | https://api.github.com/repos/psf/requests/issues/4678/events | https://github.com/psf/requests/pull/4678 | 330,988,671 | MDExOlB1bGxSZXF1ZXN0MTkzODM4MTU1 | 4,678 | In docs, use intersphinx to link to Python documentation | {
"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 | 2018-06-10T17:52:04Z | 2021-09-02T00:07:34Z | 2018-08-12T03:35:00Z | CONTRIBUTOR | resolved | The intersphinx extension can generate automatic links to the documentation of objects in other projects. It was already used for urllib3. For complete details on intersphinx, see:
http://www.sphinx-doc.org/en/master/ext/intersphinx.html | {
"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/4678/reactions"
} | https://api.github.com/repos/psf/requests/issues/4678/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4678.diff",
"html_url": "https://github.com/psf/requests/pull/4678",
"merged_at": "2018-08-12T03:35:00Z",
"patch_url": "https://github.com/psf/requests/pull/4678.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4678"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4678?src=pr&el=h1) Report\n> Merging [#4678](https://codecov.io/gh/requests/requests/pull/4678?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/922aa406b53f14a67264e07d12fb042704be7374?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4677 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4677/labels{/name} | https://api.github.com/repos/psf/requests/issues/4677/comments | https://api.github.com/repos/psf/requests/issues/4677/events | https://github.com/psf/requests/pull/4677 | 330,968,424 | MDExOlB1bGxSZXF1ZXN0MTkzODI2MTYy | 4,677 | Fix unicode auth url bug in py3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/18254803?v=4",
"events_url": "https://api.github.com/users/mecforlove/events{/privacy}",
"followers_url": "https://api.github.com/users/mecforlove/followers",
"following_url": "https://api.github.com/users/mecforlove/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 3 | 2018-06-10T13:24:41Z | 2021-09-02T00:07:48Z | 2018-06-11T13:12:37Z | NONE | resolved | Just Fixed bug in [issue4649](https://github.com/requests/requests/issues/4649) | {
"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/4677/reactions"
} | https://api.github.com/repos/psf/requests/issues/4677/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4677.diff",
"html_url": "https://github.com/psf/requests/pull/4677",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4677.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4677"
} | true | [
"I just updated one file, but why the ci can't pass?",
"Hi @mecforlove, thanks for contributing to Requests! The issue here is that you can't call `encode` on all valid inputs for username and password, specifically bytes. We're going to need a solution that works for all the inputs we test, as well as some new/u... |
https://api.github.com/repos/psf/requests/issues/4676 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4676/labels{/name} | https://api.github.com/repos/psf/requests/issues/4676/comments | https://api.github.com/repos/psf/requests/issues/4676/events | https://github.com/psf/requests/pull/4676 | 330,937,340 | MDExOlB1bGxSZXF1ZXN0MTkzODA3MDE2 | 4,676 | Update Python 2 doc links to Python 3 | {
"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 | 2018-06-10T03:34:44Z | 2021-09-02T00:07:50Z | 2018-06-10T15:37:09Z | CONTRIBUTOR | resolved | The Python 3 docs are better maintained and are the future of Python development. | {
"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/4676/reactions"
} | https://api.github.com/repos/psf/requests/issues/4676/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4676.diff",
"html_url": "https://github.com/psf/requests/pull/4676",
"merged_at": "2018-06-10T15:37:09Z",
"patch_url": "https://github.com/psf/requests/pull/4676.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4676"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4676?src=pr&el=h1) Report\n> Merging [#4676](https://codecov.io/gh/requests/requests/pull/4676?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/d98f881118993483e4e9e2be384286ac2f90bb0a?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4675 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4675/labels{/name} | https://api.github.com/repos/psf/requests/issues/4675/comments | https://api.github.com/repos/psf/requests/issues/4675/events | https://github.com/psf/requests/pull/4675 | 330,338,787 | MDExOlB1bGxSZXF1ZXN0MTkzMzczMTIw | 4,675 | Don't warn about compatibility with urllib3 v1.23 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1977525?v=4",
"events_url": "https://api.github.com/users/jeremycline/events{/privacy}",
"followers_url": "https://api.github.com/users/jeremycline/followers",
"following_url": "https://api.github.com/users/jeremycline/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2018-06-07T16:03:49Z | 2021-09-02T00:07:51Z | 2018-06-07T16:37:28Z | CONTRIBUTOR | resolved | Requests allows v1.23 in #4669, but the compatibility check at import
time still looks for 22. Bump the version to 23.
edit: I do wonder if these checks should just be removed since it's pinned in setup.py and pip doesn't let you install 23 anyway without #4669.
Signed-off-by: Jeremy Cline <jcline@redhat.com> | {
"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/4675/reactions"
} | https://api.github.com/repos/psf/requests/issues/4675/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4675.diff",
"html_url": "https://github.com/psf/requests/pull/4675",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4675.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4675"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4675?src=pr&el=h1) Report\n> Merging [#4675](https://codecov.io/gh/requests/requests/pull/4675?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/d98f881118993483e4e9e2be384286ac2f90bb0a?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4674 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4674/labels{/name} | https://api.github.com/repos/psf/requests/issues/4674/comments | https://api.github.com/repos/psf/requests/issues/4674/events | https://github.com/psf/requests/pull/4674 | 329,977,739 | MDExOlB1bGxSZXF1ZXN0MTkzMDk3OTY1 | 4,674 | fixed urllib3 version dependency issue | {
"avatar_url": "https://avatars.githubusercontent.com/u/2791325?v=4",
"events_url": "https://api.github.com/users/nmante/events{/privacy}",
"followers_url": "https://api.github.com/users/nmante/followers",
"following_url": "https://api.github.com/users/nmante/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 3 | 2018-06-06T18:15:49Z | 2021-09-02T00:07:51Z | 2018-06-06T18:23:43Z | NONE | resolved | The `requests` setup.py file allows this version range for `urllib3` `>=1.21.1,<1.24`. However, the `__init__.py` has assertion statements that only allow up to (and including) version `1.22`. In this PR, I'm updating the `assert` statements in `__init__.py` to be inline with the `setup.py` `requires` | {
"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/4674/reactions"
} | https://api.github.com/repos/psf/requests/issues/4674/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4674.diff",
"html_url": "https://github.com/psf/requests/pull/4674",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4674.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4674"
} | true | [
"Hi @nmante, thanks for the contribution to Requests! We’re aware of the recent release of urllib3 and the current pin discrepancy at the tip of master. The current mismatch between the __init__.py doesn’t affect a current release but only the master branch which will be updated.\r\n\r\nThis issue has been addresse... |
https://api.github.com/repos/psf/requests/issues/4673 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4673/labels{/name} | https://api.github.com/repos/psf/requests/issues/4673/comments | https://api.github.com/repos/psf/requests/issues/4673/events | https://github.com/psf/requests/issues/4673 | 329,770,929 | MDU6SXNzdWUzMjk3NzA5Mjk= | 4,673 | Inconsistent urllib3 version requirements between setup.py and __init__.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/20167491?v=4",
"events_url": "https://api.github.com/users/GPMueller/events{/privacy}",
"followers_url": "https://api.github.com/users/GPMueller/followers",
"following_url": "https://api.github.com/users/GPMueller/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 24 | 2018-06-06T08:45:24Z | 2018-11-07T17:40:05Z | 2018-06-12T14:54:36Z | NONE | resolved | With https://github.com/requests/requests/commit/ac944b7439009ffbf7a10dfee35202f1ac090e76 the maximum allowed version of urllib3 in [setup.py](https://github.com/requests/requests/blob/master/setup.py) was increased to `1.23`.
However, in https://github.com/requests/requests/blob/master/requests/__init__.py#L57-L63 th... | {
"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": 8,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 8,
"url": "https://api.github.com/repos/psf/requests/issues/4673/reactions"
} | https://api.github.com/repos/psf/requests/issues/4673/timeline | null | completed | null | null | false | [
"Maybe #4669 should be reverted until urllib3 is fully supported.",
"It looks to me like it should suffice to simply change the [`__init__.py`](https://github.com/requests/requests/blob/master/requests/__init__.py) to allow v1.23 of urllib3, but I'm not sure since I have not tested it.",
"Just tested changing `... |
https://api.github.com/repos/psf/requests/issues/4672 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4672/labels{/name} | https://api.github.com/repos/psf/requests/issues/4672/comments | https://api.github.com/repos/psf/requests/issues/4672/events | https://github.com/psf/requests/pull/4672 | 329,712,116 | MDExOlB1bGxSZXF1ZXN0MTkyOTAwODIz | 4,672 | remove references to 2.6 support in documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2018-06-06T05:07:17Z | 2021-09-02T00:07:47Z | 2018-06-11T14:13:14Z | MEMBER | resolved | This will remove our "official" support for 2.6 from the documentation only. We'll keep the work done to remove Python 2.6 code from the Requests code base (#4118) in the Requests3 branch so we don't forcibly break users installs with the 2.19.0 release.
@sigmavirus24 I looked at moving to urllib3's `secure` options... | {
"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/4672/reactions"
} | https://api.github.com/repos/psf/requests/issues/4672/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4672.diff",
"html_url": "https://github.com/psf/requests/pull/4672",
"merged_at": "2018-06-11T14:13:14Z",
"patch_url": "https://github.com/psf/requests/pull/4672.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4672"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4672?src=pr&el=h1) Report\n> Merging [#4672](https://codecov.io/gh/requests/requests/pull/4672?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/16fd7e03a980bea2dfa0f64c80bbda7cd7834d0f?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4671 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4671/labels{/name} | https://api.github.com/repos/psf/requests/issues/4671/comments | https://api.github.com/repos/psf/requests/issues/4671/events | https://github.com/psf/requests/pull/4671 | 329,533,548 | MDExOlB1bGxSZXF1ZXN0MTkyNzY2NTQ0 | 4,671 | Allow urllib 1.23 (part 2) | {
"avatar_url": "https://avatars.githubusercontent.com/u/1937689?v=4",
"events_url": "https://api.github.com/users/yan12125/events{/privacy}",
"followers_url": "https://api.github.com/users/yan12125/followers",
"following_url": "https://api.github.com/users/yan12125/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 4 | 2018-06-05T16:28:58Z | 2021-08-30T00:06:37Z | 2018-06-05T16:40:23Z | CONTRIBUTOR | resolved | Follow-up of https://github.com/requests/requests/pull/4669
This eliminates the following warning:
```
$ python -c 'import requests'
/usr/lib/python3.6/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.23) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarnin... | {
"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/4671/reactions"
} | https://api.github.com/repos/psf/requests/issues/4671/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4671.diff",
"html_url": "https://github.com/psf/requests/pull/4671",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4671.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4671"
} | true | [
"Hmm, thanks @yan12125. This is why we usually do all of these steps at once. I may have jumped the gun this morning by merging th first PR. Rather than merge multiple follow ups, I think we’ll wait until we’re ready to release, likely next week to get everything wrapped up. I’ll try to go through this tonight and ... |
https://api.github.com/repos/psf/requests/issues/4670 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4670/labels{/name} | https://api.github.com/repos/psf/requests/issues/4670/comments | https://api.github.com/repos/psf/requests/issues/4670/events | https://github.com/psf/requests/issues/4670 | 329,491,721 | MDU6SXNzdWUzMjk0OTE3MjE= | 4,670 | Add current request url tip when ConnectionError | {
"avatar_url": "https://avatars.githubusercontent.com/u/22490739?v=4",
"events_url": "https://api.github.com/users/ChandlerBent/events{/privacy}",
"followers_url": "https://api.github.com/users/ChandlerBent/followers",
"following_url": "https://api.github.com/users/ChandlerBent/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2018-06-05T14:48:09Z | 2021-09-08T02:09:51Z | 2018-06-05T15:21:21Z | NONE | resolved | I got an error about "ConnectionError" when I using thirdparty sdk to request server.
The thirdparty sdk is using requests to request server.
`
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
`
I spent a long time looking for the error.
I print ... | {
"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/4670/reactions"
} | https://api.github.com/repos/psf/requests/issues/4670/timeline | null | completed | null | null | false | [
"Hi @ChandlerBent, thanks for the suggestion! There are a host of reasons a server might close the connection prematurely, many of which are not specific to the scheme choice. We are raising this exception from an underlying library (urllib3, which raises it from the standard lib) and don't modify its contents in R... |
https://api.github.com/repos/psf/requests/issues/4669 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4669/labels{/name} | https://api.github.com/repos/psf/requests/issues/4669/comments | https://api.github.com/repos/psf/requests/issues/4669/events | https://github.com/psf/requests/pull/4669 | 329,426,060 | MDExOlB1bGxSZXF1ZXN0MTkyNjg0MTAz | 4,669 | Allow urllib3 1.23 | {
"avatar_url": "https://avatars.githubusercontent.com/u/152008?v=4",
"events_url": "https://api.github.com/users/michael-k/events{/privacy}",
"followers_url": "https://api.github.com/users/michael-k/followers",
"following_url": "https://api.github.com/users/michael-k/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 4 | 2018-06-05T12:06:27Z | 2021-09-03T00:10:55Z | 2018-06-05T13:35:09Z | CONTRIBUTOR | resolved | Changelog: https://github.com/urllib3/urllib3/blob/1.23/CHANGES.rst#123-2018-06-04 | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/4669/reactions"
} | https://api.github.com/repos/psf/requests/issues/4669/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4669.diff",
"html_url": "https://github.com/psf/requests/pull/4669",
"merged_at": "2018-06-05T13:35:09Z",
"patch_url": "https://github.com/psf/requests/pull/4669.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4669"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4669?src=pr&el=h1) Report\n> Merging [#4669](https://codecov.io/gh/requests/requests/pull/4669?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/00fd4c8eb4ac0fd7b8f8d76bbf15ab06351c052c?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4668 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4668/labels{/name} | https://api.github.com/repos/psf/requests/issues/4668/comments | https://api.github.com/repos/psf/requests/issues/4668/events | https://github.com/psf/requests/issues/4668 | 328,803,874 | MDU6SXNzdWUzMjg4MDM4NzQ= | 4,668 | 'requests' with proxy not working | {
"avatar_url": "https://avatars.githubusercontent.com/u/33561873?v=4",
"events_url": "https://api.github.com/users/BirdeeChen/events{/privacy}",
"followers_url": "https://api.github.com/users/BirdeeChen/followers",
"following_url": "https://api.github.com/users/BirdeeChen/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2018-06-03T06:36:34Z | 2021-09-08T02:09:52Z | 2018-06-03T14:24:36Z | NONE | resolved | Here are my test code:
` import requests
url = 'https://api.ipify.org/'
proxyapi = 'http://ip.11jsq.com/index.php/api/entry?method=proxyServer.generate_api_url&packid=1&fa=0&fetch_key=&qty=1&time=1&pro=&city=&port=1&format=txt&ss=1&css=&dt=1'
proxy = {'http' : 'http://{}'.format(requests.get(proxyapi).t... | {
"avatar_url": "https://avatars.githubusercontent.com/u/33561873?v=4",
"events_url": "https://api.github.com/users/BirdeeChen/events{/privacy}",
"followers_url": "https://api.github.com/users/BirdeeChen/followers",
"following_url": "https://api.github.com/users/BirdeeChen/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/4668/reactions"
} | https://api.github.com/repos/psf/requests/issues/4668/timeline | null | completed | null | null | false | [
"Found that the reason is about the proxy protocol, visit https websites with https proxy."
] |
https://api.github.com/repos/psf/requests/issues/4667 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4667/labels{/name} | https://api.github.com/repos/psf/requests/issues/4667/comments | https://api.github.com/repos/psf/requests/issues/4667/events | https://github.com/psf/requests/issues/4667 | 328,432,054 | MDU6SXNzdWUzMjg0MzIwNTQ= | 4,667 | Best practices around logging and error handling of HTTP request failures | {
"avatar_url": "https://avatars.githubusercontent.com/u/159414?v=4",
"events_url": "https://api.github.com/users/hheimbuerger/events{/privacy}",
"followers_url": "https://api.github.com/users/hheimbuerger/followers",
"following_url": "https://api.github.com/users/hheimbuerger/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2018-06-01T08:46:11Z | 2021-09-05T00:07:00Z | 2019-02-14T14:56:05Z | NONE | resolved | This is a request for best practices, or possibly an improvement of the documentation. I'm aware that I was referred to the [StackOverflow tag](https://stackoverflow.com/questions/tagged/python-requests), but anything around best practices seems quite likely to be "closed as subjective" there.
I'm wondering what the... | {
"avatar_url": "https://avatars.githubusercontent.com/u/6740665?v=4",
"events_url": "https://api.github.com/users/lmiguelvargasf/events{/privacy}",
"followers_url": "https://api.github.com/users/lmiguelvargasf/followers",
"following_url": "https://api.github.com/users/lmiguelvargasf/following{/other_user}",
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4667/reactions"
} | https://api.github.com/repos/psf/requests/issues/4667/timeline | null | completed | null | null | false | [
"Closed due to inactivity."
] |
https://api.github.com/repos/psf/requests/issues/4666 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4666/labels{/name} | https://api.github.com/repos/psf/requests/issues/4666/comments | https://api.github.com/repos/psf/requests/issues/4666/events | https://github.com/psf/requests/issues/4666 | 327,585,017 | MDU6SXNzdWUzMjc1ODUwMTc= | 4,666 | ConnectionError | {
"avatar_url": "https://avatars.githubusercontent.com/u/39755725?v=4",
"events_url": "https://api.github.com/users/janitabose/events{/privacy}",
"followers_url": "https://api.github.com/users/janitabose/followers",
"following_url": "https://api.github.com/users/janitabose/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2018-05-30T06:03:04Z | 2021-09-08T02:09:52Z | 2018-05-30T11:57:41Z | NONE | resolved | i get this error every time i try to extract tweets. Can anyone please help:
ConnectionError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/filter.json?delimited=length (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000... | {
"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/4666/reactions"
} | https://api.github.com/repos/psf/requests/issues/4666/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here."
] |
https://api.github.com/repos/psf/requests/issues/4665 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4665/labels{/name} | https://api.github.com/repos/psf/requests/issues/4665/comments | https://api.github.com/repos/psf/requests/issues/4665/events | https://github.com/psf/requests/issues/4665 | 327,243,510 | MDU6SXNzdWUzMjcyNDM1MTA= | 4,665 | requests follow 302 redirection but didn't change the 'Host' header accordingly. | {
"avatar_url": "https://avatars.githubusercontent.com/u/11310589?v=4",
"events_url": "https://api.github.com/users/1600/events{/privacy}",
"followers_url": "https://api.github.com/users/1600/followers",
"following_url": "https://api.github.com/users/1600/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 3 | 2018-05-29T09:39:59Z | 2021-09-07T00:06:18Z | 2018-05-29T11:57:34Z | NONE | resolved | when using requests with sites that returns a 302 Moved Temporarily, and in the response header there will be a 'Location' header given the target redirect domain.
Now if you also defined the 'Host' header in a headers parameter to be some fixed domain, the redirect won't be correctly performed.
for example:
## E... | {
"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/4665/reactions"
} | https://api.github.com/repos/psf/requests/issues/4665/timeline | null | completed | null | null | false | [
"Hi there @1600 \r\n\r\nI went looking in our documentation for where we have this clearly explained and am having trouble finding it right now. The short answer is:\r\n\r\nThere are headers (`Host`) included that if the user specifies, Requests does not alter. This means if you want the right thing to be done with... |
https://api.github.com/repos/psf/requests/issues/4664 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4664/labels{/name} | https://api.github.com/repos/psf/requests/issues/4664/comments | https://api.github.com/repos/psf/requests/issues/4664/events | https://github.com/psf/requests/issues/4664 | 327,141,477 | MDU6SXNzdWUzMjcxNDE0Nzc= | 4,664 | requests.Session doesn't properly handle closed keep-alive sessions | {
"avatar_url": "https://avatars.githubusercontent.com/u/212279?v=4",
"events_url": "https://api.github.com/users/eriol/events{/privacy}",
"followers_url": "https://api.github.com/users/eriol/followers",
"following_url": "https://api.github.com/users/eriol/following{/other_user}",
"gists_url": "https://api.gi... | [] | open | false | null | [] | null | 17 | 2018-05-29T01:10:35Z | 2024-02-22T15:49:48Z | null | CONTRIBUTOR | null | Hello,
this was reported for requests 2.18.4 on Debian BTS[¹] by Jonathan Lynch, since it's not Debian specific I'm forwarding here:
>When a server reaps a keep-alive session it sends a FIN packet to the
client. Normally, requests handles this fine and rebuilds the session on
the next request. However, there is a... | null | {
"+1": 13,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 13,
"url": "https://api.github.com/repos/psf/requests/issues/4664/reactions"
} | https://api.github.com/repos/psf/requests/issues/4664/timeline | null | null | null | null | false | [
"Hi there @eriol, Thanks for passing this on. Can you share links to any custom patches Debian has written and is applying to Requests at this time?\r\n\r\nJonathan, can you share your system information (as requested from all bug reporters) as well as the full traceback of what you're trying to do.\r\n\r\nThe shor... |
https://api.github.com/repos/psf/requests/issues/4663 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4663/labels{/name} | https://api.github.com/repos/psf/requests/issues/4663/comments | https://api.github.com/repos/psf/requests/issues/4663/events | https://github.com/psf/requests/issues/4663 | 326,955,722 | MDU6SXNzdWUzMjY5NTU3MjI= | 4,663 | requests package issue in pip10 version | {
"avatar_url": "https://avatars.githubusercontent.com/u/7158481?v=4",
"events_url": "https://api.github.com/users/felsen/events{/privacy}",
"followers_url": "https://api.github.com/users/felsen/followers",
"following_url": "https://api.github.com/users/felsen/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2018-05-28T09:13:36Z | 2021-09-08T02:09:53Z | 2018-05-30T05:30:57Z | NONE | resolved | When I try to uninstall requests package using pip10, below error I am getting.
Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/7158481?v=4",
"events_url": "https://api.github.com/users/felsen/events{/privacy}",
"followers_url": "https://api.github.com/users/felsen/followers",
"following_url": "https://api.github.com/users/felsen/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/4663/reactions"
} | https://api.github.com/repos/psf/requests/issues/4663/timeline | null | completed | null | null | false | [
"That's interesting given that requests uses [setuptools](https://github.com/requests/requests/blob/00fd4c8eb4ac0fd7b8f8d76bbf15ab06351c052c/setup.py#L10) and has for years now. It sounds like the version of requests you have must be incredibly old. ",
"Yes, It works in the latest version of requests==2.18.4."
] |
https://api.github.com/repos/psf/requests/issues/4662 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4662/labels{/name} | https://api.github.com/repos/psf/requests/issues/4662/comments | https://api.github.com/repos/psf/requests/issues/4662/events | https://github.com/psf/requests/issues/4662 | 326,807,890 | MDU6SXNzdWUzMjY4MDc4OTA= | 4,662 | KeyError: 'csrf' or 'csrftoken' on python3 with osx | {
"avatar_url": "https://avatars.githubusercontent.com/u/39561770?v=4",
"events_url": "https://api.github.com/users/hamadberlin/events{/privacy}",
"followers_url": "https://api.github.com/users/hamadberlin/followers",
"following_url": "https://api.github.com/users/hamadberlin/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 5 | 2018-05-27T11:20:58Z | 2020-08-07T16:28:42Z | 2018-05-27T13:33:08Z | NONE | null | hey folks,
tying to run this command with python3:
#update csrf token for the first time
sess.headers.update({'X-CSRFToken' : sess.get('https://www.instagram.com/accounts/login').cookies.get_dict()['csrf']})
or
#update csrf token for the first time
sess.headers.update({'X-CSRFToken' : sess.get('https:... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 3,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/4662/reactions"
} | https://api.github.com/repos/psf/requests/issues/4662/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.",
"![Screenshot_2020-06-15-21-55-17-097_com termux](h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.