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/4461 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4461/labels{/name} | https://api.github.com/repos/psf/requests/issues/4461/comments | https://api.github.com/repos/psf/requests/issues/4461/events | https://github.com/psf/requests/issues/4461 | 287,815,865 | MDU6SXNzdWUyODc4MTU4NjU= | 4,461 | couldn't access iter_contents() | {
"avatar_url": "https://avatars.githubusercontent.com/u/9799869?v=4",
"events_url": "https://api.github.com/users/kpputhiyattil/events{/privacy}",
"followers_url": "https://api.github.com/users/kpputhiyattil/followers",
"following_url": "https://api.github.com/users/kpputhiyattil/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 15 | 2018-01-11T15:00:55Z | 2021-09-08T04:00:52Z | 2018-01-12T05:40:43Z | NONE | resolved | Summary.
## Expected Result
What you expected.
Need to download the file
## Actual Result
What happened instead.
AttributeError: 'None Tye' object has no attribute 'Read'
## Reproduction Steps
```python
import requests
import requests.models
#url to login
url = 'xxxx.com'
payload = {'loginName': 'u... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4461/reactions"
} | https://api.github.com/repos/psf/requests/issues/4461/timeline | null | completed | null | null | false | [
"I couldn't access iter_content() after importing requests when i called from visual studio professional 2015, but can be accessed if called from pycharm.",
"The feature template is there to make sure we get the information we need to help you. Could you fill out the entire template?",
"```py\r\nimport requests... |
https://api.github.com/repos/psf/requests/issues/4460 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4460/labels{/name} | https://api.github.com/repos/psf/requests/issues/4460/comments | https://api.github.com/repos/psf/requests/issues/4460/events | https://github.com/psf/requests/pull/4460 | 287,644,948 | MDExOlB1bGxSZXF1ZXN0MTYyMjgwMTM0 | 4,460 | Remove unsupported Python 3.3 from tox.ini | {
"avatar_url": "https://avatars.githubusercontent.com/u/347634?v=4",
"events_url": "https://api.github.com/users/jdufresne/events{/privacy}",
"followers_url": "https://api.github.com/users/jdufresne/followers",
"following_url": "https://api.github.com/users/jdufresne/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2018-01-11T02:38:08Z | 2021-09-03T00:11:12Z | 2018-01-11T14:41:08Z | CONTRIBUTOR | resolved | Python 3.3 is not a supported version so don't test it. | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4460/reactions"
} | https://api.github.com/repos/psf/requests/issues/4460/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4460.diff",
"html_url": "https://github.com/psf/requests/pull/4460",
"merged_at": "2018-01-11T14:41:08Z",
"patch_url": "https://github.com/psf/requests/pull/4460.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4460"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4460?src=pr&el=h1) Report\n> Merging [#4460](https://codecov.io/gh/requests/requests/pull/4460?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/c98e30b5cb812a5efe0f6c9c40861009069932b7?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4459 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4459/labels{/name} | https://api.github.com/repos/psf/requests/issues/4459/comments | https://api.github.com/repos/psf/requests/issues/4459/events | https://github.com/psf/requests/pull/4459 | 287,644,321 | MDExOlB1bGxSZXF1ZXN0MTYyMjc5NzEz | 4,459 | Pass python_requires argument to setuptools | {
"avatar_url": "https://avatars.githubusercontent.com/u/347634?v=4",
"events_url": "https://api.github.com/users/jdufresne/events{/privacy}",
"followers_url": "https://api.github.com/users/jdufresne/followers",
"following_url": "https://api.github.com/users/jdufresne/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 6 | 2018-01-11T02:34:04Z | 2021-09-03T00:11:11Z | 2018-01-13T04:06:59Z | CONTRIBUTOR | resolved | Helps pip decide what version of the library to install.
https://packaging.python.org/tutorials/distributing-packages/#python-requires
> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from instal... | {
"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/4459/reactions"
} | https://api.github.com/repos/psf/requests/issues/4459/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4459.diff",
"html_url": "https://github.com/psf/requests/pull/4459",
"merged_at": "2018-01-13T04:06:59Z",
"patch_url": "https://github.com/psf/requests/pull/4459.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4459"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4459?src=pr&el=h1) Report\n> Merging [#4459](https://codecov.io/gh/requests/requests/pull/4459?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/b9d8e00cbc74d847e2b700b0ab26128b85a4344f?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4458 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4458/labels{/name} | https://api.github.com/repos/psf/requests/issues/4458/comments | https://api.github.com/repos/psf/requests/issues/4458/events | https://github.com/psf/requests/issues/4458 | 287,632,421 | MDU6SXNzdWUyODc2MzI0MjE= | 4,458 | SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')) for older French website | {
"avatar_url": "https://avatars.githubusercontent.com/u/270476?v=4",
"events_url": "https://api.github.com/users/autumnjolitz/events{/privacy}",
"followers_url": "https://api.github.com/users/autumnjolitz/followers",
"following_url": "https://api.github.com/users/autumnjolitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 1 | 2018-01-11T01:17:17Z | 2021-09-08T04:00:54Z | 2018-01-11T03:00:33Z | NONE | resolved | Hi,
I encountered this issue while filing scrapy/scrapy#3065 regarding `https://agences.creditfoncier.fr/credit-immobilier/toutes-nos-agences`. Like the other bugs, `curl` magically works but Python installations crap out.
`uname -a`:
```
Darwin BTJ-GT.local 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4458/reactions"
} | https://api.github.com/repos/psf/requests/issues/4458/timeline | null | completed | null | null | false | [
"The problem is not us but your server. If you do `openssl s_client -connect agences.creditfoncier.fr:443` You should see output that includes:\r\n\r\n```\r\nSSL-Session:\r\n Protocol : TLSv1\r\n Cipher : DES-CBC3-SHA\r\n```\r\n\r\nThe way that urllib3 and Requests in Python negotiate TLS (which is far mo... |
https://api.github.com/repos/psf/requests/issues/4457 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4457/labels{/name} | https://api.github.com/repos/psf/requests/issues/4457/comments | https://api.github.com/repos/psf/requests/issues/4457/events | https://github.com/psf/requests/pull/4457 | 287,590,680 | MDExOlB1bGxSZXF1ZXN0MTYyMjQwMDAw | 4,457 | Fixing max_retries to accept Retry instance | {
"avatar_url": "https://avatars.githubusercontent.com/u/1305135?v=4",
"events_url": "https://api.github.com/users/phreakmonkey/events{/privacy}",
"followers_url": "https://api.github.com/users/phreakmonkey/followers",
"following_url": "https://api.github.com/users/phreakmonkey/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 6 | 2018-01-10T21:54:44Z | 2021-09-04T00:06:34Z | 2018-01-10T22:46:19Z | NONE | resolved | adapters. HTTPAdapter max_retries parameter specifies that you can pass an instance of the Retry class directly to it.
> :param max_retries: The maximum number of retries each connection
> should attempt. Note, this applies only to failed DNS lookups, socket
> connections and connection timeo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1305135?v=4",
"events_url": "https://api.github.com/users/phreakmonkey/events{/privacy}",
"followers_url": "https://api.github.com/users/phreakmonkey/followers",
"following_url": "https://api.github.com/users/phreakmonkey/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/4457/reactions"
} | https://api.github.com/repos/psf/requests/issues/4457/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4457.diff",
"html_url": "https://github.com/psf/requests/pull/4457",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4457.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4457"
} | true | [
"Thanks for this! Can we get a test for this so it won't be regressed. :)",
"Strangely, test_requests.py already has a test for this. I can't figure out why it was passing:\r\n\r\n```\r\ndef test_urllib3_retries(httpbin):\r\n from urllib3.util import Retry\r\n s = requests.Session()\r\n s.mount('http://... |
https://api.github.com/repos/psf/requests/issues/4456 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4456/labels{/name} | https://api.github.com/repos/psf/requests/issues/4456/comments | https://api.github.com/repos/psf/requests/issues/4456/events | https://github.com/psf/requests/pull/4456 | 287,555,279 | MDExOlB1bGxSZXF1ZXN0MTYyMjEzNjk5 | 4,456 | an idea on persisting redirect history when exceptions are encountered | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/following{/other_user}",
"gists_url": "https... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 78002701,
"name": "Do Not Merge",
"node_id": "MDU6TGFiZWw3ODAwMjcwMQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Do%20Not%20Merge"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 2 | 2018-01-10T19:47:10Z | 2024-05-20T14:35:44Z | 2024-05-20T14:35:43Z | CONTRIBUTOR | null | this is a quick idea on an approach to address #4455
within `resolve_redirects` exceptions raised by`Session.send` are caught. If they match a given set of tests (currently just the base `ConnectionError` class), the `resp` is replaced with an instance of an exception class used to hold bad response data. Then a ne... | {
"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/4456/reactions"
} | https://api.github.com/repos/psf/requests/issues/4456/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4456.diff",
"html_url": "https://github.com/psf/requests/pull/4456",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4456.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4456"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4456?src=pr&el=h1) Report\n> Merging [#4456](https://codecov.io/gh/requests/requests/pull/4456?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/c98e30b5cb812a5efe0f6c9c40861009069932b7?src=pr&el=desc) will **decrease** coverage by... |
https://api.github.com/repos/psf/requests/issues/4455 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4455/labels{/name} | https://api.github.com/repos/psf/requests/issues/4455/comments | https://api.github.com/repos/psf/requests/issues/4455/events | https://github.com/psf/requests/issues/4455 | 287,220,555 | MDU6SXNzdWUyODcyMjA1NTU= | 4,455 | no response object captured in error of endless redirect chain and confusing message | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/following{/other_user}",
"gists_url": "https... | [] | open | false | null | [] | null | 2 | 2018-01-09T20:29:36Z | 2018-01-10T18:12:47Z | null | CONTRIBUTOR | null | I found an incredibly bad URL that causes a handful of issues. the url below jumps between a bunch of SocialFlow (trib.al) and Bitly url shorteners for tracking, then ends up on a connection timeout that also looks like a max retries exceeded (which makes no sense to me)
The exception that is raised under Py2 and P... | 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/4455/reactions"
} | https://api.github.com/repos/psf/requests/issues/4455/timeline | null | null | null | null | false | [
"The `max retries exceeded with url` is due entirely to the fact that Requests uses a subset of urllib3 at this point. Requests' usage of retries were wholly limited to the API that urllib3 provided prior to creating the Retry object. It's been updated little since. As a result, we don't allow urllib3 to perform it... |
https://api.github.com/repos/psf/requests/issues/4454 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4454/labels{/name} | https://api.github.com/repos/psf/requests/issues/4454/comments | https://api.github.com/repos/psf/requests/issues/4454/events | https://github.com/psf/requests/issues/4454 | 286,913,596 | MDU6SXNzdWUyODY5MTM1OTY= | 4,454 | response.json() fails when while(1); is in response body | {
"avatar_url": "https://avatars.githubusercontent.com/u/7034670?v=4",
"events_url": "https://api.github.com/users/jessemcbride/events{/privacy}",
"followers_url": "https://api.github.com/users/jessemcbride/followers",
"following_url": "https://api.github.com/users/jessemcbride/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 4 | 2018-01-08T22:46:54Z | 2021-09-08T05:00:36Z | 2018-01-09T05:11:43Z | NONE | resolved | In an effort to prevent [JSON hijacking](https://haacked.com/archive/2009/06/25/json-hijacking.aspx/), some providers append `while(1);` before their JSON response. This doesn't appear to be filtered out by requests automatically, and the end result is a `ValueError`.
## Expected Result
A JSON response of this fo... | {
"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/4454/reactions"
} | https://api.github.com/repos/psf/requests/issues/4454/timeline | null | completed | null | null | false | [
"There's a lot of different anti-hijacking methods for instance I've heard of `for(;;)` being used as well.",
"Hey @jessemcbride, thanks for starting the conversation on this. I was under the impression we’d discussed something along these lines before but can’t find a ticket for reference. My general thoughts ar... |
https://api.github.com/repos/psf/requests/issues/4453 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4453/labels{/name} | https://api.github.com/repos/psf/requests/issues/4453/comments | https://api.github.com/repos/psf/requests/issues/4453/events | https://github.com/psf/requests/issues/4453 | 286,905,279 | MDU6SXNzdWUyODY5MDUyNzk= | 4,453 | Max retries exceeded with url | {
"avatar_url": "https://avatars.githubusercontent.com/u/22315428?v=4",
"events_url": "https://api.github.com/users/phanindravarma38/events{/privacy}",
"followers_url": "https://api.github.com/users/phanindravarma38/followers",
"following_url": "https://api.github.com/users/phanindravarma38/following{/other_use... | [] | closed | true | null | [] | null | 4 | 2018-01-08T22:12:28Z | 2021-09-08T04:00:55Z | 2018-01-09T14:05:40Z | NONE | resolved | Summary.
I am trying to hit a third party API, such as api.ipify.org, which gives IP addresses and read the results.
## Expected Result
JSON Response From URL i.e. ip address.
What you expected.
## Actual Result
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=hostname, port=443): Max retries exc... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4453/reactions"
} | https://api.github.com/repos/psf/requests/issues/4453/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\nAs an aside `nodename nor servname provided, or ... |
https://api.github.com/repos/psf/requests/issues/4452 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4452/labels{/name} | https://api.github.com/repos/psf/requests/issues/4452/comments | https://api.github.com/repos/psf/requests/issues/4452/events | https://github.com/psf/requests/pull/4452 | 286,600,835 | MDExOlB1bGxSZXF1ZXN0MTYxNTM5ODQw | 4,452 | append previous url fragment on redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2018-01-07T21:28:31Z | 2021-09-04T00:06:33Z | 2018-01-21T18:41:47Z | MEMBER | resolved | This PR should address #4443 by appending the original request's fragment to subsequent redirects, unless a new fragment is provided in the Location header. This behaviour should bring us into compliance with [RFC 7230 § 7.1.2](https://tools.ietf.org/html/rfc7231#section-7.1.2). I also wrote a test to confirm we don't ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4452/reactions"
} | https://api.github.com/repos/psf/requests/issues/4452/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4452.diff",
"html_url": "https://github.com/psf/requests/pull/4452",
"merged_at": "2018-01-21T18:41:47Z",
"patch_url": "https://github.com/psf/requests/pull/4452.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4452"
} | true | [
"I went ahead and did [some testing](https://gist.github.com/nateprewitt/233301041bbd70cc53ef31a807d85bc7) to see how other user agents handle this. All of the major browsers except Safari will append `#bob`, so I've updated the logic and extended the tests to reflect that.\r\n\r\nI could see having the expected fr... |
https://api.github.com/repos/psf/requests/issues/4451 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4451/labels{/name} | https://api.github.com/repos/psf/requests/issues/4451/comments | https://api.github.com/repos/psf/requests/issues/4451/events | https://github.com/psf/requests/pull/4451 | 286,511,628 | MDExOlB1bGxSZXF1ZXN0MTYxNDkyNDkw | 4,451 | Prefer https over http for links in the documentation | {
"avatar_url": "https://avatars.githubusercontent.com/u/347634?v=4",
"events_url": "https://api.github.com/users/jdufresne/events{/privacy}",
"followers_url": "https://api.github.com/users/jdufresne/followers",
"following_url": "https://api.github.com/users/jdufresne/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2018-01-06T19:25:15Z | 2021-09-03T00:11:11Z | 2018-01-06T23:23:00Z | CONTRIBUTOR | resolved | - Fixed Read the Docs links
- Fixed GitHub links
- Fixed PyPI links | {
"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/4451/reactions"
} | https://api.github.com/repos/psf/requests/issues/4451/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4451.diff",
"html_url": "https://github.com/psf/requests/pull/4451",
"merged_at": "2018-01-06T23:23:00Z",
"patch_url": "https://github.com/psf/requests/pull/4451.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4451"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4451?src=pr&el=h1) Report\n> Merging [#4451](https://codecov.io/gh/requests/requests/pull/4451?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/3dc84cde5b785a85cb20eb2f0d4530fd568a6af7?src=pr&el=desc) will **decrease** coverage by... |
https://api.github.com/repos/psf/requests/issues/4450 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4450/labels{/name} | https://api.github.com/repos/psf/requests/issues/4450/comments | https://api.github.com/repos/psf/requests/issues/4450/events | https://github.com/psf/requests/issues/4450 | 286,488,639 | MDU6SXNzdWUyODY0ODg2Mzk= | 4,450 | How about the error:Max retries exceeded with url | {
"avatar_url": "https://avatars.githubusercontent.com/u/34086198?v=4",
"events_url": "https://api.github.com/users/lanhao945/events{/privacy}",
"followers_url": "https://api.github.com/users/lanhao945/followers",
"following_url": "https://api.github.com/users/lanhao945/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 4 | 2018-01-06T14:39:26Z | 2021-09-08T05:00:36Z | 2018-01-06T15:52:13Z | NONE | resolved | ## error code
```python
Traceback (most recent call last):
File "F:/github/about_googlemap/about_googlemap/test_internet.py", line 12, in <module>
url='https://www.google.com.hk/')
File "F:\github\about_googlemap\venv\lib\site-packages\requests\api.py", line 72, in get
return request('get', url, p... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4450/reactions"
} | https://api.github.com/repos/psf/requests/issues/4450/timeline | null | completed | null | null | false | [
"You might need to make requests aware of your proxy. I suggest reading and following the examples shown in [Advanced Usage - Proxies](http://docs.python-requests.org/en/master/user/advanced/#socks) section of our documentation.\r\n\r\nMake sure you have Socks support installed:\r\n`python -m pip install requests[s... |
https://api.github.com/repos/psf/requests/issues/4449 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4449/labels{/name} | https://api.github.com/repos/psf/requests/issues/4449/comments | https://api.github.com/repos/psf/requests/issues/4449/events | https://github.com/psf/requests/issues/4449 | 286,424,609 | MDU6SXNzdWUyODY0MjQ2MDk= | 4,449 | SSL certificate/key not working but same certificate/key works with curl | {
"avatar_url": "https://avatars.githubusercontent.com/u/11277946?v=4",
"events_url": "https://api.github.com/users/sheilacheng/events{/privacy}",
"followers_url": "https://api.github.com/users/sheilacheng/followers",
"following_url": "https://api.github.com/users/sheilacheng/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 2 | 2018-01-05T22:36:39Z | 2021-09-08T04:00:42Z | 2018-01-06T16:03:53Z | NONE | resolved | Summary.
SSL certificate/key not working but same certificate/key works with curl
## Expected Result
certificate/key verifies properly
## Actual Result
SSLError: HTTPSConnectionPool(host='app.domain.com', port=443): Max retries exceeded with url: /p1/p2/p3 (Caused by SSLError(SSLError("bad handshake: Error([('... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4449/reactions"
} | https://api.github.com/repos/psf/requests/issues/4449/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`curl -k` (a.k.a, `curl --insecure`) means do no... |
https://api.github.com/repos/psf/requests/issues/4448 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4448/labels{/name} | https://api.github.com/repos/psf/requests/issues/4448/comments | https://api.github.com/repos/psf/requests/issues/4448/events | https://github.com/psf/requests/issues/4448 | 286,230,719 | MDU6SXNzdWUyODYyMzA3MTk= | 4,448 | sslv3 alert handshake failure | {
"avatar_url": "https://avatars.githubusercontent.com/u/18612720?v=4",
"events_url": "https://api.github.com/users/gauttham/events{/privacy}",
"followers_url": "https://api.github.com/users/gauttham/followers",
"following_url": "https://api.github.com/users/gauttham/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2018-01-05T09:08:55Z | 2021-09-08T05:00:37Z | 2018-01-05T11:03:16Z | NONE | resolved | Summary:
I am trying to hit an API from my MAC to a local server with verify=False Option.
The below curl command works perfectly fine for my use case.
However, the same thing when done via Python requests module,
returns the following error:
SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '... | {
"avatar_url": "https://avatars.githubusercontent.com/u/18612720?v=4",
"events_url": "https://api.github.com/users/gauttham/events{/privacy}",
"followers_url": "https://api.github.com/users/gauttham/followers",
"following_url": "https://api.github.com/users/gauttham/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/4448/reactions"
} | https://api.github.com/repos/psf/requests/issues/4448/timeline | null | completed | null | null | false | [
"This was an issue with the wrong certs.. My Bad.. Closing this out."
] |
https://api.github.com/repos/psf/requests/issues/4447 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4447/labels{/name} | https://api.github.com/repos/psf/requests/issues/4447/comments | https://api.github.com/repos/psf/requests/issues/4447/events | https://github.com/psf/requests/pull/4447 | 286,133,126 | MDExOlB1bGxSZXF1ZXN0MTYxMjMxODI0 | 4,447 | Enable early responses (like 404 errors) to be received for chunk-encoded requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/3890535?v=4",
"events_url": "https://api.github.com/users/rasjidw/events{/privacy}",
"followers_url": "https://api.github.com/users/rasjidw/followers",
"following_url": "https://api.github.com/users/rasjidw/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2018-01-04T22:29:10Z | 2021-09-04T00:06:34Z | 2018-01-11T03:12:35Z | NONE | resolved | Initial version of a fix for issue #4445. | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4447/reactions"
} | https://api.github.com/repos/psf/requests/issues/4447/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4447.diff",
"html_url": "https://github.com/psf/requests/pull/4447",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4447.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4447"
} | true | [
"When I get some time I'll look at reworking to avoid the use of threads.",
"@rasjidw I'm going to close this in the meantime. Please open a new pull request once you've worked that out."
] |
https://api.github.com/repos/psf/requests/issues/4446 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4446/labels{/name} | https://api.github.com/repos/psf/requests/issues/4446/comments | https://api.github.com/repos/psf/requests/issues/4446/events | https://github.com/psf/requests/issues/4446 | 285,945,233 | MDU6SXNzdWUyODU5NDUyMzM= | 4,446 | Unable to request any webpage | {
"avatar_url": "https://avatars.githubusercontent.com/u/16529675?v=4",
"events_url": "https://api.github.com/users/LarsaSolidor/events{/privacy}",
"followers_url": "https://api.github.com/users/LarsaSolidor/followers",
"following_url": "https://api.github.com/users/LarsaSolidor/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2018-01-04T10:46:32Z | 2021-09-08T05:00:37Z | 2018-01-04T16:48:02Z | NONE | resolved | Unable to request any webpage on two Windows 10 64 bit machines with Python 3.6.3 64 bit and Python 3.6.3 64 bit installed.
## Expected Result
I expected to receive a Response object with the website data.
## Actual Result
Received the following error messages after a very long delay.
```
"C:\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/4446/reactions"
} | https://api.github.com/repos/psf/requests/issues/4446/timeline | null | completed | null | null | false | [
"Hey @LarsaSolidor, if you aren't able to request ANY webpages, then that suggests there is some kind of local network issue. Are you possibly behind a proxy or corporate firewall that may be intercepting your traffic? If you are, you likely need to add any additional required SSL certs with your requests.\r\n\r\nI... |
https://api.github.com/repos/psf/requests/issues/4445 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4445/labels{/name} | https://api.github.com/repos/psf/requests/issues/4445/comments | https://api.github.com/repos/psf/requests/issues/4445/events | https://github.com/psf/requests/issues/4445 | 285,895,740 | MDU6SXNzdWUyODU4OTU3NDA= | 4,445 | 404 responses for chunk-encoded requests may not be received | {
"avatar_url": "https://avatars.githubusercontent.com/u/3890535?v=4",
"events_url": "https://api.github.com/users/rasjidw/events{/privacy}",
"followers_url": "https://api.github.com/users/rasjidw/followers",
"following_url": "https://api.github.com/users/rasjidw/following{/other_user}",
"gists_url": "https:/... | [] | closed | false | null | [] | null | 3 | 2018-01-04T06:50:33Z | 2024-05-19T19:02:58Z | 2024-05-19T19:02:58Z | NONE | null | 404 responses (or any response sent by the server prior to the entire request being sent) for chunk-encoded requests may not be received by the caller.
This appears to happen if the server closes the connection (after sending the 404 response) prior to the completion of the chunked post / upload.
## Expected Resu... | {
"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/4445/reactions"
} | https://api.github.com/repos/psf/requests/issues/4445/timeline | null | completed | null | null | false | [
"Thanks for this! Instead of submitting the patch as a zip, consider submitting a Pull Request and linking it to this issue. :)",
"Pull request done. If the approach is okay I can look at adding tests etc.",
"Chunked requests are now handled by urllib3."
] |
https://api.github.com/repos/psf/requests/issues/4444 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4444/labels{/name} | https://api.github.com/repos/psf/requests/issues/4444/comments | https://api.github.com/repos/psf/requests/issues/4444/events | https://github.com/psf/requests/issues/4444 | 285,348,445 | MDU6SXNzdWUyODUzNDg0NDU= | 4,444 | Download file with Chinese charactor, the Response headers filename is incorrect, not cn, but messy code. | {
"avatar_url": "https://avatars.githubusercontent.com/u/13959768?v=4",
"events_url": "https://api.github.com/users/truelovesdu/events{/privacy}",
"followers_url": "https://api.github.com/users/truelovesdu/followers",
"following_url": "https://api.github.com/users/truelovesdu/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2018-01-02T03:04:06Z | 2021-09-08T05:00:38Z | 2018-01-02T17:00:26Z | NONE | resolved | When I log infos,
logging.debug("@@@###:%s" % response.headers)
The output is as below:
@@@###:{'Server': 'openresty', 'Date': 'Tue, 02 Jan 2018 03:02:52 GMT', 'Content-Type': 'application/octet-stream;charset=utf8', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'Content-Disposition': ';filename="æµ\x8... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4444/reactions"
} | https://api.github.com/repos/psf/requests/issues/4444/timeline | null | completed | null | null | false | [
"Please provide us with the output of\r\n\r\n```\r\npython -m requests.help\r\n```\r\n\r\nIf that is unavailable on your version of Requests please provide some basic information about your system (Python version, operating system, etc)."
] |
https://api.github.com/repos/psf/requests/issues/4443 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4443/labels{/name} | https://api.github.com/repos/psf/requests/issues/4443/comments | https://api.github.com/repos/psf/requests/issues/4443/events | https://github.com/psf/requests/issues/4443 | 285,308,691 | MDU6SXNzdWUyODUzMDg2OTE= | 4,443 | fragment not append on redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/30517876?v=4",
"events_url": "https://api.github.com/users/stcioc/events{/privacy}",
"followers_url": "https://api.github.com/users/stcioc/followers",
"following_url": "https://api.github.com/users/stcioc/following{/other_user}",
"gists_url": "https://a... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | null | [] | null | 5 | 2018-01-01T13:57:19Z | 2021-09-08T04:00:47Z | 2018-01-21T18:53:24Z | NONE | resolved | In the following case (see detailed explanation and test case at http://www.webdbg.com/test/redir/fragment/):
- try to open a link that contains a fragment (say http://foo/#SomeInfo)
- the server sends a 302 Redir to http://bar
## Expected Result
The expected result is that requests library follows the redirect... | {
"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/4443/reactions"
} | https://api.github.com/repos/psf/requests/issues/4443/timeline | null | completed | null | null | false | [
"This isn't how redirects work. The RFCs (3986, 7230, 7231, 7232, 7233, 7234, 7235) do not require or prescribe retaining the fragment. If you want us to retain the fragment you'll need to handle redirects yourself. The server is telling us what to redirect to and we're supposed to follow that.\r\n\r\nThanks for op... |
https://api.github.com/repos/psf/requests/issues/4442 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4442/labels{/name} | https://api.github.com/repos/psf/requests/issues/4442/comments | https://api.github.com/repos/psf/requests/issues/4442/events | https://github.com/psf/requests/pull/4442 | 285,276,545 | MDExOlB1bGxSZXF1ZXN0MTYwNjMwNTYz | 4,442 | Reduce overall memory usage by removing cgi dependency and writing a protected function | {
"avatar_url": "https://avatars.githubusercontent.com/u/18693326?v=4",
"events_url": "https://api.github.com/users/DemetriosBairaktaris/events{/privacy}",
"followers_url": "https://api.github.com/users/DemetriosBairaktaris/followers",
"following_url": "https://api.github.com/users/DemetriosBairaktaris/followin... | [] | closed | true | null | [] | null | 6 | 2017-12-31T21:15:20Z | 2021-09-04T00:06:35Z | 2018-01-04T22:32:40Z | CONTRIBUTOR | resolved | In response to issue #4313 , I removed the cgi module import and added a parse_header function nested inside get_encoding_from_headers in utils.py. I have run the tests both before and after making these changes. The test_util cases all passed before and they still do now. Please let me know about any suggestions to... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4442/reactions"
} | https://api.github.com/repos/psf/requests/issues/4442/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4442.diff",
"html_url": "https://github.com/psf/requests/pull/4442",
"merged_at": "2018-01-04T22:32:40Z",
"patch_url": "https://github.com/psf/requests/pull/4442.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4442"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4442?src=pr&el=h1) Report\n> Merging [#4442](https://codecov.io/gh/requests/requests/pull/4442?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/24092b11d74af0a766d9cc616622f38adb0044b9?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4441 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4441/labels{/name} | https://api.github.com/repos/psf/requests/issues/4441/comments | https://api.github.com/repos/psf/requests/issues/4441/events | https://github.com/psf/requests/issues/4441 | 285,262,801 | MDU6SXNzdWUyODUyNjI4MDE= | 4,441 | README does not render properly on PyPI | {
"avatar_url": "https://avatars.githubusercontent.com/u/10340167?v=4",
"events_url": "https://api.github.com/users/johnthagen/events{/privacy}",
"followers_url": "https://api.github.com/users/johnthagen/followers",
"following_url": "https://api.github.com/users/johnthagen/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 3 | 2017-12-31T15:24:28Z | 2021-09-08T03:00:33Z | 2018-03-12T21:43:16Z | CONTRIBUTOR | resolved | # Summary
Requests PyPI page does not render, making it much less useful.
## Expected Result
Rendered RST to be shown on https://pypi.python.org/pypi/requests
## Actual Result
Raw unrendered RST:
```
Requests: HTTP for Humans
=========================
.. image:: https://img.shields.io/pypi/v/requ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4441/reactions"
} | https://api.github.com/repos/psf/requests/issues/4441/timeline | null | completed | null | null | false | [
"Could this be due to some invalid RST associated with line 110 of README.rst? I think it needs back-quotes, e.g.\r\n\r\n``.. _`Contributor Friendly`: https://github.com/requests/requests/issues?direction=desc&labels=Contributor+Friendly&page=1&sort=updated&state=open``\r\n\r\ninstead of the current:\r\n\r\n``.. _C... |
https://api.github.com/repos/psf/requests/issues/4440 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4440/labels{/name} | https://api.github.com/repos/psf/requests/issues/4440/comments | https://api.github.com/repos/psf/requests/issues/4440/events | https://github.com/psf/requests/issues/4440 | 285,189,012 | MDU6SXNzdWUyODUxODkwMTI= | 4,440 | Proxy doesn't work for https connections | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 2 | 2017-12-30T07:22:53Z | 2021-09-04T00:06:25Z | 2017-12-30T07:39:41Z | NONE | resolved | Summary.
The requests proxies do work for the **http** connections but not for **https** connections. I tried to find a solution to this problem but could not find any satisfied answer. Here is the sample test code:
```python
import requests
proxy = {
'http': 'http://user:pass@ip:http-port',
'https': 'http://... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4440/reactions"
} | https://api.github.com/repos/psf/requests/issues/4440/timeline | null | completed | null | null | false | [
"It seems to work now, my bad !\r\nJust found the solution here [Socks Support](https://github.com/requests/requests/pull/478)",
"+1 requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /search?source=hp&ei=h45CXayCH_eVr7wPmoahuAU&q=inurl:id=1 (Cause... |
https://api.github.com/repos/psf/requests/issues/4439 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4439/labels{/name} | https://api.github.com/repos/psf/requests/issues/4439/comments | https://api.github.com/repos/psf/requests/issues/4439/events | https://github.com/psf/requests/pull/4439 | 284,874,004 | MDExOlB1bGxSZXF1ZXN0MTYwMzU3NTEz | 4,439 | Fix broken link to Certifi | {
"avatar_url": "https://avatars.githubusercontent.com/u/11088651?v=4",
"events_url": "https://api.github.com/users/nkonin/events{/privacy}",
"followers_url": "https://api.github.com/users/nkonin/followers",
"following_url": "https://api.github.com/users/nkonin/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2017-12-28T09:17:44Z | 2021-09-03T00:11:14Z | 2018-01-21T14:36:32Z | CONTRIBUTOR | resolved | certifi.io doesn't available at least since 07.11.2017
(https://github.com/certifi/certifi.io/issues/16) | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4439/reactions"
} | https://api.github.com/repos/psf/requests/issues/4439/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4439.diff",
"html_url": "https://github.com/psf/requests/pull/4439",
"merged_at": "2018-01-21T14:36:32Z",
"patch_url": "https://github.com/psf/requests/pull/4439.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4439"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4439?src=pr&el=h1) Report\n> Merging [#4439](https://codecov.io/gh/requests/requests/pull/4439?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/6a74c70a3ab00435281bf70f8be581a6f9e0419d?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4438 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4438/labels{/name} | https://api.github.com/repos/psf/requests/issues/4438/comments | https://api.github.com/repos/psf/requests/issues/4438/events | https://github.com/psf/requests/issues/4438 | 284,508,727 | MDU6SXNzdWUyODQ1MDg3Mjc= | 4,438 | requests Read timed out when handle two same header in http response | {
"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 | 2017-12-26T07:28:36Z | 2021-09-08T05:00:39Z | 2017-12-26T07:32:20Z | NONE | resolved | I use requests's get method to request a url,I found It always timeout,I use wireshark capture the response, the server has response the data,but why requests's get method timeout?,the response as flows
```
GET /onvif/device_service HTTP/1.1
Host: 50.250.78.211
Connection: keep-alive
Accept-Encoding: gzip, deflate... | {
"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:/... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4438/reactions"
} | https://api.github.com/repos/psf/requests/issues/4438/timeline | null | completed | null | null | false | [
"Hi there! Thanks for opening this issue. Unfortunately, it seems this is a request for help instead of a report of a defect in the project. Please use [StackOverflow](https://stackoverflow.com) for general usage questions instead and only report defects here.\r\n\r\n---\r\n\r\nI would point out that my browser and... |
https://api.github.com/repos/psf/requests/issues/4437 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4437/labels{/name} | https://api.github.com/repos/psf/requests/issues/4437/comments | https://api.github.com/repos/psf/requests/issues/4437/events | https://github.com/psf/requests/issues/4437 | 284,206,838 | MDU6SXNzdWUyODQyMDY4Mzg= | 4,437 | Add bearer token to requests.auth? | {
"avatar_url": "https://avatars.githubusercontent.com/u/5485798?v=4",
"events_url": "https://api.github.com/users/richtier/events{/privacy}",
"followers_url": "https://api.github.com/users/richtier/followers",
"following_url": "https://api.github.com/users/richtier/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 7 | 2017-12-22T16:49:08Z | 2021-08-30T00:06:22Z | 2018-03-27T19:53:26Z | NONE | resolved | in `request.auth` there is `HTTPBasicAuth` , `HTTPProxyAuth`, and `HTTPDigestAuth`, but no `HTTPBearerAuth` - for bearer authentication.
It would look something like this:
```
class HTTPBearerAuth(requests.auth.AuthBase):
def __init__(self, token):
self.token = token
def __eq__(self, other):... | {
"avatar_url": "https://avatars.githubusercontent.com/u/5485798?v=4",
"events_url": "https://api.github.com/users/richtier/events{/privacy}",
"followers_url": "https://api.github.com/users/richtier/followers",
"following_url": "https://api.github.com/users/richtier/following{/other_user}",
"gists_url": "http... | {
"+1": 16,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 16,
"url": "https://api.github.com/repos/psf/requests/issues/4437/reactions"
} | https://api.github.com/repos/psf/requests/issues/4437/timeline | null | completed | null | null | false | [
"Hi @richtier thanks for opening this.\r\n\r\n> Is there a reason to not add bearer auth to the codebase?\r\n\r\nThe main reasons are the following:\r\n\r\n1. because Bearer authentication is so terribly simple that it can be implemented as above easily (or even more simply, really)\r\n2. because we're under a fair... |
https://api.github.com/repos/psf/requests/issues/4436 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4436/labels{/name} | https://api.github.com/repos/psf/requests/issues/4436/comments | https://api.github.com/repos/psf/requests/issues/4436/events | https://github.com/psf/requests/issues/4436 | 283,844,573 | MDU6SXNzdWUyODM4NDQ1NzM= | 4,436 | SSLError: HTTPSConnectionPool(host='www.recruit.com.hk', port=443): Max retries exceeded with url: /jobseeker/JobDetail.aspx?jobOrder=L04146652 (Caused by SSLError(SSLError("bad handshake: SysCallError(-1, 'Unexpected EOF')",),)) | {
"avatar_url": "https://avatars.githubusercontent.com/u/8072787?v=4",
"events_url": "https://api.github.com/users/cecilialee/events{/privacy}",
"followers_url": "https://api.github.com/users/cecilialee/followers",
"following_url": "https://api.github.com/users/cecilialee/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2017-12-21T10:54:11Z | 2021-09-08T05:00:40Z | 2017-12-25T12:13:21Z | NONE | resolved | I'm making a very simple `get()` request but it throws the SSL error. The error message is very long and after searching around, I can't find anything that's helpful. Please help :(
## Expected Result
No exception.
## Actual Result
```
SSLError: HTTPSConnectionPool(host='www.recruit.com.hk', port=443): Max... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4436/reactions"
} | https://api.github.com/repos/psf/requests/issues/4436/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/4435 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4435/labels{/name} | https://api.github.com/repos/psf/requests/issues/4435/comments | https://api.github.com/repos/psf/requests/issues/4435/events | https://github.com/psf/requests/issues/4435 | 283,787,171 | MDU6SXNzdWUyODM3ODcxNzE= | 4,435 | request blocked when i try to request an offline server | {
"avatar_url": "https://avatars.githubusercontent.com/u/10654221?v=4",
"events_url": "https://api.github.com/users/ignite-404/events{/privacy}",
"followers_url": "https://api.github.com/users/ignite-404/followers",
"following_url": "https://api.github.com/users/ignite-404/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2017-12-21T06:42:48Z | 2021-09-08T05:00:40Z | 2017-12-25T12:11:23Z | NONE | resolved | i wrote a program with requests to wake up my site.
when i deploy my site,the server can't response.
then i saw the requests blocked forever , can't continue next requst again.
i have no log,just an appearance | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 3,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/psf/requests/issues/4435/reactions"
} | https://api.github.com/repos/psf/requests/issues/4435/timeline | null | completed | null | null | false | [
"Please provide us with the output of\r\n\r\n```\r\npython -m requests.help\r\n```\r\n\r\nIf that is unavailable on your version of Requests please provide some basic information about your system (Python version, operating system, etc)."
] |
https://api.github.com/repos/psf/requests/issues/4434 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4434/labels{/name} | https://api.github.com/repos/psf/requests/issues/4434/comments | https://api.github.com/repos/psf/requests/issues/4434/events | https://github.com/psf/requests/issues/4434 | 283,584,461 | MDU6SXNzdWUyODM1ODQ0NjE= | 4,434 | iOS issue 'No child processes' | {
"avatar_url": "https://avatars.githubusercontent.com/u/13103826?v=4",
"events_url": "https://api.github.com/users/mucke5/events{/privacy}",
"followers_url": "https://api.github.com/users/mucke5/followers",
"following_url": "https://api.github.com/users/mucke5/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 4 | 2017-12-20T14:41:42Z | 2021-09-08T04:00:43Z | 2018-01-30T13:54:14Z | NONE | resolved | I am using Kodi and got the following error. Could you advise me how to solve the issue?
System: iOS 9.3.3 | Kodi 17.6 (arm64)
File "/var/mobile/Library/Preferences/Kodi/addons/script.module.requests/lib/requests/__init__.py", line 97, in <module>
from . import utils
File "/var/mobile/Library/Preferences/Kodi/a... | {
"avatar_url": "https://avatars.githubusercontent.com/u/13103826?v=4",
"events_url": "https://api.github.com/users/mucke5/events{/privacy}",
"followers_url": "https://api.github.com/users/mucke5/followers",
"following_url": "https://api.github.com/users/mucke5/following{/other_user}",
"gists_url": "https://a... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4434/reactions"
} | https://api.github.com/repos/psf/requests/issues/4434/timeline | null | completed | null | null | false | [
"This is an odd error. At the moment we're not compatible with iOS and that was never really a target that we defined as wanting to be compatible with. It seems that Kodi doesn't allow python to spawn subprocesses in order to determine the system name. As such, when we try to make decisions based on the Operating S... |
https://api.github.com/repos/psf/requests/issues/4433 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4433/labels{/name} | https://api.github.com/repos/psf/requests/issues/4433/comments | https://api.github.com/repos/psf/requests/issues/4433/events | https://github.com/psf/requests/issues/4433 | 283,152,291 | MDU6SXNzdWUyODMxNTIyOTE= | 4,433 | How to use this library and Android for picture transmission | {
"avatar_url": "https://avatars.githubusercontent.com/u/17872637?v=4",
"events_url": "https://api.github.com/users/alanMachineLeraning/events{/privacy}",
"followers_url": "https://api.github.com/users/alanMachineLeraning/followers",
"following_url": "https://api.github.com/users/alanMachineLeraning/following{/... | [] | closed | true | null | [] | null | 2 | 2017-12-19T09:11:10Z | 2021-09-08T05:00:42Z | 2017-12-19T13:28:17Z | 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/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4433/reactions"
} | https://api.github.com/repos/psf/requests/issues/4433/timeline | null | completed | null | null | false | [
" What do you mean by 'picture transmission'?",
"This is not a forum for questions and answers. The place to ask questions for technical help is [StackOverflow](https://stackoverflow.com). Please redirect your discussion there."
] |
https://api.github.com/repos/psf/requests/issues/4432 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4432/labels{/name} | https://api.github.com/repos/psf/requests/issues/4432/comments | https://api.github.com/repos/psf/requests/issues/4432/events | https://github.com/psf/requests/issues/4432 | 282,964,791 | MDU6SXNzdWUyODI5NjQ3OTE= | 4,432 | Just a question | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 2 | 2017-12-18T17:45:53Z | 2021-09-08T05:00:41Z | 2017-12-19T13:28:23Z | NONE | resolved | How i can avoid url encoding into a post parameter?
like:
username=not encoded data&password=not encoded data&login=True
i tried with:
`config={'encode_uri': False}`
but it doen't work anymore | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4432/reactions"
} | https://api.github.com/repos/psf/requests/issues/4432/timeline | null | completed | null | null | false | [
"Why don't you want the parameter to be URL encoded? Every server should be able to decode this.",
"This is not a forum for questions and answers. The place to ask questions for technical help is [StackOverflow](https://stackoverflow.com). Please redirect your discussion there."
] |
https://api.github.com/repos/psf/requests/issues/4431 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4431/labels{/name} | https://api.github.com/repos/psf/requests/issues/4431/comments | https://api.github.com/repos/psf/requests/issues/4431/events | https://github.com/psf/requests/issues/4431 | 282,828,604 | MDU6SXNzdWUyODI4Mjg2MDQ= | 4,431 | Requests shouldn't send IP Address as SNI. | {
"avatar_url": "https://avatars.githubusercontent.com/u/4143339?v=4",
"events_url": "https://api.github.com/users/jicahoo/events{/privacy}",
"followers_url": "https://api.github.com/users/jicahoo/followers",
"following_url": "https://api.github.com/users/jicahoo/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2017-12-18T10:22:25Z | 2021-09-08T05:00:41Z | 2017-12-20T07:05:59Z | NONE | resolved | Summary.
According to RFC 6066, https://tools.ietf.org/html/rfc6066#section-3,
` Literal IPv4 and IPv6 addresses are not permitted in "HostName".`
However, when I send requests like resp = s.get('https://192.168.1.140', verify=False), requests will put 192.168.1.140 in SNI.
## Expected Result
Not send SNI wh... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4143339?v=4",
"events_url": "https://api.github.com/users/jicahoo/events{/privacy}",
"followers_url": "https://api.github.com/users/jicahoo/followers",
"following_url": "https://api.github.com/users/jicahoo/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/4431/reactions"
} | https://api.github.com/repos/psf/requests/issues/4431/timeline | null | completed | null | null | false | [
"I am trying to build a test https server following the guide in https://anvileight.uk/blog/2016/03/20/simple-http-server-with-python/. For now, I haven't succeeded. ",
"You can try to run below Python script and capture network packets using tcpdump.\r\nThe IP Address 140.211.11.105 is got from apache.org. I am ... |
https://api.github.com/repos/psf/requests/issues/4430 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4430/labels{/name} | https://api.github.com/repos/psf/requests/issues/4430/comments | https://api.github.com/repos/psf/requests/issues/4430/events | https://github.com/psf/requests/issues/4430 | 282,547,293 | MDU6SXNzdWUyODI1NDcyOTM= | 4,430 | Cookies lost during multiple redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/885164?v=4",
"events_url": "https://api.github.com/users/batzel/events{/privacy}",
"followers_url": "https://api.github.com/users/batzel/followers",
"following_url": "https://api.github.com/users/batzel/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 1 | 2017-12-15T21:04:02Z | 2021-09-08T05:00:42Z | 2017-12-16T07:45:20Z | NONE | resolved | Cookies are lost when set by sites returning redirects.
Example:
r=requests.get('http://hostA/url1')
where url gives multiple redirects, possibly multiple sites.
e.g. hostA/url1 -> 302 -> hostB/url2 -> 302 -> HostC/url3
Expectation:
r.cookies would have all the cookies set by hostA, hostB, and hostC
Actua... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4430/reactions"
} | https://api.github.com/repos/psf/requests/issues/4430/timeline | null | completed | null | null | false | [
"`r.cookies` contains only the cookies set by the most recent response. Use a `Session` and collect the cookies from `Session.cookies`."
] |
https://api.github.com/repos/psf/requests/issues/4429 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4429/labels{/name} | https://api.github.com/repos/psf/requests/issues/4429/comments | https://api.github.com/repos/psf/requests/issues/4429/events | https://github.com/psf/requests/issues/4429 | 282,290,005 | MDU6SXNzdWUyODIyOTAwMDU= | 4,429 | What's the meaning of the homepage image? | {
"avatar_url": "https://avatars.githubusercontent.com/u/16239566?v=4",
"events_url": "https://api.github.com/users/lightning-zgc/events{/privacy}",
"followers_url": "https://api.github.com/users/lightning-zgc/followers",
"following_url": "https://api.github.com/users/lightning-zgc/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 2 | 2017-12-15T01:11:02Z | 2021-09-08T05:00:37Z | 2018-01-07T21:33:08Z | NONE | resolved | What's the meaning of this:

