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/5598 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5598/labels{/name} | https://api.github.com/repos/psf/requests/issues/5598/comments | https://api.github.com/repos/psf/requests/issues/5598/events | https://github.com/psf/requests/issues/5598 | 708,726,248 | MDU6SXNzdWU3MDg3MjYyNDg= | 5,598 | Request library not behaving same in AWS ec2 server and local jupyter notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/30792702?v=4",
"events_url": "https://api.github.com/users/sumeshshetty/events{/privacy}",
"followers_url": "https://api.github.com/users/sumeshshetty/followers",
"following_url": "https://api.github.com/users/sumeshshetty/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2020-09-25T07:50:10Z | 2021-08-29T00:06:50Z | 2020-09-25T11:57:42Z | NONE | resolved | Hi I am using python requests library to read contents of url.
On local jupyter notebook
following is python code:
```
import json
import requests
response = (requests.get("https://ws.bbc34.cs.streamuk.com/services/channelFeed.php?channel=zee5-punjabi&group=punjabi&output=rss2.0").text)
print((response))
```
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/30792702?v=4",
"events_url": "https://api.github.com/users/sumeshshetty/events{/privacy}",
"followers_url": "https://api.github.com/users/sumeshshetty/followers",
"following_url": "https://api.github.com/users/sumeshshetty/following{/other_user}",
"gist... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5598/reactions"
} | https://api.github.com/repos/psf/requests/issues/5598/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/5597 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5597/labels{/name} | https://api.github.com/repos/psf/requests/issues/5597/comments | https://api.github.com/repos/psf/requests/issues/5597/events | https://github.com/psf/requests/issues/5597 | 708,512,912 | MDU6SXNzdWU3MDg1MTI5MTI= | 5,597 | response.text converting to utf-8 poorly | {
"avatar_url": "https://avatars.githubusercontent.com/u/6989085?v=4",
"events_url": "https://api.github.com/users/GarrettArm/events{/privacy}",
"followers_url": "https://api.github.com/users/GarrettArm/followers",
"following_url": "https://api.github.com/users/GarrettArm/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 7 | 2020-09-24T22:29:06Z | 2021-08-29T00:06:45Z | 2020-10-13T12:33:48Z | NONE | resolved | with `response = requests.get('some_xml_api_endpoint')`
The xml response has the header: <?xml version="1.0" encoding="UTF-8"?>
I'm using ubuntu, python3, requests 2.24.0, and saving that file in utf-8 on a ext-4 partition.
response.text gives a lot of broken characters.
response.content.decode('utf-8') works... | {
"avatar_url": "https://avatars.githubusercontent.com/u/6989085?v=4",
"events_url": "https://api.github.com/users/GarrettArm/events{/privacy}",
"followers_url": "https://api.github.com/users/GarrettArm/followers",
"following_url": "https://api.github.com/users/GarrettArm/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/5597/reactions"
} | https://api.github.com/repos/psf/requests/issues/5597/timeline | null | completed | null | null | false | [
"I believe what you're missing is likely that the endpoint is giving us the wrong charset or we're trying to detect it with chardet. You should look at `response.encoding` and `response.apparent_encoding` (if `.encoding` is `None`). If you know the encoding and `response.encoding` is either unset or _wrong_ you sho... |
https://api.github.com/repos/psf/requests/issues/5596 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5596/labels{/name} | https://api.github.com/repos/psf/requests/issues/5596/comments | https://api.github.com/repos/psf/requests/issues/5596/events | https://github.com/psf/requests/pull/5596 | 708,215,345 | MDExOlB1bGxSZXF1ZXN0NDkyNDgzNTMw | 5,596 | Fix no_proxy and no, not being respected. Merge self.proxies and proxies | {
"avatar_url": "https://avatars.githubusercontent.com/u/2320837?v=4",
"events_url": "https://api.github.com/users/Suika/events{/privacy}",
"followers_url": "https://api.github.com/users/Suika/followers",
"following_url": "https://api.github.com/users/Suika/following{/other_user}",
"gists_url": "https://api.g... | [] | open | false | null | [] | null | 7 | 2020-09-24T14:21:15Z | 2024-05-16T03:04:27Z | null | NONE | null | Since no_proxy is not working as intended, I tried fixing it with least intrsion into whole process.
It is contained to the `merge_environment_settings` and `request` function. In the `request` the proxy from request and proxy from session are merged. Having the request proxy overwrite the session proxy where needed.
... | null | {
"+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/5596/reactions"
} | https://api.github.com/repos/psf/requests/issues/5596/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5596.diff",
"html_url": "https://github.com/psf/requests/pull/5596",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5596.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5596"
} | true | [
"This patched fixed #5731 for me. I was very surprised this patch has not gotten any attention yet. Is there anything missing before it can be considered?",
"Hi @Suika and @RichieB2B, we are also dealing with this issue, any updates?",
"I found a work around that I described at https://github.com/psf/requests/i... |
https://api.github.com/repos/psf/requests/issues/5595 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5595/labels{/name} | https://api.github.com/repos/psf/requests/issues/5595/comments | https://api.github.com/repos/psf/requests/issues/5595/events | https://github.com/psf/requests/pull/5595 | 707,915,856 | MDExOlB1bGxSZXF1ZXN0NDkyMjM0NDQx | 5,595 | removed unused import from setup.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/6549852?v=4",
"events_url": "https://api.github.com/users/vivekvashist/events{/privacy}",
"followers_url": "https://api.github.com/users/vivekvashist/followers",
"following_url": "https://api.github.com/users/vivekvashist/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 2 | 2020-09-24T07:05:29Z | 2021-08-27T00:08:40Z | 2021-05-04T20:46:08Z | NONE | resolved | Removed import re which looks like its unused in setup.py | {
"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/5595/reactions"
} | https://api.github.com/repos/psf/requests/issues/5595/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5595.diff",
"html_url": "https://github.com/psf/requests/pull/5595",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5595.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5595"
} | true | [
"#5780",
"Yep, looks like this got lost in the shuffle. Apologies @vivekvashist and thanks for the contribution. Resolving since this is no longer needed."
] |
https://api.github.com/repos/psf/requests/issues/5594 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5594/labels{/name} | https://api.github.com/repos/psf/requests/issues/5594/comments | https://api.github.com/repos/psf/requests/issues/5594/events | https://github.com/psf/requests/pull/5594 | 707,274,406 | MDExOlB1bGxSZXF1ZXN0NDkxNzAzMjk5 | 5,594 | Update advanced.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/7895513?v=4",
"events_url": "https://api.github.com/users/icfly2/events{/privacy}",
"followers_url": "https://api.github.com/users/icfly2/followers",
"following_url": "https://api.github.com/users/icfly2/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2020-09-23T11:20:12Z | 2021-08-28T00:06:15Z | 2020-11-17T01:31:40Z | CONTRIBUTOR | resolved | replaced reference to requests-async with httpx the replacement project | {
"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/5594/reactions"
} | https://api.github.com/repos/psf/requests/issues/5594/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5594.diff",
"html_url": "https://github.com/psf/requests/pull/5594",
"merged_at": "2020-11-17T01:31:40Z",
"patch_url": "https://github.com/psf/requests/pull/5594.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5594"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5593 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5593/labels{/name} | https://api.github.com/repos/psf/requests/issues/5593/comments | https://api.github.com/repos/psf/requests/issues/5593/events | https://github.com/psf/requests/issues/5593 | 706,645,700 | MDU6SXNzdWU3MDY2NDU3MDA= | 5,593 | The Post request route does not work for this library | {
"avatar_url": "https://avatars.githubusercontent.com/u/64030739?v=4",
"events_url": "https://api.github.com/users/shreyamalogi/events{/privacy}",
"followers_url": "https://api.github.com/users/shreyamalogi/followers",
"following_url": "https://api.github.com/users/shreyamalogi/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2020-09-22T19:44:26Z | 2021-08-29T00:06:51Z | 2020-09-22T20:12:12Z | NONE | resolved | Summary.
## Expected Result
What you expected.
## Actual Result
What happened instead.
## Reproduction Steps
```python
import requests
```
## System Information
$ python -m requests.help
```
<paste here>
```
This command is only available on Requests v2.16.4 and greater. Otherwis... | {
"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/5593/reactions"
} | https://api.github.com/repos/psf/requests/issues/5593/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/5592 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5592/labels{/name} | https://api.github.com/repos/psf/requests/issues/5592/comments | https://api.github.com/repos/psf/requests/issues/5592/events | https://github.com/psf/requests/issues/5592 | 704,848,885 | MDU6SXNzdWU3MDQ4NDg4ODU= | 5,592 | My kanboard is locked with an error - Internal Error: Identifier "container" is not defined. | {
"avatar_url": "https://avatars.githubusercontent.com/u/70618459?v=4",
"events_url": "https://api.github.com/users/Jsn2win/events{/privacy}",
"followers_url": "https://api.github.com/users/Jsn2win/followers",
"following_url": "https://api.github.com/users/Jsn2win/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-09-19T09:33:35Z | 2021-08-29T00:06:51Z | 2020-09-19T13:37:59Z | NONE | resolved | My kanboard is locked with an error - Internal Error: Identifier "container" is not defined.
__Originally posted by @plyaskin in https://github.com/CoMPaTech/kanboard_plugin-done_column_highlight/issues/1__ | {
"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/5592/reactions"
} | https://api.github.com/repos/psf/requests/issues/5592/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/5591 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5591/labels{/name} | https://api.github.com/repos/psf/requests/issues/5591/comments | https://api.github.com/repos/psf/requests/issues/5591/events | https://github.com/psf/requests/issues/5591 | 704,680,441 | MDU6SXNzdWU3MDQ2ODA0NDE= | 5,591 | multipart/form-data request preparation possible issues | {
"avatar_url": "https://avatars.githubusercontent.com/u/7011511?v=4",
"events_url": "https://api.github.com/users/karanveersp/events{/privacy}",
"followers_url": "https://api.github.com/users/karanveersp/followers",
"following_url": "https://api.github.com/users/karanveersp/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2020-09-18T21:56:56Z | 2021-08-29T00:06:52Z | 2020-09-19T01:58:24Z | NONE | resolved | I've been trying to send a POST multipart/form-data request using the following function
```python
def upload_file(token, filepath, table_id):
url = "https://h.app.wdesk.com/s/wdata/prep/api/v1/file"
headers = {
"Authorization": f"Bearer {token}",
}
files = {
"file": open(filep... | {
"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/5591/reactions"
} | https://api.github.com/repos/psf/requests/issues/5591/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.",
"Try examining your request with Wireshark to see e... |
https://api.github.com/repos/psf/requests/issues/5590 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5590/labels{/name} | https://api.github.com/repos/psf/requests/issues/5590/comments | https://api.github.com/repos/psf/requests/issues/5590/events | https://github.com/psf/requests/issues/5590 | 704,569,276 | MDU6SXNzdWU3MDQ1NjkyNzY= | 5,590 | raise InvalidSchema("No connection adapters were found for {!r}".format(url)) pip._vendor.requests.exceptions.InvalidSchema: No connection adapters were found for 'javascript: void(0)' | {
"avatar_url": "https://avatars.githubusercontent.com/u/28509822?v=4",
"events_url": "https://api.github.com/users/souravsharan97/events{/privacy}",
"followers_url": "https://api.github.com/users/souravsharan97/followers",
"following_url": "https://api.github.com/users/souravsharan97/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2020-09-18T18:20:37Z | 2021-08-30T00:06:05Z | 2020-09-18T18:24:50Z | NONE | resolved | import unittest
from datetime import datetime
from pip._vendor import requests
from selenium import webdriver
class Index(unittest.TestCase):
@classmethod
def setUpClass(cls) :
chrome_options = webdriver.ChromeOptions()
#chrome_options.add_argument('headless')
#prefs = {"pro... | {
"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/5590/reactions"
} | https://api.github.com/repos/psf/requests/issues/5590/timeline | null | completed | null | null | false | [
"Hi @souravsharan97,\r\n\r\nThere's a couple issues here. You're importing a very old version of requests from a package private vendoring in pip. This is a *very* bad idea for stability in your code. I'd recommend installing Requests and updating to the latest version. Secondly, you can't pass calls to javascript ... |
https://api.github.com/repos/psf/requests/issues/5589 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5589/labels{/name} | https://api.github.com/repos/psf/requests/issues/5589/comments | https://api.github.com/repos/psf/requests/issues/5589/events | https://github.com/psf/requests/issues/5589 | 704,233,166 | MDU6SXNzdWU3MDQyMzMxNjY= | 5,589 | About proxy | {
"avatar_url": "https://avatars.githubusercontent.com/u/33195613?v=4",
"events_url": "https://api.github.com/users/spike-rx/events{/privacy}",
"followers_url": "https://api.github.com/users/spike-rx/followers",
"following_url": "https://api.github.com/users/spike-rx/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-09-18T09:31:13Z | 2021-08-28T00:06:05Z | 2020-11-16T06:58:07Z | NONE | resolved | Accodring to the document about proxy should like this:
proxies = {"http":"http://ip:port"},
but if i wrote like this :
proxies = {"http":"ip+port"}
some url also can got the response, but not all urls,
I think should ban like this proxies = {"http":"ip:port"} so as to achieve unity. | {
"avatar_url": "https://avatars.githubusercontent.com/u/33195613?v=4",
"events_url": "https://api.github.com/users/spike-rx/events{/privacy}",
"followers_url": "https://api.github.com/users/spike-rx/followers",
"following_url": "https://api.github.com/users/spike-rx/following{/other_user}",
"gists_url": "htt... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5589/reactions"
} | https://api.github.com/repos/psf/requests/issues/5589/timeline | null | completed | null | null | false | [
"I think you should try like this ( http://address : port ) it is possibly work."
] |
https://api.github.com/repos/psf/requests/issues/5588 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5588/labels{/name} | https://api.github.com/repos/psf/requests/issues/5588/comments | https://api.github.com/repos/psf/requests/issues/5588/events | https://github.com/psf/requests/issues/5588 | 702,655,633 | MDU6SXNzdWU3MDI2NTU2MzM= | 5,588 | Seems `requests.packages` is not installed, please install and try again! | {
"avatar_url": "https://avatars.githubusercontent.com/u/60227739?v=4",
"events_url": "https://api.github.com/users/sanswarn/events{/privacy}",
"followers_url": "https://api.github.com/users/sanswarn/followers",
"following_url": "https://api.github.com/users/sanswarn/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-09-16T10:41:17Z | 2021-08-30T00:06:05Z | 2020-09-16T15:57:04Z | NONE | resolved | I am running idcssearch binaries that seems calling requests but somehow its not present in virtual python word. multiple times I tries uninstall and install but no results.
[sswarnka@sswarnka-linux idcs-tools]$ python
Python 2.7.5 (default, Nov 27 2019, 09:57:45)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)] on... | {
"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/5588/reactions"
} | https://api.github.com/repos/psf/requests/issues/5588/timeline | null | completed | null | null | false | [
"Your `python` is Python2, but you are using `pip3`, the Python3 version of pip, to show your installed packages. Take a look at the output of `python -m pip freeze`.",
"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. Plea... |
https://api.github.com/repos/psf/requests/issues/5587 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5587/labels{/name} | https://api.github.com/repos/psf/requests/issues/5587/comments | https://api.github.com/repos/psf/requests/issues/5587/events | https://github.com/psf/requests/issues/5587 | 702,301,437 | MDU6SXNzdWU3MDIzMDE0Mzc= | 5,587 | Redirection Code 308 (Permanent Redirect - POST to POST) | {
"avatar_url": "https://avatars.githubusercontent.com/u/561669?v=4",
"events_url": "https://api.github.com/users/sartigas/events{/privacy}",
"followers_url": "https://api.github.com/users/sartigas/followers",
"following_url": "https://api.github.com/users/sartigas/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2020-09-15T21:58:52Z | 2021-08-30T00:06:06Z | 2020-09-16T15:55:58Z | NONE | resolved | Hi,
Not a request for help but a suggestion to the project team to review [RFC 7538](https://tools.ietf.org/html/rfc7538).
It would be awesome to have redirection code 308 (POST to POST) implemented in a future Requests release.
Thanks! | {
"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/5587/reactions"
} | https://api.github.com/repos/psf/requests/issues/5587/timeline | null | completed | null | null | false | [
"@sartigas the issue is that as a client we can't know which servers reasonably support this as the majority of the web and a significant number of servers/applications pre-date this (relatively) recent RFC.",
"Hi @sartigas,\r\n\r\nJust to clarify, are you asking about implementing redirect caching for a 308 resp... |
https://api.github.com/repos/psf/requests/issues/5586 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5586/labels{/name} | https://api.github.com/repos/psf/requests/issues/5586/comments | https://api.github.com/repos/psf/requests/issues/5586/events | https://github.com/psf/requests/issues/5586 | 701,298,826 | MDU6SXNzdWU3MDEyOTg4MjY= | 5,586 | Special characters getting replaced using `params` keywarg | {
"avatar_url": "https://avatars.githubusercontent.com/u/16466438?v=4",
"events_url": "https://api.github.com/users/ktoldham/events{/privacy}",
"followers_url": "https://api.github.com/users/ktoldham/followers",
"following_url": "https://api.github.com/users/ktoldham/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-09-14T17:43:20Z | 2021-08-30T00:06:06Z | 2020-09-14T17:55:54Z | NONE | resolved | Special characters are getting replaced when sending them through the `params` kwarg. The same result occurs on mac and pc. Tested with the `get` and `post` methods.
## Expected Result
For the string to be added to the url as it was given to the requests module.
## Actual Result
Special characters getting r... | {
"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/5586/reactions"
} | https://api.github.com/repos/psf/requests/issues/5586/timeline | null | completed | null | null | false | [
"Hi @ktoldham,\r\n\r\nThis is the correct behavior for URI queries. You can read the full specification in [RFC 3986 section 3.4](https://tools.ietf.org/html/rfc3986#section-3.4). Those characters are required to be percent encoded before sending them across the network.\r\n\r\nIf you *must* violate that for some r... |
https://api.github.com/repos/psf/requests/issues/5585 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5585/labels{/name} | https://api.github.com/repos/psf/requests/issues/5585/comments | https://api.github.com/repos/psf/requests/issues/5585/events | https://github.com/psf/requests/issues/5585 | 700,604,673 | MDU6SXNzdWU3MDA2MDQ2NzM= | 5,585 | [DOCS] Quickstart Cookies link doesn't exist | {
"avatar_url": "https://avatars.githubusercontent.com/u/5807561?v=4",
"events_url": "https://api.github.com/users/RomanKornev/events{/privacy}",
"followers_url": "https://api.github.com/users/RomanKornev/followers",
"following_url": "https://api.github.com/users/RomanKornev/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2020-09-13T16:43:58Z | 2021-08-30T00:06:07Z | 2020-09-14T17:49:46Z | NONE | resolved | On https://requests.readthedocs.io/en/master/user/quickstart/ clicking on `Cookies` in `Table of Contents` does nothing. It doesn't link to anything. `Cookies` part is completely missing in documentation.
## Expected Result
`Cookies` documentation to be present in the quickstart guide as described in `Table of Co... | {
"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/5585/reactions"
} | https://api.github.com/repos/psf/requests/issues/5585/timeline | null | completed | null | null | false | [
"I just tried clicking on the links that you posted to see what you were referring to, but they seem to work just fine. Both the \"Cookies\" link in the table of contents and the https://requests.readthedocs.io/en/master/user/quickstart/#cookies permalink work.",
"> I just tried clicking on the links that you pos... |
https://api.github.com/repos/psf/requests/issues/5584 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5584/labels{/name} | https://api.github.com/repos/psf/requests/issues/5584/comments | https://api.github.com/repos/psf/requests/issues/5584/events | https://github.com/psf/requests/pull/5584 | 699,423,950 | MDExOlB1bGxSZXF1ZXN0NDg1MTY2OTUx | 5,584 | Update kens github | {
"avatar_url": "https://avatars.githubusercontent.com/u/193832?v=4",
"events_url": "https://api.github.com/users/Visgean/events{/privacy}",
"followers_url": "https://api.github.com/users/Visgean/followers",
"following_url": "https://api.github.com/users/Visgean/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 0 | 2020-09-11T15:02:28Z | 2021-08-28T00:06:21Z | 2020-09-11T15:36:21Z | CONTRIBUTOR | resolved | His website points to https://github.com/ken-reitz, kennethreitz seems to be trolling account (there is Islamophobic profile picture )

| {
"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/5584/reactions"
} | https://api.github.com/repos/psf/requests/issues/5584/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5584.diff",
"html_url": "https://github.com/psf/requests/pull/5584",
"merged_at": "2020-09-11T15:36:21Z",
"patch_url": "https://github.com/psf/requests/pull/5584.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5584"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5583 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5583/labels{/name} | https://api.github.com/repos/psf/requests/issues/5583/comments | https://api.github.com/repos/psf/requests/issues/5583/events | https://github.com/psf/requests/issues/5583 | 699,056,159 | MDU6SXNzdWU2OTkwNTYxNTk= | 5,583 | ValueError: invalid literal for int() with base 16: b'' | {
"avatar_url": "https://avatars.githubusercontent.com/u/55988471?v=4",
"events_url": "https://api.github.com/users/gelodefaultbrain/events{/privacy}",
"followers_url": "https://api.github.com/users/gelodefaultbrain/followers",
"following_url": "https://api.github.com/users/gelodefaultbrain/following{/other_use... | [] | closed | true | null | [] | null | 7 | 2020-09-11T09:03:03Z | 2021-08-30T00:06:07Z | 2020-09-14T17:59:30Z | NONE | resolved | Summary.
I am just trying to make a http request on a certain website, the thing is I am making requests for a lot of website and I am doing it in a for loop and that error on the title SOMETIMES shows up! YES SOMETIMES! there would be times that it occurs and not
What you expected.
Expect to have a good res... | {
"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/5583/reactions"
} | https://api.github.com/repos/psf/requests/issues/5583/timeline | null | completed | null | null | false | [
"By the way this is my version of the requests library \r\n\r\n\r\n",
"i have also read some fixes from other people here is the site\r\n\r\nhttps://github.com/psf/requests/issues/4248\r\n\r\nThere is a g... |
https://api.github.com/repos/psf/requests/issues/5581 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5581/labels{/name} | https://api.github.com/repos/psf/requests/issues/5581/comments | https://api.github.com/repos/psf/requests/issues/5581/events | https://github.com/psf/requests/issues/5581 | 695,866,555 | MDU6SXNzdWU2OTU4NjY1NTU= | 5,581 | requests prase http headers error | {
"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:/... | [] | closed | true | null | [] | null | 2 | 2020-09-08T13:20:55Z | 2021-08-30T00:06:09Z | 2020-09-08T15:10:29Z | NONE | resolved | requests not fully parsed the http headers when there was two reponse line,as follows:
```
GET /cgi-bin/get_jpeg?ch=1 HTTP/1.1
Host: 121.156.161.92
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36
Accept-Encoding: gzip, deflate
Accept: ... | {
"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/5581/reactions"
} | https://api.github.com/repos/psf/requests/issues/5581/timeline | null | completed | null | null | false | [
"Requests doesn't parse this - httplib does in standard python. Please open a bug on bugs.python.org",
"I'll note this is also invalid HTTP. Server is not allowed to send multiple non-1XX responses from a single request. "
] |
https://api.github.com/repos/psf/requests/issues/5580 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5580/labels{/name} | https://api.github.com/repos/psf/requests/issues/5580/comments | https://api.github.com/repos/psf/requests/issues/5580/events | https://github.com/psf/requests/issues/5580 | 695,841,496 | MDU6SXNzdWU2OTU4NDE0OTY= | 5,580 | Crawling a web miss a # in url,and then fail,how to resolve it? | {
"avatar_url": "https://avatars.githubusercontent.com/u/46711557?v=4",
"events_url": "https://api.github.com/users/ch-boogeyman/events{/privacy}",
"followers_url": "https://api.github.com/users/ch-boogeyman/followers",
"following_url": "https://api.github.com/users/ch-boogeyman/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 3 | 2020-09-08T12:49:14Z | 2021-08-30T00:06:09Z | 2020-09-08T15:39:52Z | NONE | resolved | Summary.
## Expected Result
Don't lose the charts after #
## Actual Result
The url after # will loss,the server can't get it!!
## Reproduction Steps
```python
import requests
import time
 for general usage questions instead and only report defects here.",