| {
"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/4429/reactions"
} | https://api.github.com/repos/psf/requests/issues/4429/timeline | null | completed | null | null | false | [
"A butterfly at the waterline?",
"Hey @lightning-zgc, the photos you see throughout the Requests docs are taken by Kenneth Reitz. You'll find things like this in most of the documentation for projects he started, and it's mostly there for aesthetic purposes. Hopefully that helps answer your question!\r\n\r\nFor f... |
https://api.github.com/repos/psf/requests/issues/4428 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4428/labels{/name} | https://api.github.com/repos/psf/requests/issues/4428/comments | https://api.github.com/repos/psf/requests/issues/4428/events | https://github.com/psf/requests/pull/4428 | 281,610,897 | MDExOlB1bGxSZXF1ZXN0MTU3OTkzNjk4 | 4,428 | Reuse session SSLContexts for same TLS settings | {
"avatar_url": "https://avatars.githubusercontent.com/u/34075110?v=4",
"events_url": "https://api.github.com/users/jmcackles/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcackles/followers",
"following_url": "https://api.github.com/users/jmcackles/following{/other_user}",
"gists_url": "... | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 4 | 2017-12-13T03:09:31Z | 2024-05-20T14:35:40Z | 2024-05-20T14:35:40Z | NONE | null | Creates SSLContext objects in HTTPAdapter and uses a single SSLContext for connections with the same TLS settings (ca_cert_dir, ca_certs, cert_file, and key_file).
This is another try for https://github.com/requests/requests/issues/4322 | {
"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/4428/reactions"
} | https://api.github.com/repos/psf/requests/issues/4428/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4428.diff",
"html_url": "https://github.com/psf/requests/pull/4428",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4428.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4428"
} | true | [
"My best guess is that the failure is related to https://bugs.python.org/issue9949, but I'm really not sure. The test is failing because using a relative path and absolute path to the same cert file creates 2 different SSLContexts in the windows tests. I'm not sure if this is an important case, but I had added a ... |
https://api.github.com/repos/psf/requests/issues/4427 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4427/labels{/name} | https://api.github.com/repos/psf/requests/issues/4427/comments | https://api.github.com/repos/psf/requests/issues/4427/events | https://github.com/psf/requests/pull/4427 | 281,417,905 | MDExOlB1bGxSZXF1ZXN0MTU3ODUyNzUx | 4,427 | Use hostname not netloc | {
"avatar_url": "https://avatars.githubusercontent.com/u/839885?v=4",
"events_url": "https://api.github.com/users/ddormer/events{/privacy}",
"followers_url": "https://api.github.com/users/ddormer/followers",
"following_url": "https://api.github.com/users/ddormer/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 4 | 2017-12-12T15:08:10Z | 2021-09-04T00:06:33Z | 2018-01-16T14:07:27Z | CONTRIBUTOR | resolved | Fixes #4275 and fixes #4158 by passing only the hostname/IP to urllib's `proxy_bypass` function which was timing out further down in `socket.gethostbyname` when passed a hostname or IP that contained authentication credentials.
While fixing the parameter passed to `proxy_bypass`, I also took the chance to replace ot... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4427/reactions"
} | https://api.github.com/repos/psf/requests/issues/4427/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4427.diff",
"html_url": "https://github.com/psf/requests/pull/4427",
"merged_at": "2018-01-16T14:07:26Z",
"patch_url": "https://github.com/psf/requests/pull/4427.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4427"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4427?src=pr&el=h1) Report\n> Merging [#4427](https://codecov.io/gh/requests/requests/pull/4427?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/020f96577f8f44d06acc1ab699a7638653d91bd0?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4426 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4426/labels{/name} | https://api.github.com/repos/psf/requests/issues/4426/comments | https://api.github.com/repos/psf/requests/issues/4426/events | https://github.com/psf/requests/issues/4426 | 281,267,677 | MDU6SXNzdWUyODEyNjc2Nzc= | 4,426 | Making a post to a server on localhost is slow | {
"avatar_url": "https://avatars.githubusercontent.com/u/191903?v=4",
"events_url": "https://api.github.com/users/JesseAldridge/events{/privacy}",
"followers_url": "https://api.github.com/users/JesseAldridge/followers",
"following_url": "https://api.github.com/users/JesseAldridge/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 5 | 2017-12-12T06:01:20Z | 2021-09-08T05:00:41Z | 2017-12-12T06:11:09Z | NONE | resolved | Question posted here: https://stackoverflow.com/questions/47766158/why-is-python-requests-to-localhost-slow
Basically I have a trival server running locally. When I use requests to do a post to it it takes a few seconds to respond.
## Expected Result
A sub-second response
## Actual Result
A pause of a ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/191903?v=4",
"events_url": "https://api.github.com/users/JesseAldridge/events{/privacy}",
"followers_url": "https://api.github.com/users/JesseAldridge/followers",
"following_url": "https://api.github.com/users/JesseAldridge/following{/other_user}",
"gis... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4426/reactions"
} | https://api.github.com/repos/psf/requests/issues/4426/timeline | null | completed | null | null | false | [
"Ah nevermind. Issue resolved instantly. Got to love Stackoverflow.",
"I want to know why this happens.\r\nCan anyone help?\r\n\r\nI was able to make a **100x** speedup changing `\"localhost\"` to `\"127.0.0.1\"`.",
"@cprogrammer1994 we use DNS in the case when we're not given an IP Address. localhost is plen... |
https://api.github.com/repos/psf/requests/issues/4425 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4425/labels{/name} | https://api.github.com/repos/psf/requests/issues/4425/comments | https://api.github.com/repos/psf/requests/issues/4425/events | https://github.com/psf/requests/issues/4425 | 281,148,349 | MDU6SXNzdWUyODExNDgzNDk= | 4,425 | Address deleting cookies when domain-less defaults are used. | {
"avatar_url": "https://avatars.githubusercontent.com/u/204779?v=4",
"events_url": "https://api.github.com/users/jvanasco/events{/privacy}",
"followers_url": "https://api.github.com/users/jvanasco/followers",
"following_url": "https://api.github.com/users/jvanasco/following{/other_user}",
"gists_url": "https... | [] | open | false | null | [] | null | 4 | 2017-12-11T20:00:10Z | 2017-12-12T23:00:17Z | null | CONTRIBUTOR | null | I found a few variations of this "implementation detail" in other reports, but I believe this particular use case is worth addressing.
If a URL is retrieved with either a dict or unqualified cookie jar, the deletions are ignored.
# use a dict
resp = requests.get(url, cookies={'cookie1': 'value'},)
or
... | 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/4425/reactions"
} | https://api.github.com/repos/psf/requests/issues/4425/timeline | null | null | null | null | false | [
"Thanks for this @jvanasco \r\n\r\nI had started hacking on a branch that would make the domain and path required with our cookie jar and probably provide a better interface to all of this in general. Sadly, I think that got lost in the suffle and I'd forgotten it. The API design change needs to be made for v3.0 to... |
https://api.github.com/repos/psf/requests/issues/4424 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4424/labels{/name} | https://api.github.com/repos/psf/requests/issues/4424/comments | https://api.github.com/repos/psf/requests/issues/4424/events | https://github.com/psf/requests/pull/4424 | 281,066,500 | MDExOlB1bGxSZXF1ZXN0MTU3NTk5NDQx | 4,424 | Fix: Removed incorrect plural of 'status' | {
"avatar_url": "https://avatars.githubusercontent.com/u/8420509?v=4",
"events_url": "https://api.github.com/users/SHSauler/events{/privacy}",
"followers_url": "https://api.github.com/users/SHSauler/followers",
"following_url": "https://api.github.com/users/SHSauler/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 4 | 2017-12-11T15:51:45Z | 2021-09-04T00:06:36Z | 2017-12-12T13:03:17Z | NONE | resolved | The plural of `status` is `statuses` or `statūs`. Please disregard if it's here for a particular reason.
https://en.wiktionary.org/wiki/status#English
https://en.wiktionary.org/wiki/status#Etymology_2_2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4424/reactions"
} | https://api.github.com/repos/psf/requests/issues/4424/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4424.diff",
"html_url": "https://github.com/psf/requests/pull/4424",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4424.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4424"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4424?src=pr&el=h1) Report\n> Merging [#4424](https://codecov.io/gh/requests/requests/pull/4424?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/24092b11d74af0a766d9cc616622f38adb0044b9?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4423 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4423/labels{/name} | https://api.github.com/repos/psf/requests/issues/4423/comments | https://api.github.com/repos/psf/requests/issues/4423/events | https://github.com/psf/requests/issues/4423 | 280,873,561 | MDU6SXNzdWUyODA4NzM1NjE= | 4,423 | urllib3 Which file is in it ThankYou | {
"avatar_url": "https://avatars.githubusercontent.com/u/21980348?v=4",
"events_url": "https://api.github.com/users/apple-han/events{/privacy}",
"followers_url": "https://api.github.com/users/apple-han/followers",
"following_url": "https://api.github.com/users/apple-han/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2017-12-11T02:12:02Z | 2021-09-08T05:00:44Z | 2017-12-11T13:09:43Z | 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/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4423/reactions"
} | https://api.github.com/repos/psf/requests/issues/4423/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/4422 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4422/labels{/name} | https://api.github.com/repos/psf/requests/issues/4422/comments | https://api.github.com/repos/psf/requests/issues/4422/events | https://github.com/psf/requests/issues/4422 | 280,870,542 | MDU6SXNzdWUyODA4NzA1NDI= | 4,422 | python requests post to url query parameter requires special character | {
"avatar_url": "https://avatars.githubusercontent.com/u/4407747?v=4",
"events_url": "https://api.github.com/users/methodmenon/events{/privacy}",
"followers_url": "https://api.github.com/users/methodmenon/followers",
"following_url": "https://api.github.com/users/methodmenon/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-12-11T01:47:38Z | 2021-09-08T05:00:43Z | 2017-12-11T13:14:08Z | NONE | resolved | Summary.
I am using python requests to submit a post request to a specific url. This url has a query parameter that contains the actual filepath of the file I am uplaoding, with the actual colon (':') and backslashes('\') (it will not accept %3A, or %5C). I have no idea what to do.
Here is my code:
```
with reque... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4422/reactions"
} | https://api.github.com/repos/psf/requests/issues/4422/timeline | null | completed | null | null | false | [
"Here's the problem, if your server won't accept a request that follows the RFC, there's little that we can actually do to fix this in Requests. Since Requests is doing the right thing here, I suggest you contact the server owner to fix their specification incompatible server. To get this working in the interim, I ... |
https://api.github.com/repos/psf/requests/issues/4421 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4421/labels{/name} | https://api.github.com/repos/psf/requests/issues/4421/comments | https://api.github.com/repos/psf/requests/issues/4421/events | https://github.com/psf/requests/pull/4421 | 280,845,822 | MDExOlB1bGxSZXF1ZXN0MTU3NDUwMzk5 | 4,421 | Reuse session SSLContexts for same TLS settings | {
"avatar_url": "https://avatars.githubusercontent.com/u/34075110?v=4",
"events_url": "https://api.github.com/users/jmcackles/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcackles/followers",
"following_url": "https://api.github.com/users/jmcackles/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 0 | 2017-12-10T21:17:12Z | 2021-09-04T00:06:37Z | 2017-12-10T21:31:04Z | NONE | resolved | Creates SSLContext objects in HTTPAdapter and uses a single SSLContext for connections with the same TLS settings (ca_cert_dir, ca_certs, cert_file, and key_file).
This is for https://github.com/requests/requests/issues/4322. | {
"avatar_url": "https://avatars.githubusercontent.com/u/34075110?v=4",
"events_url": "https://api.github.com/users/jmcackles/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcackles/followers",
"following_url": "https://api.github.com/users/jmcackles/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/4421/reactions"
} | https://api.github.com/repos/psf/requests/issues/4421/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4421.diff",
"html_url": "https://github.com/psf/requests/pull/4421",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4421.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4421"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/4420 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4420/labels{/name} | https://api.github.com/repos/psf/requests/issues/4420/comments | https://api.github.com/repos/psf/requests/issues/4420/events | https://github.com/psf/requests/issues/4420 | 280,738,054 | MDU6SXNzdWUyODA3MzgwNTQ= | 4,420 | headers not retained when a custom authentication method is used with request.session | {
"avatar_url": "https://avatars.githubusercontent.com/u/5459596?v=4",
"events_url": "https://api.github.com/users/johaven/events{/privacy}",
"followers_url": "https://api.github.com/users/johaven/followers",
"following_url": "https://api.github.com/users/johaven/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 3 | 2017-12-09T17:36:24Z | 2021-09-08T05:00:44Z | 2017-12-09T19:01:07Z | NONE | resolved | ## standard request
```python
r = requests.post(url, auth=JWTAuth('token'), timeout=self.connect_timeout, verify=self.sslcheck, proxies=self.proxies)
```
## standard request headers on server side
```
Host: 127.0.0.1:5000
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: */*
User-Agent: 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/4420/reactions"
} | https://api.github.com/repos/psf/requests/issues/4420/timeline | null | completed | null | null | false | [
"After a little more digging ... \r\nWhen custom authentification is used with session, no headers is kept.\r\n```python\r\nclass JWTAuth(AuthBase):\r\n \"\"\"Attaches HTTP Pizza Authentication to the given Request object.\"\"\"\r\n def __init__(self, token):\r\n # setup any auth-related data here\r\n ... |
https://api.github.com/repos/psf/requests/issues/4419 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4419/labels{/name} | https://api.github.com/repos/psf/requests/issues/4419/comments | https://api.github.com/repos/psf/requests/issues/4419/events | https://github.com/psf/requests/issues/4419 | 280,731,458 | MDU6SXNzdWUyODA3MzE0NTg= | 4,419 | requests.exceptions.ProxyError: HTTPSConnectionPool: Failed to establish a new connection | {
"avatar_url": "https://avatars.githubusercontent.com/u/13938550?v=4",
"events_url": "https://api.github.com/users/vThinkBeyondVM/events{/privacy}",
"followers_url": "https://api.github.com/users/vThinkBeyondVM/followers",
"following_url": "https://api.github.com/users/vThinkBeyondVM/following{/other_user}",
... | [] | closed | true | null | [] | null | 4 | 2017-12-09T16:10:55Z | 2021-09-05T00:06:55Z | 2017-12-10T01:06:37Z | NONE | resolved | Last week I started exploring requests library for invoking REST APIs, it was working fine, I was able to make calls as expected but today when I run the same python script, it fails with below error. Please help.
My OS: Ubuntu 16.04
Python: Python 2.7.12
requests library version: 2.18.1
Traceback (most rece... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4419/reactions"
} | https://api.github.com/repos/psf/requests/issues/4419/timeline | null | completed | null | null | false | [
"We literally cannot connect to the proxy you've configured. It's unreachable. This is a network configuration error, not a requests error.",
"Ok @sigmavirus24 , I did check network connectivity between the server I am invoking the REST API and the VM from where I am running python script, it was pinging fine bu... |
https://api.github.com/repos/psf/requests/issues/4418 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4418/labels{/name} | https://api.github.com/repos/psf/requests/issues/4418/comments | https://api.github.com/repos/psf/requests/issues/4418/events | https://github.com/psf/requests/issues/4418 | 279,351,136 | MDU6SXNzdWUyNzkzNTExMzY= | 4,418 | Add a new argument to a request that allows people to always keep the same method after a redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/6144562?v=4",
"events_url": "https://api.github.com/users/jakegt1/events{/privacy}",
"followers_url": "https://api.github.com/users/jakegt1/followers",
"following_url": "https://api.github.com/users/jakegt1/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2017-12-05T12:06:07Z | 2021-09-08T05:00:45Z | 2017-12-07T20:07:38Z | NONE | resolved | Hi, i'm sorry if this is written incorrectly - unsure if feature requests are really allowed, so if they're not just simply delete the issue.
A small annoyance i've found which isn't a problem specifically with requests is when a webserver uses a 302/301 redirect when they should be using a 307 or a 308. This happen... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4418/reactions"
} | https://api.github.com/repos/psf/requests/issues/4418/timeline | null | completed | null | null | false | [
"Thanks, but Requests isn’t accepting additional keyword arguments at this time. Disabling redirect resolution or overriding some of the methods on `Session` that handle redirects can get you what you want. ",
"I do know it's fixable via disabling redirect resolution, it's just a bit of a pain to work with. \r\n\... |
https://api.github.com/repos/psf/requests/issues/4417 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4417/labels{/name} | https://api.github.com/repos/psf/requests/issues/4417/comments | https://api.github.com/repos/psf/requests/issues/4417/events | https://github.com/psf/requests/issues/4417 | 279,346,734 | MDU6SXNzdWUyNzkzNDY3MzQ= | 4,417 | chardet is licensed under LGPL | {
"avatar_url": "https://avatars.githubusercontent.com/u/3287067?v=4",
"events_url": "https://api.github.com/users/asieira/events{/privacy}",
"followers_url": "https://api.github.com/users/asieira/followers",
"following_url": "https://api.github.com/users/asieira/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2017-12-05T11:49:59Z | 2021-09-03T00:10:48Z | 2017-12-06T02:12:03Z | CONTRIBUTOR | resolved | `chardet` is a dependency of `requests` and is licensed under the LGPL 2.1.
Aren't GPL and LGPL components incompatible with the Apache 2.0 license used by `requests`, as per https://www.apache.org/legal/resolved.html#category-x and https://www.apache.org/licenses/GPL-compatibility.html?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4417/reactions"
} | https://api.github.com/repos/psf/requests/issues/4417/timeline | null | completed | null | null | false | [
"@asieira it really depends on how you interpret the language.\r\n\r\nFirst, you're linking to a section titled: `Which licenses may NOT be included within Apache products?` I believe that means projects developed specifically by the ASF not under the Apache License.\r\n\r\nLGPL might cause license issues if we wer... |
https://api.github.com/repos/psf/requests/issues/4416 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4416/labels{/name} | https://api.github.com/repos/psf/requests/issues/4416/comments | https://api.github.com/repos/psf/requests/issues/4416/events | https://github.com/psf/requests/issues/4416 | 279,309,126 | MDU6SXNzdWUyNzkzMDkxMjY= | 4,416 | Requests doesn't respect socket default timeout ( socket.setdefaulttimeout() ) | {
"avatar_url": "https://avatars.githubusercontent.com/u/533295?v=4",
"events_url": "https://api.github.com/users/farin/events{/privacy}",
"followers_url": "https://api.github.com/users/farin/followers",
"following_url": "https://api.github.com/users/farin/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2017-12-05T09:47:05Z | 2021-09-08T05:00:45Z | 2017-12-07T20:06:36Z | NONE | resolved | urllib3 and Requests has different semantic when handling unspecified timeout (which means no keyword arg given)
## Actual Result
**urllib3**
- when timeout is None -> no timeout
- when timeout is not given -> internal _Default objects is used which leads to `socket.getdefaulttimeout()`
see https://github.com... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 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/4416/reactions"
} | https://api.github.com/repos/psf/requests/issues/4416/timeline | null | completed | null | null | false | [
"Thanks, this is a known issue and should be resolved in 3.0."
] |
https://api.github.com/repos/psf/requests/issues/4415 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4415/labels{/name} | https://api.github.com/repos/psf/requests/issues/4415/comments | https://api.github.com/repos/psf/requests/issues/4415/events | https://github.com/psf/requests/issues/4415 | 278,845,105 | MDU6SXNzdWUyNzg4NDUxMDU= | 4,415 | Requests seems to either ignore or not notice rare transport errors | {
"avatar_url": "https://avatars.githubusercontent.com/u/1025646?v=4",
"events_url": "https://api.github.com/users/szborows/events{/privacy}",
"followers_url": "https://api.github.com/users/szborows/followers",
"following_url": "https://api.github.com/users/szborows/following{/other_user}",
"gists_url": "http... | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2024-05-19T18:29:04Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/18519037?v=4",
"events_url": "https://api.github.com/users/sethmlarson/events{/privacy}",
"followers_url": "https://api.github.com/users/sethmlarson/fol... | 10 | 2017-12-04T01:32:43Z | 2024-05-20T14:36:55Z | 2024-05-20T14:36:55Z | NONE | null | So I was playing around with blockade and small piece of code that was using request library. I was researching something completely different but I have noticed some anomaly that seems to be originated somewhere in the library or libraries it uses. In essence, 1-2% of requests made when blockade disrupts the network e... | {
"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/4415/reactions"
} | https://api.github.com/repos/psf/requests/issues/4415/timeline | null | completed | null | null | false | [
"Those log messages have no context or meaning. Please explain what you're trying to communicate with them. Further, please provide the actual requests code that you're using. As far as I can tell, requests isn't in use from those logs.",
"I think code speaks for itself:\r\nhttps://github.com/szborows/blockade-ex... |
https://api.github.com/repos/psf/requests/issues/4414 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4414/labels{/name} | https://api.github.com/repos/psf/requests/issues/4414/comments | https://api.github.com/repos/psf/requests/issues/4414/events | https://github.com/psf/requests/issues/4414 | 278,840,668 | MDU6SXNzdWUyNzg4NDA2Njg= | 4,414 | Cookie is not set in requests.Session when "Set-Cookie" header is received | {
"avatar_url": "https://avatars.githubusercontent.com/u/1923704?v=4",
"events_url": "https://api.github.com/users/dmfigol/events{/privacy}",
"followers_url": "https://api.github.com/users/dmfigol/followers",
"following_url": "https://api.github.com/users/dmfigol/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 9 | 2017-12-04T00:48:00Z | 2018-07-25T15:19:18Z | 2018-03-12T21:42:12Z | NONE | off-topic | **requests.Session** does not honor **Set-Cookie** header
## Expected Result
The cookie should be set for the session.
## Actual Result
Cookie is not set.
## Reproduction Steps
```python
session = requests.Session()
r = session.get(AUTH_URL, auth=(USERNAME,PASSWORD), verify=False)
print(r.status_co... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4414/reactions"
} | https://api.github.com/repos/psf/requests/issues/4414/timeline | null | completed | null | null | false | [
"This is what you've provided as the value of `Set-Cookie`: `X-JWT-ACCESS-TOKEN=<long-token>;Version=-1;Comment=;Domain=;Path=/;Secure`. Judging by that value, it appears that there are a few things wrong with this string (presuming `<long-token>` is the only editing you did).\r\n\r\nThe header in this case is defi... |
https://api.github.com/repos/psf/requests/issues/4413 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4413/labels{/name} | https://api.github.com/repos/psf/requests/issues/4413/comments | https://api.github.com/repos/psf/requests/issues/4413/events | https://github.com/psf/requests/issues/4413 | 278,150,353 | MDU6SXNzdWUyNzgxNTAzNTM= | 4,413 | Timeout not working for "requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))" | {
"avatar_url": "https://avatars.githubusercontent.com/u/26564456?v=4",
"events_url": "https://api.github.com/users/hingston/events{/privacy}",
"followers_url": "https://api.github.com/users/hingston/followers",
"following_url": "https://api.github.com/users/hingston/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 5 | 2017-11-30T14:59:42Z | 2021-09-08T05:00:47Z | 2017-11-30T15:18:11Z | NONE | resolved | I'm making calls to an API and multiple times a day requests hangs then throws `'Remote end closed connection without response'` after 1-2 minutes even with the timeout set to 3 seconds.
## Expected Result
I would expect it to timeout after 3 seconds.
## Actual Result
`Time elpased (hh:mm:ss.ms) 0:01:55.25465... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4413/reactions"
} | https://api.github.com/repos/psf/requests/issues/4413/timeline | null | completed | null | null | false | [
"I think there's a misunderstanding here that would be clarified by reviewing our [documentation](http://docs.python-requests.org/en/master/user/quickstart/#timeouts)\r\n\r\nSpecifically our Note (emphasis mine):\r\n\r\n> `timeout` is **not a time limit on the entire response** download; rather, an exception is rai... |
https://api.github.com/repos/psf/requests/issues/4412 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4412/labels{/name} | https://api.github.com/repos/psf/requests/issues/4412/comments | https://api.github.com/repos/psf/requests/issues/4412/events | https://github.com/psf/requests/issues/4412 | 278,027,613 | MDU6SXNzdWUyNzgwMjc2MTM= | 4,412 | TypeError: open() got an unexpected keyword argument 'buffering' | {
"avatar_url": "https://avatars.githubusercontent.com/u/10855384?v=4",
"events_url": "https://api.github.com/users/StephenSeanGleason/events{/privacy}",
"followers_url": "https://api.github.com/users/StephenSeanGleason/followers",
"following_url": "https://api.github.com/users/StephenSeanGleason/following{/oth... | [] | closed | true | null | [] | null | 1 | 2017-11-30T07:52:28Z | 2021-09-08T05:00:47Z | 2017-11-30T13:06:57Z | NONE | resolved | when I run my code I get the following error.
Traceback (most recent call last):
File "C:/Users/stephen/AppData/Local/Programs/Python/Python35/chatbot.py", line 97, in <module>
with bz2.open("C:/RC_{}".format(timeframe.split('-')[0],timeframe), buffering=1000) as f:
TypeError: open() got an unexpected keywo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4412/reactions"
} | https://api.github.com/repos/psf/requests/issues/4412/timeline | null | completed | null | null | false | [
"This seems to have nothing to do with Requests. If you want help with your code, please open a question on StackOverflow."
] |
https://api.github.com/repos/psf/requests/issues/4411 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4411/labels{/name} | https://api.github.com/repos/psf/requests/issues/4411/comments | https://api.github.com/repos/psf/requests/issues/4411/events | https://github.com/psf/requests/issues/4411 | 277,828,012 | MDU6SXNzdWUyNzc4MjgwMTI= | 4,411 | PATCH request with form-data file has wrong content-length | {
"avatar_url": "https://avatars.githubusercontent.com/u/19964270?v=4",
"events_url": "https://api.github.com/users/adam-j-turner/events{/privacy}",
"followers_url": "https://api.github.com/users/adam-j-turner/followers",
"following_url": "https://api.github.com/users/adam-j-turner/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2017-11-29T16:50:44Z | 2021-09-08T05:00:49Z | 2017-11-29T17:34:11Z | NONE | resolved | I have a script that submits either a POST or PATCH request with a particular binary file. It fails when using PATCH but is successful using POST. Testing with Postman gives expected results.
## Expected Result
Post & Patch with same content-length
## Actual Result
Patch method has much smaller content-leng... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4411/reactions"
} | https://api.github.com/repos/psf/requests/issues/4411/timeline | null | completed | null | null | false | [
"Requests consumes the file on the first request which means that the file object is at the end of the file and there's nothing for us to send in the second request. You either need to reopen it or `seek(0, 0)`. Cheers!"
] |
https://api.github.com/repos/psf/requests/issues/4410 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4410/labels{/name} | https://api.github.com/repos/psf/requests/issues/4410/comments | https://api.github.com/repos/psf/requests/issues/4410/events | https://github.com/psf/requests/pull/4410 | 277,768,680 | MDExOlB1bGxSZXF1ZXN0MTU1MzUwMzI3 | 4,410 | Add SHA-256 and SHA-512 digest auth algorithms | {
"avatar_url": "https://avatars.githubusercontent.com/u/438131?v=4",
"events_url": "https://api.github.com/users/linuxlizard/events{/privacy}",
"followers_url": "https://api.github.com/users/linuxlizard/followers",
"following_url": "https://api.github.com/users/linuxlizard/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 15 | 2017-11-29T14:12:38Z | 2021-09-03T00:10:58Z | 2018-05-16T14:06:58Z | CONTRIBUTOR | resolved | Added SHA-256 and SHA-512 auth algorithms to requests/auth.py Added test code to test_requests.py
Requires SHA-256 and SHA-512 in the httpbin test framework. | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4410/reactions"
} | https://api.github.com/repos/psf/requests/issues/4410/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4410.diff",
"html_url": "https://github.com/psf/requests/pull/4410",
"merged_at": "2018-05-16T14:06:58Z",
"patch_url": "https://github.com/psf/requests/pull/4410.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4410"
} | true | [
"Seems like the digest stuff is 404ing: mind taking a look?",
"Can do.\r\n\r\nDoes need the most recent httpbin with SHA-256 and SHA-512 support.",
"@Lukasa @linuxlizard, the changes were merged in httpbin but I don't believe we cut a release. I think that may be a prerequisite for pytest-httpbin working here.\... |
https://api.github.com/repos/psf/requests/issues/4409 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4409/labels{/name} | https://api.github.com/repos/psf/requests/issues/4409/comments | https://api.github.com/repos/psf/requests/issues/4409/events | https://github.com/psf/requests/pull/4409 | 277,633,711 | MDExOlB1bGxSZXF1ZXN0MTU1MjUyMzY3 | 4,409 | Use single default ssl_context in HTTPAdapter connection pool manager | {
"avatar_url": "https://avatars.githubusercontent.com/u/34075110?v=4",
"events_url": "https://api.github.com/users/jmcackles/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcackles/followers",
"following_url": "https://api.github.com/users/jmcackles/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 4 | 2017-11-29T05:24:49Z | 2021-09-04T00:06:37Z | 2017-12-10T21:07:08Z | NONE | resolved | Creates default SSLContext object for each HTTPAdapter that is expected to be used for https requests.
There are just a few small changes for:
- Adding a default SSLContext object only to the https HTTPAdapter in each session (not the http one)
- Creating the default object using the same urllib3 function that wou... | {
"avatar_url": "https://avatars.githubusercontent.com/u/34075110?v=4",
"events_url": "https://api.github.com/users/jmcackles/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcackles/followers",
"following_url": "https://api.github.com/users/jmcackles/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/4409/reactions"
} | https://api.github.com/repos/psf/requests/issues/4409/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4409.diff",
"html_url": "https://github.com/psf/requests/pull/4409",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4409.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4409"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4409?src=pr&el=h1) Report\n> Merging [#4409](https://codecov.io/gh/requests/requests/pull/4409?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/24092b11d74af0a766d9cc616622f38adb0044b9?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4408 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4408/labels{/name} | https://api.github.com/repos/psf/requests/issues/4408/comments | https://api.github.com/repos/psf/requests/issues/4408/events | https://github.com/psf/requests/issues/4408 | 277,624,952 | MDU6SXNzdWUyNzc2MjQ5NTI= | 4,408 | GeocoderServiceError: [Errno 65] No route to host | {
"avatar_url": "https://avatars.githubusercontent.com/u/31523022?v=4",
"events_url": "https://api.github.com/users/peaponte/events{/privacy}",
"followers_url": "https://api.github.com/users/peaponte/followers",
"following_url": "https://api.github.com/users/peaponte/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2017-11-29T04:21:29Z | 2021-09-08T05:00:49Z | 2017-11-29T17:35:14Z | NONE | resolved | Summary.
I wanted to create a new column called coordinates that use nom.geocode using information from an already existing column. But whenever I execute
df1["Coordinates"]=df1["Address"].apply(nom.geocode)
I get the following error:
---------------------------------------------------------------------... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4408/reactions"
} | https://api.github.com/repos/psf/requests/issues/4408/timeline | null | completed | null | null | false | [
"This has nothing to do with the requests library. geocoders is using the standard library `urllib.request` module, not the `requests` module."
] |
https://api.github.com/repos/psf/requests/issues/4407 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4407/labels{/name} | https://api.github.com/repos/psf/requests/issues/4407/comments | https://api.github.com/repos/psf/requests/issues/4407/events | https://github.com/psf/requests/issues/4407 | 277,615,304 | MDU6SXNzdWUyNzc2MTUzMDQ= | 4,407 | If it possible to let requests stop (but don't raise Exception) when it get to the max redirection limit? | {
"avatar_url": "https://avatars.githubusercontent.com/u/24400940?v=4",
"events_url": "https://api.github.com/users/Humbertzhang/events{/privacy}",
"followers_url": "https://api.github.com/users/Humbertzhang/followers",
"following_url": "https://api.github.com/users/Humbertzhang/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 1 | 2017-11-29T03:14:06Z | 2021-09-08T05:00:48Z | 2017-11-29T17:38:57Z | NONE | resolved | When I use **requests**, I find that you can't let **requests** stop when redirected a fixed times.
But I think someone(like me) will need headers or something else among those redirections.
## Expected Result
If I set a flag to let requests.session stop when it comes to the max redirection limit, and then, It won... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4407/reactions"
} | https://api.github.com/repos/psf/requests/issues/4407/timeline | null | completed | null | null | false | [
"If you need the information from the most recent response you should do\r\n\r\n```py\r\ntry:\r\n r = session.get(...)\r\nexcept requests.exceptions.TooManyRedirects as exc:\r\n r = exc.response\r\n```\r\n\r\nbecause we include the most recent response on that exception. 🎉 \r\n\r\nWe're in a feature-freeze a... |
https://api.github.com/repos/psf/requests/issues/4406 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4406/labels{/name} | https://api.github.com/repos/psf/requests/issues/4406/comments | https://api.github.com/repos/psf/requests/issues/4406/events | https://github.com/psf/requests/issues/4406 | 277,344,923 | MDU6SXNzdWUyNzczNDQ5MjM= | 4,406 | SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) | {
"avatar_url": "https://avatars.githubusercontent.com/u/32579122?v=4",
"events_url": "https://api.github.com/users/munaAchyuta/events{/privacy}",
"followers_url": "https://api.github.com/users/munaAchyuta/followers",
"following_url": "https://api.github.com/users/munaAchyuta/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 3 | 2017-11-28T11:09:23Z | 2021-09-08T05:00:47Z | 2017-11-28T12:54:20Z | NONE | resolved | i am facing `requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)` issue.
i am using python
> v2.7.13
, requests
> v2.7.0.
my service is started with https using bottle-paste. i have created certificates using openssl. for server-side i am using **.pem**... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4406/reactions"
} | https://api.github.com/repos/psf/requests/issues/4406/timeline | null | completed | null | null | false | [
"Python's ssl module does not support PKCS12 files. You have to extract the PKCS12 and dump the key and cert to disk. You may also need to dump the CA and intermediate chain.\r\n\r\nSomething like this should do the trick. ``cert.pem`` contains key, cert and maybe chain.\r\n\r\n```\r\n$ openssl pkcs12 -in file.p12 ... |
https://api.github.com/repos/psf/requests/issues/4405 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4405/labels{/name} | https://api.github.com/repos/psf/requests/issues/4405/comments | https://api.github.com/repos/psf/requests/issues/4405/events | https://github.com/psf/requests/issues/4405 | 277,308,397 | MDU6SXNzdWUyNzczMDgzOTc= | 4,405 | bad handshake: SysCallError(-1, 'Unexpected EOF') | {
"avatar_url": "https://avatars.githubusercontent.com/u/13550005?v=4",
"events_url": "https://api.github.com/users/datar-ai/events{/privacy}",
"followers_url": "https://api.github.com/users/datar-ai/followers",
"following_url": "https://api.github.com/users/datar-ai/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 2 | 2017-11-28T09:12:30Z | 2021-09-08T05:00:51Z | 2017-11-28T12:40:06Z | NONE | resolved | Summary.
I try requests in site [https://www.digitimes.com.tw](https://www.digitimes.com.tw), but it failed.
I had tried the other similar recommendations but not works solution.
Please advise, thanks.
The site SSL Server Test Report [(here)](https://www.ssllabs.com/ssltest/analyze.html?d=www.digitimes.com.tw)
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4405/reactions"
} | https://api.github.com/repos/psf/requests/issues/4405/timeline | null | completed | null | null | false | [
"I've been struggling with this same problem for a month or more, in my case is a SOAP call, but it should be the same handshake.\r\n\r\nIf i solve this i'll come straight away to post my solution.\r\n\r\nGood luck!",
" which points to an empty file, requests set it to Transfer-Encoding: chunked. In fact, the length of empty file can be calculated ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4404/reactions"
} | https://api.github.com/repos/psf/requests/issues/4404/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4404.diff",
"html_url": "https://github.com/psf/requests/pull/4404",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4404.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4404"
} | true | [
"The travis have failed, the trouble is shown in the snip code in super_len(), requests treate None(length can't be determined automatically) to zero. So, how can i get the header set to Content-Length:0, when the file is empty, but the total_length can be calculated out, the total_length is absolutely determined ... |
https://api.github.com/repos/psf/requests/issues/4403 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4403/labels{/name} | https://api.github.com/repos/psf/requests/issues/4403/comments | https://api.github.com/repos/psf/requests/issues/4403/events | https://github.com/psf/requests/issues/4403 | 277,250,100 | MDU6SXNzdWUyNzcyNTAxMDA= | 4,403 | requests.get() always pumps out errors in my Spyder3.2.4 | {
"avatar_url": "https://avatars.githubusercontent.com/u/9277924?v=4",
"events_url": "https://api.github.com/users/gfkdcadet/events{/privacy}",
"followers_url": "https://api.github.com/users/gfkdcadet/followers",
"following_url": "https://api.github.com/users/gfkdcadet/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 3 | 2017-11-28T03:53:37Z | 2021-09-08T05:00:45Z | 2017-11-28T04:00:52Z | NONE | resolved | Summary.
I was trying to get data from a website by using requests module in my spyder3.2.4.
I used requests.get() to realize the goal.
It worked well. But, recentely, when I used requests.get(), spyder would pump out errors.
Really confusing.
What you expected.
## import requests
r = requests.get(url)
... | {
"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/4403/reactions"
} | https://api.github.com/repos/psf/requests/issues/4403/timeline | null | completed | null | null | false | [
"I have a screenshot of the problem. But I cannot upload it..... When I tried, it always told me that something went really wrong, and it cannnot process that file! \r\npity....\r\nhelp me..... The problem is abusing me .....",
"@gfkdcadet, this is almost certainly an issue with you having a file name \"requests.... |
https://api.github.com/repos/psf/requests/issues/4402 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4402/labels{/name} | https://api.github.com/repos/psf/requests/issues/4402/comments | https://api.github.com/repos/psf/requests/issues/4402/events | https://github.com/psf/requests/issues/4402 | 277,117,957 | MDU6SXNzdWUyNzcxMTc5NTc= | 4,402 | Connection timeout doesn't work for chunk-encoded requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/3468064?v=4",
"events_url": "https://api.github.com/users/isobit/events{/privacy}",
"followers_url": "https://api.github.com/users/isobit/followers",
"following_url": "https://api.github.com/users/isobit/following{/other_user}",
"gists_url": "https://ap... | [] | closed | false | null | [] | null | 4 | 2017-11-27T18:19:03Z | 2024-05-19T19:00:10Z | 2024-05-19T19:00:10Z | NONE | null | Original issue was #1422, but I was able to reproduce in 2.18.4.
## Expected Result
Chunk-encoded requests timeout after the specified timeout if the server does not respond.
## Actual Result
Request holds connection open and never times out.
## Reproduction Steps
First, run a test server that accepts... | {
"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": 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/4402/reactions"
} | https://api.github.com/repos/psf/requests/issues/4402/timeline | null | completed | null | null | false | [
"This would be resolved by moving to use urllib3's chunked encoding logic as well. I concur with @sigmavirus24's notes on another issue: if we can get some socket-level tests of our chunked handling, we can move to using urllib3's logic to resolve this issue.",
"In the consequence of that bug, when using with ses... |
https://api.github.com/repos/psf/requests/issues/4401 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4401/labels{/name} | https://api.github.com/repos/psf/requests/issues/4401/comments | https://api.github.com/repos/psf/requests/issues/4401/events | https://github.com/psf/requests/issues/4401 | 276,971,584 | MDU6SXNzdWUyNzY5NzE1ODQ= | 4,401 | Find cause of status code 0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1812267?v=4",
"events_url": "https://api.github.com/users/grillorafael/events{/privacy}",
"followers_url": "https://api.github.com/users/grillorafael/followers",
"following_url": "https://api.github.com/users/grillorafael/following{/other_user}",
"gists... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
... | closed | true | null | [] | null | 6 | 2017-11-27T10:39:30Z | 2021-09-08T05:00:52Z | 2017-11-27T21:52:45Z | NONE | resolved | Hi All,
I'm trying to debug why sometimes my requests fail (Doing some perf test through `locust.io`) but I can't find the cause. My nginx logs have no error attached and what I see is requests giving status code 0.
I thought it could be timeout but I timed the request and I see <1sec.
Is there a way for me to... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4401/reactions"
} | https://api.github.com/repos/psf/requests/issues/4401/timeline | null | completed | null | null | false | [
"I believe we pull the status code [here](https://github.com/requests/requests/blob/d1fb1a29ab949223d8d64797e0fcc9a7d2690483/requests/adapters.py#L267) which means fundamentally this is a urllib3 bug. Requests defaults the status code to `None` but has specific handling for [this case](https://github.com/requests/r... |
https://api.github.com/repos/psf/requests/issues/4400 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4400/labels{/name} | https://api.github.com/repos/psf/requests/issues/4400/comments | https://api.github.com/repos/psf/requests/issues/4400/events | https://github.com/psf/requests/issues/4400 | 276,888,106 | MDU6SXNzdWUyNzY4ODgxMDY= | 4,400 | IndexError when handle http response | {
"avatar_url": "https://avatars.githubusercontent.com/u/7598892?v=4",
"events_url": "https://api.github.com/users/beruhan/events{/privacy}",
"followers_url": "https://api.github.com/users/beruhan/followers",
"following_url": "https://api.github.com/users/beruhan/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "fef2c0",
"default": false,
"description": null,
"id": 298537994,
"name": "Needs More Information",
"node_id": "MDU6TGFiZWwyOTg1Mzc5OTQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20More%20Information"
}
] | closed | true | null | [] | null | 7 | 2017-11-27T03:06:41Z | 2021-09-08T05:00:52Z | 2017-11-27T21:51:47Z | NONE | resolved | I receive a http response like this,
```
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Content-Length: 89606
Content-Disposition: attachment; filename="MB-500Ap_2009-01-12.cfg"
Connection: close
Brickcom-50xA
OperationSetting.locale=auto
HostName.name=cam
ModuleInfo.DIDO_module=1
ModuleInfo.PI... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4400/reactions"
} | https://api.github.com/repos/psf/requests/issues/4400/timeline | null | completed | null | null | false | [
"Please provide the traceback for the IndexError you receive or a URL that we can use to reproduce this.",
"We also need the output from `python -m requests.help` or failing that `python -c 'import requests; print(requests.__version__)'`",
"`python -m requests.help` output is\r\n `{\r\n \"chardet\": {\r\n \... |
https://api.github.com/repos/psf/requests/issues/4399 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4399/labels{/name} | https://api.github.com/repos/psf/requests/issues/4399/comments | https://api.github.com/repos/psf/requests/issues/4399/events | https://github.com/psf/requests/issues/4399 | 276,871,849 | MDU6SXNzdWUyNzY4NzE4NDk= | 4,399 | pandas.read_html(url) | {
"avatar_url": "https://avatars.githubusercontent.com/u/33677455?v=4",
"events_url": "https://api.github.com/users/zhongyutech/events{/privacy}",
"followers_url": "https://api.github.com/users/zhongyutech/followers",
"following_url": "https://api.github.com/users/zhongyutech/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2017-11-27T00:33:54Z | 2021-09-08T05:00:53Z | 2017-11-27T00:37:24Z | NONE | resolved | Summary.
## Expected Result
import pandas as pd
for i in range(1,10):
url="https://myip.ms/browse/sites/{0}/ipID/23.227.38.0/ipIDii/23.227.38.255/sort/2/asc/1/".format(i)
dfs=pd.read_html(url)
data=dfs[13]
select_index=data.index[data.index%2==0]
jg=data.iloc[select_index,:7]
jg.to_... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4399/reactions"
} | https://api.github.com/repos/psf/requests/issues/4399/timeline | null | completed | null | null | false | [
"I believe you've filed this against the wrong project. I don't see anything related to this project."
] |
https://api.github.com/repos/psf/requests/issues/4398 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4398/labels{/name} | https://api.github.com/repos/psf/requests/issues/4398/comments | https://api.github.com/repos/psf/requests/issues/4398/events | https://github.com/psf/requests/issues/4398 | 276,847,495 | MDU6SXNzdWUyNzY4NDc0OTU= | 4,398 | Could we set the request json's dump charset? | {
"avatar_url": "https://avatars.githubusercontent.com/u/5487535?v=4",
"events_url": "https://api.github.com/users/hsiunien/events{/privacy}",
"followers_url": "https://api.github.com/users/hsiunien/followers",
"following_url": "https://api.github.com/users/hsiunien/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 3 | 2017-11-26T19:01:21Z | 2021-09-08T03:00:31Z | 2017-11-26T23:48:24Z | NONE | resolved | As you know, I use the requests post some data to the server, my JSON data is
```
{'name':'张三'}
```
## Expected Result
origin json data,like {'name':'张三'}
But I catch the package, it translated into
## Actual Result
```
{'name':'\u5f20\u4e09'}
```
But the server couldn't recognize it.
## Reproduction ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4398/reactions"
} | https://api.github.com/repos/psf/requests/issues/4398/timeline | null | completed | null | null | false | [
"You can call `json.dumps` yourself to get that effect. We don't provide anything other than the 98% use case. This is an advanced use-case and we expect that you can do this yourself (including setting the `Content-Type`).\r\n\r\nCheers,\r\nIan",
"@sigmavirus24 Could you please reconsider that? I am sure non-asc... |
https://api.github.com/repos/psf/requests/issues/4397 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4397/labels{/name} | https://api.github.com/repos/psf/requests/issues/4397/comments | https://api.github.com/repos/psf/requests/issues/4397/events | https://github.com/psf/requests/issues/4397 | 276,559,358 | MDU6SXNzdWUyNzY1NTkzNTg= | 4,397 | Sslv3 alert handshake failure with pyopenssl | {
"avatar_url": "https://avatars.githubusercontent.com/u/19307144?v=4",
"events_url": "https://api.github.com/users/Kausapaq/events{/privacy}",
"followers_url": "https://api.github.com/users/Kausapaq/followers",
"following_url": "https://api.github.com/users/Kausapaq/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 3 | 2017-11-24T09:30:34Z | 2021-09-08T01:21:15Z | 2017-11-27T20:38:57Z | NONE | resolved | I’m receiving a bad handshake error when attempting to make a post with requests.
Here is my code:
```
import requests
url = "https://mss.swicpc.bankgirot.se/swish-cpcapi/api/v1/paymentrequests"
r = requests.post(url=url, cert=("/path/to/client_cert.pem", "/path/to/private_key.pem"), verify= "/path/to/ser... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4397/reactions"
} | https://api.github.com/repos/psf/requests/issues/4397/timeline | null | completed | null | null | false | [
"Your pyopenssl is using a much newer version of OpenSSL. This likely includes some extra fields in the TLS handshake that the server doesn't like very much. My recommendation is to remove pyopenssl from your environment.",
"Thank you Lukasa! So, this error occurs because I’m using a TLS protocol which the server... |
https://api.github.com/repos/psf/requests/issues/4396 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4396/labels{/name} | https://api.github.com/repos/psf/requests/issues/4396/comments | https://api.github.com/repos/psf/requests/issues/4396/events | https://github.com/psf/requests/issues/4396 | 276,071,563 | MDU6SXNzdWUyNzYwNzE1NjM= | 4,396 | HTTPDigestAuth Loosing Credentials in Redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/4992805?v=4",
"events_url": "https://api.github.com/users/miili/events{/privacy}",
"followers_url": "https://api.github.com/users/miili/followers",
"following_url": "https://api.github.com/users/miili/following{/other_user}",
"gists_url": "https://api.g... | [] | closed | true | null | [] | null | 3 | 2017-11-22T13:42:11Z | 2021-09-08T05:00:54Z | 2017-11-24T15:30:11Z | NONE | resolved | Loosing credentials over redirect
`https://e4ftl01.cr.usgs.gov/SRTM/SRTMGL3.003/2000.02.11/N01E041.SRTMGL3.hgt.zip`
Cannot send credentials to the website.
## Actual Result
401 - Unauthorized :angry:
## Reproduction Steps
```python
import requests
from requests.auth import HTTPDigestAuth
cred = ('... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4396/reactions"
} | https://api.github.com/repos/psf/requests/issues/4396/timeline | null | completed | null | null | false | [
"I am able to reproduce this problem with the master branch. In my case, the HTTP status code of the redirect is 307.\r\n\r\n@miili Could you also share the output for `r.history` after the 401?",
"Oh, actually, my server didn't support HTTP Digest authentication. Looking at the headers of the response from the U... |
https://api.github.com/repos/psf/requests/issues/4395 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4395/labels{/name} | https://api.github.com/repos/psf/requests/issues/4395/comments | https://api.github.com/repos/psf/requests/issues/4395/events | https://github.com/psf/requests/issues/4395 | 275,975,253 | MDU6SXNzdWUyNzU5NzUyNTM= | 4,395 | Get error "requests.exceptions.ConnectionError: ('Connection aborted.', error(54, 'Connection reset by peer'))" | {
"avatar_url": "https://avatars.githubusercontent.com/u/7599378?v=4",
"events_url": "https://api.github.com/users/thanhmimi/events{/privacy}",
"followers_url": "https://api.github.com/users/thanhmimi/followers",
"following_url": "https://api.github.com/users/thanhmimi/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 2 | 2017-11-22T08:00:38Z | 2021-09-08T05:00:53Z | 2017-11-27T13:04:16Z | NONE | resolved | Summary.
With python 2.7.10, I got this error but it's ok with python 3.6. I tried to ask a co-worker to try my code with his computer, it's still work with python2.7.10. It's strange
## Expected Result
## Actual Result
What happened instead.
## Reproduction Steps
```python
import requests
```
## S... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 1,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/4395/reactions"
} | https://api.github.com/repos/psf/requests/issues/4395/timeline | null | completed | null | null | false | [
"We need to know more about what’s happening here: can we get some sample code? All this means is that the remote server is closing the connection when we aren’t expecting it.",
"This has gone 5 days without information necessary to investigate anything. As such, I'm closing this. If you have the chance to provid... |
https://api.github.com/repos/psf/requests/issues/4394 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4394/labels{/name} | https://api.github.com/repos/psf/requests/issues/4394/comments | https://api.github.com/repos/psf/requests/issues/4394/events | https://github.com/psf/requests/pull/4394 | 275,866,368 | MDExOlB1bGxSZXF1ZXN0MTU0MDA2MTA4 | 4,394 | Add documentation for available status codes | {
"avatar_url": "https://avatars.githubusercontent.com/u/842470?v=4",
"events_url": "https://api.github.com/users/zaneb/events{/privacy}",
"followers_url": "https://api.github.com/users/zaneb/followers",
"following_url": "https://api.github.com/users/zaneb/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2017-11-21T21:31:13Z | 2021-09-04T00:06:39Z | 2017-11-23T20:19:13Z | CONTRIBUTOR | resolved | There was no way to determine what actual names were available outside
of looking at the source code. They were not listed in the documentation
or accessible through the interactive help.
In addition, doing `pydoc requests.status_codes` displayed some pretty
unhelpful information - the utf-8 encoding string was i... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4394/reactions"
} | https://api.github.com/repos/psf/requests/issues/4394/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4394.diff",
"html_url": "https://github.com/psf/requests/pull/4394",
"merged_at": "2017-11-23T20:19:13Z",
"patch_url": "https://github.com/psf/requests/pull/4394.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4394"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4394?src=pr&el=h1) Report\n> Merging [#4394](https://codecov.io/gh/requests/requests/pull/4394?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/e68ef0ecad271f335377804a747afe676d17024d?src=pr&el=desc) will **increase** coverage by... |
https://api.github.com/repos/psf/requests/issues/4393 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4393/labels{/name} | https://api.github.com/repos/psf/requests/issues/4393/comments | https://api.github.com/repos/psf/requests/issues/4393/events | https://github.com/psf/requests/issues/4393 | 275,842,771 | MDU6SXNzdWUyNzU4NDI3NzE= | 4,393 | Quickstart guide is missing section on cookies. | {
"avatar_url": "https://avatars.githubusercontent.com/u/6380199?v=4",
"events_url": "https://api.github.com/users/eliothxchan/events{/privacy}",
"followers_url": "https://api.github.com/users/eliothxchan/followers",
"following_url": "https://api.github.com/users/eliothxchan/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 3 | 2017-11-21T20:05:17Z | 2021-09-08T06:00:27Z | 2017-11-21T20:14:26Z | NONE | resolved | The quickstart guide has a section for cookies in the table of contents, but there isn't actually anything there.
http://docs.python-requests.org/en/master/user/quickstart/#cookies | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4393/reactions"
} | https://api.github.com/repos/psf/requests/issues/4393/timeline | null | completed | null | null | false | [
"@eliotxchan, is this happening consistently on page refreshes and across different browsers? I can access that page fine on multiple devices.\r\n\r\nIf it still isn't showing up, there's either a network or browser issue somewhere on your end.",
"Additionally, you can find the section on cookies here: https://gi... |
https://api.github.com/repos/psf/requests/issues/4392 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4392/labels{/name} | https://api.github.com/repos/psf/requests/issues/4392/comments | https://api.github.com/repos/psf/requests/issues/4392/events | https://github.com/psf/requests/issues/4392 | 275,463,564 | MDU6SXNzdWUyNzU0NjM1NjQ= | 4,392 | Streamed request with preset Host header sends two Host headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/46775?v=4",
"events_url": "https://api.github.com/users/mjpieters/events{/privacy}",
"followers_url": "https://api.github.com/users/mjpieters/followers",
"following_url": "https://api.github.com/users/mjpieters/following{/other_user}",
"gists_url": "htt... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | false | null | [] | null | 8 | 2017-11-20T19:04:03Z | 2024-05-19T18:59:49Z | 2024-05-19T18:59:48Z | CONTRIBUTOR | null | The following code sends **two** host headers:
```python
import requests
def gen(): yield b'binary data'
requests.post(
'http://localhost:3000/',
data=gen(),
headers={'Host': 'example.com'}
)
```
(I tested with `nc -vvl 3000` on OS X).
Headers received:
```
POST / HTTP/1.1
Host: l... | {
"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/4392/reactions"
} | https://api.github.com/repos/psf/requests/issues/4392/timeline | null | completed | null | null | false | [
"Yep, this looks like a miss from #3637. Since we're not using urllib3's chunked request interface, we never got the change integrated in Requests.\r\n\r\nThe quick path here is to carry the host dedupe logic from urrlib3 into that try block. The better but likely more involved solution would be to try to use urll... |
https://api.github.com/repos/psf/requests/issues/4391 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4391/labels{/name} | https://api.github.com/repos/psf/requests/issues/4391/comments | https://api.github.com/repos/psf/requests/issues/4391/events | https://github.com/psf/requests/issues/4391 | 275,422,135 | MDU6SXNzdWUyNzU0MjIxMzU= | 4,391 | requests.session ignores second `verify` argument? | {
"avatar_url": "https://avatars.githubusercontent.com/u/769730?v=4",
"events_url": "https://api.github.com/users/hjwp/events{/privacy}",
"followers_url": "https://api.github.com/users/hjwp/followers",
"following_url": "https://api.github.com/users/hjwp/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 8 | 2017-11-20T16:44:42Z | 2021-09-01T00:11:35Z | 2018-01-23T15:50:43Z | NONE | resolved | Am doing some testing for HTTPS certificates, and am seeing some unexpected behaviour from the requests "session" object:
```
import requests
# www.ottg.eu has a known invalid https certificate:
requests.session().get('https://www.ottg.eu', verify=True)
# raises error as expected
session = requests.session()
... | {
"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/4391/reactions"
} | https://api.github.com/repos/psf/requests/issues/4391/timeline | null | completed | null | null | false | [
"(just repro'd in both python2 and python3, and on windows)",
"maybe this is expected behaviour? because of connection pooling?",
"(with apologies for the stream-of-consciousness) -- it definitely is because of connection pooling, isn't it. behaviour surprising but maybe not unexpected after all? i suppose a... |
https://api.github.com/repos/psf/requests/issues/4390 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4390/labels{/name} | https://api.github.com/repos/psf/requests/issues/4390/comments | https://api.github.com/repos/psf/requests/issues/4390/events | https://github.com/psf/requests/pull/4390 | 275,284,831 | MDExOlB1bGxSZXF1ZXN0MTUzNTc3OTY2 | 4,390 | [docs; tiny] Clarify that Response.ok will *only* return True/False | {
"avatar_url": "https://avatars.githubusercontent.com/u/301220?v=4",
"events_url": "https://api.github.com/users/alexwlchan/events{/privacy}",
"followers_url": "https://api.github.com/users/alexwlchan/followers",
"following_url": "https://api.github.com/users/alexwlchan/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 2 | 2017-11-20T09:19:38Z | 2021-09-04T00:06:40Z | 2017-11-20T13:18:01Z | CONTRIBUTOR | resolved | This is a tiny documentation fix, just to be super-duper explicit about the return value of `response.ok`.
(I wanted to check I could use its value in a function that’s meant to return a boolean, but the docs weren’t clear about what a non-Truthy return value would be.) | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4390/reactions"
} | https://api.github.com/repos/psf/requests/issues/4390/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4390.diff",
"html_url": "https://github.com/psf/requests/pull/4390",
"merged_at": "2017-11-20T13:18:01Z",
"patch_url": "https://github.com/psf/requests/pull/4390.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4390"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4390?src=pr&el=h1) Report\n> Merging [#4390](https://codecov.io/gh/requests/requests/pull/4390?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/c3f2553114fdaf83b9c646a73987bbd2f13285e1?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4389 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4389/labels{/name} | https://api.github.com/repos/psf/requests/issues/4389/comments | https://api.github.com/repos/psf/requests/issues/4389/events | https://github.com/psf/requests/issues/4389 | 275,169,373 | MDU6SXNzdWUyNzUxNjkzNzM= | 4,389 | Raise the real error if max retries failed. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1014282?v=4",
"events_url": "https://api.github.com/users/orzilca/events{/privacy}",
"followers_url": "https://api.github.com/users/orzilca/followers",
"following_url": "https://api.github.com/users/orzilca/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 4 | 2017-11-19T15:55:02Z | 2021-09-08T05:00:51Z | 2017-11-28T12:59:35Z | NONE | resolved | When using Retry(), if max retries is reached an error is thrown "max retries".
Is it possible to see the real API error? the real HTTP response instead?
## Expected Result
The real error/http response. (ResponseError in the example below)
## Actual Result
max retries error, not logging correctly on Sentry.
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4389/reactions"
} | https://api.github.com/repos/psf/requests/issues/4389/timeline | null | completed | null | null | false | [
"Which error is the real one? What happens if for each of your three retries, we get a different error? Let's say, first we get a `ConnectionTimeout`. Then we receive a 500 and then a 403? Which one do you want us to tell you about?",
"Thats a good question @sigmavirus24 \r\n\r\nBasically I wish to know to real e... |
https://api.github.com/repos/psf/requests/issues/4388 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4388/labels{/name} | https://api.github.com/repos/psf/requests/issues/4388/comments | https://api.github.com/repos/psf/requests/issues/4388/events | https://github.com/psf/requests/issues/4388 | 275,151,457 | MDU6SXNzdWUyNzUxNTE0NTc= | 4,388 | FileNotFoundError: [Errno 2] No such file or directory: './README.rst' | {
"avatar_url": "https://avatars.githubusercontent.com/u/30954037?v=4",
"events_url": "https://api.github.com/users/lvallejou85/events{/privacy}",
"followers_url": "https://api.github.com/users/lvallejou85/followers",
"following_url": "https://api.github.com/users/lvallejou85/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2017-11-19T11:27:43Z | 2021-09-08T06:00:27Z | 2017-11-19T16:02:17Z | NONE | resolved | Summary.
## Expected Result
pip install request
Installed OK
## Actual Result
pip install request
Collecting request
Using cached request-0.0.13.tar.gz
Collecting get (from request)
Using cached get-0.0.21.tar.gz
Collecting post (from request)
Using cached post-0.0.13.tar.gz
Collecting setupfi... | {
"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/4388/reactions"
} | https://api.github.com/repos/psf/requests/issues/4388/timeline | null | completed | null | null | false | [
"@lvallejou85 it looks like you're missing the final \"s\" in the package name in your install command. It should be `pip install requests`."
] |
https://api.github.com/repos/psf/requests/issues/4387 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4387/labels{/name} | https://api.github.com/repos/psf/requests/issues/4387/comments | https://api.github.com/repos/psf/requests/issues/4387/events | https://github.com/psf/requests/pull/4387 | 275,004,208 | MDExOlB1bGxSZXF1ZXN0MTUzMzk5ODEx | 4,387 | Clarify raw response reading in the quickstart. | {
"avatar_url": "https://avatars.githubusercontent.com/u/350812?v=4",
"events_url": "https://api.github.com/users/dave-shawley/events{/privacy}",
"followers_url": "https://api.github.com/users/dave-shawley/followers",
"following_url": "https://api.github.com/users/dave-shawley/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2017-11-17T21:38:49Z | 2021-09-04T00:06:41Z | 2017-11-18T09:44:29Z | CONTRIBUTOR | resolved | It's a small change but this would have saved me a bit of time today. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4387/reactions"
} | https://api.github.com/repos/psf/requests/issues/4387/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4387.diff",
"html_url": "https://github.com/psf/requests/pull/4387",
"merged_at": "2017-11-18T09:44:29Z",
"patch_url": "https://github.com/psf/requests/pull/4387.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4387"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/4386 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4386/labels{/name} | https://api.github.com/repos/psf/requests/issues/4386/comments | https://api.github.com/repos/psf/requests/issues/4386/events | https://github.com/psf/requests/issues/4386 | 274,857,764 | MDU6SXNzdWUyNzQ4NTc3NjQ= | 4,386 | pip install : Unable to determine SOCKS version | {
"avatar_url": "https://avatars.githubusercontent.com/u/18721751?v=4",
"events_url": "https://api.github.com/users/torfhub/events{/privacy}",
"followers_url": "https://api.github.com/users/torfhub/followers",
"following_url": "https://api.github.com/users/torfhub/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2017-11-17T13:00:08Z | 2021-09-08T05:00:51Z | 2017-11-28T13:12:36Z | NONE | resolved | i have try all the method, it just not work ! | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4386/reactions"
} | https://api.github.com/repos/psf/requests/issues/4386/timeline | null | completed | null | null | false | [
"@torfhub If you really have found a problem and expect to have it fixed, what you wrote is not enough.\r\n\r\nStart by reading [CONTRIBUTING.md](https://github.com/requests/requests/blob/master/CONTRIBUTING.md)\r\n--\r\nAt least post here the command and the output.\r\n",
"Hi @torfhub,\r\n\r\nWe will need a lot ... |
https://api.github.com/repos/psf/requests/issues/4385 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4385/labels{/name} | https://api.github.com/repos/psf/requests/issues/4385/comments | https://api.github.com/repos/psf/requests/issues/4385/events | https://github.com/psf/requests/issues/4385 | 274,778,655 | MDU6SXNzdWUyNzQ3Nzg2NTU= | 4,385 | not able to extract key:value from Json | {
"avatar_url": "https://avatars.githubusercontent.com/u/33282235?v=4",
"events_url": "https://api.github.com/users/rishi-pal/events{/privacy}",
"followers_url": "https://api.github.com/users/rishi-pal/followers",
"following_url": "https://api.github.com/users/rishi-pal/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 8 | 2017-11-17T07:44:17Z | 2021-09-08T06:00:27Z | 2017-11-17T12:11:05Z | NONE | resolved | I am able to get whole json data but not able to get specific key:values from json data (url). Have someone seen this issue ?
## Expected Result
Specific Key:Value Pair i.e ( ID : 123456)
What you expected.
I want to extract key-value from json data
## Actual Result
Getting below error
print (data["id"])... | {
"avatar_url": "https://avatars.githubusercontent.com/u/33282235?v=4",
"events_url": "https://api.github.com/users/rishi-pal/events{/privacy}",
"followers_url": "https://api.github.com/users/rishi-pal/followers",
"following_url": "https://api.github.com/users/rishi-pal/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/4385/reactions"
} | https://api.github.com/repos/psf/requests/issues/4385/timeline | null | completed | null | null | false | [
"Hi - can you print output of `print(data)` ?",
"{u'metadata': {u'ready': True, u'number_of_objects': 3, u'pages_total': 1, u'page': 1, u'page_size': 50}, u'result': [{u'volumes_count': 1, u'updated_at': 1487594704819, u'max_extend': -1, u'allocated_physical_space': 10000007168, u'free_virtual_space': 99990000369... |
https://api.github.com/repos/psf/requests/issues/4384 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4384/labels{/name} | https://api.github.com/repos/psf/requests/issues/4384/comments | https://api.github.com/repos/psf/requests/issues/4384/events | https://github.com/psf/requests/pull/4384 | 274,425,324 | MDExOlB1bGxSZXF1ZXN0MTUyOTczNTI0 | 4,384 | Correct HTTP -> HTML in quickstart doc | {
"avatar_url": "https://avatars.githubusercontent.com/u/532281?v=4",
"events_url": "https://api.github.com/users/taleinat/events{/privacy}",
"followers_url": "https://api.github.com/users/taleinat/followers",
"following_url": "https://api.github.com/users/taleinat/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2017-11-16T08:00:32Z | 2021-09-04T00:06:41Z | 2017-11-16T16:01:45Z | CONTRIBUTOR | resolved | The quickstart doc apparently wanted to mention that "HTML and XML have ways of specifying their encoding in their body". | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4384/reactions"
} | https://api.github.com/repos/psf/requests/issues/4384/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4384.diff",
"html_url": "https://github.com/psf/requests/pull/4384",
"merged_at": "2017-11-16T16:01:45Z",
"patch_url": "https://github.com/psf/requests/pull/4384.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4384"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4384?src=pr&el=h1) Report\n> Merging [#4384](https://codecov.io/gh/requests/requests/pull/4384?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/d55de2d391d1350766221ce0aa36e670dc2a0169?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4383 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4383/labels{/name} | https://api.github.com/repos/psf/requests/issues/4383/comments | https://api.github.com/repos/psf/requests/issues/4383/events | https://github.com/psf/requests/issues/4383 | 274,030,998 | MDU6SXNzdWUyNzQwMzA5OTg= | 4,383 | How can I get session storage variable in Python requests library? | {
"avatar_url": "https://avatars.githubusercontent.com/u/24641385?v=4",
"events_url": "https://api.github.com/users/willowTank/events{/privacy}",
"followers_url": "https://api.github.com/users/willowTank/followers",
"following_url": "https://api.github.com/users/willowTank/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2017-11-15T04:26:46Z | 2021-09-08T06:00:28Z | 2017-11-15T20:24:45Z | NONE | resolved | I want to get session storage variable when I call any url.
Best Regards
here is my code
```
> self.session = requests.Session()
> self.session.mount('https://', HTTPAdapter(max_retries=4))
> resp = self.session.get("https://m.betclic.it/sport/sportList/")
```
this is session storage when I visit this sit... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4383/reactions"
} | https://api.github.com/repos/psf/requests/issues/4383/timeline | null | completed | null | null | false | [
"This isn't a bug or feature request and is therefore better suited to a question and answer site like [StackOverflow](https://stackoverflow.com/questions/tagged/python-requests)."
] |
https://api.github.com/repos/psf/requests/issues/4382 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4382/labels{/name} | https://api.github.com/repos/psf/requests/issues/4382/comments | https://api.github.com/repos/psf/requests/issues/4382/events | https://github.com/psf/requests/issues/4382 | 273,081,514 | MDU6SXNzdWUyNzMwODE1MTQ= | 4,382 | request fails with bad handshake error | {
"avatar_url": "https://avatars.githubusercontent.com/u/8977402?v=4",
"events_url": "https://api.github.com/users/uttampawar/events{/privacy}",
"followers_url": "https://api.github.com/users/uttampawar/followers",
"following_url": "https://api.github.com/users/uttampawar/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2017-11-10T22:42:54Z | 2021-09-08T06:00:28Z | 2017-11-14T18:57:48Z | NONE | resolved | Summary.
I've a node.js server running with local certificate for SSL connection created using openssl command as,
```
$ openssl req -x509 -newkey rsa:2048 -nodes -sha256 -subj '/CN=localhost' -keyout localhost-privkey.pem -out localhost-cert.pem
```
Trying to use requests module to initiate communication with... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4382/reactions"
} | https://api.github.com/repos/psf/requests/issues/4382/timeline | null | completed | null | null | false | [
"Requests *is* ignoring the certificate validation: the server you're using is closing the connection in our face after it sends the certificate to us. That is an issue with your server."
] |
https://api.github.com/repos/psf/requests/issues/4381 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4381/labels{/name} | https://api.github.com/repos/psf/requests/issues/4381/comments | https://api.github.com/repos/psf/requests/issues/4381/events | https://github.com/psf/requests/issues/4381 | 272,981,702 | MDU6SXNzdWUyNzI5ODE3MDI= | 4,381 | SSLError "bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],) with self signed certificate | {
"avatar_url": "https://avatars.githubusercontent.com/u/17707629?v=4",
"events_url": "https://api.github.com/users/sg77/events{/privacy}",
"followers_url": "https://api.github.com/users/sg77/followers",
"following_url": "https://api.github.com/users/sg77/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 13 | 2017-11-10T16:09:37Z | 2021-08-27T00:08:35Z | 2017-11-14T18:56:35Z | NONE | resolved | Hello. I'm trying to connect to a server with https. I have the certificate which is a self signed certificate which is being included in the verify parameter but the result is an error 'certificate verify failed' error. I was suspecting it had to do with the certificate being self signed (by Microsoft IIS) but with cu... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4381/reactions"
} | https://api.github.com/repos/psf/requests/issues/4381/timeline | null | completed | null | null | false | [
"BTW, this is Ubuntu 16.04",
"This error is almost certainly because the certificate itself is invalid in some way. Can you provide the PEM-encoded certificate itself, please?",
"Hi. Thanks for the quick answer. This is the certificate:\r\n-----BEGIN CERTIFICATE-----\r\nMIID3TCCAsWgAwIBAgIIU/nMdlbWojMwDQYJKoZIh... |
https://api.github.com/repos/psf/requests/issues/4380 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4380/labels{/name} | https://api.github.com/repos/psf/requests/issues/4380/comments | https://api.github.com/repos/psf/requests/issues/4380/events | https://github.com/psf/requests/pull/4380 | 272,844,649 | MDExOlB1bGxSZXF1ZXN0MTUxODQzNTA5 | 4,380 | utils: winreg module may not exist like on windows universal platform. | {
"avatar_url": "https://avatars.githubusercontent.com/u/2063885?v=4",
"events_url": "https://api.github.com/users/afedchin/events{/privacy}",
"followers_url": "https://api.github.com/users/afedchin/followers",
"following_url": "https://api.github.com/users/afedchin/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 4 | 2017-11-10T07:35:33Z | 2021-09-04T00:06:36Z | 2017-11-27T20:39:16Z | CONTRIBUTOR | resolved | UWP has no API to get access to windows registry, so python has no winreg module on UWP.
This fixes unexpected error on UWP. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4380/reactions"
} | https://api.github.com/repos/psf/requests/issues/4380/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4380.diff",
"html_url": "https://github.com/psf/requests/pull/4380",
"merged_at": "2017-11-27T20:39:16Z",
"patch_url": "https://github.com/psf/requests/pull/4380.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4380"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4380?src=pr&el=h1) Report\n> Merging [#4380](https://codecov.io/gh/requests/requests/pull/4380?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/d1fb1a29ab949223d8d64797e0fcc9a7d2690483?src=pr&el=desc) will **decrease** coverage by... |
https://api.github.com/repos/psf/requests/issues/4379 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4379/labels{/name} | https://api.github.com/repos/psf/requests/issues/4379/comments | https://api.github.com/repos/psf/requests/issues/4379/events | https://github.com/psf/requests/issues/4379 | 272,439,890 | MDU6SXNzdWUyNzI0Mzk4OTA= | 4,379 | Error in request: EOF occurred in violation of protocol (_ssl.c:590) | {
"avatar_url": "https://avatars.githubusercontent.com/u/8120377?v=4",
"events_url": "https://api.github.com/users/w888/events{/privacy}",
"followers_url": "https://api.github.com/users/w888/followers",
"following_url": "https://api.github.com/users/w888/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 3 | 2017-11-09T04:49:27Z | 2021-09-08T05:00:46Z | 2017-11-28T13:14:14Z | NONE | resolved | Summary.
## Expected Result
No exception
## Actual Result
```
INFO:root:Updating jobs in ['vm_docker_test.yaml'] ([])
Traceback (most recent call last):
File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/bin/jenkins-jobs", line 10, in <module>
sys.exit(main())
File "/usr/local/Cellar/jenki... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4379/reactions"
} | https://api.github.com/repos/psf/requests/issues/4379/timeline | null | completed | null | null | false | [
"It seems like your Jenkins doesn't like our TLS handshake. Can you run `openssl s_client -connect jenkins_host:jenkins_port` and provide the output here?",
"Hi @w888,\r\n\r\nIt seems this isn't an issue for you any longer. If I'm wrong, please provide us with the information that @Lukasa requested.\r\n\r\nUntil ... |
https://api.github.com/repos/psf/requests/issues/4378 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4378/labels{/name} | https://api.github.com/repos/psf/requests/issues/4378/comments | https://api.github.com/repos/psf/requests/issues/4378/events | https://github.com/psf/requests/pull/4378 | 272,411,012 | MDExOlB1bGxSZXF1ZXN0MTUxNTQxMzE4 | 4,378 | for RFC-7616 add SHA-256 and SHA-512 | {
"avatar_url": "https://avatars.githubusercontent.com/u/438131?v=4",
"events_url": "https://api.github.com/users/linuxlizard/events{/privacy}",
"followers_url": "https://api.github.com/users/linuxlizard/followers",
"following_url": "https://api.github.com/users/linuxlizard/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 9 | 2017-11-09T01:38:02Z | 2021-09-04T00:06:38Z | 2017-11-29T14:08:31Z | CONTRIBUTOR | resolved | While working with some FIPS libraries that disabled MD5, we ran into a problem with our Requests based tools not being able to talk to our server.
<img width="1440" alt="screen shot 2017-11-08 at 4 19 47 pm" src="https://user-images.githubusercontent.com/438131/32584052-c4a29c36-c4b3-11e7-8ca1-7601c60c60f2.png">
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/438131?v=4",
"events_url": "https://api.github.com/users/linuxlizard/events{/privacy}",
"followers_url": "https://api.github.com/users/linuxlizard/followers",
"following_url": "https://api.github.com/users/linuxlizard/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/4378/reactions"
} | https://api.github.com/repos/psf/requests/issues/4378/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4378.diff",
"html_url": "https://github.com/psf/requests/pull/4378",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4378.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4378"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4378?src=pr&el=h1) Report\n> Merging [#4378](https://codecov.io/gh/requests/requests/pull/4378?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/c3f2553114fdaf83b9c646a73987bbd2f13285e1?src=pr&el=desc) will **decrease** coverage by... |
https://api.github.com/repos/psf/requests/issues/4377 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4377/labels{/name} | https://api.github.com/repos/psf/requests/issues/4377/comments | https://api.github.com/repos/psf/requests/issues/4377/events | https://github.com/psf/requests/pull/4377 | 271,849,469 | MDExOlB1bGxSZXF1ZXN0MTUxMTI2Njc4 | 4,377 | #4373, fix possible winreg value type difference | {
"avatar_url": "https://avatars.githubusercontent.com/u/1170592?v=4",
"events_url": "https://api.github.com/users/mingyuan-xia/events{/privacy}",
"followers_url": "https://api.github.com/users/mingyuan-xia/followers",
"following_url": "https://api.github.com/users/mingyuan-xia/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 6 | 2017-11-07T14:25:49Z | 2021-09-04T00:06:40Z | 2017-11-20T20:01:05Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4377/reactions"
} | https://api.github.com/repos/psf/requests/issues/4377/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4377.diff",
"html_url": "https://github.com/psf/requests/pull/4377",
"merged_at": "2017-11-20T20:01:05Z",
"patch_url": "https://github.com/psf/requests/pull/4377.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4377"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4377?src=pr&el=h1) Report\n> Merging [#4377](https://codecov.io/gh/requests/requests/pull/4377?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/e4fc3539b43416f9e9ba6837d73b1b7392d4b242?src=pr&el=desc) will **increase** coverage by... | |
https://api.github.com/repos/psf/requests/issues/4376 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4376/labels{/name} | https://api.github.com/repos/psf/requests/issues/4376/comments | https://api.github.com/repos/psf/requests/issues/4376/events | https://github.com/psf/requests/issues/4376 | 271,639,730 | MDU6SXNzdWUyNzE2Mzk3MzA= | 4,376 | SSLError when requests deportesweb.madrid.es | {
"avatar_url": "https://avatars.githubusercontent.com/u/5998601?v=4",
"events_url": "https://api.github.com/users/s-nt-s/events{/privacy}",
"followers_url": "https://api.github.com/users/s-nt-s/followers",
"following_url": "https://api.github.com/users/s-nt-s/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 14 | 2017-11-06T22:13:47Z | 2021-09-08T06:00:29Z | 2017-11-07T20:45:56Z | NONE | resolved | `ssl.SSLEOFError: EOF occurred in violation of protocol ` when requests `deportesweb.madrid.es`
## Reproduction Steps
```console
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> s = re... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4376/reactions"
} | https://api.github.com/repos/psf/requests/issues/4376/timeline | null | completed | null | null | false | [
"It's an error on `deportesweb.madrid.es` side.\r\n\r\n```\r\n$ wget https://deportesweb.madrid.es/deportesWeb/Login\r\n\r\n--2017-11-07 09:20:51-- https://deportesweb.madrid.es/deportesWeb/Login\r\nResolving deportesweb.madrid.es... 195.55.79.160\r\nConnecting to deportesweb.madrid.es|195.55.79.160|:443... conne... |
https://api.github.com/repos/psf/requests/issues/4375 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4375/labels{/name} | https://api.github.com/repos/psf/requests/issues/4375/comments | https://api.github.com/repos/psf/requests/issues/4375/events | https://github.com/psf/requests/issues/4375 | 271,614,638 | MDU6SXNzdWUyNzE2MTQ2Mzg= | 4,375 | Handle HTTPDigestAuth requests that return stale=true | {
"avatar_url": "https://avatars.githubusercontent.com/u/7587111?v=4",
"events_url": "https://api.github.com/users/greeny88/events{/privacy}",
"followers_url": "https://api.github.com/users/greeny88/followers",
"following_url": "https://api.github.com/users/greeny88/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2017-11-06T20:46:50Z | 2021-09-08T06:00:30Z | 2017-11-06T21:07:32Z | NONE | resolved | I'm using the requests library to communicate with a Wildfly management API. In one specific environment, I am getting sporadic 401 responses that include in the 'WWW-Authenticate' the 'stale=true' flag. My understanding of the spec on this header is that the server sees that the authentication is valid but the nonce i... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4375/reactions"
} | https://api.github.com/repos/psf/requests/issues/4375/timeline | null | completed | null | null | false | [
"So the Requests standard Digest Handler does not handle any of this, so you'll need to write a custom auth handler. This is very straightforward, and you can use the DigestAuth handler in the repository as a jumping off point: take that code and make the edits you need."
] |
https://api.github.com/repos/psf/requests/issues/4374 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4374/labels{/name} | https://api.github.com/repos/psf/requests/issues/4374/comments | https://api.github.com/repos/psf/requests/issues/4374/events | https://github.com/psf/requests/issues/4374 | 271,388,756 | MDU6SXNzdWUyNzEzODg3NTY= | 4,374 | pyinstaller make a exe file which contain requests run failed on no requests' windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/20035768?v=4",
"events_url": "https://api.github.com/users/Shaunchenzhaojin/events{/privacy}",
"followers_url": "https://api.github.com/users/Shaunchenzhaojin/followers",
"following_url": "https://api.github.com/users/Shaunchenzhaojin/following{/other_use... | [] | closed | true | null | [] | null | 1 | 2017-11-06T08:07:01Z | 2021-09-08T06:00:30Z | 2017-11-06T20:55:24Z | NONE | resolved | Help me, I just being crazy....
My Pyinstaller version is 3.2.1, Python 2.7.13 and I make a exe which contain requests. But it can not run on other's windows whose without requests.
So, which version should I try? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4374/reactions"
} | https://api.github.com/repos/psf/requests/issues/4374/timeline | null | completed | null | null | false | [
"I'm afraid this is an issue with PyInstaller, not Requests: we can't really help you with PyInstaller. You'll need to take this up with the developers of PyInstaller."
] |
https://api.github.com/repos/psf/requests/issues/4373 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4373/labels{/name} | https://api.github.com/repos/psf/requests/issues/4373/comments | https://api.github.com/repos/psf/requests/issues/4373/events | https://github.com/psf/requests/issues/4373 | 271,370,604 | MDU6SXNzdWUyNzEzNzA2MDQ= | 4,373 | On Windows, getting wrong proxy settings from Windows registry | {
"avatar_url": "https://avatars.githubusercontent.com/u/1170592?v=4",
"events_url": "https://api.github.com/users/mingyuan-xia/events{/privacy}",
"followers_url": "https://api.github.com/users/mingyuan-xia/followers",
"following_url": "https://api.github.com/users/mingyuan-xia/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 4 | 2017-11-06T06:23:08Z | 2021-09-08T05:00:54Z | 2017-11-22T04:06:07Z | CONTRIBUTOR | resolved | For some windows machines (not all), a confusing Windows registry key type (`HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings \ ProxyEnable`) fails the following code in `requests/requests/utils.py`.
```
proxyEnable = winreg.QueryValueEx(internetSettings,
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1170592?v=4",
"events_url": "https://api.github.com/users/mingyuan-xia/events{/privacy}",
"followers_url": "https://api.github.com/users/mingyuan-xia/followers",
"following_url": "https://api.github.com/users/mingyuan-xia/following{/other_user}",
"gists... | {
"+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/4373/reactions"
} | https://api.github.com/repos/psf/requests/issues/4373/timeline | null | completed | null | null | false | [
"I'd be happy to merge a patch that resolves this issue.",
"PR: https://github.com/requests/requests/pull/4377",
"@mingyuan-xia Could you please open a PR with that patch? I'd really love to see that get fixed in the next release of requests.",
"https://github.com/requests/requests/pull/4377"
] |
https://api.github.com/repos/psf/requests/issues/4372 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4372/labels{/name} | https://api.github.com/repos/psf/requests/issues/4372/comments | https://api.github.com/repos/psf/requests/issues/4372/events | https://github.com/psf/requests/pull/4372 | 271,213,442 | MDExOlB1bGxSZXF1ZXN0MTUwNjg4Njkx | 4,372 | When Location decoding fails, fall back to original | {
"avatar_url": "https://avatars.githubusercontent.com/u/46775?v=4",
"events_url": "https://api.github.com/users/mjpieters/events{/privacy}",
"followers_url": "https://api.github.com/users/mjpieters/followers",
"following_url": "https://api.github.com/users/mjpieters/following{/other_user}",
"gists_url": "htt... | [] | open | false | null | [] | null | 11 | 2017-11-04T18:28:35Z | 2022-01-03T15:30:58Z | null | CONTRIBUTOR | null | Issue #3888 correctly identified Location headers as *usually* containing UTF-8
codepoints (when not correctly URL encoded), but this is not always the case.
For example the URL
http://www.finanzen.net/suchergebnis.asp?strSuchString=DE0005933931 redirects
to `b'/etf/ishares_core_dax\xae_ucits_etf_de'`, containing t... | null | {
"+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/4372/reactions"
} | https://api.github.com/repos/psf/requests/issues/4372/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4372.diff",
"html_url": "https://github.com/psf/requests/pull/4372",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4372.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4372"
} | true | [
"Crumbs, tests fail on 2.x because it encodes a bytestring (latin-1 encoded), while Python 3 handles a Unicode value. Returning a native `latin-1` string should work there.",
"Nope, `to_native_string()` returns a `str` on Python 2. Suggestions to produce consistent output on 2.x and 3.x appreciated; just returnin... |
https://api.github.com/repos/psf/requests/issues/4371 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4371/labels{/name} | https://api.github.com/repos/psf/requests/issues/4371/comments | https://api.github.com/repos/psf/requests/issues/4371/events | https://github.com/psf/requests/pull/4371 | 271,151,619 | MDExOlB1bGxSZXF1ZXN0MTUwNjUyOTgw | 4,371 | support extraction of certificate bundle from a zip archive | {
"avatar_url": "https://avatars.githubusercontent.com/u/2501228?v=4",
"events_url": "https://api.github.com/users/ahvigil/events{/privacy}",
"followers_url": "https://api.github.com/users/ahvigil/followers",
"following_url": "https://api.github.com/users/ahvigil/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 4 | 2017-11-04T00:27:37Z | 2021-09-04T00:06:42Z | 2017-11-06T21:08:46Z | CONTRIBUTOR | resolved | Resolves #4369 by checking whether the default CA certificate bundle is being imported from a zip archive. If it is, extract the certificate bundle to a temp folder so it can be handled by the standard OpenSSL libraries. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4371/reactions"
} | https://api.github.com/repos/psf/requests/issues/4371/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4371.diff",
"html_url": "https://github.com/psf/requests/pull/4371",
"merged_at": "2017-11-06T21:08:45Z",
"patch_url": "https://github.com/psf/requests/pull/4371.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4371"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4371?src=pr&el=h1) Report\n> Merging [#4371](https://codecov.io/gh/requests/requests/pull/4371?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/81b63419cbd8a6f0c9c2b79083d25dc2260156e3?src=pr&el=desc) will **decrease** coverage by... |
https://api.github.com/repos/psf/requests/issues/4370 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4370/labels{/name} | https://api.github.com/repos/psf/requests/issues/4370/comments | https://api.github.com/repos/psf/requests/issues/4370/events | https://github.com/psf/requests/pull/4370 | 271,148,297 | MDExOlB1bGxSZXF1ZXN0MTUwNjUwNTk4 | 4,370 | Actually gmo used | {
"avatar_url": "https://avatars.githubusercontent.com/u/412673?v=4",
"events_url": "https://api.github.com/users/gunlinux/events{/privacy}",
"followers_url": "https://api.github.com/users/gunlinux/followers",
"following_url": "https://api.github.com/users/gunlinux/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2017-11-03T23:56:54Z | 2017-11-04T08:44:48Z | 2017-11-04T08:44:34Z | NONE | null | Not serious. Not cool. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 1,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/4370/reactions"
} | https://api.github.com/repos/psf/requests/issues/4370/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4370.diff",
"html_url": "https://github.com/psf/requests/pull/4370",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4370.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4370"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4370?src=pr&el=h1) Report\n> Merging [#4370](https://codecov.io/gh/requests/requests/pull/4370?src=pr&el=desc) into [master](https://codecov.io/gh/requests/requests/commit/81b63419cbd8a6f0c9c2b79083d25dc2260156e3?src=pr&el=desc) will **not change** coverage.... |
https://api.github.com/repos/psf/requests/issues/4369 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4369/labels{/name} | https://api.github.com/repos/psf/requests/issues/4369/comments | https://api.github.com/repos/psf/requests/issues/4369/events | https://github.com/psf/requests/issues/4369 | 271,078,608 | MDU6SXNzdWUyNzEwNzg2MDg= | 4,369 | IOError when making https requests from executable zip archive | {
"avatar_url": "https://avatars.githubusercontent.com/u/2501228?v=4",
"events_url": "https://api.github.com/users/ahvigil/events{/privacy}",
"followers_url": "https://api.github.com/users/ahvigil/followers",
"following_url": "https://api.github.com/users/ahvigil/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 0 | 2017-11-03T18:43:03Z | 2021-09-08T06:00:30Z | 2017-11-06T21:08:46Z | CONTRIBUTOR | resolved | Python has supported running packaged zip files [since 2.6](https://bugs.python.org/issue1739468). The [zipapp](https://docs.python.org/3/library/zipapp.html) module newly introduced in python 3 is supposed to make it even easier to create executable python zip archives. As part of this, the contents of the zip archive... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4369/reactions"
} | https://api.github.com/repos/psf/requests/issues/4369/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/4368 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4368/labels{/name} | https://api.github.com/repos/psf/requests/issues/4368/comments | https://api.github.com/repos/psf/requests/issues/4368/events | https://github.com/psf/requests/pull/4368 | 270,985,347 | MDExOlB1bGxSZXF1ZXN0MTUwNTMzMDE0 | 4,368 | Clarify behaviour of `json` parameter. | {
"avatar_url": "https://avatars.githubusercontent.com/u/131395?v=4",
"events_url": "https://api.github.com/users/danielroseman/events{/privacy}",
"followers_url": "https://api.github.com/users/danielroseman/followers",
"following_url": "https://api.github.com/users/danielroseman/following{/other_user}",
"gis... | [] | closed | true | null | [] | null | 5 | 2017-11-03T13:53:31Z | 2021-09-04T00:06:40Z | 2017-11-22T15:56:10Z | CONTRIBUTOR | resolved | `json` is ignored if `data` is not empty. | {
"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/4368/reactions"
} | https://api.github.com/repos/psf/requests/issues/4368/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4368.diff",
"html_url": "https://github.com/psf/requests/pull/4368",
"merged_at": "2017-11-22T15:56:10Z",
"patch_url": "https://github.com/psf/requests/pull/4368.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4368"
} | true | [
"How about this?\r\n\r\n> The `data` parameter takes precedence over the `json` parameter.",
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4368?src=pr&el=h1) Report\n> Merging [#4368](https://codecov.io/gh/requests/requests/pull/4368?src=pr&el=desc) into [master](https://codecov.io/gh/requests/request... |
https://api.github.com/repos/psf/requests/issues/4367 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4367/labels{/name} | https://api.github.com/repos/psf/requests/issues/4367/comments | https://api.github.com/repos/psf/requests/issues/4367/events | https://github.com/psf/requests/issues/4367 | 270,978,423 | MDU6SXNzdWUyNzA5Nzg0MjM= | 4,367 | Exception ignored in: <generator object iter_slices at 0x7f...90> | {
"avatar_url": "https://avatars.githubusercontent.com/u/14262975?v=4",
"events_url": "https://api.github.com/users/mikkqu/events{/privacy}",
"followers_url": "https://api.github.com/users/mikkqu/followers",
"following_url": "https://api.github.com/users/mikkqu/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 6 | 2017-11-03T13:31:03Z | 2018-03-13T16:55:36Z | 2017-11-27T13:15:04Z | NONE | off-topic | I am getting an annoying warning message from requests library. Everything seem to work fine except that the message is extremely annoying and I'm having a lot of them. That's how it looks like.
```
Exception ignored in: <generator object iter_slices at 0x7f332d3cf990>
Traceback (most recent call last):
File "/... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4367/reactions"
} | https://api.github.com/repos/psf/requests/issues/4367/timeline | null | completed | null | null | false | [
"The usage of requests will not by itself throw such an exception. Can you provide a [SSCCE](http://www.sscce.org/) that demonstrates the problem?\r\n\r\nThis works fine:\r\n\r\n```python\r\nimport requests\r\n\r\nbody = {\"foo\": 1, \"bar\": \"BAR\", \"baz\": True}\r\nresponse = requests.post(\"https://httpbin.org... |
https://api.github.com/repos/psf/requests/issues/4366 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4366/labels{/name} | https://api.github.com/repos/psf/requests/issues/4366/comments | https://api.github.com/repos/psf/requests/issues/4366/events | https://github.com/psf/requests/issues/4366 | 270,706,372 | MDU6SXNzdWUyNzA3MDYzNzI= | 4,366 | Response content corrupted for file download | {
"avatar_url": "https://avatars.githubusercontent.com/u/16189532?v=4",
"events_url": "https://api.github.com/users/djkirkham/events{/privacy}",
"followers_url": "https://api.github.com/users/djkirkham/followers",
"following_url": "https://api.github.com/users/djkirkham/following{/other_user}",
"gists_url": "... | [] | closed | true | null | [] | null | 10 | 2017-11-02T15:52:56Z | 2021-09-08T06:00:31Z | 2017-11-02T17:08:10Z | NONE | resolved | Using `requests` to download http://hdfeos.org/software/pyhdf/pyhdf-0.9.0.tar.gz results in a corrupted file.
Other methods of downloading the file (`wget`, `urllib.urlretrieve`) download the file correctly.
## Expected Result
When the file downloads correctly the [sha256 listed here](http://hdfeos.org/softwar... | {
"avatar_url": "https://avatars.githubusercontent.com/u/16189532?v=4",
"events_url": "https://api.github.com/users/djkirkham/events{/privacy}",
"followers_url": "https://api.github.com/users/djkirkham/followers",
"following_url": "https://api.github.com/users/djkirkham/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/4366/reactions"
} | https://api.github.com/repos/psf/requests/issues/4366/timeline | null | completed | null | null | false | [
"Requests gunzips the file:\r\n\r\n```\r\n$ file pyhdf-0.9.0.tar.gz\r\npyhdf-0.9.0.tar.gz: POSIX tar archive (GNU)\r\n$ tar tf pyhdf-0.9.0.tar.gz \r\npyhdf-0.9.0/\r\npyhdf-0.9.0/PKG-INFO\r\npyhdf-0.9.0/pyhdf/\r\npyhdf-0.9.0/pyhdf/error.py\r\npyhdf-0.9.0/pyhdf/HC.py\r\npyhdf-0.9.0/pyhdf/HDF.py\r\npyhdf-0.9.0/pyhdf... |
https://api.github.com/repos/psf/requests/issues/4365 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4365/labels{/name} | https://api.github.com/repos/psf/requests/issues/4365/comments | https://api.github.com/repos/psf/requests/issues/4365/events | https://github.com/psf/requests/issues/4365 | 270,560,459 | MDU6SXNzdWUyNzA1NjA0NTk= | 4,365 | can requests has a way to automatically determine the type of authentication? | {
"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 | 2017-11-02T07:43:06Z | 2021-09-08T06:00:31Z | 2017-11-02T21:20:34Z | NONE | resolved | I have a problem that I known the web services require authentication,but I can't determine Basic or Digest it need,How can I deal with this situation? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4365/reactions"
} | https://api.github.com/repos/psf/requests/issues/4365/timeline | null | completed | null | null | false | [
"The requests-toolbelt has a [`GuessAuth`](http://toolbelt.readthedocs.io/en/latest/authentication.html#guessauth) handler which is perfect for this use-case."
] |
https://api.github.com/repos/psf/requests/issues/4364 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4364/labels{/name} | https://api.github.com/repos/psf/requests/issues/4364/comments | https://api.github.com/repos/psf/requests/issues/4364/events | https://github.com/psf/requests/issues/4364 | 270,276,195 | MDU6SXNzdWUyNzAyNzYxOTU= | 4,364 | Delete cookies not working with adapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/6284?v=4",
"events_url": "https://api.github.com/users/Singletoned/events{/privacy}",
"followers_url": "https://api.github.com/users/Singletoned/followers",
"following_url": "https://api.github.com/users/Singletoned/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 14 | 2017-11-01T11:16:23Z | 2021-09-08T06:00:31Z | 2017-11-06T08:52:14Z | NONE | resolved | ## Summary.
Using the requests-wsgi-adapter code, deleting cookies (eg using httpbin) doesn't work. I wrote a test that demonstrates it: https://github.com/Singletoned/requests-wsgi-adapter/blob/feature/delete-cookies/tests.py#L77
The equivalent code using requests and httpbin.org works fine, but using requests... | {
"avatar_url": "https://avatars.githubusercontent.com/u/6284?v=4",
"events_url": "https://api.github.com/users/Singletoned/events{/privacy}",
"followers_url": "https://api.github.com/users/Singletoned/followers",
"following_url": "https://api.github.com/users/Singletoned/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/4364/reactions"
} | https://api.github.com/repos/psf/requests/issues/4364/timeline | null | completed | null | null | false | [
"What are the response headers for each request in both cases?",
"These are the failing headers using the wsgi adapter:\r\n```\r\n[('Content-Type', 'text/html; charset=utf-8'),\r\n ('Content-Length', '223'),\r\n ('Location', '/cookies'),\r\n ('Set-Cookie', 'flimble=floop; Path=/'),\r\n ('Set-Cookie', 'flamble=fla... |
https://api.github.com/repos/psf/requests/issues/4363 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4363/labels{/name} | https://api.github.com/repos/psf/requests/issues/4363/comments | https://api.github.com/repos/psf/requests/issues/4363/events | https://github.com/psf/requests/issues/4363 | 270,121,018 | MDU6SXNzdWUyNzAxMjEwMTg= | 4,363 | rl print response headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/25519096?v=4",
"events_url": "https://api.github.com/users/hrpomrx/events{/privacy}",
"followers_url": "https://api.github.com/users/hrpomrx/followers",
"following_url": "https://api.github.com/users/hrpomrx/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 0 | 2017-10-31T21:13:36Z | 2021-09-08T06:00:32Z | 2017-10-31T21:15:24Z | 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/25519096?v=4",
"events_url": "https://api.github.com/users/hrpomrx/events{/privacy}",
"followers_url": "https://api.github.com/users/hrpomrx/followers",
"following_url": "https://api.github.com/users/hrpomrx/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/4363/reactions"
} | https://api.github.com/repos/psf/requests/issues/4363/timeline | null | completed | null | null | false | [] |
https://api.github.com/repos/psf/requests/issues/4362 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4362/labels{/name} | https://api.github.com/repos/psf/requests/issues/4362/comments | https://api.github.com/repos/psf/requests/issues/4362/events | https://github.com/psf/requests/issues/4362 | 269,952,391 | MDU6SXNzdWUyNjk5NTIzOTE= | 4,362 | Redirect resolved even though allow_redirects is set to False causing exception for unsupported connection adapter | {
"avatar_url": "https://avatars.githubusercontent.com/u/4640825?v=4",
"events_url": "https://api.github.com/users/fevertree/events{/privacy}",
"followers_url": "https://api.github.com/users/fevertree/followers",
"following_url": "https://api.github.com/users/fevertree/following{/other_user}",
"gists_url": "h... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
}
] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 6 | 2017-10-31T13:11:11Z | 2022-03-29T03:12:39Z | 2021-12-29T02:32:57Z | NONE | resolved | I'm currently mocking an API that is consumed by an Android application.
One of the API responses contains a redirect to a custom URL schema `app://` in the `Location` header
Since I am not interested in my mocked API client in following the redirect (which would raise an InvalidSchema exception anyway), I have set... | {
"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/4362/reactions"
} | https://api.github.com/repos/psf/requests/issues/4362/timeline | null | completed | null | null | false | [
"@kennethreitz This is the result of `Response.next`, which you added. Mind taking a look?",
"@fevertree can you try this and see if you still get the exception?\r\n\r\n```\r\nimport requests\r\n\r\nS = requests.session()\r\ndestination = https://somesite.example # URL with a redirect to a non-standard protocol\r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.