"> Hi there! Thanks for opening this issue. Unfortu... |
https://api.github.com/repos/psf/requests/issues/5579 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5579/labels{/name} | https://api.github.com/repos/psf/requests/issues/5579/comments | https://api.github.com/repos/psf/requests/issues/5579/events | https://github.com/psf/requests/issues/5579 | 694,061,825 | MDU6SXNzdWU2OTQwNjE4MjU= | 5,579 | requests.get() fails with SOCKS5 proxy on python 3.7.8 64bit on some urls | {
"avatar_url": "https://avatars.githubusercontent.com/u/8864505?v=4",
"events_url": "https://api.github.com/users/shinrax2/events{/privacy}",
"followers_url": "https://api.github.com/users/shinrax2/followers",
"following_url": "https://api.github.com/users/shinrax2/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 5 | 2020-09-05T11:06:37Z | 2021-08-30T00:06:10Z | 2020-09-05T13:47:25Z | NONE | resolved | Summary.
requests.get() with a SOCKS5 proxy fails on 64bit python with some urls but works on 32bit python
## Expected Result
getting the data
## Actual Result
```requests.exceptions.SSLError: SOCKSHTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/shinrax2/PS3GameUpd... | {
"avatar_url": "https://avatars.githubusercontent.com/u/8864505?v=4",
"events_url": "https://api.github.com/users/shinrax2/events{/privacy}",
"followers_url": "https://api.github.com/users/shinrax2/followers",
"following_url": "https://api.github.com/users/shinrax2/following{/other_user}",
"gists_url": "http... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5579/reactions"
} | https://api.github.com/repos/psf/requests/issues/5579/timeline | null | completed | null | null | false | [
"i just tested the same code on python 3.7.8 64bit on debian buster 64bit and it works flawless there\r\n\r\ni think this might be a windows specific issue",
"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 [Sta... |
https://api.github.com/repos/psf/requests/issues/5578 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5578/labels{/name} | https://api.github.com/repos/psf/requests/issues/5578/comments | https://api.github.com/repos/psf/requests/issues/5578/events | https://github.com/psf/requests/issues/5578 | 693,405,987 | MDU6SXNzdWU2OTM0MDU5ODc= | 5,578 | Other APIs are fetching normal, but some APIs takes time 2-5 minutes to get response, jquery Ajax fetches in milli seconds same APIs | {
"avatar_url": "https://avatars.githubusercontent.com/u/37940163?v=4",
"events_url": "https://api.github.com/users/proavinashthakur/events{/privacy}",
"followers_url": "https://api.github.com/users/proavinashthakur/followers",
"following_url": "https://api.github.com/users/proavinashthakur/following{/other_use... | [] | closed | true | null | [] | null | 1 | 2020-09-04T17:15:41Z | 2021-08-30T00:06:10Z | 2020-09-04T19:13:43Z | NONE | resolved | I need to integrate ShipStation with my Python web app. ShipStation APIs are executing very slower, taking time about 2-5 minutes. I also tried to fetch more heavier APIs which are fetching normally.
I tested Shipstation APIs using jQuery Ajax, Postman and it's taking time in milliseconds, or 1-2seconds. What's wro... | {
"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/5578/reactions"
} | https://api.github.com/repos/psf/requests/issues/5578/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/5577 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5577/labels{/name} | https://api.github.com/repos/psf/requests/issues/5577/comments | https://api.github.com/repos/psf/requests/issues/5577/events | https://github.com/psf/requests/issues/5577 | 693,330,603 | MDU6SXNzdWU2OTMzMzA2MDM= | 5,577 | Non Ascii characters are escaped when posting JSON | {
"avatar_url": "https://avatars.githubusercontent.com/u/1542037?v=4",
"events_url": "https://api.github.com/users/martyglaubitz/events{/privacy}",
"followers_url": "https://api.github.com/users/martyglaubitz/followers",
"following_url": "https://api.github.com/users/martyglaubitz/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 9 | 2020-09-04T15:57:26Z | 2022-02-26T06:00:24Z | 2021-11-28T05:30:14Z | NONE | resolved | When using
import requests
requests.post('https://httpbin.org/post', json={'data': 'My Päload'})
the non asci characters (like 'ä' in this case),
are getting escaped, resulting in wron data beeing received by the endpoint.
I had to help myself by doing all this stuff manually:
import request... | {
"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/5577/reactions"
} | https://api.github.com/repos/psf/requests/issues/5577/timeline | null | completed | null | null | false | [
"I'd recommend having an additional parameter for JSON encoding options, something like that:\r\n\r\n requests.post('https://httpbin.org/post', json={'data': 'My Päload'}, json_args={\r\n ensure_ascii=False,\r\n sort_keys=True,\r\n indent=4\r\n })",
"You can always encode your own JSON and pa... |
https://api.github.com/repos/psf/requests/issues/5576 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5576/labels{/name} | https://api.github.com/repos/psf/requests/issues/5576/comments | https://api.github.com/repos/psf/requests/issues/5576/events | https://github.com/psf/requests/issues/5576 | 692,800,549 | MDU6SXNzdWU2OTI4MDA1NDk= | 5,576 | Bad SSL Handshake on Windows 10 | {
"avatar_url": "https://avatars.githubusercontent.com/u/25717245?v=4",
"events_url": "https://api.github.com/users/modbender/events{/privacy}",
"followers_url": "https://api.github.com/users/modbender/followers",
"following_url": "https://api.github.com/users/modbender/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 2 | 2020-09-04T07:00:15Z | 2021-08-30T00:06:11Z | 2020-09-04T07:32:41Z | NONE | resolved | When I do `requests.get(self.feed_url)`
```
Traceback (most recent call last):
File "C:\Users\UserName\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "C:\Users\UserName\AppData\Roaming\Python\Python38\site-package... | {
"avatar_url": "https://avatars.githubusercontent.com/u/25717245?v=4",
"events_url": "https://api.github.com/users/modbender/events{/privacy}",
"followers_url": "https://api.github.com/users/modbender/followers",
"following_url": "https://api.github.com/users/modbender/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/5576/reactions"
} | https://api.github.com/repos/psf/requests/issues/5576/timeline | null | completed | null | null | false | [
"Closing this as it is similar to #3774 ",
"After a lot of tests, it turns that the website was blocked by ISP, I was using 1.1.1.1 DNS to bypass it on browser, but didn't work for python."
] |
https://api.github.com/repos/psf/requests/issues/5575 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5575/labels{/name} | https://api.github.com/repos/psf/requests/issues/5575/comments | https://api.github.com/repos/psf/requests/issues/5575/events | https://github.com/psf/requests/issues/5575 | 692,373,612 | MDU6SXNzdWU2OTIzNzM2MTI= | 5,575 | Requests ignores HSTS if redirected to http:// version of site | {
"avatar_url": "https://avatars.githubusercontent.com/u/6210340?v=4",
"events_url": "https://api.github.com/users/gowenfawr/events{/privacy}",
"followers_url": "https://api.github.com/users/gowenfawr/followers",
"following_url": "https://api.github.com/users/gowenfawr/following{/other_user}",
"gists_url": "h... | [] | open | false | null | [] | null | 8 | 2020-09-03T21:18:32Z | 2020-10-14T13:24:55Z | null | NONE | null | Requests will follow an unencrypted http:// redirect from a site that implements HSTS.
## Expected Result
I expected Requests to force https:// handling of all http:// URLs for a site which has advertised Strict-Transport-Security.
## Actual Result
Requests followed a 301 redirect to Location: http://site a... | 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/5575/reactions"
} | https://api.github.com/repos/psf/requests/issues/5575/timeline | null | null | null | null | false | [
"See also https://github.com/psf/requests/issues/3872 - this isn't supported by Requests (unfortunately) and the corresponding work in urllib3 never landed",
"@gowenfawr can you please confirm that the redirect stucks on the _second_ redirect (which explicitly mentions http:// )? \r\nI noticed a probably similar ... |
https://api.github.com/repos/psf/requests/issues/5574 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5574/labels{/name} | https://api.github.com/repos/psf/requests/issues/5574/comments | https://api.github.com/repos/psf/requests/issues/5574/events | https://github.com/psf/requests/issues/5574 | 689,602,245 | MDU6SXNzdWU2ODk2MDIyNDU= | 5,574 | Errno 104 Connection Reset by peer in python3 requests executed in a VPS using Ubuntu20 | {
"avatar_url": "https://avatars.githubusercontent.com/u/25153874?v=4",
"events_url": "https://api.github.com/users/puppetrx/events{/privacy}",
"followers_url": "https://api.github.com/users/puppetrx/followers",
"following_url": "https://api.github.com/users/puppetrx/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-08-31T23:14:55Z | 2021-08-30T00:06:12Z | 2020-09-03T21:21:49Z | NONE | resolved | After backtesting in a windows laptop using python3 that the code worked fine, I uploaded the code to my recently purchased VPS service. I installed pip, python3 and the requests module (among others) only to find that when I try to run the script from the server terminal it returns the title error. It also returns the... | {
"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/5574/reactions"
} | https://api.github.com/repos/psf/requests/issues/5574/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/5573 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5573/labels{/name} | https://api.github.com/repos/psf/requests/issues/5573/comments | https://api.github.com/repos/psf/requests/issues/5573/events | https://github.com/psf/requests/issues/5573 | 689,132,166 | MDU6SXNzdWU2ODkxMzIxNjY= | 5,573 | get/post method will convert some parameter in url into capital letter | {
"avatar_url": "https://avatars.githubusercontent.com/u/49085201?v=4",
"events_url": "https://api.github.com/users/tjc0726/events{/privacy}",
"followers_url": "https://api.github.com/users/tjc0726/followers",
"following_url": "https://api.github.com/users/tjc0726/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 6 | 2020-08-31T11:26:48Z | 2021-08-30T00:06:11Z | 2020-09-03T21:28:01Z | NONE | resolved | get/post method will convert some parameter in url into capital letter
## Expected Result
It should send parameter same as I set in the URL
## Actual Result
It will convert"https://xxx.yyy/index.html?a=%2f" into "https://xxx.yyy/index.html?a=%2F" notice that final 'F'
## Reproduction Steps
At first,I ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5573/reactions"
} | https://api.github.com/repos/psf/requests/issues/5573/timeline | null | completed | null | null | false | [
"Part of URL normalization is uppercasing percent-encoded hex characters per RFC 3986. Service should handle both cases.",
"> Part of URL normalization is uppercasing percent-encoded hex characters per RFC 3986. Service should handle both cases.\r\n\r\nIndeed,but I still don't think reuests.get/post should change... |
https://api.github.com/repos/psf/requests/issues/5572 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5572/labels{/name} | https://api.github.com/repos/psf/requests/issues/5572/comments | https://api.github.com/repos/psf/requests/issues/5572/events | https://github.com/psf/requests/issues/5572 | 688,731,171 | MDU6SXNzdWU2ODg3MzExNzE= | 5,572 | Response history is not available in response hooks during redirections | {
"avatar_url": "https://avatars.githubusercontent.com/u/5388424?v=4",
"events_url": "https://api.github.com/users/putsi/events{/privacy}",
"followers_url": "https://api.github.com/users/putsi/followers",
"following_url": "https://api.github.com/users/putsi/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 6 | 2020-08-30T14:43:18Z | 2021-08-30T00:06:13Z | 2020-08-30T15:42:08Z | NONE | resolved | Response history is not available in response hooks during multiple redirections.
For example, if a GET-request gets redirected 5 times, the response history stays empty when examined from inside a response hook after each redirection. However the response-object that get() returns will contain the full history.
In... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5388424?v=4",
"events_url": "https://api.github.com/users/putsi/events{/privacy}",
"followers_url": "https://api.github.com/users/putsi/followers",
"following_url": "https://api.github.com/users/putsi/following{/other_user}",
"gists_url": "https://api.g... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5572/reactions"
} | https://api.github.com/repos/psf/requests/issues/5572/timeline | null | completed | null | null | false | [
"This is undocumented but has always been the behaviour. Each part of the history only has its own history because that is created at the very end before returning from the method that handles the request. In short, your expectation is not something that was documented as working, was never intended to work that wa... |
https://api.github.com/repos/psf/requests/issues/5571 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5571/labels{/name} | https://api.github.com/repos/psf/requests/issues/5571/comments | https://api.github.com/repos/psf/requests/issues/5571/events | https://github.com/psf/requests/issues/5571 | 688,418,682 | MDU6SXNzdWU2ODg0MTg2ODI= | 5,571 | requests & async | {
"avatar_url": "https://avatars.githubusercontent.com/u/50486789?v=4",
"events_url": "https://api.github.com/users/renoyuan/events{/privacy}",
"followers_url": "https://api.github.com/users/renoyuan/followers",
"following_url": "https://api.github.com/users/renoyuan/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2020-08-29T00:23:58Z | 2021-08-30T00:06:13Z | 2020-08-30T19:38:45Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
Why my requests and async concurrent-use ,but without concurrent requests .
my code format:
'''
async def requests_func():
requests.post()
async def handle_func():
await requests_func()... | {
"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/5571/reactions"
} | https://api.github.com/repos/psf/requests/issues/5571/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/5570 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5570/labels{/name} | https://api.github.com/repos/psf/requests/issues/5570/comments | https://api.github.com/repos/psf/requests/issues/5570/events | https://github.com/psf/requests/pull/5570 | 687,392,938 | MDExOlB1bGxSZXF1ZXN0NDc0ODI2Nzgz | 5,570 | Apply the Apache-2.0 license correctly | {
"avatar_url": "https://avatars.githubusercontent.com/u/19536151?v=4",
"events_url": "https://api.github.com/users/ajorg-aws/events{/privacy}",
"followers_url": "https://api.github.com/users/ajorg-aws/followers",
"following_url": "https://api.github.com/users/ajorg-aws/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2020-08-27T16:50:29Z | 2021-08-28T00:06:21Z | 2020-08-27T18:09:02Z | CONTRIBUTOR | resolved | This follows instructions from the Apache Foundation. It also ensures
that the license will be correctly detected by license scanning tools.
Note that adding a NOTICE file triggers Section 4.d of the license,
which is usually intended by users of the license.
The text that was in the LICENSE file before this ch... | {
"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/5570/reactions"
} | https://api.github.com/repos/psf/requests/issues/5570/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5570.diff",
"html_url": "https://github.com/psf/requests/pull/5570",
"merged_at": "2020-08-27T18:09:02Z",
"patch_url": "https://github.com/psf/requests/pull/5570.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5570"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5569 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5569/labels{/name} | https://api.github.com/repos/psf/requests/issues/5569/comments | https://api.github.com/repos/psf/requests/issues/5569/events | https://github.com/psf/requests/issues/5569 | 686,334,946 | MDU6SXNzdWU2ODYzMzQ5NDY= | 5,569 | Customize message error in Response.raise_for_status() | {
"avatar_url": "https://avatars.githubusercontent.com/u/66838738?v=4",
"events_url": "https://api.github.com/users/pozzolana93/events{/privacy}",
"followers_url": "https://api.github.com/users/pozzolana93/followers",
"following_url": "https://api.github.com/users/pozzolana93/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2020-08-26T13:46:36Z | 2021-08-30T00:06:14Z | 2020-08-26T18:50:05Z | NONE | resolved | I had to write a client to interact with CouchDB using `requests`. When calling `response.raise_for_status()` the message shown is the usual HTTP error message (like 404: Not found), but in the response body I have a more detailed explanation of the error (something like: {"error": "Not found", "reason": "The document ... | {
"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/5569/reactions"
} | https://api.github.com/repos/psf/requests/issues/5569/timeline | null | completed | null | null | false | [
"The project's under feature freeze and even if it weren't, this is why wrapping libraries should follow a pattern like:\r\n\r\n```py\r\n# mylib/exceptions.py\r\nclass MyLibError(Exception):\r\n pass\r\n\r\nclass MyLibHTTPError(MyLibError):\r\n pass\r\n\r\n# mylib/client.py\r\n\r\ntry:\r\n response.raise_fo... |
https://api.github.com/repos/psf/requests/issues/5568 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5568/labels{/name} | https://api.github.com/repos/psf/requests/issues/5568/comments | https://api.github.com/repos/psf/requests/issues/5568/events | https://github.com/psf/requests/issues/5568 | 686,303,537 | MDU6SXNzdWU2ODYzMDM1Mzc= | 5,568 | [bug]requests isn't work when meets too long url,what can i do? | {
"avatar_url": "https://avatars.githubusercontent.com/u/46711557?v=4",
"events_url": "https://api.github.com/users/ch-boogeyman/events{/privacy}",
"followers_url": "https://api.github.com/users/ch-boogeyman/followers",
"following_url": "https://api.github.com/users/ch-boogeyman/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2020-08-26T13:04:33Z | 2021-08-30T00:06:14Z | 2020-08-26T13:23:35Z | NONE | resolved | Summary.
## Expected Result
What you expected.
## Actual Result
What happened instead.
When i am crawling a web,I meet a long url.it returned me a wrong result.
So i used fiddler to check what happen,it showed the url not complete.
How can i resolve it?
 and [FAQ](https://github.com/psf/requests/blob/master/docs/community/faq.rst) mentions that it supports Python 3.5+. But, the `docs/index.rst` still mentions that the support is only for Python 3.4–3.7 which is misleading and is not consistent with oth... | {
"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/5567/reactions"
} | https://api.github.com/repos/psf/requests/issues/5567/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5567.diff",
"html_url": "https://github.com/psf/requests/pull/5567",
"merged_at": "2020-08-26T00:50:14Z",
"patch_url": "https://github.com/psf/requests/pull/5567.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5567"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5566 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5566/labels{/name} | https://api.github.com/repos/psf/requests/issues/5566/comments | https://api.github.com/repos/psf/requests/issues/5566/events | https://github.com/psf/requests/issues/5566 | 685,489,791 | MDU6SXNzdWU2ODU0ODk3OTE= | 5,566 | Response time differences between different OS(e.g. Windows and Ubuntu) | {
"avatar_url": "https://avatars.githubusercontent.com/u/25847103?v=4",
"events_url": "https://api.github.com/users/RedPurpleHand/events{/privacy}",
"followers_url": "https://api.github.com/users/RedPurpleHand/followers",
"following_url": "https://api.github.com/users/RedPurpleHand/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-08-25T13:32:34Z | 2021-08-30T00:06:16Z | 2020-08-25T13:58:28Z | NONE | resolved | Hi, I send simple request to a website and get a response with requests library. When I run this code on Ubuntu I get response at 3secs but if I run this on Windows I get response below 1 second. What is problem?
I try with same versions. (requests 2.22, 2.23, 2.24)
Test Code:
`
def responseTime():
start_t... | {
"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/5566/reactions"
} | https://api.github.com/repos/psf/requests/issues/5566/timeline | null | completed | null | null | false | [
"This is a tough thing for us to figure out as we don't have access to your systems or know anything about how they're configured. I recommend using Wireshark to see where in the request process things are getting hung up.\n\nClosing this as not an issue, in the future use StackOverflow for questions like this. "
] |
https://api.github.com/repos/psf/requests/issues/5565 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5565/labels{/name} | https://api.github.com/repos/psf/requests/issues/5565/comments | https://api.github.com/repos/psf/requests/issues/5565/events | https://github.com/psf/requests/issues/5565 | 684,250,060 | MDU6SXNzdWU2ODQyNTAwNjA= | 5,565 | nested dict with multipart/form-data | {
"avatar_url": "https://avatars.githubusercontent.com/u/25934244?v=4",
"events_url": "https://api.github.com/users/Poolitzer/events{/privacy}",
"followers_url": "https://api.github.com/users/Poolitzer/followers",
"following_url": "https://api.github.com/users/Poolitzer/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 4 | 2020-08-23T20:22:23Z | 2021-08-30T00:06:16Z | 2020-08-25T16:26:44Z | NONE | resolved | Hello there.
I am trying to send a post request with a nested dict which contains files, but it fails at urrlib3 level.
This is a minimal working example dict
`{"media": [{"type": "photo", "media": open("besttest.jpg", "rb")}, {"type": "video", "media": open("bettertest.mp4", "rb"),"thumb": open("index.jpeg", ... | {
"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/5565/reactions"
} | https://api.github.com/repos/psf/requests/issues/5565/timeline | null | completed | null | null | false | [
"There's no documentation that shows this would work so it's unclear to me why you think this is a bug. If you want help making this work, please use StackOverflow. This is a defect tracker, not a Q&A website",
"I just expected it to work, why is it limited? And there was a question template, so I assumed issues ... |
https://api.github.com/repos/psf/requests/issues/5564 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5564/labels{/name} | https://api.github.com/repos/psf/requests/issues/5564/comments | https://api.github.com/repos/psf/requests/issues/5564/events | https://github.com/psf/requests/issues/5564 | 682,690,476 | MDU6SXNzdWU2ODI2OTA0NzY= | 5,564 | Accept-Encoding can't be removed | {
"avatar_url": "https://avatars.githubusercontent.com/u/761578?v=4",
"events_url": "https://api.github.com/users/Dao258/events{/privacy}",
"followers_url": "https://api.github.com/users/Dao258/followers",
"following_url": "https://api.github.com/users/Dao258/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2020-08-20T12:52:32Z | 2021-08-30T00:06:16Z | 2020-08-25T16:28:04Z | NONE | resolved | I am using requests 2.21.0
headers={
'Connection':None,
'Accept-Encoding':None,
'Accept':None,
'User-Agent':None
}
session = requests.Session()
session.keep_alive = False
session.post(url,headers=headers, data=postData,verify=False)
I tired to r... | {
"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/5564/reactions"
} | https://api.github.com/repos/psf/requests/issues/5564/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.",
"Hi @Dao258, I'd check documentation for using [Pre... |
https://api.github.com/repos/psf/requests/issues/5563 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5563/labels{/name} | https://api.github.com/repos/psf/requests/issues/5563/comments | https://api.github.com/repos/psf/requests/issues/5563/events | https://github.com/psf/requests/issues/5563 | 682,680,253 | MDU6SXNzdWU2ODI2ODAyNTM= | 5,563 | Cert behavior regression (2.14.0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/113200?v=4",
"events_url": "https://api.github.com/users/romuald/events{/privacy}",
"followers_url": "https://api.github.com/users/romuald/followers",
"following_url": "https://api.github.com/users/romuald/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2020-08-20T12:37:52Z | 2021-08-29T00:06:37Z | 2020-11-10T00:07:49Z | NONE | resolved | ## TLDR;
requests used to ignore the cert parameter when used, now it raises an error when the certificate files are missing
-------
I'm certainly late to the party, but we found a regression introduced in requests 2.14.0
From the changelog:
> When users provide invalid paths to certificate bundle files ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 1,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5563/reactions"
} | https://api.github.com/repos/psf/requests/issues/5563/timeline | null | completed | null | null | false | [
"Hi @romuald, thanks for reporting this. We made this change intentionally due to the unintuitive failure mode prior to 2.14.0. Given it's been in place for a few year and this is the first feedback we've received about it, I think we'll leave it in place."
] |
https://api.github.com/repos/psf/requests/issues/5562 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5562/labels{/name} | https://api.github.com/repos/psf/requests/issues/5562/comments | https://api.github.com/repos/psf/requests/issues/5562/events | https://github.com/psf/requests/pull/5562 | 681,362,187 | MDExOlB1bGxSZXF1ZXN0NDY5NzYzODE3 | 5,562 | Cleanup documentation and README | {
"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... | [] | closed | true | null | [] | null | 0 | 2020-08-18T21:47:55Z | 2021-08-28T00:06:22Z | 2020-08-18T22:14:01Z | MEMBER | resolved | - Fixed or removed lots of outdated information
- Removed images where not needed
- Removed unused JavaScript from our bundle | {
"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/5562/reactions"
} | https://api.github.com/repos/psf/requests/issues/5562/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5562.diff",
"html_url": "https://github.com/psf/requests/pull/5562",
"merged_at": "2020-08-18T22:14:01Z",
"patch_url": "https://github.com/psf/requests/pull/5562.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5562"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5561 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5561/labels{/name} | https://api.github.com/repos/psf/requests/issues/5561/comments | https://api.github.com/repos/psf/requests/issues/5561/events | https://github.com/psf/requests/issues/5561 | 681,085,482 | MDU6SXNzdWU2ODEwODU0ODI= | 5,561 | Requests 2.24.0 removed necessary namespace for other modules | {
"avatar_url": "https://avatars.githubusercontent.com/u/4681318?v=4",
"events_url": "https://api.github.com/users/deajan/events{/privacy}",
"followers_url": "https://api.github.com/users/deajan/followers",
"following_url": "https://api.github.com/users/deajan/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 8 | 2020-08-18T14:24:50Z | 2021-08-29T00:06:37Z | 2020-11-10T00:10:34Z | NONE | resolved | Commit https://github.com/psf/requests/commit/db47b9b4a0c5877fb97f64ac442757604c4c45cc made import of pyopenssl optional.
Some modules rely on the created requests namespace created via `from urllib3.contrib import pyopenssl` which is now uncertain to be imported, depending on ssl SNI support.
While this does not s... | {
"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/5561/reactions"
} | https://api.github.com/repos/psf/requests/issues/5561/timeline | null | completed | null | null | false | [
"So the import removed would be `requests.pyopenssl` not `requests.packages.urllib3.contrib.pyopenssl` if I'm reading things correctly. How would removing that import cause the import that's occuring within `requests/packages.py` to not be available?",
"From `requests/packages.py` the import states `from urllib3.... |
https://api.github.com/repos/psf/requests/issues/5560 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5560/labels{/name} | https://api.github.com/repos/psf/requests/issues/5560/comments | https://api.github.com/repos/psf/requests/issues/5560/events | https://github.com/psf/requests/issues/5560 | 680,833,415 | MDU6SXNzdWU2ODA4MzM0MTU= | 5,560 | Do not re-encode a UTF-8 string as ISO-8859-1 silently in HTTP requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/2605584?v=4",
"events_url": "https://api.github.com/users/baharev/events{/privacy}",
"followers_url": "https://api.github.com/users/baharev/followers",
"following_url": "https://api.github.com/users/baharev/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 6 | 2020-08-18T09:12:45Z | 2021-08-29T00:06:41Z | 2020-10-29T20:13:56Z | NONE | resolved | This issue is about sending an HTTP **request**, and not about the response.
```python
headers = { 'Content-Type': 'application/json; charset=utf-8' }
response = requests.post(url, headers=headers, data=my_native_python3_utf8_string)
```
## Expected Result
I expected the **request** to be sent as UT... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/psf/requests/issues/5560/reactions"
} | https://api.github.com/repos/psf/requests/issues/5560/timeline | null | completed | null | null | false | [
"I may have encountered this problem too. I wonder if there is any status change.\r\n\r\npython3 -m requests.help\r\n{\r\n \"chardet\": {\r\n \"version\": \"3.0.4\"\r\n },\r\n \"cryptography\": {\r\n \"version\": \"3.1.1\"\r\n },\r\n \"idna\": {\r\n \"version\": \"2.10\"\r\n },\r\n \"implementation\... |
https://api.github.com/repos/psf/requests/issues/5559 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5559/labels{/name} | https://api.github.com/repos/psf/requests/issues/5559/comments | https://api.github.com/repos/psf/requests/issues/5559/events | https://github.com/psf/requests/issues/5559 | 680,498,012 | MDU6SXNzdWU2ODA0OTgwMTI= | 5,559 | Proper scope for session object | {
"avatar_url": "https://avatars.githubusercontent.com/u/30312167?v=4",
"events_url": "https://api.github.com/users/janheindejong/events{/privacy}",
"followers_url": "https://api.github.com/users/janheindejong/followers",
"following_url": "https://api.github.com/users/janheindejong/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-08-17T20:13:06Z | 2021-08-30T00:06:17Z | 2020-08-20T14:45:32Z | NONE | resolved | I'm using requests in the back-end of my web-app, to get sensor data from another REST API, at 1 Hz. I'm using _one_ session instance for my entire app, which is used in ~5 threads to perform the HTTP requests; typically around 5-10 per cycle. There's some error handling and all the fun stuff, to make sure the program ... | {
"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/5559/reactions"
} | https://api.github.com/repos/psf/requests/issues/5559/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/5558 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5558/labels{/name} | https://api.github.com/repos/psf/requests/issues/5558/comments | https://api.github.com/repos/psf/requests/issues/5558/events | https://github.com/psf/requests/issues/5558 | 679,929,422 | MDU6SXNzdWU2Nzk5Mjk0MjI= | 5,558 | [Doc] ALL_PROXY is undocumented | {
"avatar_url": "https://avatars.githubusercontent.com/u/4003950?v=4",
"events_url": "https://api.github.com/users/jiasli/events{/privacy}",
"followers_url": "https://api.github.com/users/jiasli/followers",
"following_url": "https://api.github.com/users/jiasli/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "fad8c7",
"default": false,
"description": null,
"id": 136616769,
"name": "Documentation",
"node_id": "MDU6TGFiZWwxMzY2MTY3Njk=",
"url": "https://api.github.com/repos/psf/requests/labels/Documentation"
},
{
"color": "69ccdb",
"default": false,
"description": nu... | closed | true | null | [] | null | 1 | 2020-08-17T04:48:33Z | 2022-05-03T18:05:36Z | 2022-02-02T18:03:26Z | NONE | resolved | ## Expected Result
The doc for [Proxies](https://2.python-requests.org/en/master/user/advanced/#proxies) should include `ALL_PROXY` introduced by https://github.com/psf/requests/pull/3185 and its precedence compared to `HTTP_PROXY` and `HTTPS_PROXY`.
## Actual Result
The document [Proxies](https://2.python-req... | {
"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/5558/reactions"
} | https://api.github.com/repos/psf/requests/issues/5558/timeline | null | completed | null | null | false | [
"If anyone would like to provide a PR for this, we'd be fine reviewing it."
] |
https://api.github.com/repos/psf/requests/issues/5557 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5557/labels{/name} | https://api.github.com/repos/psf/requests/issues/5557/comments | https://api.github.com/repos/psf/requests/issues/5557/events | https://github.com/psf/requests/issues/5557 | 678,208,612 | MDU6SXNzdWU2NzgyMDg2MTI= | 5,557 | about redirection | {
"avatar_url": "https://avatars.githubusercontent.com/u/60337599?v=4",
"events_url": "https://api.github.com/users/daffapaggani/events{/privacy}",
"followers_url": "https://api.github.com/users/daffapaggani/followers",
"following_url": "https://api.github.com/users/daffapaggani/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2020-08-13T07:11:06Z | 2021-08-30T00:06:18Z | 2020-08-14T01:40:39Z | NONE | resolved | i know python requests is dynamic httplib, but some problem with requests.
'requests.exceptions.TooManyRedirects: Exceeded 30 redirects.'
i am already increase max redirect , but same response.
i am try using other ISP 'requests' is perfect and nothing problem. and cross check , problem is ISP . there injection... | {
"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/5557/reactions"
} | https://api.github.com/repos/psf/requests/issues/5557/timeline | null | completed | null | null | false | [
"> how i can baypass injection ads ?\r\n\r\nThat's not a feature of any HTTP client and does not and will not exist in Requests. You'll need to ask StackOverflow questions like this"
] |
https://api.github.com/repos/psf/requests/issues/5556 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5556/labels{/name} | https://api.github.com/repos/psf/requests/issues/5556/comments | https://api.github.com/repos/psf/requests/issues/5556/events | https://github.com/psf/requests/issues/5556 | 677,393,109 | MDU6SXNzdWU2NzczOTMxMDk= | 5,556 | HEAD request inexplicably failing | {
"avatar_url": "https://avatars.githubusercontent.com/u/221526?v=4",
"events_url": "https://api.github.com/users/dopplershift/events{/privacy}",
"followers_url": "https://api.github.com/users/dopplershift/followers",
"following_url": "https://api.github.com/users/dopplershift/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 3 | 2020-08-12T05:21:12Z | 2021-08-30T00:06:19Z | 2020-08-12T18:13:10Z | NONE | resolved | A HEAD request to this [website](https://www.ncdc.noaa.gov/data-access/model-data/model-datasets/north-american-regional-reanalysis-narr) is inexplicably giving `RemoteDisconnected`. A GET request to the same URL succeeds. Issuing a HEAD request using `curl --head https://www.ncdc.noaa.gov/data-access/model-data/model-... | {
"avatar_url": "https://avatars.githubusercontent.com/u/221526?v=4",
"events_url": "https://api.github.com/users/dopplershift/events{/privacy}",
"followers_url": "https://api.github.com/users/dopplershift/followers",
"following_url": "https://api.github.com/users/dopplershift/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/5556/reactions"
} | https://api.github.com/repos/psf/requests/issues/5556/timeline | null | completed | null | null | false | [
"So the problem is the headers that requests is sending. I can make things work just fine using `http.client.HTTPSConnection` from the stdlib. This works:\r\n```python\r\nfrom contextlib import closing\r\nfrom http.client import HTTPSConnection\r\n\r\nwith closing(HTTPSConnection('www.ncdc.noaa.gov')) as conn:\r\n ... |
https://api.github.com/repos/psf/requests/issues/5555 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5555/labels{/name} | https://api.github.com/repos/psf/requests/issues/5555/comments | https://api.github.com/repos/psf/requests/issues/5555/events | https://github.com/psf/requests/issues/5555 | 677,201,329 | MDU6SXNzdWU2NzcyMDEzMjk= | 5,555 | Requests now forcing TLS 1.2 on Python 3.6.10 | {
"avatar_url": "https://avatars.githubusercontent.com/u/3922117?v=4",
"events_url": "https://api.github.com/users/cleebp/events{/privacy}",
"followers_url": "https://api.github.com/users/cleebp/followers",
"following_url": "https://api.github.com/users/cleebp/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2020-08-11T21:13:43Z | 2021-08-29T00:06:36Z | 2020-11-10T00:12:44Z | NONE | resolved | Due to the changes in [this PR](https://github.com/psf/requests/pull/5443) that made it into release 2.24.0 our stack went from using TLS 1.3 through `pyopenssl` to TLS 1.2 through the new requests/`ssl` path that is forced when `ssl` has SNI. This occurs when using Python 3.6.10.
## Expected Result
On Python 3.6... | {
"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/5555/reactions"
} | https://api.github.com/repos/psf/requests/issues/5555/timeline | null | completed | null | null | false | [
"Hey @cleebp,\n\nThanks for bringing this up! I don't think we'd taken this into account when pushing pyopenssl to the background. You can still opt into using pyopenssl on 3.6 with:\n\n```\nfrom urllib3.contrib import pyopenssl\npyopenssl.inject_into_urllib3()\n```\n\nIt may be worth adding some kind of messaging ... |
https://api.github.com/repos/psf/requests/issues/5554 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5554/labels{/name} | https://api.github.com/repos/psf/requests/issues/5554/comments | https://api.github.com/repos/psf/requests/issues/5554/events | https://github.com/psf/requests/pull/5554 | 675,764,818 | MDExOlB1bGxSZXF1ZXN0NDY1MTk3NTIy | 5,554 | WIP: Make Brotli support enabled by default, if appropriate urllib3 version is available | {
"avatar_url": "https://avatars.githubusercontent.com/u/566632?v=4",
"events_url": "https://api.github.com/users/gdubicki/events{/privacy}",
"followers_url": "https://api.github.com/users/gdubicki/followers",
"following_url": "https://api.github.com/users/gdubicki/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2020-08-09T20:17:48Z | 2021-08-27T00:08:43Z | 2021-04-02T07:38:10Z | CONTRIBUTOR | resolved | This is still a work in progress - I have to make sure that the tests are actually running, not skipped every time 😅 but [I would like to get feedback if the direction is right](https://github.com/psf/requests/blob/master/docs/dev/contributing.rst#get-early-feedback).
I had to update some deps to make the tests pas... | {
"avatar_url": "https://avatars.githubusercontent.com/u/566632?v=4",
"events_url": "https://api.github.com/users/gdubicki/events{/privacy}",
"followers_url": "https://api.github.com/users/gdubicki/followers",
"following_url": "https://api.github.com/users/gdubicki/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/5554/reactions"
} | https://api.github.com/repos/psf/requests/issues/5554/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5554.diff",
"html_url": "https://github.com/psf/requests/pull/5554",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5554.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5554"
} | true | [
"Ping! :)",
"FYI Requests already supports Brotli [via urllib3](https://urllib3.readthedocs.io/en/latest/advanced-usage.html#brotli-encoding):\r\n\r\n```python\r\nimport requests\r\n\r\nhttp = requests.Session()\r\nhttp.headers = {\"Accept-Encoding\": \"br\"}\r\n\r\nresp = http.request(\"GET\", \"https://cloudfla... |
https://api.github.com/repos/psf/requests/issues/5553 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5553/labels{/name} | https://api.github.com/repos/psf/requests/issues/5553/comments | https://api.github.com/repos/psf/requests/issues/5553/events | https://github.com/psf/requests/issues/5553 | 675,744,300 | MDU6SXNzdWU2NzU3NDQzMDA= | 5,553 | Requests module detected by antibot protection, but curl not | {
"avatar_url": "https://avatars.githubusercontent.com/u/69431678?v=4",
"events_url": "https://api.github.com/users/yojuwahajeke/events{/privacy}",
"followers_url": "https://api.github.com/users/yojuwahajeke/followers",
"following_url": "https://api.github.com/users/yojuwahajeke/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2020-08-09T18:03:20Z | 2021-08-30T00:06:19Z | 2020-08-11T23:58:05Z | NONE | resolved | I am tring to get pixabay.com content.
Requests module detected by antibot protection, but curl command working perfectly.
(Please don't tell anything about javascript, ...)
This is the second website I seen detected with python module requests.
## Expected Result
Response status code: 200
pixabay website conte... | {
"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/5553/reactions"
} | https://api.github.com/repos/psf/requests/issues/5553/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/5552 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5552/labels{/name} | https://api.github.com/repos/psf/requests/issues/5552/comments | https://api.github.com/repos/psf/requests/issues/5552/events | https://github.com/psf/requests/issues/5552 | 675,528,050 | MDU6SXNzdWU2NzU1MjgwNTA= | 5,552 | Response 400 while using Requests package in Django | {
"avatar_url": "https://avatars.githubusercontent.com/u/27157974?v=4",
"events_url": "https://api.github.com/users/imsurajsharma/events{/privacy}",
"followers_url": "https://api.github.com/users/imsurajsharma/followers",
"following_url": "https://api.github.com/users/imsurajsharma/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 9 | 2020-08-08T13:47:21Z | 2021-08-30T00:06:15Z | 2020-08-25T16:31:44Z | NONE | resolved | I want to scrap Myntra using Django Framework but when I put my code in Django project I get 400 error. The same code runs without error when I run it on the same file even in Django. Means calling the MyntraScraperClass in MyntraScraper.py file.
Here is my project directory
```
BackendController
-MyntraScrap... | {
"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/5552/reactions"
} | https://api.github.com/repos/psf/requests/issues/5552/timeline | null | completed | null | null | false | [
"Had the same issue. I couldn't solved it.",
"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.",
"@si... |
https://api.github.com/repos/psf/requests/issues/5551 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5551/labels{/name} | https://api.github.com/repos/psf/requests/issues/5551/comments | https://api.github.com/repos/psf/requests/issues/5551/events | https://github.com/psf/requests/issues/5551 | 675,123,577 | MDU6SXNzdWU2NzUxMjM1Nzc= | 5,551 | urllib3.exceptions.ProtocolError | {
"avatar_url": "https://avatars.githubusercontent.com/u/15031992?v=4",
"events_url": "https://api.github.com/users/ishaileshmishra/events{/privacy}",
"followers_url": "https://api.github.com/users/ishaileshmishra/followers",
"following_url": "https://api.github.com/users/ishaileshmishra/following{/other_user}"... | [] | closed | true | null | [] | null | 1 | 2020-08-07T16:18:22Z | 2021-08-30T00:06:20Z | 2020-08-07T16:29:05Z | NONE | resolved | Summary.
getting urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
Log
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py... | {
"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/5551/reactions"
} | https://api.github.com/repos/psf/requests/issues/5551/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/5550 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5550/labels{/name} | https://api.github.com/repos/psf/requests/issues/5550/comments | https://api.github.com/repos/psf/requests/issues/5550/events | https://github.com/psf/requests/issues/5550 | 674,506,147 | MDU6SXNzdWU2NzQ1MDYxNDc= | 5,550 | ConnectionError BadStatusLine on Python 3.8 on macOS | {
"avatar_url": "https://avatars.githubusercontent.com/u/8939758?v=4",
"events_url": "https://api.github.com/users/andy-maier/events{/privacy}",
"followers_url": "https://api.github.com/users/andy-maier/followers",
"following_url": "https://api.github.com/users/andy-maier/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-08-06T18:10:41Z | 2021-11-26T04:00:33Z | 2021-08-28T03:23:17Z | NONE | resolved | We are using a thread-based HTTP server, and on the client side the `requests.post()` method raises:
```
ConnectionError: ('Connection aborted.', BadStatusLine('POST / HTTP/1.1\r\n'))
```
The exception happens only every now and then, and is not really predictable. Sometimes, it happens after 100+ successful POSTs.... | {
"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/5550/reactions"
} | https://api.github.com/repos/psf/requests/issues/5550/timeline | null | completed | null | null | false | [
"Hi @andy-maier, I'm not sure if you've resolved this but I took a quick look at this issue. The server in question appears to be periodically confused. This may be due to a threading issue or some other defect. You can see that we've received a [Status Line](https://datatracker.ietf.org/doc/html/rfc7230#section-3.... |
https://api.github.com/repos/psf/requests/issues/5549 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5549/labels{/name} | https://api.github.com/repos/psf/requests/issues/5549/comments | https://api.github.com/repos/psf/requests/issues/5549/events | https://github.com/psf/requests/issues/5549 | 674,276,856 | MDU6SXNzdWU2NzQyNzY4NTY= | 5,549 | Allow [] in params | {
"avatar_url": "https://avatars.githubusercontent.com/u/6634187?v=4",
"events_url": "https://api.github.com/users/Luttik/events{/privacy}",
"followers_url": "https://api.github.com/users/Luttik/followers",
"following_url": "https://api.github.com/users/Luttik/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2020-08-06T12:31:16Z | 2021-08-30T00:06:15Z | 2020-08-25T19:01:17Z | NONE | resolved | Currently, it seems to not be possible to have [] in query parameters at all using requests since it url-encodes them even though these characters are essential parts of many API's (e.g. they require filters like `?filters[key1]=val1&filters[key2]=val2`). There seems to be no other method to obtain the filters as menti... | {
"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/5549/reactions"
} | https://api.github.com/repos/psf/requests/issues/5549/timeline | null | completed | null | null | false | [
"Hi @Luttik,\r\n\r\nIt sounds like there may be some confusion about valid query params. Query parameters are defined in [RFC 3986](https://tools.ietf.org/html/rfc3986#section-3.4) to explicitly be a `pchar`*.\r\n\r\nIf your application isn't able to properly decode URIs, you may be able to look at using PreparedRe... |
https://api.github.com/repos/psf/requests/issues/5548 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5548/labels{/name} | https://api.github.com/repos/psf/requests/issues/5548/comments | https://api.github.com/repos/psf/requests/issues/5548/events | https://github.com/psf/requests/issues/5548 | 672,317,146 | MDU6SXNzdWU2NzIzMTcxNDY= | 5,548 | Is chardetect.exe required for get request and content? | {
"avatar_url": "https://avatars.githubusercontent.com/u/6799242?v=4",
"events_url": "https://api.github.com/users/wilberh/events{/privacy}",
"followers_url": "https://api.github.com/users/wilberh/followers",
"following_url": "https://api.github.com/users/wilberh/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2020-08-03T20:15:13Z | 2021-08-30T00:06:20Z | 2020-08-03T20:34:10Z | NONE | resolved | Hi - is "chardetect.exe" executable required for a get request and content? Just wanted to know. If not needed, then is it okay to delete it so that I can store the chardet files in bitbucket/git?
```
req = requests.get(url)
with io.BytesIO() as buf:
buf.write(req.content)
buf.seek(0)
```
Please re... | {
"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/5548/reactions"
} | https://api.github.com/repos/psf/requests/issues/5548/timeline | null | completed | null | null | false | [
"Requests currently requires the `chardet` package but doesn't rely on any of the CLI tools.\r\nSince this isn't a defect with the library please ask questions like this on StackOverflow in the future."
] |
https://api.github.com/repos/psf/requests/issues/5547 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5547/labels{/name} | https://api.github.com/repos/psf/requests/issues/5547/comments | https://api.github.com/repos/psf/requests/issues/5547/events | https://github.com/psf/requests/issues/5547 | 672,247,992 | MDU6SXNzdWU2NzIyNDc5OTI= | 5,547 | Got ProtocolError when Sending SOAP requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/2102491?v=4",
"events_url": "https://api.github.com/users/XiaoguangMo/events{/privacy}",
"followers_url": "https://api.github.com/users/XiaoguangMo/followers",
"following_url": "https://api.github.com/users/XiaoguangMo/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2020-08-03T18:00:20Z | 2021-11-26T04:00:32Z | 2021-08-28T03:31:01Z | NONE | resolved | I was trying to send a SOAP request to an ancient banking server, firstly I tried with Postman and it returns whatever I want.
Then I tried to send requests from pure python 3.8.3 with requests, `headers = {"content-type" : "text/xml"}` and using `response = requests.post(url, data = body, headers = headers)
`, I got... | {
"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/5547/reactions"
} | https://api.github.com/repos/psf/requests/issues/5547/timeline | null | completed | null | null | false | [
"BTW that server also will return a default message if you send a GET request, so `response = requests.get(url, data = body, headers = headers)` will return the correct response same as what I can get from Postman or web browser.",
"It appears this server is intentionally killing the connection with Requests when... |
https://api.github.com/repos/psf/requests/issues/5546 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5546/labels{/name} | https://api.github.com/repos/psf/requests/issues/5546/comments | https://api.github.com/repos/psf/requests/issues/5546/events | https://github.com/psf/requests/pull/5546 | 671,633,531 | MDExOlB1bGxSZXF1ZXN0NDYxODE5MTg1 | 5,546 | Fix Reitz's GitHub handle in docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/6032823?v=4",
"events_url": "https://api.github.com/users/Jackenmen/events{/privacy}",
"followers_url": "https://api.github.com/users/Jackenmen/followers",
"following_url": "https://api.github.com/users/Jackenmen/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2020-08-02T15:11:13Z | 2021-08-28T00:06:23Z | 2020-08-02T15:21:49Z | NONE | resolved | Currently it links to some account created in April 21 2020, so I'm taking a wild guess that it isn't intentional. | {
"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/5546/reactions"
} | https://api.github.com/repos/psf/requests/issues/5546/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5546.diff",
"html_url": "https://github.com/psf/requests/pull/5546",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5546.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5546"
} | true | [
"Hi @jack1142, thanks for contributing! We actually already have a branch up with this change that will get merged in the near future. I think we'll keep the doc changes consolidated to there for now."
] |
https://api.github.com/repos/psf/requests/issues/5545 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5545/labels{/name} | https://api.github.com/repos/psf/requests/issues/5545/comments | https://api.github.com/repos/psf/requests/issues/5545/events | https://github.com/psf/requests/issues/5545 | 669,020,324 | MDU6SXNzdWU2NjkwMjAzMjQ= | 5,545 | 407 Proxy Requires Authentication | {
"avatar_url": "https://avatars.githubusercontent.com/u/58109239?v=4",
"events_url": "https://api.github.com/users/scullcandyz/events{/privacy}",
"followers_url": "https://api.github.com/users/scullcandyz/followers",
"following_url": "https://api.github.com/users/scullcandyz/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2020-07-30T17:45:01Z | 2021-08-29T00:06:36Z | 2020-11-10T00:14:08Z | NONE | resolved | I cant seem to send any requests with auth proxies, I know for a fact the way I have it set up should theoretically work. Proxies are being passed in the correct format, I tried passing them to requests in all possible ways.
I tried:
- Reinstall Requests
- Pass requests the proxies in all possible ways
- Create... | {
"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/5545/reactions"
} | https://api.github.com/repos/psf/requests/issues/5545/timeline | null | completed | null | null | false | [
"Either your proxy server requires authentication different from the basic one, or you did not enter the username and password correctly in the proxy_url. To begin with, you can send a request to your proxy server and look at the header 'Proxy-Authenticate' of response. It will indicate the type of authentication t... |
https://api.github.com/repos/psf/requests/issues/5544 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5544/labels{/name} | https://api.github.com/repos/psf/requests/issues/5544/comments | https://api.github.com/repos/psf/requests/issues/5544/events | https://github.com/psf/requests/issues/5544 | 668,903,401 | MDU6SXNzdWU2Njg5MDM0MDE= | 5,544 | Raising readtimeout instead of connecttimeout | {
"avatar_url": "https://avatars.githubusercontent.com/u/1932338?v=4",
"events_url": "https://api.github.com/users/stephanebruckert/events{/privacy}",
"followers_url": "https://api.github.com/users/stephanebruckert/followers",
"following_url": "https://api.github.com/users/stephanebruckert/following{/other_user... | [] | open | false | null | [] | null | 7 | 2020-07-30T15:57:31Z | 2021-08-10T13:47:24Z | null | NONE | null | My timeout is set to `(1,10)` AKA connect=1, read=10 and when it times out, I can see either:
> HTTPSConnectionPool(host='cloud-collector.newrelic.com', port=443): Read timed out. (read timeout=10)
or
> HTTPSConnectionPool(host='cloud-collector.newrelic.com', port=443): Read timed out. (read timeout=1)
<im... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5544/reactions"
} | https://api.github.com/repos/psf/requests/issues/5544/timeline | null | null | null | null | false | [
"I'm not sure if this is related, but it's a read timeout issue. I have timeout=60 but this exception is thrown <= 154ms after the post?\r\n```\r\n2020-09-06 09:28:12,599 Controller polyinterface DEBUG pgSession: Ecobee Controller:post: Sending: url=https://api.ecobee.com/token payload={}\r\n2020-09-06 09:... |
https://api.github.com/repos/psf/requests/issues/5543 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5543/labels{/name} | https://api.github.com/repos/psf/requests/issues/5543/comments | https://api.github.com/repos/psf/requests/issues/5543/events | https://github.com/psf/requests/issues/5543 | 668,078,886 | MDU6SXNzdWU2NjgwNzg4ODY= | 5,543 | Request fails in python subprocess | {
"avatar_url": "https://avatars.githubusercontent.com/u/766285?v=4",
"events_url": "https://api.github.com/users/vijay120/events{/privacy}",
"followers_url": "https://api.github.com/users/vijay120/followers",
"following_url": "https://api.github.com/users/vijay120/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 9 | 2020-07-29T19:14:07Z | 2021-08-30T00:06:21Z | 2020-07-31T17:49:41Z | NONE | resolved | ## Summary
The request library stalls in a python subprocess and does not fulfill the request.
## Expected Result
The line "after call" should be printed and the response to the GET request should also be printed.
## Actual Result
The subprocess stalls at "before call" and does not print "after call" and... | {
"avatar_url": "https://avatars.githubusercontent.com/u/766285?v=4",
"events_url": "https://api.github.com/users/vijay120/events{/privacy}",
"followers_url": "https://api.github.com/users/vijay120/followers",
"following_url": "https://api.github.com/users/vijay120/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/5543/reactions"
} | https://api.github.com/repos/psf/requests/issues/5543/timeline | null | completed | null | null | false | [
"Where does `Process` come frome?",
"I ask because with a slight modification (using `multiprocessing`) I see no issues:\r\n\r\n```\r\nfrom multiprocessing import Process\r\n\r\nimport requests\r\n\r\n\r\ndef make_request():\r\n print(\"before call\")\r\n response = requests.request(\"GET\", \"https://www.g... |
https://api.github.com/repos/psf/requests/issues/5542 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5542/labels{/name} | https://api.github.com/repos/psf/requests/issues/5542/comments | https://api.github.com/repos/psf/requests/issues/5542/events | https://github.com/psf/requests/pull/5542 | 667,775,748 | MDExOlB1bGxSZXF1ZXN0NDU4MzgxMTM5 | 5,542 | Fix documentation for proxies, missing an "s" for https | {
"avatar_url": "https://avatars.githubusercontent.com/u/2124818?v=4",
"events_url": "https://api.github.com/users/jonathan-s/events{/privacy}",
"followers_url": "https://api.github.com/users/jonathan-s/followers",
"following_url": "https://api.github.com/users/jonathan-s/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-07-29T11:36:18Z | 2021-08-28T00:06:24Z | 2020-07-29T14:25:16Z | NONE | resolved | It looks like the documentation regarding how proxies should be defined is using the wrong scheme for https. I assume that this is a mistake, otherwise it would be good to explain why this is the case in the documentation. | {
"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/5542/reactions"
} | https://api.github.com/repos/psf/requests/issues/5542/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5542.diff",
"html_url": "https://github.com/psf/requests/pull/5542",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5542.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5542"
} | true | [
"This is intentional. Requests doesn't support HTTPS proxies currently."
] |
https://api.github.com/repos/psf/requests/issues/5541 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5541/labels{/name} | https://api.github.com/repos/psf/requests/issues/5541/comments | https://api.github.com/repos/psf/requests/issues/5541/events | https://github.com/psf/requests/pull/5541 | 667,324,463 | MDExOlB1bGxSZXF1ZXN0NDU4MDEzNzY5 | 5,541 | Making code examples in documentation more consistent with contributi… | {
"avatar_url": "https://avatars.githubusercontent.com/u/28850462?v=4",
"events_url": "https://api.github.com/users/kgr7/events{/privacy}",
"followers_url": "https://api.github.com/users/kgr7/followers",
"following_url": "https://api.github.com/users/kgr7/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 3 | 2020-07-28T19:43:37Z | 2021-10-10T19:00:51Z | 2021-07-12T18:21:06Z | NONE | resolved | …on guidelines | {
"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/5541/reactions"
} | https://api.github.com/repos/psf/requests/issues/5541/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5541.diff",
"html_url": "https://github.com/psf/requests/pull/5541",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5541.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5541"
} | true | [
"@AaronRobson hello, I recognised that you approved these changes a while ago. I tried pulling the changes into my forked repo, but now it has left this massive PR... Should I just close this? It seems like a pain to deal with.",
"> @AaronRobson hello, I recognised that you approved these changes a while ago. I t... |
https://api.github.com/repos/psf/requests/issues/5540 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5540/labels{/name} | https://api.github.com/repos/psf/requests/issues/5540/comments | https://api.github.com/repos/psf/requests/issues/5540/events | https://github.com/psf/requests/issues/5540 | 665,135,091 | MDU6SXNzdWU2NjUxMzUwOTE= | 5,540 | iter_lines is still broken? | {
"avatar_url": "https://avatars.githubusercontent.com/u/2243958?v=4",
"events_url": "https://api.github.com/users/vitidev/events{/privacy}",
"followers_url": "https://api.github.com/users/vitidev/followers",
"following_url": "https://api.github.com/users/vitidev/following{/other_user}",
"gists_url": "https:/... | [] | open | false | null | [] | null | 9 | 2020-07-24T12:27:57Z | 2023-11-10T21:01:17Z | null | NONE | null | I don't understand.
I can't iterate "\r\n" because "\r" and "\n" can be read into different chunks.
But I can't even get solve this problem by explicitly setting the final delimiter "\n"
for line in (_.strip() for _ in resp.iter_lines(delimiter=b"\n")):
print(line)
because if chunk end wit... | null | {
"+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/5540/reactions"
} | https://api.github.com/repos/psf/requests/issues/5540/timeline | null | null | null | null | false | [
"> I can't iterate \"\\r\\n\" because \"\\r\" and \"\\n\" can be read into different chunks.\r\n\r\n\r\n\r\n> I can't even get solve this problem\r\n\r\nI still don't understand your problem but I think you have unrealistic expectations of what iter_lines does. Your issue isn't cogent enough for me to make sense o... |
https://api.github.com/repos/psf/requests/issues/5539 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5539/labels{/name} | https://api.github.com/repos/psf/requests/issues/5539/comments | https://api.github.com/repos/psf/requests/issues/5539/events | https://github.com/psf/requests/issues/5539 | 664,905,871 | MDU6SXNzdWU2NjQ5MDU4NzE= | 5,539 | PyPi website description is showing HTML | {
"avatar_url": "https://avatars.githubusercontent.com/u/2363526?v=4",
"events_url": "https://api.github.com/users/LyalinDotCom/events{/privacy}",
"followers_url": "https://api.github.com/users/LyalinDotCom/followers",
"following_url": "https://api.github.com/users/LyalinDotCom/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 3 | 2020-07-24T04:22:24Z | 2020-08-04T19:06:19Z | 2020-07-24T04:25:05Z | NONE | null | When viewing the package on PyPi using Edge I am seeing HTML where it should just be a text description.
**Details:**
* Browser: Edge (Chromium) version 84.0.522.40 (Official build) (64-bit)
* OS: Windows 10
## Screenshot of the problem:
. We no longer prefer PyOpenSSL unless there isn't an available ssl library with SNI support from the base interpreter. There are a number of concerns about PyOpenSSL that have lead both Requests and urllib3 to deprioritize its... |
https://api.github.com/repos/psf/requests/issues/5536 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5536/labels{/name} | https://api.github.com/repos/psf/requests/issues/5536/comments | https://api.github.com/repos/psf/requests/issues/5536/events | https://github.com/psf/requests/issues/5536 | 660,816,593 | MDU6SXNzdWU2NjA4MTY1OTM= | 5,536 | When stream=True iter_content(chunk_size=None) reads the input as a single big chunk | {
"avatar_url": "https://avatars.githubusercontent.com/u/52621858?v=4",
"events_url": "https://api.github.com/users/hexagonrecursion/events{/privacy}",
"followers_url": "https://api.github.com/users/hexagonrecursion/followers",
"following_url": "https://api.github.com/users/hexagonrecursion/following{/other_use... | [] | open | false | null | [] | null | 15 | 2020-07-19T12:45:58Z | 2023-11-09T15:26:01Z | null | NONE | null | [According to the documentation](https://2.python-requests.org/en/master/api/#requests.Response.iter_content) when stream=True iter_content(chunk_size=None) "will read data as it arrives in whatever size the chunks are received", But it actually collects all input into a single big bytes object consuming large amounts ... | null | {
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/psf/requests/issues/5536/reactions"
} | https://api.github.com/repos/psf/requests/issues/5536/timeline | null | null | null | null | false | [
"`chunk_size=None` as you've quoted relies on the size of the data as sent by the server. If there server is sending everything all at once and it's all on the socket, what do you expect the library to do differently?",
"@sigmavirus24 I don't think the server sends the file all at once. The example above produces... |
https://api.github.com/repos/psf/requests/issues/5535 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5535/labels{/name} | https://api.github.com/repos/psf/requests/issues/5535/comments | https://api.github.com/repos/psf/requests/issues/5535/events | https://github.com/psf/requests/issues/5535 | 657,810,045 | MDU6SXNzdWU2NTc4MTAwNDU= | 5,535 | https request via http proxy lead to hangs | {
"avatar_url": "https://avatars.githubusercontent.com/u/11945009?v=4",
"events_url": "https://api.github.com/users/xiazhibin/events{/privacy}",
"followers_url": "https://api.github.com/users/xiazhibin/followers",
"following_url": "https://api.github.com/users/xiazhibin/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2020-07-16T03:16:09Z | 2021-08-30T00:06:27Z | 2020-07-19T03:07:09Z | NONE | resolved | ```
http_proxy = "http://192.168.128.3:58591"
proxyDict = {
"http": http_proxy,
"https": http_proxy,
}
resp = requests.get("https://example.com/", proxies=proxyDict, timeout=3)
print(resp.text)
```
When I use this proxy to request, it hangs at ssl handshake.So I change to sock proxy, it works.
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/11945009?v=4",
"events_url": "https://api.github.com/users/xiazhibin/events{/privacy}",
"followers_url": "https://api.github.com/users/xiazhibin/followers",
"following_url": "https://api.github.com/users/xiazhibin/following{/other_user}",
"gists_url": "... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5535/reactions"
} | https://api.github.com/repos/psf/requests/issues/5535/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/5534 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5534/labels{/name} | https://api.github.com/repos/psf/requests/issues/5534/comments | https://api.github.com/repos/psf/requests/issues/5534/events | https://github.com/psf/requests/issues/5534 | 657,727,541 | MDU6SXNzdWU2NTc3Mjc1NDE= | 5,534 | - | {
"avatar_url": "https://avatars.githubusercontent.com/u/527862?v=4",
"events_url": "https://api.github.com/users/zyxue/events{/privacy}",
"followers_url": "https://api.github.com/users/zyxue/followers",
"following_url": "https://api.github.com/users/zyxue/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2020-07-15T23:32:58Z | 2021-08-30T00:06:27Z | 2020-07-15T23:34:08Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/527862?v=4",
"events_url": "https://api.github.com/users/zyxue/events{/privacy}",
"followers_url": "https://api.github.com/users/zyxue/followers",
"following_url": "https://api.github.com/users/zyxue/following{/other_user}",
"gists_url": "https://api.gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5534/reactions"
} | https://api.github.com/repos/psf/requests/issues/5534/timeline | null | completed | null | null | false | [
"sorry, asked in wrong repo."
] | |
https://api.github.com/repos/psf/requests/issues/5533 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5533/labels{/name} | https://api.github.com/repos/psf/requests/issues/5533/comments | https://api.github.com/repos/psf/requests/issues/5533/events | https://github.com/psf/requests/pull/5533 | 657,284,108 | MDExOlB1bGxSZXF1ZXN0NDQ5NDI2MzY2 | 5,533 | Update Python Version in Shell Example in README | {
"avatar_url": "https://avatars.githubusercontent.com/u/52805709?v=4",
"events_url": "https://api.github.com/users/wyz23x2/events{/privacy}",
"followers_url": "https://api.github.com/users/wyz23x2/followers",
"following_url": "https://api.github.com/users/wyz23x2/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2020-07-15T11:41:15Z | 2021-08-28T00:06:26Z | 2020-07-21T06:09:10Z | NONE | resolved | Python 3.8.4 is now released, but the version in README is still 3.7.4. Let's update it. | {
"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/5533/reactions"
} | https://api.github.com/repos/psf/requests/issues/5533/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5533.diff",
"html_url": "https://github.com/psf/requests/pull/5533",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5533.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5533"
} | true | [
"Why? This isn't necessary to illustrate the code in the console",
"Hi @wyz23x2, thanks for contributing to Requests! Unfortunately, we don't usually accept cosmetic changes to documentation and I'm not sure this provides new info for the reader. I think we'll pass on this for now."
] |
https://api.github.com/repos/psf/requests/issues/5532 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5532/labels{/name} | https://api.github.com/repos/psf/requests/issues/5532/comments | https://api.github.com/repos/psf/requests/issues/5532/events | https://github.com/psf/requests/issues/5532 | 655,948,675 | MDU6SXNzdWU2NTU5NDg2NzU= | 5,532 | Erroneous response headers parsing in some cases | {
"avatar_url": "https://avatars.githubusercontent.com/u/601975?v=4",
"events_url": "https://api.github.com/users/fbparis/events{/privacy}",
"followers_url": "https://api.github.com/users/fbparis/followers",
"following_url": "https://api.github.com/users/fbparis/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 2 | 2020-07-13T15:37:11Z | 2021-08-31T00:06:40Z | 2020-07-14T07:35:27Z | NONE | resolved | ## Summary
Information can be lost during the parsing of some complex headers response, like for example these ones [https://developers.google.com/search/reference/robots_meta_tag#xrobotstag](https://developers.google.com/search/reference/robots_meta_tag#xrobotstag)
Simulating something like this with httpbin giv... | {
"avatar_url": "https://avatars.githubusercontent.com/u/601975?v=4",
"events_url": "https://api.github.com/users/fbparis/events{/privacy}",
"followers_url": "https://api.github.com/users/fbparis/followers",
"following_url": "https://api.github.com/users/fbparis/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/5532/reactions"
} | https://api.github.com/repos/psf/requests/issues/5532/timeline | null | completed | null | null | false | [
"This is totally valid HTTP/1.1 header behaviour and has been discussed in numerous closed issues.",
"OK so, if it's _valid_... I'll keep using `requests.Response.raw._original_response.getheaders()` instead of `requests.Response.headers` I can't trust (but I guess the X-Robots-Tag specification is legit too).\r\... |
https://api.github.com/repos/psf/requests/issues/5531 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5531/labels{/name} | https://api.github.com/repos/psf/requests/issues/5531/comments | https://api.github.com/repos/psf/requests/issues/5531/events | https://github.com/psf/requests/issues/5531 | 655,187,323 | MDU6SXNzdWU2NTUxODczMjM= | 5,531 | I get 403 from a get request | {
"avatar_url": "https://avatars.githubusercontent.com/u/32908055?v=4",
"events_url": "https://api.github.com/users/UWTD/events{/privacy}",
"followers_url": "https://api.github.com/users/UWTD/followers",
"following_url": "https://api.github.com/users/UWTD/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 5 | 2020-07-11T11:00:07Z | 2021-08-31T00:06:39Z | 2020-07-15T05:04:24Z | NONE | resolved | I don't know if it's ok to post this url?
[url](https://gcpvuclip-a.akamaihd.net/exp=1594464888~acl=%2f11125cc917d31e89f39b04e48017551f%2f*~data=cid%3d1165763700%2ciid%3dc85a94cc-1674-4eda-b955-fb54269101a6%2csid%3dakamai-890d3df2-8143-41ae-a5ca-2d6e8a8d1be4%2csiteId%3dviu%2cslotId%3dwebapp2%2cclientId%3dnone%2cn%3d1... | {
"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/5531/reactions"
} | https://api.github.com/repos/psf/requests/issues/5531/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> Hi there! Thanks for opening this is... |
https://api.github.com/repos/psf/requests/issues/5530 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5530/labels{/name} | https://api.github.com/repos/psf/requests/issues/5530/comments | https://api.github.com/repos/psf/requests/issues/5530/events | https://github.com/psf/requests/issues/5530 | 655,071,087 | MDU6SXNzdWU2NTUwNzEwODc= | 5,530 | Test test_https_warnings is not functional with pytest-httpbin 1.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/2401856?v=4",
"events_url": "https://api.github.com/users/hroncok/events{/privacy}",
"followers_url": "https://api.github.com/users/hroncok/followers",
"following_url": "https://api.github.com/users/hroncok/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 4 | 2020-07-10T22:38:13Z | 2021-10-10T15:00:17Z | 2021-07-12T14:44:43Z | CONTRIBUTOR | resolved | test_https_warnings is expecting the certificates from pytest-httpbin to produce SubjectAltNameWarning.
pytest-httpbin 1.0 was released, but it has newer certificates that do not produce the warning:
https://github.com/kevin1024/pytest-httpbin/pull/53
And hence the version of pytest-httpbin is pinned here:
... | {
"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/5530/reactions"
} | https://api.github.com/repos/psf/requests/issues/5530/timeline | null | completed | null | null | false | [
"Thanks for reporting this issue, we've known of this problem for some time but would take some work to fix, would you be willing to provide a patch?",
"Not sure how to approach it. Certainly, the warning can be made not expected with the new pytest-httpbin, that I can do. However actually testing the warning hap... |
https://api.github.com/repos/psf/requests/issues/5529 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5529/labels{/name} | https://api.github.com/repos/psf/requests/issues/5529/comments | https://api.github.com/repos/psf/requests/issues/5529/events | https://github.com/psf/requests/issues/5529 | 654,762,873 | MDU6SXNzdWU2NTQ3NjI4NzM= | 5,529 | Avoid reading unlimited body of the redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/3994211?v=4",
"events_url": "https://api.github.com/users/Sindbag/events{/privacy}",
"followers_url": "https://api.github.com/users/Sindbag/followers",
"following_url": "https://api.github.com/users/Sindbag/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2020-07-10T12:56:13Z | 2021-08-30T00:06:26Z | 2020-07-21T05:38:20Z | NONE | resolved | https://github.com/psf/requests/blob/1b417634721ec377abb7f17bc1f215e07202c2f7/requests/sessions.py#L160:L164
Here socket is read till the end, but in case of unlimited or extremely huge body the process is stuck.
Solution I can assume - drop connection in case of extremely huge body (unlimited by default), as redirec... | {
"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/5529/reactions"
} | https://api.github.com/repos/psf/requests/issues/5529/timeline | null | completed | null | null | false | [
"Not reading the entire body is also a vulnerability and was a deliberate choice. There's no way to close the socket from Python without draining it or otherwise causing a significant memory leak. So on one hand, you read a lot of data off the socket, on the other your program OOMs",
"Hi @Sindbag, sigmavirus24 is... |
https://api.github.com/repos/psf/requests/issues/5528 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5528/labels{/name} | https://api.github.com/repos/psf/requests/issues/5528/comments | https://api.github.com/repos/psf/requests/issues/5528/events | https://github.com/psf/requests/issues/5528 | 654,551,095 | MDU6SXNzdWU2NTQ1NTEwOTU= | 5,528 | Wrong page in Pipy | {
"avatar_url": "https://avatars.githubusercontent.com/u/8952687?v=4",
"events_url": "https://api.github.com/users/carolcoral/events{/privacy}",
"followers_url": "https://api.github.com/users/carolcoral/followers",
"following_url": "https://api.github.com/users/carolcoral/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2020-07-10T06:44:05Z | 2021-08-31T00:06:41Z | 2020-07-10T14:31:18Z | NONE | resolved | # desc
URL:https://pypi.org/project/requests/
There have error in pipy page like this.
The CSS doesn`t get work.

| {
"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/5528/reactions"
} | https://api.github.com/repos/psf/requests/issues/5528/timeline | null | completed | null | null | false | [
"Duplicate of #5501 "
] |
https://api.github.com/repos/psf/requests/issues/5527 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5527/labels{/name} | https://api.github.com/repos/psf/requests/issues/5527/comments | https://api.github.com/repos/psf/requests/issues/5527/events | https://github.com/psf/requests/issues/5527 | 653,288,393 | MDU6SXNzdWU2NTMyODgzOTM= | 5,527 | is there a way to use a requests session with tasks e.g. celery? | {
"avatar_url": "https://avatars.githubusercontent.com/u/26790901?v=4",
"events_url": "https://api.github.com/users/christopherpross/events{/privacy}",
"followers_url": "https://api.github.com/users/christopherpross/followers",
"following_url": "https://api.github.com/users/christopherpross/following{/other_use... | [] | closed | true | null | [] | null | 2 | 2020-07-08T13:15:15Z | 2021-11-26T04:00:33Z | 2021-08-28T03:27:35Z | NONE | resolved | Hey,
first, I have already created a question on stack-overflow, but didn't recieve an answer. I want to write this down here, because I know about the discusion about threat safity of requests sessions and so on.
You can find the Question [here](https://stackoverflow.com/questions/62648309/is-there-a-way-to-use-a-r... | {
"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/5527/reactions"
} | https://api.github.com/repos/psf/requests/issues/5527/timeline | null | completed | null | null | false | [
"I have read your problem but can you simplify what you need about this ?",
"It looks like the original stack overflow question was removed for moderation violations. If you search Stack Overflow for \"Requests Celery\" you'll find many answers to this question. The short answer is yes there are options to use th... |
https://api.github.com/repos/psf/requests/issues/5526 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5526/labels{/name} | https://api.github.com/repos/psf/requests/issues/5526/comments | https://api.github.com/repos/psf/requests/issues/5526/events | https://github.com/psf/requests/issues/5526 | 650,303,338 | MDU6SXNzdWU2NTAzMDMzMzg= | 5,526 | Requests and chrome browser requests behave differently when params contains '|' | {
"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:/... | [] | closed | true | null | [] | null | 1 | 2020-07-03T02:40:57Z | 2021-08-30T00:06:27Z | 2020-07-15T05:06:38Z | NONE | resolved | when request URL: `http://192.168.12.202/cgi-bin/rtpd.cgi?echo&AdminPasswd_ss|tdb&get&HTTPAccount`,It urlencode the '|' char to '%7C' when use requests.But when I use chrome request the url,It seems the chrome doesn't encoded the '|' char, I have try the flowing way to disable url encode,but It seem not work.Does there... | {
"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/5526/reactions"
} | https://api.github.com/repos/psf/requests/issues/5526/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/5525 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5525/labels{/name} | https://api.github.com/repos/psf/requests/issues/5525/comments | https://api.github.com/repos/psf/requests/issues/5525/events | https://github.com/psf/requests/issues/5525 | 650,070,920 | MDU6SXNzdWU2NTAwNzA5MjA= | 5,525 | Setting encoding of UTF-8 for some websites with non-UTF-8 encoding change response.text to be gibberish | {
"avatar_url": "https://avatars.githubusercontent.com/u/3903412?v=4",
"events_url": "https://api.github.com/users/advance512/events{/privacy}",
"followers_url": "https://api.github.com/users/advance512/followers",
"following_url": "https://api.github.com/users/advance512/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 7 | 2020-07-02T16:43:26Z | 2021-08-30T00:06:26Z | 2020-07-21T05:44:16Z | NONE | resolved | When making a request to http://www.qq.com (or other pages like it), the encoding is returned as GB-2312. Looking at the response.text with the debugger, everything looks fine - correct characters.

However,... | {
"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/5525/reactions"
} | https://api.github.com/repos/psf/requests/issues/5525/timeline | null | completed | null | null | false | [
"According to https://requests.readthedocs.io/en/master/user/advanced/#encodings, the encodings are extracted from the headers, and if it cannot be found, it uses `chardet` as a fallback. When the encoding is in the body, it seems it is just ignored.\r\nI am trying out this one: https://w3lib.readthedocs.io/en/late... |
https://api.github.com/repos/psf/requests/issues/5524 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5524/labels{/name} | https://api.github.com/repos/psf/requests/issues/5524/comments | https://api.github.com/repos/psf/requests/issues/5524/events | https://github.com/psf/requests/issues/5524 | 649,872,101 | MDU6SXNzdWU2NDk4NzIxMDE= | 5,524 | Error when importing requests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/39850778?v=4",
"events_url": "https://api.github.com/users/arshadshk/events{/privacy}",
"followers_url": "https://api.github.com/users/arshadshk/followers",
"following_url": "https://api.github.com/users/arshadshk/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 1 | 2020-07-02T11:55:01Z | 2021-08-31T00:06:41Z | 2020-07-02T18:25:26Z | NONE | resolved | Following error when I import requests.
```
check_compatibility(urllib3.__version__, chardet.__version__)
AttributeError: module 'chardet' has no attribute '__version__'
``` | {
"avatar_url": "https://avatars.githubusercontent.com/u/39850778?v=4",
"events_url": "https://api.github.com/users/arshadshk/events{/privacy}",
"followers_url": "https://api.github.com/users/arshadshk/followers",
"following_url": "https://api.github.com/users/arshadshk/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/5524/reactions"
} | https://api.github.com/repos/psf/requests/issues/5524/timeline | null | completed | null | null | false | [
"Installed chardet==2.3.0 and the issue resolved.\r\n"
] |
https://api.github.com/repos/psf/requests/issues/5523 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5523/labels{/name} | https://api.github.com/repos/psf/requests/issues/5523/comments | https://api.github.com/repos/psf/requests/issues/5523/events | https://github.com/psf/requests/issues/5523 | 647,728,693 | MDU6SXNzdWU2NDc3Mjg2OTM= | 5,523 | response.text is too slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/38455509?v=4",
"events_url": "https://api.github.com/users/GoddessLuBoYan/events{/privacy}",
"followers_url": "https://api.github.com/users/GoddessLuBoYan/followers",
"following_url": "https://api.github.com/users/GoddessLuBoYan/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2020-06-29T23:12:46Z | 2021-08-27T00:08:36Z | 2021-02-05T01:42:27Z | NONE | resolved | if response.content is too long(3MB) and there's no encoding, response.text will auto calculate the encoding, it takes me 15 seconds(33 for the debug mode)
so, what if we calculate the encoding only for content[0:1024]?
(if failed, we can add content[1024:2048] into the encoding-calculater and get the newest result) | {
"avatar_url": "https://avatars.githubusercontent.com/u/38455509?v=4",
"events_url": "https://api.github.com/users/GoddessLuBoYan/events{/privacy}",
"followers_url": "https://api.github.com/users/GoddessLuBoYan/followers",
"following_url": "https://api.github.com/users/GoddessLuBoYan/following{/other_user}",
... | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/5523/reactions"
} | https://api.github.com/repos/psf/requests/issues/5523/timeline | null | completed | null | null | false | [
"`chardet` (the package which guesses the encoding) works better with the more data you give it. If you already need to _guess_ the encoding, you need to look at as much of the data as possible to guess more accurately. Guessing off the first 1kiB wouldn't be useful for a number of cases (e.g. if the response has a... |
https://api.github.com/repos/psf/requests/issues/5522 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5522/labels{/name} | https://api.github.com/repos/psf/requests/issues/5522/comments | https://api.github.com/repos/psf/requests/issues/5522/events | https://github.com/psf/requests/issues/5522 | 647,680,945 | MDU6SXNzdWU2NDc2ODA5NDU= | 5,522 | request.get does not return | {
"avatar_url": "https://avatars.githubusercontent.com/u/62627215?v=4",
"events_url": "https://api.github.com/users/Leonardo8133/events{/privacy}",
"followers_url": "https://api.github.com/users/Leonardo8133/followers",
"following_url": "https://api.github.com/users/Leonardo8133/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 3 | 2020-06-29T21:24:28Z | 2021-08-30T00:06:21Z | 2020-07-02T00:11:12Z | NONE | resolved |
When using `request.get("https://google.com/"),` i dont receive any response.
When i add a request.get("https://google.com/", timeout=5) i receive the response after 5 seconds! >> 0:00:05.223328.
if i switch the timeout to 10, it takes 10 second and etc...
if I request a simple html file, this problem doesnt o... | {
"avatar_url": "https://avatars.githubusercontent.com/u/62627215?v=4",
"events_url": "https://api.github.com/users/Leonardo8133/events{/privacy}",
"followers_url": "https://api.github.com/users/Leonardo8133/followers",
"following_url": "https://api.github.com/users/Leonardo8133/following{/other_user}",
"gist... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5522/reactions"
} | https://api.github.com/repos/psf/requests/issues/5522/timeline | null | completed | null | null | false | [
"maybe you get the response headers in 5 seconds, but you get the content for more and more time(such as because of bad network)\r\ntimeout is only for connect, not the content",
"I discovered the problem. \r\nThis problem just occur when using ipv6, when using ipv4,response comes in the right time.",
"I can ob... |
https://api.github.com/repos/psf/requests/issues/5521 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5521/labels{/name} | https://api.github.com/repos/psf/requests/issues/5521/comments | https://api.github.com/repos/psf/requests/issues/5521/events | https://github.com/psf/requests/pull/5521 | 647,601,306 | MDExOlB1bGxSZXF1ZXN0NDQxNTk3MzM4 | 5,521 | Support for multipart/form-data boundary | {
"avatar_url": "https://avatars.githubusercontent.com/u/316111?v=4",
"events_url": "https://api.github.com/users/virajkanwade/events{/privacy}",
"followers_url": "https://api.github.com/users/virajkanwade/followers",
"following_url": "https://api.github.com/users/virajkanwade/following{/other_user}",
"gists_... | [] | closed | false | null | [] | null | 4 | 2020-06-29T19:10:45Z | 2024-05-19T19:08:50Z | 2024-05-19T19:08:49Z | NONE | null | If custom boundary is set in content-type header, use it.
Relates to issues:
#1997
#3744
#621
#4740
#4589
#4554 | {
"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/5521/reactions"
} | https://api.github.com/repos/psf/requests/issues/5521/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5521.diff",
"html_url": "https://github.com/psf/requests/pull/5521",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5521.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5521"
} | true | [
"Shouldn't need adding another library for something which could easily be achieved in the base lib",
"The library is in feature-freeze and this is the worst way to implement this. So many users copy headers out of their Chrome inspector without knowing what they mean and this has wildly undefined behaviour with ... |
https://api.github.com/repos/psf/requests/issues/5520 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5520/labels{/name} | https://api.github.com/repos/psf/requests/issues/5520/comments | https://api.github.com/repos/psf/requests/issues/5520/events | https://github.com/psf/requests/pull/5520 | 646,451,309 | MDExOlB1bGxSZXF1ZXN0NDQwNzM4MDkx | 5,520 | Removing extra documentation parameter json when undefined | {
"avatar_url": "https://avatars.githubusercontent.com/u/576885?v=4",
"events_url": "https://api.github.com/users/tuxskar/events{/privacy}",
"followers_url": "https://api.github.com/users/tuxskar/followers",
"following_url": "https://api.github.com/users/tuxskar/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 4 | 2020-06-26T18:55:07Z | 2021-08-28T00:06:27Z | 2020-06-26T19:01:52Z | NONE | resolved | On the functions `put` and `patch` the parameter `json` is not defined as function parameter but it is on the docstring.
This commit is to remove the extra lines from the docstring.
The json parameter can be passed on the kwargs but never as positional parameter as it would be following the current 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/5520/reactions"
} | https://api.github.com/repos/psf/requests/issues/5520/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5520.diff",
"html_url": "https://github.com/psf/requests/pull/5520",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5520.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5520"
} | true | [
"Hi @tuxskar,\r\n\r\nThanks for the contribution! This is a reversion of #3666 where these were specifically added. They're intended to make the docstrings consistent and clarify that all of the APIs support the json parameter. I think we'll leave it in place for now.",
"I see, thanks for the response. \r\n\r\nIf... |
https://api.github.com/repos/psf/requests/issues/5519 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5519/labels{/name} | https://api.github.com/repos/psf/requests/issues/5519/comments | https://api.github.com/repos/psf/requests/issues/5519/events | https://github.com/psf/requests/issues/5519 | 646,368,294 | MDU6SXNzdWU2NDYzNjgyOTQ= | 5,519 | Remove copyrighted media from documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/13191497?v=4",
"events_url": "https://api.github.com/users/brandondube/events{/privacy}",
"followers_url": "https://api.github.com/users/brandondube/followers",
"following_url": "https://api.github.com/users/brandondube/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 4 | 2020-06-26T16:15:15Z | 2021-08-31T00:06:43Z | 2020-06-26T18:55:49Z | NONE | resolved | The [advanced usage](https://requests.readthedocs.io/en/master/user/advanced/) page contains a derivative of a [copyrighted album cover](https://wilderun.bandcamp.com/album/veil-of-imagination) the copyright for which is not owned by the PSF.
This must be removed. | {
"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/5519/reactions"
} | https://api.github.com/repos/psf/requests/issues/5519/timeline | null | completed | null | null | false | [
"Hi @brandondube,\r\n\r\nI believe the work is question is actually Veil of Summer by Adrian Cox from an art gallery in San Franciso. That and the photo in question both predate the album by several years. That said, I don't think it's necessary here and opens the psf to unnecessary liability. I've merged 1b41763 t... |
https://api.github.com/repos/psf/requests/issues/5518 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5518/labels{/name} | https://api.github.com/repos/psf/requests/issues/5518/comments | https://api.github.com/repos/psf/requests/issues/5518/events | https://github.com/psf/requests/issues/5518 | 645,625,276 | MDU6SXNzdWU2NDU2MjUyNzY= | 5,518 | Cannot jump to Japanese documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/38104335?v=4",
"events_url": "https://api.github.com/users/senbeiman/events{/privacy}",
"followers_url": "https://api.github.com/users/senbeiman/followers",
"following_url": "https://api.github.com/users/senbeiman/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 2 | 2020-06-25T14:48:00Z | 2021-11-10T07:00:20Z | 2021-08-12T06:57:23Z | NONE | resolved | The link to Japanese documentation is redirected to English one.
## Expected Result
As you know, there are translation links in the sidebar of [documentation page](https://requests.readthedocs.io/en/latest/),
but I can't jump to the Japanese documentation page.
I expect to jump to [this page](https://requests-do... | {
"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/5518/reactions"
} | https://api.github.com/repos/psf/requests/issues/5518/timeline | null | completed | null | null | false | [
"i tried a few other links including https://requests.readthedocs.io/jp/latest/ and https://requests.readthedocs.io/zh_JP/latest/,\r\nseems like it's just not ready yet.",
"Hi @senbeiman, thank you for reaching out about this. The doc translations have all been owned by separate maintainers since their inception.... |
https://api.github.com/repos/psf/requests/issues/5517 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5517/labels{/name} | https://api.github.com/repos/psf/requests/issues/5517/comments | https://api.github.com/repos/psf/requests/issues/5517/events | https://github.com/psf/requests/issues/5517 | 645,551,672 | MDU6SXNzdWU2NDU1NTE2NzI= | 5,517 | Read timeout errors are converted to connection errors by adapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/30312167?v=4",
"events_url": "https://api.github.com/users/janheindejong/events{/privacy}",
"followers_url": "https://api.github.com/users/janheindejong/followers",
"following_url": "https://api.github.com/users/janheindejong/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 2 | 2020-06-25T13:12:24Z | 2021-11-05T03:00:27Z | 2021-08-07T02:43:03Z | NONE | resolved | When adding an adapter with a retry object to a session, read timeout errors are converted to connection errors.
```python
>>> s = requests.Session()
>>> s.get("http://whatever.com", timeout=(3.05, 0.001))
Timeout: HTTPConnectionPool(host='whatever.com', port=80): Read timed out. (read timeout=0.001)
>>> a = H... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5517/reactions"
} | https://api.github.com/repos/psf/requests/issues/5517/timeline | null | completed | null | null | false | [
"Whoops... just saw this is a duplicate of #5430. From what I understood the consensus is that it would indeed be better to change this behavior, but for backwards compatibility it will not be done before a new major release of the package (i.e. 3.0).\r\n\r\nIs there already a PR for this? I'd be happy to give it a... |
https://api.github.com/repos/psf/requests/issues/5516 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5516/labels{/name} | https://api.github.com/repos/psf/requests/issues/5516/comments | https://api.github.com/repos/psf/requests/issues/5516/events | https://github.com/psf/requests/issues/5516 | 645,151,403 | MDU6SXNzdWU2NDUxNTE0MDM= | 5,516 | [Question] Is there a way to get file size of downloaded(chunk) file while downloading. | {
"avatar_url": "https://avatars.githubusercontent.com/u/26339251?v=4",
"events_url": "https://api.github.com/users/DEEP7696/events{/privacy}",
"followers_url": "https://api.github.com/users/DEEP7696/followers",
"following_url": "https://api.github.com/users/DEEP7696/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2020-06-25T04:56:11Z | 2021-08-31T00:06:44Z | 2020-06-25T17:37:51Z | NONE | resolved | How can I get size of file while downloading it in Python so that I can show downloaded size and pending size of file to download? if file size is 2GB and 700mb is downloaded then how will we get that in python. Currently using Python requests module to download file.
import requests
r = requests.get(download_link)... | {
"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/5516/reactions"
} | https://api.github.com/repos/psf/requests/issues/5516/timeline | null | completed | null | null | false | [
"Hi,\r\n\r\nYou can get the total size of the file from the `Content-Length` header. \r\nAs for the the download progress, you need to pass a` stream=True` parameter to the request and then use `iter_content` method on the response to read the output in chunks. As you read the chunks you can keep track of the size... |
https://api.github.com/repos/psf/requests/issues/5515 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5515/labels{/name} | https://api.github.com/repos/psf/requests/issues/5515/comments | https://api.github.com/repos/psf/requests/issues/5515/events | https://github.com/psf/requests/issues/5515 | 644,697,353 | MDU6SXNzdWU2NDQ2OTczNTM= | 5,515 | Case sensitive in the URL host | {
"avatar_url": "https://avatars.githubusercontent.com/u/15377978?v=4",
"events_url": "https://api.github.com/users/EmilioFigueras/events{/privacy}",
"followers_url": "https://api.github.com/users/EmilioFigueras/followers",
"following_url": "https://api.github.com/users/EmilioFigueras/following{/other_user}",
... | [] | closed | true | null | [] | null | 1 | 2020-06-24T15:13:42Z | 2021-08-31T00:06:44Z | 2020-06-24T17:25:30Z | NONE | resolved | Hello,
when making a normal requests.get I have verified that a lowercase is made to the host that is sent. Is there a way to disable this action? I am dealing with URLs where the 'host' is case sensitive (Freenet URL) and this fact causes me an error.
Thank you. | {
"avatar_url": "https://avatars.githubusercontent.com/u/15377978?v=4",
"events_url": "https://api.github.com/users/EmilioFigueras/events{/privacy}",
"followers_url": "https://api.github.com/users/EmilioFigueras/followers",
"following_url": "https://api.github.com/users/EmilioFigueras/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/5515/reactions"
} | https://api.github.com/repos/psf/requests/issues/5515/timeline | null | completed | null | null | false | [
"This answer fixes it, sorry: https://stackoverflow.com/questions/55607769/uppercase-url-in-requests-returns-name-does-not-resolve"
] |
https://api.github.com/repos/psf/requests/issues/5514 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5514/labels{/name} | https://api.github.com/repos/psf/requests/issues/5514/comments | https://api.github.com/repos/psf/requests/issues/5514/events | https://github.com/psf/requests/pull/5514 | 643,752,078 | MDExOlB1bGxSZXF1ZXN0NDM4NDk5Mzk3 | 5,514 | add handle for qop="auth-int" in auth.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/23237039?v=4",
"events_url": "https://api.github.com/users/maxmokry/events{/privacy}",
"followers_url": "https://api.github.com/users/maxmokry/followers",
"following_url": "https://api.github.com/users/maxmokry/following{/other_user}",
"gists_url": "htt... | [] | closed | false | null | [] | null | 1 | 2020-06-23T11:13:11Z | 2024-05-19T19:03:41Z | 2024-05-19T19:03:40Z | NONE | null | add handle for qop="auth-int" | {
"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/5514/reactions"
} | https://api.github.com/repos/psf/requests/issues/5514/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5514.diff",
"html_url": "https://github.com/psf/requests/pull/5514",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5514.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5514"
} | true | [
"I think this was covered originally in https://github.com/psf/requests/issues/2408. We don't intend to support auth-int at this time. Resolving as a non-feature for now."
] |
https://api.github.com/repos/psf/requests/issues/5513 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5513/labels{/name} | https://api.github.com/repos/psf/requests/issues/5513/comments | https://api.github.com/repos/psf/requests/issues/5513/events | https://github.com/psf/requests/issues/5513 | 643,679,180 | MDU6SXNzdWU2NDM2NzkxODA= | 5,513 | [requests.Session] lost headers when meet 301/302/307 redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/1326608?v=4",
"events_url": "https://api.github.com/users/ShireCiel/events{/privacy}",
"followers_url": "https://api.github.com/users/ShireCiel/followers",
"following_url": "https://api.github.com/users/ShireCiel/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 5 | 2020-06-23T09:26:05Z | 2021-08-30T00:06:25Z | 2020-07-21T05:51:53Z | NONE | resolved | Summary.
Request by using [requests.Session]. If set session headers. Headers will lost When met 301/302/307 redirect.
## Expected Result
My custom header should in [resp.request.headers]
```python
{ 'Content-Type': 'application/json;charset=UTF-8' }
```
## Actual Result
```
DEBUG:urllib3.connectionpool... | {
"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/5513/reactions"
} | https://api.github.com/repos/psf/requests/issues/5513/timeline | null | completed | null | null | false | [
"Hello,\r\n\r\nWhy would you set the _Content-Type_ header for the **GET** request? As far as I know it's generally recommended not to set _Content-Type_ by hand, even when used correctly with **POST** or **PUT** methods. Requests will automatically generate the right value if it's not explicitly set.\r\n\r\nAnywa... |
https://api.github.com/repos/psf/requests/issues/5512 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5512/labels{/name} | https://api.github.com/repos/psf/requests/issues/5512/comments | https://api.github.com/repos/psf/requests/issues/5512/events | https://github.com/psf/requests/issues/5512 | 643,562,441 | MDU6SXNzdWU2NDM1NjI0NDE= | 5,512 | How can I send HTTP/1.0 request ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/29891327?v=4",
"events_url": "https://api.github.com/users/contactparthshah/events{/privacy}",
"followers_url": "https://api.github.com/users/contactparthshah/followers",
"following_url": "https://api.github.com/users/contactparthshah/following{/other_use... | [] | closed | true | null | [] | null | 2 | 2020-06-23T06:13:50Z | 2021-08-31T00:06:45Z | 2020-06-23T06:51:50Z | NONE | resolved | Would like to send HTTP/1.0 request using python requests library. can anyone help me here?
UseCase:
Need to test, proxy (Device under Test) upgrades the protocol version automatically.
So let's say If I send HTTP/1.0 request, it automatically upgrades it to HTTP/1.1 and send that request to server.
https://sta... | {
"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/5512/reactions"
} | https://api.github.com/repos/psf/requests/issues/5512/timeline | null | completed | null | null | false | [
"Hi @contactparthshah,\n\nAs the issue originally stated, please avoid posting requests for assistance on this issue tracker. We try to keep it clear for defects in Requests.\n\nWe state both in the docs and in a handful of issues on StackOverflow that Requests is an http/1.1 client.\n\nhttps://stackoverflow.com/qu... |
https://api.github.com/repos/psf/requests/issues/5511 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5511/labels{/name} | https://api.github.com/repos/psf/requests/issues/5511/comments | https://api.github.com/repos/psf/requests/issues/5511/events | https://github.com/psf/requests/pull/5511 | 642,948,827 | MDExOlB1bGxSZXF1ZXN0NDM3ODQxMzcz | 5,511 | connection_from_url already parses and handles lower casing scheme, it also lower cases the host, for us so there is no need to perform mutations on a url when a proxy is not in use inside of HTTPAdapter.get_connection. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1684354?v=4",
"events_url": "https://api.github.com/users/dbaxa/events{/privacy}",
"followers_url": "https://api.github.com/users/dbaxa/followers",
"following_url": "https://api.github.com/users/dbaxa/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 4 | 2020-06-22T10:25:12Z | 2022-03-29T18:01:44Z | 2021-12-29T17:50:00Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5511/reactions"
} | https://api.github.com/repos/psf/requests/issues/5511/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5511.diff",
"html_url": "https://github.com/psf/requests/pull/5511",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/5511.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5511"
} | true | [
"cc @sigmavirus24 ",
"Re: [psf/requests] connection_from_url already parses and handles lower\ncasing scheme, it also lower cases the host, for us so there is no need to\nperform mutations on a url when a proxy is not in use inside of\nHTTPAdapter.get_connection. (#5511)\n\n---------- Forwarded message ---------\... | |
https://api.github.com/repos/psf/requests/issues/5510 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5510/labels{/name} | https://api.github.com/repos/psf/requests/issues/5510/comments | https://api.github.com/repos/psf/requests/issues/5510/events | https://github.com/psf/requests/issues/5510 | 642,465,272 | MDU6SXNzdWU2NDI0NjUyNzI= | 5,510 | incremental rest api data | {
"avatar_url": "https://avatars.githubusercontent.com/u/34449619?v=4",
"events_url": "https://api.github.com/users/oguzhannkayaa/events{/privacy}",
"followers_url": "https://api.github.com/users/oguzhannkayaa/followers",
"following_url": "https://api.github.com/users/oguzhannkayaa/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2020-06-20T23:50:39Z | 2021-08-31T00:06:45Z | 2020-06-24T04:24:02Z | NONE | resolved | Hello, I am trying to fetch incremental data from localhost:8080/test url. This url has json rest api data and it has incremental data inside of it. I fetched data but When I fetch it, it finishes. When I run the code again or run the function every 5 seconds, it gets all data again. How can I get the new data?
```... | {
"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/5510/reactions"
} | https://api.github.com/repos/psf/requests/issues/5510/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/5509 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5509/labels{/name} | https://api.github.com/repos/psf/requests/issues/5509/comments | https://api.github.com/repos/psf/requests/issues/5509/events | https://github.com/psf/requests/pull/5509 | 642,321,812 | MDExOlB1bGxSZXF1ZXN0NDM3Mzc0MzY3 | 5,509 | Docs: list CURL_CA_BUNDLE as supported | {
"avatar_url": "https://avatars.githubusercontent.com/u/1192780?v=4",
"events_url": "https://api.github.com/users/bbodenmiller/events{/privacy}",
"followers_url": "https://api.github.com/users/bbodenmiller/followers",
"following_url": "https://api.github.com/users/bbodenmiller/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 0 | 2020-06-20T06:40:44Z | 2021-08-27T00:08:51Z | 2020-07-24T04:57:31Z | CONTRIBUTOR | resolved | https://github.com/psf/requests/blob/2b3436e0e7831676044b57f6f2cc9eb7c188293e/requests/sessions.py#L707 supports `CURL_CA_BUNDLE` too so lets list it in docs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/5509/reactions"
} | https://api.github.com/repos/psf/requests/issues/5509/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5509.diff",
"html_url": "https://github.com/psf/requests/pull/5509",
"merged_at": "2020-07-24T04:57:31Z",
"patch_url": "https://github.com/psf/requests/pull/5509.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5509"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5508 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5508/labels{/name} | https://api.github.com/repos/psf/requests/issues/5508/comments | https://api.github.com/repos/psf/requests/issues/5508/events | https://github.com/psf/requests/issues/5508 | 642,109,531 | MDU6SXNzdWU2NDIxMDk1MzE= | 5,508 | Weired behaviour (sometimes) on 401 response | {
"avatar_url": "https://avatars.githubusercontent.com/u/33808743?v=4",
"events_url": "https://api.github.com/users/Coronon/events{/privacy}",
"followers_url": "https://api.github.com/users/Coronon/followers",
"following_url": "https://api.github.com/users/Coronon/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2020-06-19T16:57:28Z | 2021-08-31T00:06:44Z | 2020-06-26T19:42:44Z | NONE | resolved | So I am writing tests for my flask app at the moment and have great difficulty testing 401 UNAUTHORIZED responses as requests seems to not be able to handle them (sometimes it works interestingly [seems to be quite random though]). I am trying to access a flask webServer without a required jwt token. All browsers and r... | {
"avatar_url": "https://avatars.githubusercontent.com/u/33808743?v=4",
"events_url": "https://api.github.com/users/Coronon/events{/privacy}",
"followers_url": "https://api.github.com/users/Coronon/followers",
"following_url": "https://api.github.com/users/Coronon/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/5508/reactions"
} | https://api.github.com/repos/psf/requests/issues/5508/timeline | null | completed | null | null | false | [
"this doesn't seem to be an issue with requests, rather an issue with your webserver."
] |
https://api.github.com/repos/psf/requests/issues/5507 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5507/labels{/name} | https://api.github.com/repos/psf/requests/issues/5507/comments | https://api.github.com/repos/psf/requests/issues/5507/events | https://github.com/psf/requests/issues/5507 | 641,912,836 | MDU6SXNzdWU2NDE5MTI4MzY= | 5,507 | when I tried to import requests, I got the TypeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/37785246?v=4",
"events_url": "https://api.github.com/users/evinstar/events{/privacy}",
"followers_url": "https://api.github.com/users/evinstar/followers",
"following_url": "https://api.github.com/users/evinstar/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2020-06-19T11:48:04Z | 2021-08-31T00:06:46Z | 2020-06-19T16:02:41Z | NONE | resolved | Please refer to our [Stack Overflow tag](https://stackoverflow.com/questions/tagged/python-requests) for guidance.
Env: python3.6 centos
I got the following traceback
Traceback (most recent call last):
File "main.py", line 3, in <module>
from transfer import search, strip
File "/usr/src/app/transfer.... | {
"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/5507/reactions"
} | https://api.github.com/repos/psf/requests/issues/5507/timeline | null | completed | null | null | false | [
"Hi @luckcry, as the top of your issue says we only triage bugs in Requests on this issue tracker. Usage questions should be directed to StackOverflow.\r\n\r\nThe stack trace provided isn't related to Requests, you'll need to make sure your dependencies are up to date.",
"> \r\n> \r\n> Hi @luckcry, as the top of ... |
https://api.github.com/repos/psf/requests/issues/5506 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5506/labels{/name} | https://api.github.com/repos/psf/requests/issues/5506/comments | https://api.github.com/repos/psf/requests/issues/5506/events | https://github.com/psf/requests/issues/5506 | 641,653,604 | MDU6SXNzdWU2NDE2NTM2MDQ= | 5,506 | requests HTTP2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/42380415?v=4",
"events_url": "https://api.github.com/users/lei375809291/events{/privacy}",
"followers_url": "https://api.github.com/users/lei375809291/followers",
"following_url": "https://api.github.com/users/lei375809291/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 3 | 2020-06-19T02:10:48Z | 2021-08-31T00:06:46Z | 2020-06-19T16:00:40Z | NONE | resolved |
requests怎么发送http2版本的情求呢?
How can requests send http2 request? | {
"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/5506/reactions"
} | https://api.github.com/repos/psf/requests/issues/5506/timeline | null | completed | null | null | false | [
"It can't",
"@lei375809291, [`hyper`](https://github.com/python-hyper/hyper) is a possible Python alternative. I believe they still support using the [Requests interface over the top of their H2 stack](https://hyper.readthedocs.io/en/latest/api.html#requests-transport-adapter).",
"thanks"
] |
https://api.github.com/repos/psf/requests/issues/5505 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5505/labels{/name} | https://api.github.com/repos/psf/requests/issues/5505/comments | https://api.github.com/repos/psf/requests/issues/5505/events | https://github.com/psf/requests/pull/5505 | 641,652,916 | MDExOlB1bGxSZXF1ZXN0NDM2ODQ3NjI0 | 5,505 | Clarify that PreparedRequests should not be manually created | {
"avatar_url": "https://avatars.githubusercontent.com/u/977151?v=4",
"events_url": "https://api.github.com/users/ollien/events{/privacy}",
"followers_url": "https://api.github.com/users/ollien/followers",
"following_url": "https://api.github.com/users/ollien/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 0 | 2020-06-19T02:08:33Z | 2021-08-28T00:06:27Z | 2020-06-19T16:04:22Z | CONTRIBUTOR | resolved | Closes #5504 | {
"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/5505/reactions"
} | https://api.github.com/repos/psf/requests/issues/5505/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5505.diff",
"html_url": "https://github.com/psf/requests/pull/5505",
"merged_at": "2020-06-19T16:04:22Z",
"patch_url": "https://github.com/psf/requests/pull/5505.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5505"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/5504 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5504/labels{/name} | https://api.github.com/repos/psf/requests/issues/5504/comments | https://api.github.com/repos/psf/requests/issues/5504/events | https://github.com/psf/requests/issues/5504 | 641,438,682 | MDU6SXNzdWU2NDE0Mzg2ODI= | 5,504 | Preparing a request body without headers throws a TypeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/977151?v=4",
"events_url": "https://api.github.com/users/ollien/events{/privacy}",
"followers_url": "https://api.github.com/users/ollien/followers",
"following_url": "https://api.github.com/users/ollien/following{/other_user}",
"gists_url": "https://api... | [
{
"color": "fad8c7",
"default": false,
"description": null,
"id": 136616769,
"name": "Documentation",
"node_id": "MDU6TGFiZWwxMzY2MTY3Njk=",
"url": "https://api.github.com/repos/psf/requests/labels/Documentation"
}
] | closed | true | null | [] | null | 7 | 2020-06-18T17:47:10Z | 2021-08-31T00:06:47Z | 2020-06-19T16:04:22Z | CONTRIBUTOR | resolved | I have a usecase where I need to generate the body of a `PreparedRequest` without anything else known about the request. If I run `PreparedRequest.prepare_body` without any headers, it fails, citing the headers are `None`. It seems like `prepare_body` is attempting to set the `Content-Length` header. It likely shouldn'... | {
"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/5504/reactions"
} | https://api.github.com/repos/psf/requests/issues/5504/timeline | null | completed | null | null | false | [
"Hi @ollien,\r\n\r\nWe typically try to keep usage questions to StackOverflow. We have a whole [section in the docs](https://requests.readthedocs.io/en/master/user/advanced/#prepared-requests) covering how to use PreparedRequests and the basic flow for making modifications to the body/headers. That has the info you... |
https://api.github.com/repos/psf/requests/issues/5503 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5503/labels{/name} | https://api.github.com/repos/psf/requests/issues/5503/comments | https://api.github.com/repos/psf/requests/issues/5503/events | https://github.com/psf/requests/issues/5503 | 641,242,223 | MDU6SXNzdWU2NDEyNDIyMjM= | 5,503 | Performance: Response.content is unnecessarily slow | {
"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... | [] | open | false | null | [] | null | 3 | 2020-06-18T14:13:55Z | 2020-06-30T06:34:24Z | null | CONTRIBUTOR | null | The core of Response.content looks like this (where CONTENT_CHUNK_SIZE is 10KB):
```python
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
```
That is suboptimal for several reasons:
1. All the data has to be read into a temporary `bytes`, then copied into the joined buffer.
2. It's also me... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 1,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5503/reactions"
} | https://api.github.com/repos/psf/requests/issues/5503/timeline | null | null | null | null | false | [
"so, use BytesIO is better?",
"> so, use BytesIO is better?\r\n\r\nAre you suggesting replacing `''.join` with BytesIO for joining together all the 10KB pieces? It won't avoid having two copies of all the data around at once because `BytesIO.getvalue` makes a copy. I haven't measured the performance but I'd be su... |
https://api.github.com/repos/psf/requests/issues/5502 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5502/labels{/name} | https://api.github.com/repos/psf/requests/issues/5502/comments | https://api.github.com/repos/psf/requests/issues/5502/events | https://github.com/psf/requests/issues/5502 | 640,735,117 | MDU6SXNzdWU2NDA3MzUxMTc= | 5,502 | 2.24.0 requests and boto3 appear to be incompatible | {
"avatar_url": "https://avatars.githubusercontent.com/u/23322066?v=4",
"events_url": "https://api.github.com/users/jw-maynard/events{/privacy}",
"followers_url": "https://api.github.com/users/jw-maynard/followers",
"following_url": "https://api.github.com/users/jw-maynard/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2020-06-17T20:53:09Z | 2021-08-31T00:06:47Z | 2020-06-18T15:42:55Z | NONE | resolved | boto3 calls broken since upgrade to requests 2.24.0. Running `pip install 'requests<2.24.0' before installing boto3 fixes the issue. I'm not sure if this is a problem with the new version of requests or if boto3 is using requests in some unexpected way that is causing this issue. Since reverting to the old version seem... | {
"avatar_url": "https://avatars.githubusercontent.com/u/23322066?v=4",
"events_url": "https://api.github.com/users/jw-maynard/events{/privacy}",
"followers_url": "https://api.github.com/users/jw-maynard/followers",
"following_url": "https://api.github.com/users/jw-maynard/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/5502/reactions"
} | https://api.github.com/repos/psf/requests/issues/5502/timeline | null | completed | null | null | false | [
"Hi @jw-maynard, Boto3 hasn't used Requests since 2018 and at that time was using a vendored copy. It should only be relying on urllib3 since version 1.8.0.\r\n\r\nCould you open a ticket in the [Boto3](https://github.com/boto/boto3) repository with a minimal set of steps you used to recreate the issue, including t... |
https://api.github.com/repos/psf/requests/issues/5501 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5501/labels{/name} | https://api.github.com/repos/psf/requests/issues/5501/comments | https://api.github.com/repos/psf/requests/issues/5501/events | https://github.com/psf/requests/issues/5501 | 640,688,924 | MDU6SXNzdWU2NDA2ODg5MjQ= | 5,501 | Fix misformatted project description in PyPI for version 2.24.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/566650?v=4",
"events_url": "https://api.github.com/users/impredicative/events{/privacy}",
"followers_url": "https://api.github.com/users/impredicative/followers",
"following_url": "https://api.github.com/users/impredicative/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 6 | 2020-06-17T19:31:13Z | 2021-08-28T00:06:08Z | 2020-11-17T00:10:14Z | NONE | resolved | The project description used to display fine at https://pypi.org/project/requests/2.23.0/. It doesn't at https://pypi.org/project/requests/2.24.0/. It is a reasonable expectation that it displays correctly. | {
"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/5501/reactions"
} | https://api.github.com/repos/psf/requests/issues/5501/timeline | null | completed | null | null | false | [
"Hi @impredicative,\r\n\r\nThanks for the ticket. We're aware there were some issues with the long description upload this morning. Some of the PyPI infrastructure changed since our last upload and we ended up with incorrectly transformed markdown.\r\n\r\nWe're working on some larger changes to the README file itse... |
https://api.github.com/repos/psf/requests/issues/5500 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5500/labels{/name} | https://api.github.com/repos/psf/requests/issues/5500/comments | https://api.github.com/repos/psf/requests/issues/5500/events | https://github.com/psf/requests/pull/5500 | 640,541,934 | MDExOlB1bGxSZXF1ZXN0NDM1OTMzNjU1 | 5,500 | v2.24.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 | 2020-06-17T15:35:50Z | 2021-08-28T00:06:17Z | 2020-06-17T15:50:26Z | MEMBER | resolved | 2.24.0 (2020-06-17)
-------------------
**Improvements**
- pyOpenSSL TLS implementation is now only used if Python either doesn't have an `ssl` module or doesn't support SNI. Previously pyOpenSSL was unconditionally used if available. This applies even if pyOpenSSL is installed via the `requests[security]` extra... | {
"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": 1,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/5500/reactions"
} | https://api.github.com/repos/psf/requests/issues/5500/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/5500.diff",
"html_url": "https://github.com/psf/requests/pull/5500",
"merged_at": "2020-06-17T15:50:26Z",
"patch_url": "https://github.com/psf/requests/pull/5500.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/5500"
} | true | [
"For those of you following along at home, we're having some issues with the existing README file and new linting rules PyPI is enforcing. The release may take a bit longer than expected today."
] |
https://api.github.com/repos/psf/requests/issues/5499 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5499/labels{/name} | https://api.github.com/repos/psf/requests/issues/5499/comments | https://api.github.com/repos/psf/requests/issues/5499/events | https://github.com/psf/requests/issues/5499 | 640,256,210 | MDU6SXNzdWU2NDAyNTYyMTA= | 5,499 | Allow TLS version used, to be discovered | {
"avatar_url": "https://avatars.githubusercontent.com/u/59476024?v=4",
"events_url": "https://api.github.com/users/MikeWhittakerRyff/events{/privacy}",
"followers_url": "https://api.github.com/users/MikeWhittakerRyff/followers",
"following_url": "https://api.github.com/users/MikeWhittakerRyff/following{/other_... | [] | closed | true | null | [] | null | 3 | 2020-06-17T08:42:09Z | 2021-08-30T00:06:25Z | 2020-07-21T05:53:08Z | NONE | resolved | It's not possible to find which version of TLS was used, or indeed any of the SSL parameters, after a transfer.
Could some of this metadata be made available, perhaps only if specified in the request.
Is there any indication that TLS was used at all ? | {
"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/5499/reactions"
} | https://api.github.com/repos/psf/requests/issues/5499/timeline | null | completed | null | null | false | [
"In the future, please search **closed and** open issues before creating new ones that are duplicates. This has been discussed ad nauseum and is blocked on urllib3 supporting it for which there's an open issue discussing the idea and implementation.",
"Apologies, thought I had searched in open issues, and could n... |
https://api.github.com/repos/psf/requests/issues/5498 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/5498/labels{/name} | https://api.github.com/repos/psf/requests/issues/5498/comments | https://api.github.com/repos/psf/requests/issues/5498/events | https://github.com/psf/requests/issues/5498 | 639,579,432 | MDU6SXNzdWU2Mzk1Nzk0MzI= | 5,498 | Avoid unnecessary data collection conversion by making use of urllib3's HTTPHeaderDict for request headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/1684354?v=4",
"events_url": "https://api.github.com/users/dbaxa/events{/privacy}",
"followers_url": "https://api.github.com/users/dbaxa/followers",
"following_url": "https://api.github.com/users/dbaxa/following{/other_user}",
"gists_url": "https://api.g... | [] | open | false | null | [] | null | 5 | 2020-06-16T11:11:34Z | 2021-02-05T02:38:53Z | null | CONTRIBUTOR | null | Avoid unnecessary data collection conversion by making use of urllib3's [`HTTPHeaderDict`](https://github.com/urllib3/urllib3/blob/master/src/urllib3/_collections.py#L106) for request headers & response headers. Currently request http headers are placed in a [`CaseInsensitiveDict`](https://github.com/psf/requests/blob/... | 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/5498/reactions"
} | https://api.github.com/repos/psf/requests/issues/5498/timeline | null | null | null | null | false | [
"Related: \r\n* https://github.com/psf/requests/issues/4214",
"I'm 99% certain it's a backwards incompatible change at the moment. Also the 3.0 PR is not active and shouldn't be considered something under active development.",
"It might be possible to have a kind of container structure that wraps/resolves diffe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.