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/4061 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4061/labels{/name} | https://api.github.com/repos/psf/requests/issues/4061/comments | https://api.github.com/repos/psf/requests/issues/4061/events | https://github.com/psf/requests/issues/4061 | 231,404,276 | MDU6SXNzdWUyMzE0MDQyNzY= | 4,061 | readthedocs is broken | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 6 | 2017-05-25T17:25:28Z | 2021-09-08T10:00:39Z | 2017-05-26T00:12:16Z | CONTRIBUTOR | resolved | ugh https://readthedocs.org/projects/requests/builds/5472443/ | {
"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/4061/reactions"
} | https://api.github.com/repos/psf/requests/issues/4061/timeline | null | completed | null | null | false | [
"very unclear what's going on from the error message. @ericholscher?",
"Does it happen locally?",
"I seem to have it reproducing locally, so I'm guessing it's a bug in something recent on your side. ",
"Locally I see your config version being set as `ipdb> version\r\n<module 'requests.__version__' from '/User... |
https://api.github.com/repos/psf/requests/issues/4060 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4060/labels{/name} | https://api.github.com/repos/psf/requests/issues/4060/comments | https://api.github.com/repos/psf/requests/issues/4060/events | https://github.com/psf/requests/issues/4060 | 231,402,277 | MDU6SXNzdWUyMzE0MDIyNzc= | 4,060 | "params" arg of requests.get does not properly encode json | {
"avatar_url": "https://avatars.githubusercontent.com/u/1395651?v=4",
"events_url": "https://api.github.com/users/mxndrwgrdnr/events{/privacy}",
"followers_url": "https://api.github.com/users/mxndrwgrdnr/followers",
"following_url": "https://api.github.com/users/mxndrwgrdnr/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2017-05-25T17:17:28Z | 2021-09-08T10:00:41Z | 2017-05-25T17:32:22Z | NONE | resolved | I have an API endpoint that handles json. This request returns a 400 error
```
requests.get(url, params={"json":json.dumps(myDict)}
```
while this works fine
```
requests.post(url,json=myDict)
```
Is there no proper way to pass json in a GET request? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4060/reactions"
} | https://api.github.com/repos/psf/requests/issues/4060/timeline | null | completed | null | null | false | [
"This is entirely up to your API endpoint. If the endpoint doesn't want JSON in the request URL, then it will error out: if it does, then it won't. You need to read your endpoint documentation or observe other requests to see how they send the data.",
"No, the API can handle JSON in the request URL. It's just tha... |
https://api.github.com/repos/psf/requests/issues/4059 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4059/labels{/name} | https://api.github.com/repos/psf/requests/issues/4059/comments | https://api.github.com/repos/psf/requests/issues/4059/events | https://github.com/psf/requests/pull/4059 | 231,374,137 | MDExOlB1bGxSZXF1ZXN0MTIyNDY0NDIw | 4,059 | __version__.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 14 | 2017-05-25T15:32:14Z | 2021-09-06T00:06:54Z | 2017-05-25T16:39:44Z | CONTRIBUTOR | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4059/reactions"
} | https://api.github.com/repos/psf/requests/issues/4059/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4059.diff",
"html_url": "https://github.com/psf/requests/pull/4059",
"merged_at": "2017-05-25T16:39:44Z",
"patch_url": "https://github.com/psf/requests/pull/4059.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4059"
} | true | [
"waiting for ci to pass before merging",
"P.S. I'll be happy to pay Travis money if it means our tests will run faster. /cc @Lukasa ",
"I think appveyor is our bottleneck right now because it won't parallelize tests with the free version.\r\n\r\nAlso just wanted to make sure you'd seen #4058.",
"They'll only ... | |
https://api.github.com/repos/psf/requests/issues/4058 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4058/labels{/name} | https://api.github.com/repos/psf/requests/issues/4058/comments | https://api.github.com/repos/psf/requests/issues/4058/events | https://github.com/psf/requests/pull/4058 | 231,210,521 | MDExOlB1bGxSZXF1ZXN0MTIyMzUyMDc2 | 4,058 | Stop relying on a regexp for version parsing | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 3 | 2017-05-25T00:47:56Z | 2021-09-06T00:06:54Z | 2017-05-25T15:48:11Z | CONTRIBUTOR | resolved | Move all of our metadata into `requests/__about__.py` while keeping a
backwards compatible aliasing of metadata attributes. Also use this to
specify metadata in our setup.py
Closes #4057
---
For what it's worth, I based this off of [pypa/packaging](https://github.com/pypa/packaging/blob/master/setup.py) | {
"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/4058/reactions"
} | https://api.github.com/repos/psf/requests/issues/4058/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4058.diff",
"html_url": "https://github.com/psf/requests/pull/4058",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4058.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4058"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4058?src=pr&el=h1) Report\n> Merging [#4058](https://codecov.io/gh/kennethreitz/requests/pull/4058?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/037108178c1fcc4484f5ccb16e390636ef02a7e6?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/4057 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4057/labels{/name} | https://api.github.com/repos/psf/requests/issues/4057/comments | https://api.github.com/repos/psf/requests/issues/4057/events | https://github.com/psf/requests/issues/4057 | 231,126,702 | MDU6SXNzdWUyMzExMjY3MDI= | 4,057 | move setup.py to use a __version__.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 5 | 2017-05-24T18:12:45Z | 2021-09-08T10:00:42Z | 2017-05-25T16:39:57Z | CONTRIBUTOR | resolved | better pattern. death to regex. | {
"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/4057/reactions"
} | https://api.github.com/repos/psf/requests/issues/4057/timeline | null | completed | null | null | false | [
"Would be nice to keep `__version__` exposed at the package level so that `requests.__version__` is still a thing.",
"Absolutely!",
"Only reason I note that is because I know that `pipenv` does not expose `.__version__` at the package level instead opting for `pipenv.__version__.__version__`.",
"@SethMichaelL... |
https://api.github.com/repos/psf/requests/issues/4056 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4056/labels{/name} | https://api.github.com/repos/psf/requests/issues/4056/comments | https://api.github.com/repos/psf/requests/issues/4056/events | https://github.com/psf/requests/pull/4056 | 231,109,093 | MDExOlB1bGxSZXF1ZXN0MTIyMjc4MzE2 | 4,056 | Disable pytest messing with warnings. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2017-05-24T17:05:15Z | 2021-09-06T00:06:53Z | 2017-05-24T17:46:12Z | MEMBER | resolved | We may be able to remove this if pytest resolves pytest-dev/pytest#2430, but until that point we need to turn the old behaviour back on. | {
"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/4056/reactions"
} | https://api.github.com/repos/psf/requests/issues/4056/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4056.diff",
"html_url": "https://github.com/psf/requests/pull/4056",
"merged_at": "2017-05-24T17:46:12Z",
"patch_url": "https://github.com/psf/requests/pull/4056.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4056"
} | true | [
"I want to point out that it's pretty stupid that we have to do this, but there we are.",
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4056?src=pr&el=h1) Report\n> Merging [#4056](https://codecov.io/gh/kennethreitz/requests/pull/4056?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreit... |
https://api.github.com/repos/psf/requests/issues/4055 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4055/labels{/name} | https://api.github.com/repos/psf/requests/issues/4055/comments | https://api.github.com/repos/psf/requests/issues/4055/events | https://github.com/psf/requests/issues/4055 | 231,101,432 | MDU6SXNzdWUyMzExMDE0MzI= | 4,055 | remove 301 redirect cache | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 19127... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}... | null | 6 | 2017-05-24T16:37:46Z | 2021-09-06T00:06:34Z | 2017-05-29T19:14:03Z | CONTRIBUTOR | resolved | it's not thread-safe, it's problematic, and it's just not the best of ideas.
-----------
I'm assigning this to myself, but anyone can feel free to take this on if they're in the mood!
Just comment here when you start working on it, if so! | {
"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/4055/reactions"
} | https://api.github.com/repos/psf/requests/issues/4055/timeline | null | completed | null | null | false | [
"I thought we'd already removed this for 3.0?",
"I think @kennethreitz has OK'd removing it for 2.x too.",
"Yeah, I'm personally fine with that. ",
"I opened a PR for this issue. (#4100)",
"✨🍰✨",
"@kennethreitz \r\n\r\nHow is it not threadsafe?\r\n\r\nThis `RecentlyUsedContainer` seems to be threadsafe. ... |
https://api.github.com/repos/psf/requests/issues/4054 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4054/labels{/name} | https://api.github.com/repos/psf/requests/issues/4054/comments | https://api.github.com/repos/psf/requests/issues/4054/events | https://github.com/psf/requests/issues/4054 | 231,085,833 | MDU6SXNzdWUyMzEwODU4MzM= | 4,054 | Easter Egg | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 4 | 2017-05-24T15:45:15Z | 2021-09-08T10:00:42Z | 2017-05-24T15:50:48Z | CONTRIBUTOR | resolved | I'd like to embed an easter egg within requests — something very simple, perhaps just a single dunder variable that says "Kenneth was here".
OR!
```
>>> requests.__cake__
✨ 🍰 ✨
```
yes, i love this.
Any objections will be heard, and likely ignored, but open to thougts if anyone feels strongly against i... | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4054/reactions"
} | https://api.github.com/repos/psf/requests/issues/4054/timeline | null | completed | null | null | false | [
"Done!",
"Did on my iPad, trusting CI to report if there are any failures caused by this one-line change. Keeping an eye out, as I don't have a dev environment on me at the moment. ",
"@Lukasa sorry! :sparkles: :cake: :sparkles:",
":wink: No worries."
] |
https://api.github.com/repos/psf/requests/issues/4053 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4053/labels{/name} | https://api.github.com/repos/psf/requests/issues/4053/comments | https://api.github.com/repos/psf/requests/issues/4053/events | https://github.com/psf/requests/issues/4053 | 230,978,998 | MDU6SXNzdWUyMzA5Nzg5OTg= | 4,053 | Trouble with a specific request | {
"avatar_url": "https://avatars.githubusercontent.com/u/7857364?v=4",
"events_url": "https://api.github.com/users/BobLamarley/events{/privacy}",
"followers_url": "https://api.github.com/users/BobLamarley/followers",
"following_url": "https://api.github.com/users/BobLamarley/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 9 | 2017-05-24T09:38:25Z | 2021-09-08T10:00:41Z | 2017-05-24T17:33:33Z | NONE | resolved | Hi,
I have a trouble with my python code.
When i do this cUrl, it work :
`curl -i -XPOST 'http://51.255.80.74:8086/write?db=testdb' --data-binary 'lps0,host=serverlama,region=us-west value=0.65'`
My value is added in to my database.
I want to do the same in python with this script:
````
import requests
impor... | {
"avatar_url": "https://avatars.githubusercontent.com/u/7857364?v=4",
"events_url": "https://api.github.com/users/BobLamarley/events{/privacy}",
"followers_url": "https://api.github.com/users/BobLamarley/followers",
"following_url": "https://api.github.com/users/BobLamarley/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/4053/reactions"
} | https://api.github.com/repos/psf/requests/issues/4053/timeline | null | completed | null | null | false | [
"Let's get discorse setup, for questions like this. ",
"Your GET is failing. Why are you trying that GET?",
"My get is working, and i make that get for dowload the xml content of the page.\r\nThe problem is on the requests.post().",
"So all I can tell you then is that the server is refusing our connection att... |
https://api.github.com/repos/psf/requests/issues/4052 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4052/labels{/name} | https://api.github.com/repos/psf/requests/issues/4052/comments | https://api.github.com/repos/psf/requests/issues/4052/events | https://github.com/psf/requests/pull/4052 | 230,927,573 | MDExOlB1bGxSZXF1ZXN0MTIyMTQ5NDU4 | 4,052 | Fix regression in API caused by commit 85400d8d6751071ef78f042d1efa72… | {
"avatar_url": "https://avatars.githubusercontent.com/u/2484817?v=4",
"events_url": "https://api.github.com/users/hile/events{/privacy}",
"followers_url": "https://api.github.com/users/hile/followers",
"following_url": "https://api.github.com/users/hile/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 17 | 2017-05-24T05:51:20Z | 2021-09-06T00:06:53Z | 2017-05-27T01:34:30Z | CONTRIBUTOR | resolved | …bdcf76cc0e
- The added optional parameter changes API and should default to None
This utility call is used by for example requestbuilder package directly
which breaks because it passes only one argument to the function as it
used to be. | {
"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/4052/reactions"
} | https://api.github.com/repos/psf/requests/issues/4052/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4052.diff",
"html_url": "https://github.com/psf/requests/pull/4052",
"merged_at": "2017-05-27T01:34:30Z",
"patch_url": "https://github.com/psf/requests/pull/4052.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4052"
} | true | [
"I don't believe this is a public API, and therefore we don't gaurentee API compatibility.\r\n\r\nBut, I could be wrong — either way, it seems like a nice change to make if it doesn't hurt anything. \r\n\r\n@nateprewitt any objections?",
"I think this is a good idea, but we should work out why the builders are fa... |
https://api.github.com/repos/psf/requests/issues/4051 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4051/labels{/name} | https://api.github.com/repos/psf/requests/issues/4051/comments | https://api.github.com/repos/psf/requests/issues/4051/events | https://github.com/psf/requests/issues/4051 | 230,793,549 | MDU6SXNzdWUyMzA3OTM1NDk= | 4,051 | gevent - 'module' object has no attribute 'epoll' with Python2-7 and Gevent -1.0.1; with Requests-2.13.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6896731?v=4",
"events_url": "https://api.github.com/users/iamtennislover/events{/privacy}",
"followers_url": "https://api.github.com/users/iamtennislover/followers",
"following_url": "https://api.github.com/users/iamtennislover/following{/other_user}",
... | [] | closed | true | null | [] | null | 9 | 2017-05-23T17:56:24Z | 2021-09-08T10:00:43Z | 2017-05-23T19:30:45Z | NONE | resolved |
requests 2.13.0 fails
>>> import sys
>>> import gevent.monkey
>>> gevent.monkey.patch_all() # This must be called before any other modules calling socket/request
>>> import requests
>>>
>>> print 'py version:', sys.version_info
py version: sys.version_info(major=2, minor=7, micr... | {
"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/4051/reactions"
} | https://api.github.com/repos/psf/requests/issues/4051/timeline | null | completed | null | null | false | [
"Are you *absolutely certain* that nothing else imports requests before you get there? Because this seems to be a bug that only occurs if Requests is imported before gevent monkey patching.",
"In the meantime, please try 2.14.2.",
"I can't reproduce this on Python 2.7 with requests 2.13.0 and gevent 1.0.1 runni... |
https://api.github.com/repos/psf/requests/issues/4050 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4050/labels{/name} | https://api.github.com/repos/psf/requests/issues/4050/comments | https://api.github.com/repos/psf/requests/issues/4050/events | https://github.com/psf/requests/pull/4050 | 230,791,794 | MDExOlB1bGxSZXF1ZXN0MTIyMDU3NjM3 | 4,050 | AttributeError error raised when `files` file-pointer (fp) resolves to None | {
"avatar_url": "https://avatars.githubusercontent.com/u/3474715?v=4",
"events_url": "https://api.github.com/users/mayani/events{/privacy}",
"followers_url": "https://api.github.com/users/mayani/followers",
"following_url": "https://api.github.com/users/mayani/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 12 | 2017-05-23T17:50:04Z | 2021-09-03T00:10:56Z | 2018-05-17T20:56:18Z | CONTRIBUTOR | resolved | The library raises NoneType error when file-pointer (fp) resolves to None.
```
>>> from requests import post
>>> r = post("https://example.com", files={"file-name": None})
AttributeError: 'NoneType' object has no attribute 'read'
```
However, when a param value or json field is None they are not included in 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/4050/reactions"
} | https://api.github.com/repos/psf/requests/issues/4050/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4050.diff",
"html_url": "https://github.com/psf/requests/pull/4050",
"merged_at": "2018-05-17T20:56:18Z",
"patch_url": "https://github.com/psf/requests/pull/4050.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4050"
} | true | [
"Love this!",
"# [Codecov](https://codecov.io/gh/requests/requests/pull/4050?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`master@5697148`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).\n> The diff coverage is... |
https://api.github.com/repos/psf/requests/issues/4049 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4049/labels{/name} | https://api.github.com/repos/psf/requests/issues/4049/comments | https://api.github.com/repos/psf/requests/issues/4049/events | https://github.com/psf/requests/issues/4049 | 230,685,739 | MDU6SXNzdWUyMzA2ODU3Mzk= | 4,049 | Prevent reading whole file when using the files= argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/314716?v=4",
"events_url": "https://api.github.com/users/astrofrog/events{/privacy}",
"followers_url": "https://api.github.com/users/astrofrog/followers",
"following_url": "https://api.github.com/users/astrofrog/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2017-05-23T12:14:05Z | 2021-09-08T10:00:44Z | 2017-05-23T12:25:49Z | NONE | resolved | I am trying to send a very large file (100Gb) using a POST request, with a call that looks like:
```
r = requests.post(url, data={'filename': filename}, files={'file': f})
```
but the issue is that internally, requests tries to read the whole file before sending:
```
File "upload.py", line 19, in <module... | {
"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/4049/reactions"
} | https://api.github.com/repos/psf/requests/issues/4049/timeline | null | completed | null | null | false | [
"There *is* a solution for Requests in the [requests-toolbelt](https://toolbelt.readthedocs.io). Namely the [Streaming Multipart Encoder](https://toolbelt.readthedocs.io/en/latest/uploading-data.html#streaming-multipart-data-encoder).\r\n\r\nWe've talked about adding this support into Requests directly though, so i... |
https://api.github.com/repos/psf/requests/issues/4048 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4048/labels{/name} | https://api.github.com/repos/psf/requests/issues/4048/comments | https://api.github.com/repos/psf/requests/issues/4048/events | https://github.com/psf/requests/pull/4048 | 230,629,303 | MDExOlB1bGxSZXF1ZXN0MTIxOTQxMTE5 | 4,048 | Add an enhancement for transforamtion between dict and cookiejar. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1980918?v=4",
"events_url": "https://api.github.com/users/justdoit0823/events{/privacy}",
"followers_url": "https://api.github.com/users/justdoit0823/followers",
"following_url": "https://api.github.com/users/justdoit0823/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 1 | 2017-05-23T08:35:52Z | 2021-09-06T00:06:55Z | 2017-05-24T04:12:30Z | NONE | resolved | When using dict_from_cookiejar, I can only get name and value from cookie object, otherwise other cookie attributes are lost. So I want to make an enhancement about two methods dict_from_cookiejar and cookiejar_from_dict, which can be more flexible and safe to do cookie transformation and persistence like the following... | {
"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/4048/reactions"
} | https://api.github.com/repos/psf/requests/issues/4048/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4048.diff",
"html_url": "https://github.com/psf/requests/pull/4048",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4048.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4048"
} | true | [
"Thanks for this patch! I'm afraid I don't think it's necessary: these are primarily intended as internal utilities and so we're very disinclined to add features to them. Sorry about that! :sparkles:"
] |
https://api.github.com/repos/psf/requests/issues/4047 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4047/labels{/name} | https://api.github.com/repos/psf/requests/issues/4047/comments | https://api.github.com/repos/psf/requests/issues/4047/events | https://github.com/psf/requests/pull/4047 | 230,522,295 | MDExOlB1bGxSZXF1ZXN0MTIxODY3NDQ5 | 4,047 | More Verbose Execption Handling | {
"avatar_url": "https://avatars.githubusercontent.com/u/4099109?v=4",
"events_url": "https://api.github.com/users/bobstrecansky/events{/privacy}",
"followers_url": "https://api.github.com/users/bobstrecansky/followers",
"following_url": "https://api.github.com/users/bobstrecansky/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 2 | 2017-05-22T21:17:24Z | 2021-09-06T00:06:54Z | 2017-05-24T17:57:58Z | NONE | resolved | So I tried to add more verbose exception handling without breaking current functionality (this feels really hacky). It seems to me that it may be pertinent to break these out and not raise a connection error for each request (as denoted in : https://github.com/kennethreitz/requests/issues/2876)
In the current imple... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4099109?v=4",
"events_url": "https://api.github.com/users/bobstrecansky/events{/privacy}",
"followers_url": "https://api.github.com/users/bobstrecansky/followers",
"following_url": "https://api.github.com/users/bobstrecansky/following{/other_user}",
"gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4047/reactions"
} | https://api.github.com/repos/psf/requests/issues/4047/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4047.diff",
"html_url": "https://github.com/psf/requests/pull/4047",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4047.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4047"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4047?src=pr&el=h1) Report\n> Merging [#4047](https://codecov.io/gh/kennethreitz/requests/pull/4047?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/6fb9b1ce53e2b5b047d875a916cfae8c468649dc?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/4046 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4046/labels{/name} | https://api.github.com/repos/psf/requests/issues/4046/comments | https://api.github.com/repos/psf/requests/issues/4046/events | https://github.com/psf/requests/issues/4046 | 230,243,695 | MDU6SXNzdWUyMzAyNDM2OTU= | 4,046 | Force use of specific SSL version and/or ciphers | {
"avatar_url": "https://avatars.githubusercontent.com/u/3749186?v=4",
"events_url": "https://api.github.com/users/devt/events{/privacy}",
"followers_url": "https://api.github.com/users/devt/followers",
"following_url": "https://api.github.com/users/devt/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 3 | 2017-05-21T19:41:57Z | 2021-09-08T10:00:45Z | 2017-05-21T19:46:55Z | NONE | resolved | I need to overwrite the default behavior of choosing which ssl_version or ciphers are allowed to be negotiated.
There is a 'broken' internal site which accepts TLS v1.0 only. It works with curl and Chrome (who end up selecting TLSv1.0 / DES-CBC3-SHA), but from Python it ends up 'choosing' SSLv3 and you get the error... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4046/reactions"
} | https://api.github.com/repos/psf/requests/issues/4046/timeline | null | completed | null | null | false | [
"You can create an SSLContext and configure it as needed by using [these instructions](https://lukasa.co.uk/2017/02/Configuring_TLS_With_Requests/). You can set a bunch of `OP_NO` flags to disable everything you don't need. ",
"Thanks a bunch. The explanation of the '3DES stream cipher' being removed makes sense.... |
https://api.github.com/repos/psf/requests/issues/4045 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4045/labels{/name} | https://api.github.com/repos/psf/requests/issues/4045/comments | https://api.github.com/repos/psf/requests/issues/4045/events | https://github.com/psf/requests/issues/4045 | 230,240,670 | MDU6SXNzdWUyMzAyNDA2NzA= | 4,045 | Async-only for Requests v3? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "0b02e1",
"default": false,
"description": null,
"id": 19127... | closed | true | null | [] | null | 18 | 2017-05-21T19:02:34Z | 2021-09-08T10:00:40Z | 2017-05-24T17:32:53Z | MEMBER | resolved | A discussion at PyCon in the Requests BoF has suggested two approaches to our glorious async future:
1. Write a codebase that is async and Python 3-only, and then apply an automated code transformation to turn that into a synchronous codebase that ships on Python 2. This will mean that Requests v3 supports *only* sy... | {
"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": 24,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 8,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 32,
"url": "https://api.github.com/repos/psf/requests/issues/4045/reactions"
} | https://api.github.com/repos/psf/requests/issues/4045/timeline | null | completed | null | null | false | [
"Thumb up for v2 as LTS and v3 Py3 only :). 👍\r\nAdding the Django example, it gives good push in the right of direction of Py3 only. Hopefully this starts a trend and all libraries will follow that model. It helps me to promote that model as well internally, for our own libraries (if everybody does that, let's do... |
https://api.github.com/repos/psf/requests/issues/4044 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4044/labels{/name} | https://api.github.com/repos/psf/requests/issues/4044/comments | https://api.github.com/repos/psf/requests/issues/4044/events | https://github.com/psf/requests/pull/4044 | 230,228,907 | MDExOlB1bGxSZXF1ZXN0MTIxNjY1Mzc3 | 4,044 | Fix cookies storage on GAE | {
"avatar_url": "https://avatars.githubusercontent.com/u/709053?v=4",
"events_url": "https://api.github.com/users/cmin764/events{/privacy}",
"followers_url": "https://api.github.com/users/cmin764/followers",
"following_url": "https://api.github.com/users/cmin764/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 18 | 2017-05-21T15:39:06Z | 2021-09-03T00:10:59Z | 2017-05-30T17:12:52Z | NONE | resolved | When using requests on GAE, the urllib3 response containing cookies
is a little bit different, therefore we have to extract the cookies
from the returned headers directly from the response object.
Fix issue #4039 | {
"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/4044/reactions"
} | https://api.github.com/repos/psf/requests/issues/4044/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4044.diff",
"html_url": "https://github.com/psf/requests/pull/4044",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4044.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4044"
} | true | [
"Just to clarify: are you interested in making further amendments to this patch, or would you like core devs or volunteers to build on it instead?",
"No, I would like to let the core devs take it and adapt it to what is right. What I want most, is to be aware of the fact that this is a serious issue affecting all... |
https://api.github.com/repos/psf/requests/issues/4043 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4043/labels{/name} | https://api.github.com/repos/psf/requests/issues/4043/comments | https://api.github.com/repos/psf/requests/issues/4043/events | https://github.com/psf/requests/issues/4043 | 230,210,181 | MDU6SXNzdWUyMzAyMTAxODE= | 4,043 | python requests runs infinitely if the called script executes more than 2 minutes | {
"avatar_url": "https://avatars.githubusercontent.com/u/28837804?v=4",
"events_url": "https://api.github.com/users/jj-one/events{/privacy}",
"followers_url": "https://api.github.com/users/jj-one/followers",
"following_url": "https://api.github.com/users/jj-one/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 36 | 2017-05-21T09:59:50Z | 2021-09-08T10:00:42Z | 2017-05-23T21:08:39Z | NONE | resolved | I am setting up a vps. Everything has worked well with python requests module until I had to run a script on the server that exceeded two minutes. As soon as any script executes through python requests on the remote server for more than 2 minutes, the request goes on infinitely. It never returns or terminates. If I cal... | {
"avatar_url": "https://avatars.githubusercontent.com/u/28837804?v=4",
"events_url": "https://api.github.com/users/jj-one/events{/privacy}",
"followers_url": "https://api.github.com/users/jj-one/followers",
"following_url": "https://api.github.com/users/jj-one/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/4043/reactions"
} | https://api.github.com/repos/psf/requests/issues/4043/timeline | null | completed | null | null | false | [
"This sounds very much like it relates to the web server you're running. Can you try with a different web server?",
"I think you might be right because I have a shared server somewhere where I normally upload files lasting more than 15 minutes using python requests. It has always worked well.\r\nOn the other hand... |
https://api.github.com/repos/psf/requests/issues/4042 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4042/labels{/name} | https://api.github.com/repos/psf/requests/issues/4042/comments | https://api.github.com/repos/psf/requests/issues/4042/events | https://github.com/psf/requests/pull/4042 | 230,187,218 | MDExOlB1bGxSZXF1ZXN0MTIxNjQyNzI2 | 4,042 | Persist Session-level CookiePolicy | {
"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 | 5 | 2017-05-21T00:06:13Z | 2021-09-06T00:06:55Z | 2017-05-23T14:39:37Z | MEMBER | resolved | This is a followup for #3463, but refactored without the persistence flag which makes this a breaking change. Currently, Requests silently throws away any cookie policies set on a CookieJar as noted in #3416. This patch will preserve the CookiePolicy set on a session-level CookieJar for both redirected and subsequent r... | {
"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/4042/reactions"
} | https://api.github.com/repos/psf/requests/issues/4042/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4042.diff",
"html_url": "https://github.com/psf/requests/pull/4042",
"merged_at": "2017-05-23T14:39:37Z",
"patch_url": "https://github.com/psf/requests/pull/4042.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4042"
} | true | [
"@Lukasa we're going to need to merge in master to get the builds running in 3.0.0 again. I can do it but probably won't get to it till tomorrow. I'll need to strip out get_policy too because it's no longer needed either.",
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4042?src=pr&el=h1) Report\n>... |
https://api.github.com/repos/psf/requests/issues/4041 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4041/labels{/name} | https://api.github.com/repos/psf/requests/issues/4041/comments | https://api.github.com/repos/psf/requests/issues/4041/events | https://github.com/psf/requests/pull/4041 | 230,157,603 | MDExOlB1bGxSZXF1ZXN0MTIxNjI1Nzk0 | 4,041 | Add setup.cfg to declare wheel as universal | {
"avatar_url": "https://avatars.githubusercontent.com/u/347634?v=4",
"events_url": "https://api.github.com/users/jdufresne/events{/privacy}",
"followers_url": "https://api.github.com/users/jdufresne/followers",
"following_url": "https://api.github.com/users/jdufresne/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2017-05-20T14:41:02Z | 2021-09-04T00:06:46Z | 2017-05-20T15:11:12Z | CONTRIBUTOR | resolved | As the project is pure Python, a built wheel should always be universal,
so define in the project globally. Can remove --universal command from
Makefile.
See:
http://pythonwheels.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": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4041/reactions"
} | https://api.github.com/repos/psf/requests/issues/4041/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4041.diff",
"html_url": "https://github.com/psf/requests/pull/4041",
"merged_at": "2017-05-20T15:11:12Z",
"patch_url": "https://github.com/psf/requests/pull/4041.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4041"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4041?src=pr&el=h1) Report\n> Merging [#4041](https://codecov.io/gh/kennethreitz/requests/pull/4041?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/fb3f2a030f82475145369b01adbee68d17bd4f43?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/4040 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4040/labels{/name} | https://api.github.com/repos/psf/requests/issues/4040/comments | https://api.github.com/repos/psf/requests/issues/4040/events | https://github.com/psf/requests/issues/4040 | 230,123,627 | MDU6SXNzdWUyMzAxMjM2Mjc= | 4,040 | Custom Auth Handler - HTTP Method and Body changes not functioning with re-direct | {
"avatar_url": "https://avatars.githubusercontent.com/u/8226358?v=4",
"events_url": "https://api.github.com/users/pfoppe/events{/privacy}",
"followers_url": "https://api.github.com/users/pfoppe/followers",
"following_url": "https://api.github.com/users/pfoppe/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 6 | 2017-05-20T02:09:49Z | 2021-09-08T10:00:38Z | 2017-05-26T14:18:25Z | NONE | resolved | Hello,
I've written a pretty basic Custom Authentication Handler to work with a vendor product we have deployed. This product requires an HTTP request with a username/password to a specific web-endpoint which will generate an 'authentication token' that expires at a set time. This authentication token is then pas... | {
"avatar_url": "https://avatars.githubusercontent.com/u/8226358?v=4",
"events_url": "https://api.github.com/users/pfoppe/events{/privacy}",
"followers_url": "https://api.github.com/users/pfoppe/followers",
"following_url": "https://api.github.com/users/pfoppe/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/4040/reactions"
} | https://api.github.com/repos/psf/requests/issues/4040/timeline | null | completed | null | null | false | [
"Have you considered having the auth handler be stored on the Session object, and also have it do its own request creation to obtain auth tokens? Essentially, if it has an auth token it will just add it to all requests, and if it doesn't it will obtain one by making its own brand new request instead of by mutating ... |
https://api.github.com/repos/psf/requests/issues/4039 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4039/labels{/name} | https://api.github.com/repos/psf/requests/issues/4039/comments | https://api.github.com/repos/psf/requests/issues/4039/events | https://github.com/psf/requests/issues/4039 | 230,024,036 | MDU6SXNzdWUyMzAwMjQwMzY= | 4,039 | GAE - not retrieving cookies from the response | {
"avatar_url": "https://avatars.githubusercontent.com/u/709053?v=4",
"events_url": "https://api.github.com/users/cmin764/events{/privacy}",
"followers_url": "https://api.github.com/users/cmin764/followers",
"following_url": "https://api.github.com/users/cmin764/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"
},
{
"color": "fbca04",
"default": false,... | closed | true | null | [] | null | 6 | 2017-05-19T16:22:24Z | 2021-09-08T01:21:05Z | 2018-08-04T12:31:39Z | NONE | resolved | I've found an issue when using requests with toolbelt through Google App Engine, because of the urllib3 patching with urlfetch. The problem is that the cookie jar is not populated due to a missing attribute (original_response) into the urllib3 response (when switching from sockets to urlfetch and using the HTTPAdapter ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/psf/requests/issues/4039/reactions"
} | https://api.github.com/repos/psf/requests/issues/4039/timeline | null | completed | null | null | false | [
"Sorry, but it's not entirely clear to me where this bug is coming from. What code is causing this attribute to be missing? Because I don't think that problem is in the Requests code, is it?",
"The issue: http://stackoverflow.com/questions/18080556/python-gae-requests-not-returning-cookies-after-get-request/44079... |
https://api.github.com/repos/psf/requests/issues/4038 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4038/labels{/name} | https://api.github.com/repos/psf/requests/issues/4038/comments | https://api.github.com/repos/psf/requests/issues/4038/events | https://github.com/psf/requests/issues/4038 | 229,882,019 | MDU6SXNzdWUyMjk4ODIwMTk= | 4,038 | The Host header is ignored? | {
"avatar_url": "https://avatars.githubusercontent.com/u/1421477?v=4",
"events_url": "https://api.github.com/users/GitBruno/events{/privacy}",
"followers_url": "https://api.github.com/users/GitBruno/followers",
"following_url": "https://api.github.com/users/GitBruno/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 5 | 2017-05-19T06:25:31Z | 2021-09-08T10:00:45Z | 2017-05-19T13:48:17Z | NONE | resolved | I am unable to create a request using a relative path, even when I set the Host header.
`requests.exceptions.MissingSchema: Invalid URL '/wiki/List_of_HTTP_header_fields': No schema supplied. Perhaps you meant http:///wiki/List_of_HTTP_header_fields?`
I expect to be able to configure a Host header and use it in m... | {
"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/4038/reactions"
} | https://api.github.com/repos/psf/requests/issues/4038/timeline | null | completed | null | null | false | [
"Thanks for this!\r\n\r\nI don't know why you expect to be able to do this: Requests has never allowed this, and never documented that it would be possible. We very intentionally require that users provide absolute URIs so there is no ambiguity: for example, in your examples above should Requests be using HTTP or H... |
https://api.github.com/repos/psf/requests/issues/4037 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4037/labels{/name} | https://api.github.com/repos/psf/requests/issues/4037/comments | https://api.github.com/repos/psf/requests/issues/4037/events | https://github.com/psf/requests/issues/4037 | 229,640,099 | MDU6SXNzdWUyMjk2NDAwOTk= | 4,037 | Two transport 'location' headers cause an incorrect url | {
"avatar_url": "https://avatars.githubusercontent.com/u/4683118?v=4",
"events_url": "https://api.github.com/users/evgenykovalyov/events{/privacy}",
"followers_url": "https://api.github.com/users/evgenykovalyov/followers",
"following_url": "https://api.github.com/users/evgenykovalyov/following{/other_user}",
... | [] | closed | true | null | [] | null | 2 | 2017-05-18T11:36:54Z | 2021-09-08T10:00:46Z | 2017-05-18T15:22:20Z | NONE | resolved | I noticed a bug while trying to simulate a login process for a service. At some point I receive a 302 response where there are two Location headers.
```
HTTP/1.1 302 Found
Location: https://some_url.com/
Accept-Ranges: bytes
Location: https://some_url.com/
```
While using the ```Session``` object, I noticed ... | {
"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/4037/reactions"
} | https://api.github.com/repos/psf/requests/issues/4037/timeline | null | completed | null | null | false | [
"So I'm rather certain this is an issue with urllib3's Header handler. It needs a whitelist of which headers are allowed to be repeated and which can be joined with a `,` like you found here.",
"Hey @evgenykovalyov, thanks for taking the time to open this issue. This is actually a dupe of #2939 and should be solv... |
https://api.github.com/repos/psf/requests/issues/4036 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4036/labels{/name} | https://api.github.com/repos/psf/requests/issues/4036/comments | https://api.github.com/repos/psf/requests/issues/4036/events | https://github.com/psf/requests/pull/4036 | 229,502,963 | MDExOlB1bGxSZXF1ZXN0MTIxMTY0MzE0 | 4,036 | Pin sphinx | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-05-17T22:16:11Z | 2021-09-06T00:06:57Z | 2017-05-17T22:47:49Z | MEMBER | resolved | This will fix the build issues in Python 2.6 due to Sphinx's new requirement of `typing` in versions 1.6+. This pinning (capping) should only be in place until a solution for representing markers is introduced in Pipfile.
While we're here doing cleanup, I've also removed the no longer needed `pipenv lock` before eac... | {
"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/4036/reactions"
} | https://api.github.com/repos/psf/requests/issues/4036/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4036.diff",
"html_url": "https://github.com/psf/requests/pull/4036",
"merged_at": "2017-05-17T22:47:49Z",
"patch_url": "https://github.com/psf/requests/pull/4036.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4036"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4036?src=pr&el=h1) Report\n> Merging [#4036](https://codecov.io/gh/kennethreitz/requests/pull/4036?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/0280a18b53aef5e09fa0a2886077b0ede5e89e79?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/4035 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4035/labels{/name} | https://api.github.com/repos/psf/requests/issues/4035/comments | https://api.github.com/repos/psf/requests/issues/4035/events | https://github.com/psf/requests/issues/4035 | 229,441,939 | MDU6SXNzdWUyMjk0NDE5Mzk= | 4,035 | The case of the haunted stream request | {
"avatar_url": "https://avatars.githubusercontent.com/u/381280?v=4",
"events_url": "https://api.github.com/users/jacquerie/events{/privacy}",
"followers_url": "https://api.github.com/users/jacquerie/followers",
"following_url": "https://api.github.com/users/jacquerie/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2017-05-17T18:08:29Z | 2021-09-08T10:00:48Z | 2017-05-17T18:15:29Z | NONE | resolved | Hi,
I'm not sure if this is a bug in `requests` or a misconfiguration in the server I'm interacting with, but I have the following very puzzling result:
```python
>>> from requests import get
>>> response = get('http://edok01.tib.uni-hannover.de/edoks/e01dh15/815761511.pdf', stream=True)
>>> next(response.iter_c... | {
"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/4035/reactions"
} | https://api.github.com/repos/psf/requests/issues/4035/timeline | null | completed | null | null | false | [
"`iter_content` transparently decompresses gzipped data received from the server. This means that when we receive bytes from the network we don't know how many bytes that will actually resolve into. For that reason, we don't guarantee that you'll get literally that number of bytes: we just promise that you won't ge... |
https://api.github.com/repos/psf/requests/issues/4034 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4034/labels{/name} | https://api.github.com/repos/psf/requests/issues/4034/comments | https://api.github.com/repos/psf/requests/issues/4034/events | https://github.com/psf/requests/issues/4034 | 229,441,147 | MDU6SXNzdWUyMjk0NDExNDc= | 4,034 | POST header Content-Length with negative value | {
"avatar_url": "https://avatars.githubusercontent.com/u/28763083?v=4",
"events_url": "https://api.github.com/users/msvicky1206/events{/privacy}",
"followers_url": "https://api.github.com/users/msvicky1206/followers",
"following_url": "https://api.github.com/users/msvicky1206/following{/other_user}",
"gists_u... | [] | closed | true | null | [] | null | 1 | 2017-05-17T18:05:20Z | 2021-09-08T10:00:48Z | 2017-05-17T18:10:06Z | NONE | resolved | Im new to requests and to http methods.
Im trying to test an server accepting http calls. As part of validation, Im trying to set negative value to 'Content-Length' header and expect 400 'Bad request' but requests.post() returns 200.
I also observed that in POST request headers, content-length is modified to actual v... | {
"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/4034/reactions"
} | https://api.github.com/repos/psf/requests/issues/4034/timeline | null | completed | null | null | false | [
"Requests is not intended as a HTTP testing tool: in particular, it is not intended to allow you to craft malformed HTTP requests. If that's what you're looking for you'll need to find a different tool for that."
] |
https://api.github.com/repos/psf/requests/issues/4033 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4033/labels{/name} | https://api.github.com/repos/psf/requests/issues/4033/comments | https://api.github.com/repos/psf/requests/issues/4033/events | https://github.com/psf/requests/pull/4033 | 229,436,675 | MDExOlB1bGxSZXF1ZXN0MTIxMTE1MzAw | 4,033 | Test that the readme renders in CI. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2017-05-17T17:47:58Z | 2021-09-06T00:06:56Z | 2017-05-18T01:41:01Z | MEMBER | resolved | Resolves #4030. | {
"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/4033/reactions"
} | https://api.github.com/repos/psf/requests/issues/4033/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4033.diff",
"html_url": "https://github.com/psf/requests/pull/4033",
"merged_at": "2017-05-18T01:41:01Z",
"patch_url": "https://github.com/psf/requests/pull/4033.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4033"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4033?src=pr&el=h1) Report\n> Merging [#4033](https://codecov.io/gh/kennethreitz/requests/pull/4033?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/da292953695122c84ac9e95b115142532a180fe1?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/4032 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4032/labels{/name} | https://api.github.com/repos/psf/requests/issues/4032/comments | https://api.github.com/repos/psf/requests/issues/4032/events | https://github.com/psf/requests/issues/4032 | 229,423,331 | MDU6SXNzdWUyMjk0MjMzMzE= | 4,032 | Allow verify parameter to take a file-like object such as StringIO | {
"avatar_url": "https://avatars.githubusercontent.com/u/7624997?v=4",
"events_url": "https://api.github.com/users/ronanpaixao/events{/privacy}",
"followers_url": "https://api.github.com/users/ronanpaixao/followers",
"following_url": "https://api.github.com/users/ronanpaixao/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 7 | 2017-05-17T16:56:54Z | 2021-09-01T00:11:24Z | 2017-05-17T16:59:05Z | NONE | resolved | Sometimes it is useful and more efficient to have SSL certificate data on memory, like when grabbing certificates from the Windows Certificate Store or some other non-file source.
As it is implemented now, requests neither grabs the certificates from the OS nor allows simple usage from a file-like object. Thus, the ... | {
"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": 4,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/psf/requests/issues/4032/reactions"
} | https://api.github.com/repos/psf/requests/issues/4032/timeline | null | completed | null | null | false | [
"Requests is unlikely to support this on the `verify` kwarg because it interacts very poorly with the API for pointing to a directory or file. However, you can use a Transport Adapter to pass an SSLContext object to do the validation, and this object can almost certainly load the data from a string. See [this expla... |
https://api.github.com/repos/psf/requests/issues/4031 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4031/labels{/name} | https://api.github.com/repos/psf/requests/issues/4031/comments | https://api.github.com/repos/psf/requests/issues/4031/events | https://github.com/psf/requests/issues/4031 | 229,392,725 | MDU6SXNzdWUyMjkzOTI3MjU= | 4,031 | unvendor dependencies for 3.0.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 44501249,
"name": "Needs BDFL Input",
"node_id": "MDU6TGFiZWw0NDUwMTI0OQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Needs%20BDFL%20Input"
},
{
"color": "fef2c0",
"default": false,
"descrip... | 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}... | {
"closed_at": null,
"closed_issues": 29,
"created_at": "2013-11-17T11:29:34Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
... | 17 | 2017-05-17T15:26:43Z | 2021-09-08T10:00:37Z | 2017-05-27T03:50:42Z | CONTRIBUTOR | resolved | thoughts? | {
"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/4031/reactions"
} | https://api.github.com/repos/psf/requests/issues/4031/timeline | null | completed | null | null | false | [
"/cc @sigmavirus24 @Lukasa \r\n\r\nI'm not sold that it's a good idea. I just like change. Maybe it's time. ",
"I'm not sold on it being a good idea either. Presently projects *may* do the following:\r\n\r\n```\r\n# requirements.txt\r\nrequests>=2.14.2\r\nurllib3==1.20.0\r\nchardet<2.0.0\r\n```\r\n\r\nIn this cas... |
https://api.github.com/repos/psf/requests/issues/4030 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4030/labels{/name} | https://api.github.com/repos/psf/requests/issues/4030/comments | https://api.github.com/repos/psf/requests/issues/4030/events | https://github.com/psf/requests/issues/4030 | 229,375,476 | MDU6SXNzdWUyMjkzNzU0NzY= | 4,030 | fix pypi page | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"... | closed | true | null | [] | null | 3 | 2017-05-17T14:38:38Z | 2021-09-08T10:00:47Z | 2017-05-18T01:41:01Z | CONTRIBUTOR | resolved | markup is bad
https://pypi.python.org/pypi/requests/ | {
"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/4030/reactions"
} | https://api.github.com/repos/psf/requests/issues/4030/timeline | null | completed | null | null | false | [
"The `readme` package would help us detect this if we added it to our CI",
"@sigmavirus24 i'm all for it! I think having that page in tip-top shape is top-priority!",
"See #4033."
] |
https://api.github.com/repos/psf/requests/issues/4029 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4029/labels{/name} | https://api.github.com/repos/psf/requests/issues/4029/comments | https://api.github.com/repos/psf/requests/issues/4029/events | https://github.com/psf/requests/pull/4029 | 229,373,463 | MDExOlB1bGxSZXF1ZXN0MTIxMDcyOTE3 | 4,029 | Fix #4025 | {
"avatar_url": "https://avatars.githubusercontent.com/u/839339?v=4",
"events_url": "https://api.github.com/users/kaptajnen/events{/privacy}",
"followers_url": "https://api.github.com/users/kaptajnen/followers",
"following_url": "https://api.github.com/users/kaptajnen/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 10 | 2017-05-17T14:32:46Z | 2021-09-06T00:06:55Z | 2017-05-18T16:05:41Z | CONTRIBUTOR | resolved | Fixes #4025 by basically not doing anything when HTTP is used | {
"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/4029/reactions"
} | https://api.github.com/repos/psf/requests/issues/4029/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4029.diff",
"html_url": "https://github.com/psf/requests/pull/4029",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4029.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4029"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4029?src=pr&el=h1) Report\n> Merging [#4029](https://codecov.io/gh/kennethreitz/requests/pull/4029?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/0280a18b53aef5e09fa0a2886077b0ede5e89e79?src=pr&el=desc) will **increase**... |
https://api.github.com/repos/psf/requests/issues/4028 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4028/labels{/name} | https://api.github.com/repos/psf/requests/issues/4028/comments | https://api.github.com/repos/psf/requests/issues/4028/events | https://github.com/psf/requests/issues/4028 | 229,316,732 | MDU6SXNzdWUyMjkzMTY3MzI= | 4,028 | Session send auth only with one request | {
"avatar_url": "https://avatars.githubusercontent.com/u/16837024?v=4",
"events_url": "https://api.github.com/users/Smosker/events{/privacy}",
"followers_url": "https://api.github.com/users/Smosker/followers",
"following_url": "https://api.github.com/users/Smosker/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 1 | 2017-05-17T11:10:20Z | 2021-09-08T10:00:49Z | 2017-05-17T13:00:48Z | NONE | resolved | Using session object like this:
```
import requests
session = requests.Session()
session.auth = (u'user', 'test')
session.verify = False
response = session.get(url='https://my_url/rest/api/1.0/users')
```
if i looking for this response request headers i see:
`{'Authorization': 'Basic auth_data', 'Connection': ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/16837024?v=4",
"events_url": "https://api.github.com/users/Smosker/events{/privacy}",
"followers_url": "https://api.github.com/users/Smosker/followers",
"following_url": "https://api.github.com/users/Smosker/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/4028/reactions"
} | https://api.github.com/repos/psf/requests/issues/4028/timeline | null | completed | null | null | false | [
"Solve problem - it was because of redirect"
] |
https://api.github.com/repos/psf/requests/issues/4027 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4027/labels{/name} | https://api.github.com/repos/psf/requests/issues/4027/comments | https://api.github.com/repos/psf/requests/issues/4027/events | https://github.com/psf/requests/pull/4027 | 229,196,312 | MDExOlB1bGxSZXF1ZXN0MTIwOTQ2MTY0 | 4,027 | Include tests in sdist tarball | {
"avatar_url": "https://avatars.githubusercontent.com/u/504287?v=4",
"events_url": "https://api.github.com/users/floppym/events{/privacy}",
"followers_url": "https://api.github.com/users/floppym/followers",
"following_url": "https://api.github.com/users/floppym/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2017-05-16T23:24:10Z | 2021-09-06T00:06:56Z | 2017-05-18T15:24:27Z | CONTRIBUTOR | resolved | Fixes: https://github.com/kennethreitz/requests/issues/4024 | {
"avatar_url": "https://avatars.githubusercontent.com/u/504287?v=4",
"events_url": "https://api.github.com/users/floppym/events{/privacy}",
"followers_url": "https://api.github.com/users/floppym/followers",
"following_url": "https://api.github.com/users/floppym/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/4027/reactions"
} | https://api.github.com/repos/psf/requests/issues/4027/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4027.diff",
"html_url": "https://github.com/psf/requests/pull/4027",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/4027.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4027"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4027?src=pr&el=h1) Report\n> Merging [#4027](https://codecov.io/gh/kennethreitz/requests/pull/4027?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/0280a18b53aef5e09fa0a2886077b0ede5e89e79?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/4026 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4026/labels{/name} | https://api.github.com/repos/psf/requests/issues/4026/comments | https://api.github.com/repos/psf/requests/issues/4026/events | https://github.com/psf/requests/pull/4026 | 229,192,828 | MDExOlB1bGxSZXF1ZXN0MTIwOTQzNTg0 | 4,026 | Include tests in sdist tarball | {
"avatar_url": "https://avatars.githubusercontent.com/u/504287?v=4",
"events_url": "https://api.github.com/users/floppym/events{/privacy}",
"followers_url": "https://api.github.com/users/floppym/followers",
"following_url": "https://api.github.com/users/floppym/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 10 | 2017-05-16T23:02:02Z | 2021-09-06T00:06:56Z | 2017-05-18T14:50:40Z | CONTRIBUTOR | resolved | Fixes: https://github.com/kennethreitz/requests/issues/4024 | {
"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/4026/reactions"
} | https://api.github.com/repos/psf/requests/issues/4026/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4026.diff",
"html_url": "https://github.com/psf/requests/pull/4026",
"merged_at": "2017-05-18T14:50:40Z",
"patch_url": "https://github.com/psf/requests/pull/4026.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4026"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4026?src=pr&el=h1) Report\n> Merging [#4026](https://codecov.io/gh/kennethreitz/requests/pull/4026?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/0280a18b53aef5e09fa0a2886077b0ede5e89e79?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/4025 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4025/labels{/name} | https://api.github.com/repos/psf/requests/issues/4025/comments | https://api.github.com/repos/psf/requests/issues/4025/events | https://github.com/psf/requests/issues/4025 | 229,176,490 | MDU6SXNzdWUyMjkxNzY0OTA= | 4,025 | Session with cert set can't do HTTP connections | {
"avatar_url": "https://avatars.githubusercontent.com/u/839339?v=4",
"events_url": "https://api.github.com/users/kaptajnen/events{/privacy}",
"followers_url": "https://api.github.com/users/kaptajnen/followers",
"following_url": "https://api.github.com/users/kaptajnen/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2017-05-16T21:37:15Z | 2021-09-08T10:00:46Z | 2017-05-18T16:05:15Z | CONTRIBUTOR | resolved | It is not clear from the documentation if this is supposed to work, but it did work previously.
If you set the cert attribute on a Session and then make an HTTP request, an AttributeError exception is thrown since `key_file` does not exist on an HTTPConnectionPool object. This behavior was introduced in [this commit... | {
"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/4025/reactions"
} | https://api.github.com/repos/psf/requests/issues/4025/timeline | null | completed | null | null | false | [
"Yup, this is definitely a bug. Feel free to take a swing at this if you're interested, otherwise I'll try to fix it tomorrow. ",
"I've added a pull request. I'm not familiar with the requests code but I think my simple fix of just not doing anything unless HTTPS is used should work (the tests pass at least)."
] |
https://api.github.com/repos/psf/requests/issues/4024 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4024/labels{/name} | https://api.github.com/repos/psf/requests/issues/4024/comments | https://api.github.com/repos/psf/requests/issues/4024/events | https://github.com/psf/requests/issues/4024 | 229,157,926 | MDU6SXNzdWUyMjkxNTc5MjY= | 4,024 | pypi tarballs are missing tests directory | {
"avatar_url": "https://avatars.githubusercontent.com/u/504287?v=4",
"events_url": "https://api.github.com/users/floppym/events{/privacy}",
"followers_url": "https://api.github.com/users/floppym/followers",
"following_url": "https://api.github.com/users/floppym/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 6 | 2017-05-16T20:24:06Z | 2021-09-08T10:00:47Z | 2017-05-18T14:50:40Z | CONTRIBUTOR | resolved | The tests are missing from the pypi tarballs for at least a few releases.
Oddly, when I run `python setup.py sdist` from a git checkout, the resulting tarball does have the tests; I'm not sure how that is working. | {
"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/4024/reactions"
} | https://api.github.com/repos/psf/requests/issues/4024/timeline | null | completed | null | null | false | [
"Which releases are affected?",
"@Lukasa, I believe this is related to moving the tests into their own directory starting in 2.10.\r\n\r\n#4015 probably should have been to change test_requests.py to 'tests' in MANIFEST.in rather than removing the bad filename.",
"I checked the tarballs for the following releas... |
https://api.github.com/repos/psf/requests/issues/4023 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4023/labels{/name} | https://api.github.com/repos/psf/requests/issues/4023/comments | https://api.github.com/repos/psf/requests/issues/4023/events | https://github.com/psf/requests/issues/4023 | 229,144,728 | MDU6SXNzdWUyMjkxNDQ3Mjg= | 4,023 | Requests extremely slow compared to urllib.request.urlopen | {
"avatar_url": "https://avatars.githubusercontent.com/u/1117703?v=4",
"events_url": "https://api.github.com/users/dhimmel/events{/privacy}",
"followers_url": "https://api.github.com/users/dhimmel/followers",
"following_url": "https://api.github.com/users/dhimmel/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 9 | 2017-05-16T19:32:59Z | 2018-11-04T13:37:11Z | 2017-05-17T17:20:05Z | NONE | resolved | I'm having poor performance getting the following URL using requests:
```
http://greycite.knowledgeblog.org/json?uri=http%3A%2F%2Fblog.dhimmel.com%2Firreproducible-timestamps%2F
```
The following notebook screenshot highlights the issue:
\r\n```\r\nThe web server receives this as the HTTP header:\r\n`127.0.0.1 - - [15/May/2017 14:52:35] \"GET /%C3%A8 ... |
https://api.github.com/repos/psf/requests/issues/4021 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4021/labels{/name} | https://api.github.com/repos/psf/requests/issues/4021/comments | https://api.github.com/repos/psf/requests/issues/4021/events | https://github.com/psf/requests/issues/4021 | 228,673,701 | MDU6SXNzdWUyMjg2NzM3MDE= | 4,021 | Requests issue with PyInstaller: Import error: No module named ordered_dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/28704581?v=4",
"events_url": "https://api.github.com/users/pablocoo/events{/privacy}",
"followers_url": "https://api.github.com/users/pablocoo/followers",
"following_url": "https://api.github.com/users/pablocoo/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2017-05-15T10:38:53Z | 2021-09-08T10:00:51Z | 2017-05-15T11:49:58Z | NONE | resolved | I'm trying to create executable for my script, which uses `requests `module.
When running I get error:
> Import error: No module named ordered_dict
After further inspection the problem occurs in requests/compat.py file, on:
`from .packages.urllib3.packages.ordered_dict import OrderedDict`
I think the the prob... | {
"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/4021/reactions"
} | https://api.github.com/repos/psf/requests/issues/4021/timeline | null | completed | null | null | false | [
"This is a PyInstaller problem, not a Requests one. When you install Requests from pip, it comes with the packages subdirectory populated. If it's not being populated when you use PyInstaller, then PyInstaller has lost track of what code it needs. You'll need to take it up with the maintainers of PyInstaller."
] |
https://api.github.com/repos/psf/requests/issues/4020 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4020/labels{/name} | https://api.github.com/repos/psf/requests/issues/4020/comments | https://api.github.com/repos/psf/requests/issues/4020/events | https://github.com/psf/requests/issues/4020 | 228,543,096 | MDU6SXNzdWUyMjg1NDMwOTY= | 4,020 | GAE - Error during the import _winreg | {
"avatar_url": "https://avatars.githubusercontent.com/u/11619400?v=4",
"events_url": "https://api.github.com/users/avilla-br/events{/privacy}",
"followers_url": "https://api.github.com/users/avilla-br/followers",
"following_url": "https://api.github.com/users/avilla-br/following{/other_user}",
"gists_url": "... | [
{
"color": "fbca04",
"default": false,
"description": null,
"id": 615414998,
"name": "GAE Support",
"node_id": "MDU6TGFiZWw2MTU0MTQ5OTg=",
"url": "https://api.github.com/repos/psf/requests/labels/GAE%20Support"
}
] | closed | true | null | [] | null | 13 | 2017-05-14T13:49:36Z | 2021-09-08T07:00:35Z | 2017-07-29T23:01:08Z | NONE | resolved | Hi,
I use GAE - Google Application Engine - and my project raises error during 'import requests' when it is ran under GAE sandbox (locally).
GAE doesn't have _winreg in sys.modules and the _winreg is called by platform.py. In platform.py: system() function -> uname() -> win32_ver() -> import _winreg.
'platform... | {
"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/4020/reactions"
} | https://api.github.com/repos/psf/requests/issues/4020/timeline | null | completed | null | null | false | [
"It's a problem with Requests: we removed some error handling code there as we didn't think there was any situation where that module would not be present: apparently we were wrong. 😟\r\n\r\n@schlamar; want to fix this up?",
"Remark: I use Windows 10 and Python 2.7, because it is a GAE limitation. I want to impo... |
https://api.github.com/repos/psf/requests/issues/4019 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4019/labels{/name} | https://api.github.com/repos/psf/requests/issues/4019/comments | https://api.github.com/repos/psf/requests/issues/4019/events | https://github.com/psf/requests/issues/4019 | 228,407,219 | MDU6SXNzdWUyMjg0MDcyMTk= | 4,019 | OpenSSL issue when vendoring requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/14895024?v=4",
"events_url": "https://api.github.com/users/jonathan-ku-reflektion/events{/privacy}",
"followers_url": "https://api.github.com/users/jonathan-ku-reflektion/followers",
"following_url": "https://api.github.com/users/jonathan-ku-reflektion/fo... | [] | closed | true | null | [] | null | 2 | 2017-05-12T21:01:22Z | 2021-09-08T10:00:50Z | 2017-05-13T14:14:28Z | NONE | resolved | I was trying to vendor requests in my own library. I used a similar vendoring structure as requests and I put requests under ceslib/packages
However, when I am trying to send a HTTPS request, I see the following error.
It seems like OpenSSL needs to be vendored by requests too?
Code Snippet:
```
import packages.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/4019/reactions"
} | https://api.github.com/repos/psf/requests/issues/4019/timeline | null | completed | null | null | false | [
"Nope, you aren't missing OpenSSL, you're missing the certs bundle `cacerts.pem` in the requests code directory. Looks like you misplaced it in your vendoring.",
"Thank you. Was able to solve this problem by updating the vendored version from 2.13.0 to 2.14.2"
] |
https://api.github.com/repos/psf/requests/issues/4018 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4018/labels{/name} | https://api.github.com/repos/psf/requests/issues/4018/comments | https://api.github.com/repos/psf/requests/issues/4018/events | https://github.com/psf/requests/issues/4018 | 228,350,588 | MDU6SXNzdWUyMjgzNTA1ODg= | 4,018 | requests.exceptions.SSLError.__str__ returns non-string type | {
"avatar_url": "https://avatars.githubusercontent.com/u/10983875?v=4",
"events_url": "https://api.github.com/users/dev-dull/events{/privacy}",
"followers_url": "https://api.github.com/users/dev-dull/followers",
"following_url": "https://api.github.com/users/dev-dull/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2017-05-12T16:58:01Z | 2021-09-08T10:00:52Z | 2017-05-12T17:02:10Z | NONE | resolved | requests 2.4.3
python 2.7.9
os: Debian Jesse
I looked through the release notes from 2.4.3 to present and didn't see this one as fixed.
Issue:
requests.exceptions.SSLError is raised, but when the error is printed or cast to string, another error is thrown stating that __str__ returned a non-string.
Just 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/4018/reactions"
} | https://api.github.com/repos/psf/requests/issues/4018/timeline | null | completed | null | null | false | [
"Before reporting this issue to us, can you please report to the Debian maintainers? We are no longer providing support for 2.4.3, so unless it can be reproduced on the current release we're not really able to do much for you. However, the Debian maintainers from whom you installed the package *are* supporting that... |
https://api.github.com/repos/psf/requests/issues/4017 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4017/labels{/name} | https://api.github.com/repos/psf/requests/issues/4017/comments | https://api.github.com/repos/psf/requests/issues/4017/events | https://github.com/psf/requests/issues/4017 | 227,782,610 | MDU6SXNzdWUyMjc3ODI2MTA= | 4,017 | Cookies not passed to redirect | {
"avatar_url": "https://avatars.githubusercontent.com/u/7799980?v=4",
"events_url": "https://api.github.com/users/allComputableThings/events{/privacy}",
"followers_url": "https://api.github.com/users/allComputableThings/followers",
"following_url": "https://api.github.com/users/allComputableThings/following{/o... | [] | closed | true | null | [] | null | 2 | 2017-05-10T19:17:30Z | 2021-09-08T10:00:53Z | 2017-05-10T20:29:27Z | NONE | resolved | If I:
`requests.post(LOGIN_URL, data=DATA, headers=HEADERS)`
and the initial response is a redirect with with new cookies in the response, it seems the cookies are passed to the redirected request and the above may receive no cookies. :-(
If I do
`requests.post(LOGIN_URL, data=DATA, headers=HEADERS, allow_... | {
"avatar_url": "https://avatars.githubusercontent.com/u/7799980?v=4",
"events_url": "https://api.github.com/users/allComputableThings/events{/privacy}",
"followers_url": "https://api.github.com/users/allComputableThings/followers",
"following_url": "https://api.github.com/users/allComputableThings/following{/o... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4017/reactions"
} | https://api.github.com/repos/psf/requests/issues/4017/timeline | null | completed | null | null | false | [
"Sorry, I need some more information. Requests absolutely *does* persist cookies like a browser does. Where are your cookies coming from? Are you setting them in the headers, or is the server setting them?",
"This is the behavior for 2.14.2\r\n\r\nWithout redirects:\r\n```\r\n r = requests.post(LOGIN_URL, data=... |
https://api.github.com/repos/psf/requests/issues/4016 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4016/labels{/name} | https://api.github.com/repos/psf/requests/issues/4016/comments | https://api.github.com/repos/psf/requests/issues/4016/events | https://github.com/psf/requests/issues/4016 | 227,760,094 | MDU6SXNzdWUyMjc3NjAwOTQ= | 4,016 | Error when requesting subdomain from localhost | {
"avatar_url": "https://avatars.githubusercontent.com/u/9379317?v=4",
"events_url": "https://api.github.com/users/markokajzer/events{/privacy}",
"followers_url": "https://api.github.com/users/markokajzer/followers",
"following_url": "https://api.github.com/users/markokajzer/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-05-10T17:50:07Z | 2021-09-08T10:00:54Z | 2017-05-10T19:07:42Z | NONE | resolved | Requesting a subdomain from localhost does not work.
As you can see requesting a url without subdomain from localhost works. When adding a subdomain "[Errno 8] nodename nor servname provided, or not known" is raised.
```python
import requests
requests.get('http://localhost:3000/highlights')
==> <Response [404]>
... | {
"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/4016/reactions"
} | https://api.github.com/repos/psf/requests/issues/4016/timeline | null | completed | null | null | false | [
"You need to add a hosts file entry. Sub domains of local host do not automatically resolve to the loop back address, and generally speaking are not well defined. This problem is really nothing to do with Requests: your OS is responsible for resolving names into IP addresses."
] |
https://api.github.com/repos/psf/requests/issues/4015 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4015/labels{/name} | https://api.github.com/repos/psf/requests/issues/4015/comments | https://api.github.com/repos/psf/requests/issues/4015/events | https://github.com/psf/requests/pull/4015 | 227,732,129 | MDExOlB1bGxSZXF1ZXN0MTE5OTIxNDc4 | 4,015 | remove old test_requests.py listing from MANIFEST.in | {
"avatar_url": "https://avatars.githubusercontent.com/u/5271761?v=4",
"events_url": "https://api.github.com/users/nateprewitt/events{/privacy}",
"followers_url": "https://api.github.com/users/nateprewitt/followers",
"following_url": "https://api.github.com/users/nateprewitt/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 1 | 2017-05-10T16:06:54Z | 2021-09-05T00:07:17Z | 2017-05-10T19:04:04Z | MEMBER | resolved | This is a trivial fix to address a warning pointed out in #4012.
`test_requests.py` was moved from the top level directory into the `tests` directory in 2.10.0 but the MANIFEST.in wasn't updated afterwards. Installing from setup.py produces a warning (`no files found matching 'test_requests.py'`). This patch will 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/4015/reactions"
} | https://api.github.com/repos/psf/requests/issues/4015/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4015.diff",
"html_url": "https://github.com/psf/requests/pull/4015",
"merged_at": "2017-05-10T19:04:04Z",
"patch_url": "https://github.com/psf/requests/pull/4015.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4015"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4015?src=pr&el=h1) Report\n> Merging [#4015](https://codecov.io/gh/kennethreitz/requests/pull/4015?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/e4693eba4f429230d482ca50d0a537fc13ea6884?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/4014 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4014/labels{/name} | https://api.github.com/repos/psf/requests/issues/4014/comments | https://api.github.com/repos/psf/requests/issues/4014/events | https://github.com/psf/requests/pull/4014 | 227,677,833 | MDExOlB1bGxSZXF1ZXN0MTE5ODgxMjc2 | 4,014 | Remove range operators from markers. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 2 | 2017-05-10T13:20:58Z | 2021-09-06T00:06:58Z | 2017-05-10T14:02:55Z | MEMBER | resolved | Resolves #4013.
It turns out that older setuptools were pretty stupid and couldn't handle range operators, but they *can* handle parentheses and the word "or". So let's do that instead. | {
"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/4014/reactions"
} | https://api.github.com/repos/psf/requests/issues/4014/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4014.diff",
"html_url": "https://github.com/psf/requests/pull/4014",
"merged_at": "2017-05-10T14:02:55Z",
"patch_url": "https://github.com/psf/requests/pull/4014.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4014"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/4014?src=pr&el=h1) Report\n> Merging [#4014](https://codecov.io/gh/kennethreitz/requests/pull/4014?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/3618f3f68ed7b4efe5a6adf6ddf2f413dc71d0e8?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/4013 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4013/labels{/name} | https://api.github.com/repos/psf/requests/issues/4013/comments | https://api.github.com/repos/psf/requests/issues/4013/events | https://github.com/psf/requests/issues/4013 | 227,666,894 | MDU6SXNzdWUyMjc2NjY4OTQ= | 4,013 | Amazon Linux easy_install incompatible with 2.14.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/19824146?v=4",
"events_url": "https://api.github.com/users/jfwarner/events{/privacy}",
"followers_url": "https://api.github.com/users/jfwarner/followers",
"following_url": "https://api.github.com/users/jfwarner/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 6 | 2017-05-10T12:43:45Z | 2021-09-08T10:00:55Z | 2017-05-10T14:02:55Z | NONE | resolved | I've been following #4006 #4012 and I'm aware the guidance is to update to a newer pip, and that easy_install is not supported. I just wanted to make the case that not all of us have a choice on python package manager.
Take my case - I'm using Amazon Linux bootstrapped by Amazon CloudFormation. We give the CloudForm... | {
"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/4013/reactions"
} | https://api.github.com/repos/psf/requests/issues/4013/timeline | null | completed | null | null | false | [
"@jfwarner Thanks for this report.\r\n\r\nIs it not possible to [upgrade the version of setuptools before you run cloudformation](https://gist.github.com/kixorz/10194688)? That will likely resolve your issue.",
"Unfortunately setuptools 12.2 is the latest and greatest available from Amazon Linux's yum repo.\r\n\r... |
https://api.github.com/repos/psf/requests/issues/4012 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4012/labels{/name} | https://api.github.com/repos/psf/requests/issues/4012/comments | https://api.github.com/repos/psf/requests/issues/4012/events | https://github.com/psf/requests/issues/4012 | 227,649,635 | MDU6SXNzdWUyMjc2NDk2MzU= | 4,012 | Invalid environment marker | {
"avatar_url": "https://avatars.githubusercontent.com/u/1065155?v=4",
"events_url": "https://api.github.com/users/atarkowska/events{/privacy}",
"followers_url": "https://api.github.com/users/atarkowska/followers",
"following_url": "https://api.github.com/users/atarkowska/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 13 | 2017-05-10T11:32:28Z | 2021-09-08T10:00:54Z | 2017-05-10T11:56:46Z | NONE | resolved | requests 2.14+ centos7 py27
```
omeroweb_1 | Running setup.py egg_info for package requests
omeroweb_1 | error in requests setup command: Invalid environment marker: platform_system == "Windows" and python_version<"3.3"
omeroweb_1 | Complete output from command python setup.py egg_info:
omeroweb_1 ... | {
"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/4012/reactions"
} | https://api.github.com/repos/psf/requests/issues/4012/timeline | null | completed | null | null | false | [
"Are you sure you receive the exact same output for 2.14 and 2.14.1? Because this appears to be a duplicate of #4006, which should have been resolved by #4007 in 2.14.1.",
"yes because https://github.com/ome/omero-mapr/blob/master/requirements.txt#L1\r\n\r\nI have to `requests==2.13.0`",
"@aleksandra-tarkowska ... |
https://api.github.com/repos/psf/requests/issues/4011 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4011/labels{/name} | https://api.github.com/repos/psf/requests/issues/4011/comments | https://api.github.com/repos/psf/requests/issues/4011/events | https://github.com/psf/requests/issues/4011 | 227,611,425 | MDU6SXNzdWUyMjc2MTE0MjU= | 4,011 | Install fails 2.14.x | {
"avatar_url": "https://avatars.githubusercontent.com/u/95203?v=4",
"events_url": "https://api.github.com/users/rohityadavcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/rohityadavcloud/followers",
"following_url": "https://api.github.com/users/rohityadavcloud/following{/other_user}",
... | [] | closed | true | null | [] | null | 6 | 2017-05-10T09:00:32Z | 2021-09-08T10:00:55Z | 2017-05-10T09:24:22Z | NONE | resolved | The pypi page is not loading as well:
https://pypi.python.org/pypi/requests/2.14.1
Logs:
07:58:51 Processing requests-2.14.1.tar.gz
07:58:51 Writing /tmp/easy_install-WACg1D/requests-2.14.1/setup.cfg
07:58:51 Running requests-2.14.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-WACg1D/requests-2.14.1/egg-di... | {
"avatar_url": "https://avatars.githubusercontent.com/u/95203?v=4",
"events_url": "https://api.github.com/users/rohityadavcloud/events{/privacy}",
"followers_url": "https://api.github.com/users/rohityadavcloud/followers",
"following_url": "https://api.github.com/users/rohityadavcloud/following{/other_user}",
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4011/reactions"
} | https://api.github.com/repos/psf/requests/issues/4011/timeline | null | completed | null | null | false | [
"Thanks, I think this is an issue with your system. What OS are you running, and can you print out the version of pip you have installed please? This is almost certainly related to #4006.",
"@Lukasa I just checked our Jenkins/Ansible setup, we're running `easy_install cloudmonkey` that depends on requests: https:... |
https://api.github.com/repos/psf/requests/issues/4010 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4010/labels{/name} | https://api.github.com/repos/psf/requests/issues/4010/comments | https://api.github.com/repos/psf/requests/issues/4010/events | https://github.com/psf/requests/issues/4010 | 227,527,675 | MDU6SXNzdWUyMjc1Mjc2NzU= | 4,010 | requests 2.14.x erroring when using a custom HTTPSConnectionPool | {
"avatar_url": "https://avatars.githubusercontent.com/u/151667?v=4",
"events_url": "https://api.github.com/users/ludokx/events{/privacy}",
"followers_url": "https://api.github.com/users/ludokx/followers",
"following_url": "https://api.github.com/users/ludokx/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 2 | 2017-05-09T23:34:42Z | 2021-09-08T10:00:56Z | 2017-05-10T00:58:38Z | NONE | resolved | This worked fine with 2.13.0 but started failing today since 2.14.0, this is the stacktrace
```
Traceback (most recent call last):
File "requests_test.py", line 31, in <module>
s.request(method='GET', url='https://google.com')
File "/Users/ludo/Library/Python/2.7/lib/python/site-packages/requests/sessions.... | {
"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/4010/reactions"
} | https://api.github.com/repos/psf/requests/issues/4010/timeline | null | completed | null | null | false | [
"I believe this is fixed with #4007 please upgrade to 2.14.1.",
"I'm not sure if this is actually related to #4007. Some work was done in urllib3 1.21 to allow the use of pool_kwargs in the `connection_from_*` functions. Part of [this commit](https://github.com/shazow/urllib3/commit/7c14966fc134146223650a8393e17e... |
https://api.github.com/repos/psf/requests/issues/4009 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4009/labels{/name} | https://api.github.com/repos/psf/requests/issues/4009/comments | https://api.github.com/repos/psf/requests/issues/4009/events | https://github.com/psf/requests/issues/4009 | 227,521,850 | MDU6SXNzdWUyMjc1MjE4NTA= | 4,009 | OSError Tunnel connection failed: 400 Bad Request | {
"avatar_url": "https://avatars.githubusercontent.com/u/11723331?v=4",
"events_url": "https://api.github.com/users/ed-biz23/events{/privacy}",
"followers_url": "https://api.github.com/users/ed-biz23/followers",
"following_url": "https://api.github.com/users/ed-biz23/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 11 | 2017-05-09T22:58:10Z | 2019-04-03T12:58:44Z | 2017-07-29T23:09:45Z | NONE | resolved | Hi, I'm using Requests version 2.14.1, but I'm having problem with HTTPS request when using proxies.(works fine with http url) *My proxies are already ip authorized.* I'm novice to programming so I cant exactly figure out what I'm doing wrong.
```python
import requests, random, time
proxies_list = [
'104.15... | {
"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/4009/reactions"
} | https://api.github.com/repos/psf/requests/issues/4009/timeline | null | completed | null | null | false | [
"Can you give us more information about your system and the actual exception traceback? It'd be helpful to know exactly which OSError you're receiving.",
"sorry, here is the trackback. and im using Mac OSX\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/Library/Frameworks/Python.framework/Versions/3... |
https://api.github.com/repos/psf/requests/issues/4008 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4008/labels{/name} | https://api.github.com/repos/psf/requests/issues/4008/comments | https://api.github.com/repos/psf/requests/issues/4008/events | https://github.com/psf/requests/issues/4008 | 227,465,441 | MDU6SXNzdWUyMjc0NjU0NDE= | 4,008 | [2.14.0] NameError: name 'platform_system' is not defined for pip 6.0.7 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6644187?v=4",
"events_url": "https://api.github.com/users/moylop260/events{/privacy}",
"followers_url": "https://api.github.com/users/moylop260/followers",
"following_url": "https://api.github.com/users/moylop260/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2017-05-09T19:02:14Z | 2021-09-08T10:00:57Z | 2017-05-09T19:02:54Z | NONE | resolved | Travis use `pip 6.0.7`
Today we had the following error:
```python
pip install -U requests==2.14.0
Using cached requests-2.14.0-py2.py3-none-any.whl
Exception:
Traceback (most recent call last):
File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/pip/base... | {
"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/4008/reactions"
} | https://api.github.com/repos/psf/requests/issues/4008/timeline | null | completed | null | null | false | [
"Thanks, this is a duplicate of #4006. See that issue for more discussion."
] |
https://api.github.com/repos/psf/requests/issues/4007 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4007/labels{/name} | https://api.github.com/repos/psf/requests/issues/4007/comments | https://api.github.com/repos/psf/requests/issues/4007/events | https://github.com/psf/requests/pull/4007 | 227,452,221 | MDExOlB1bGxSZXF1ZXN0MTE5NzE5Nzg0 | 4,007 | Use sys_platform instead of platform_system | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 9 | 2017-05-09T18:12:19Z | 2021-09-06T00:06:58Z | 2017-05-09T18:55:57Z | MEMBER | resolved | This is more compatible as a marker and so will break fewer people. Potentially resolves #4006. | {
"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": 4,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/psf/requests/issues/4007/reactions"
} | https://api.github.com/repos/psf/requests/issues/4007/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4007.diff",
"html_url": "https://github.com/psf/requests/pull/4007",
"merged_at": "2017-05-09T18:55:57Z",
"patch_url": "https://github.com/psf/requests/pull/4007.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4007"
} | true | [
"I should note that this fix does not entirely remove the issue: sufficiently old pips will still fail to install Requests. We're just moving the goalposts on what counts as \"sufficiently old\".",
"I'm in favor of breaking less people's builds as long as people using really old `pip` versions are the ones gettin... |
https://api.github.com/repos/psf/requests/issues/4006 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4006/labels{/name} | https://api.github.com/repos/psf/requests/issues/4006/comments | https://api.github.com/repos/psf/requests/issues/4006/events | https://github.com/psf/requests/issues/4006 | 227,421,573 | MDU6SXNzdWUyMjc0MjE1NzM= | 4,006 | requests 2.14.0 cannot be installed using pip < 8.1.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1050156?v=4",
"events_url": "https://api.github.com/users/lmazuel/events{/privacy}",
"followers_url": "https://api.github.com/users/lmazuel/followers",
"following_url": "https://api.github.com/users/lmazuel/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 91 | 2017-05-09T16:19:18Z | 2021-09-08T08:00:45Z | 2017-05-10T07:06:36Z | NONE | resolved | Example with pip 6.1.1 (but same with pip 8.1.1):
```console
> pip install requests
You are using pip version 6.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting requests
Using cached requests-2.14.0-py2.py3-none-any.whl
Exception:
... | {
"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": 6,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 6,
"url": "https://api.github.com/repos/psf/requests/issues/4006/reactions"
} | https://api.github.com/repos/psf/requests/issues/4006/timeline | null | completed | null | null | false | [
"Yeah, we can add that as a release note. That said, pip *9* is a bit newer than I thought we were going to need: @dstufft, is the `platform_system` marker not provided before then?",
"I just bisect, and it works starting 8.1.2 (broken in 8.1.1).",
"Ok, so that means it works with a version of pip that's a year... |
https://api.github.com/repos/psf/requests/issues/4005 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4005/labels{/name} | https://api.github.com/repos/psf/requests/issues/4005/comments | https://api.github.com/repos/psf/requests/issues/4005/events | https://github.com/psf/requests/issues/4005 | 227,401,963 | MDU6SXNzdWUyMjc0MDE5NjM= | 4,005 | response.apparent encoding throws error after using iter_lines | {
"avatar_url": "https://avatars.githubusercontent.com/u/157223?v=4",
"events_url": "https://api.github.com/users/eka/events{/privacy}",
"followers_url": "https://api.github.com/users/eka/followers",
"following_url": "https://api.github.com/users/eka/following{/other_user}",
"gists_url": "https://api.github.c... | [] | closed | true | null | [] | null | 2 | 2017-05-09T15:18:10Z | 2021-09-08T10:00:56Z | 2017-05-09T15:31:48Z | NONE | resolved | When using iter_lines with stream=True, and later trying to get the response.apparent_encoding, I get an exception as follows:
`RuntimeError: The content for this response was already consumed`
So my question is: Is this the proper behavior? I mean, shouldn't I be able to get the apparent_encoding even after cons... | {
"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/4005/reactions"
} | https://api.github.com/repos/psf/requests/issues/4005/timeline | null | completed | null | null | false | [
"Thanks for opening this issue!\r\n\r\n> Is this the proper behavior?\r\n\r\nYes. :smile:\r\n\r\n> I mean, shouldn't I be able to get the apparent_encoding even after consuming the content using stream=True?\r\n\r\nNo. :smile: When you set `stream=True`, you are telling Requests that you *do not* want us to buffer ... |
https://api.github.com/repos/psf/requests/issues/4004 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4004/labels{/name} | https://api.github.com/repos/psf/requests/issues/4004/comments | https://api.github.com/repos/psf/requests/issues/4004/events | https://github.com/psf/requests/pull/4004 | 227,290,465 | MDExOlB1bGxSZXF1ZXN0MTE5NjA5NDYx | 4,004 | Prepare for 2.14 release. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 11 | 2017-05-09T08:38:51Z | 2021-09-06T00:06:59Z | 2017-05-09T15:42:02Z | MEMBER | resolved | Changelog updated, vendored libraries all updated. Let's see how this goes. Looks like it'll be a good release! | {
"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/4004/reactions"
} | https://api.github.com/repos/psf/requests/issues/4004/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4004.diff",
"html_url": "https://github.com/psf/requests/pull/4004",
"merged_at": "2017-05-09T15:42:02Z",
"patch_url": "https://github.com/psf/requests/pull/4004.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4004"
} | true | [
"Ok, so this patch has changed the way we normalize URLs of non-HTTP schemes. Specifically, we no longer lowercase `http+x` URLs. This is because of shazow/urllib3#1089. My reading of [this discussion](https://github.com/kennethreitz/requests/pull/3738#issuecomment-268805728) is that we did this more-or-less on pur... |
https://api.github.com/repos/psf/requests/issues/4003 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4003/labels{/name} | https://api.github.com/repos/psf/requests/issues/4003/comments | https://api.github.com/repos/psf/requests/issues/4003/events | https://github.com/psf/requests/issues/4003 | 227,202,370 | MDU6SXNzdWUyMjcyMDIzNzA= | 4,003 | `requote_uri` changes the original URL | {
"avatar_url": "https://avatars.githubusercontent.com/u/201694?v=4",
"events_url": "https://api.github.com/users/andreyfedoseev/events{/privacy}",
"followers_url": "https://api.github.com/users/andreyfedoseev/followers",
"following_url": "https://api.github.com/users/andreyfedoseev/following{/other_user}",
"... | [] | closed | true | null | [] | null | 2 | 2017-05-08T23:17:25Z | 2021-09-08T10:00:57Z | 2017-05-09T07:33:08Z | NONE | resolved | I'm trying to do something like:
```python
>>> import requests
>>> url = "http://beta.url2png.com/v6/P4ED6C68627746/d86b36effc2ea6862a2301273c40a2a2/png/?url=http%3A%2F%2Fwww3.geosc.psu.edu%2F%7Edmb53%2FDaveSTELLA%2FDaisyworld%2Fdaisyworld_model.htm&delay=4&fullpage=false&viewport=1280x1024"
>>> response = reques... | {
"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/4003/reactions"
} | https://api.github.com/repos/psf/requests/issues/4003/timeline | null | completed | null | null | false | [
"The URL that `requests.get` fetches is not invalid in the sense that it's perfectly legitimate to represent the query string in this manner. The relevant portion of a specification is [RFC 3986 § 2.3](https://tools.ietf.org/html/rfc3986#section-2.3), with added emphasis on the most important section:\r\n\r\n> C... |
https://api.github.com/repos/psf/requests/issues/4002 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4002/labels{/name} | https://api.github.com/repos/psf/requests/issues/4002/comments | https://api.github.com/repos/psf/requests/issues/4002/events | https://github.com/psf/requests/issues/4002 | 226,880,788 | MDU6SXNzdWUyMjY4ODA3ODg= | 4,002 | redirect loop with manual host header | {
"avatar_url": "https://avatars.githubusercontent.com/u/1901770?v=4",
"events_url": "https://api.github.com/users/lr1980/events{/privacy}",
"followers_url": "https://api.github.com/users/lr1980/followers",
"following_url": "https://api.github.com/users/lr1980/following{/other_user}",
"gists_url": "https://ap... | [] | closed | false | null | [] | null | 10 | 2017-05-07T18:06:35Z | 2024-05-19T18:54:33Z | 2024-05-19T18:54:33Z | NONE | null | I use this for a test server:
`requests.get('http://1.2.3.4', headers={'host': 'domain.de'})`
But the request will loop because the "host" header will be also used for the redirect. | {
"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/4002/reactions"
} | https://api.github.com/repos/psf/requests/issues/4002/timeline | null | completed | null | null | false | [
"So, this is a tricky point. Generally, when the user sets a custom Host header we have a problem: to what hosts does that custom host header apply? What about redirects?\r\n\r\nIn this case, Requests takes the easy route out and just decides to use the custom Host header for everything. That's not necessarily the ... |
https://api.github.com/repos/psf/requests/issues/4001 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4001/labels{/name} | https://api.github.com/repos/psf/requests/issues/4001/comments | https://api.github.com/repos/psf/requests/issues/4001/events | https://github.com/psf/requests/pull/4001 | 226,818,345 | MDExOlB1bGxSZXF1ZXN0MTE5MzIyMzcx | 4,001 | Specify that the timeout parameter is in seconds. | {
"avatar_url": "https://avatars.githubusercontent.com/u/354506?v=4",
"events_url": "https://api.github.com/users/bowlofeggs/events{/privacy}",
"followers_url": "https://api.github.com/users/bowlofeggs/followers",
"following_url": "https://api.github.com/users/bowlofeggs/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2017-05-07T01:26:09Z | 2021-09-06T00:06:59Z | 2017-05-07T04:07:02Z | CONTRIBUTOR | resolved | Signed-off-by: Randy Barlow <randy@electronsweatshop.com> | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/4001/reactions"
} | https://api.github.com/repos/psf/requests/issues/4001/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/4001.diff",
"html_url": "https://github.com/psf/requests/pull/4001",
"merged_at": "2017-05-07T04:07:02Z",
"patch_url": "https://github.com/psf/requests/pull/4001.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/4001"
} | true | [
"thanks! "
] |
https://api.github.com/repos/psf/requests/issues/4000 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/4000/labels{/name} | https://api.github.com/repos/psf/requests/issues/4000/comments | https://api.github.com/repos/psf/requests/issues/4000/events | https://github.com/psf/requests/issues/4000 | 226,807,047 | MDU6SXNzdWUyMjY4MDcwNDc= | 4,000 | Cookies never returned in response object | {
"avatar_url": "https://avatars.githubusercontent.com/u/556503?v=4",
"events_url": "https://api.github.com/users/dubhunter/events{/privacy}",
"followers_url": "https://api.github.com/users/dubhunter/followers",
"following_url": "https://api.github.com/users/dubhunter/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 8 | 2017-05-06T21:55:39Z | 2021-09-08T10:00:51Z | 2017-05-15T08:04:02Z | NONE | resolved | I have been trying to get the cookies from a response, as your docs suggest (http://docs.python-requests.org/en/master/user/quickstart/#cookies [first example]), but it does not seem to be working.
When I dug through the `sessions.py` (https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L655), ... | {
"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/4000/reactions"
} | https://api.github.com/repos/psf/requests/issues/4000/timeline | null | completed | null | null | false | [
"Hey @dubhunter, I'm actually unable to reproduce this in either Python 2 or 3 for Requests 2.13.0.\r\n\r\nCould you please provide the version of Requests you're using and verify for me that the script below returns `<RequestsCookieJar[]>`? No need to provide the contents if the RequestsCookieJar is populated.\r\n... |
https://api.github.com/repos/psf/requests/issues/3999 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3999/labels{/name} | https://api.github.com/repos/psf/requests/issues/3999/comments | https://api.github.com/repos/psf/requests/issues/3999/events | https://github.com/psf/requests/issues/3999 | 226,506,430 | MDU6SXNzdWUyMjY1MDY0MzA= | 3,999 | Install in Docker does not work as expected | {
"avatar_url": "https://avatars.githubusercontent.com/u/2445709?v=4",
"events_url": "https://api.github.com/users/PetaPetaPeta/events{/privacy}",
"followers_url": "https://api.github.com/users/PetaPetaPeta/followers",
"following_url": "https://api.github.com/users/PetaPetaPeta/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 2 | 2017-05-05T08:33:23Z | 2021-09-08T10:00:58Z | 2017-05-06T12:01:13Z | NONE | resolved | I am attempting to build a Docker image (base image ubuntu:14.04) on a Windows machine where one of the commands are:
```
RUN pip install git+https://github.com/kennethreitz/requests
```
The functionality of this is to use pip inside the container to install the latest version of requests. It has functioned correct... | {
"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/3999/reactions"
} | https://api.github.com/repos/psf/requests/issues/3999/timeline | null | completed | null | null | false | [
"This error is caused because the version of `pip` and `setuptools` being used in Ubuntu 14.04 is extremely old (necessarily it's from before 2014), and so doesn't understand markers. Frankly, that doesn't bother me very much. Assuming you're using a virtualenv inside your Docker image, you can resolve this by runn... |
https://api.github.com/repos/psf/requests/issues/3998 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3998/labels{/name} | https://api.github.com/repos/psf/requests/issues/3998/comments | https://api.github.com/repos/psf/requests/issues/3998/events | https://github.com/psf/requests/pull/3998 | 226,431,882 | MDExOlB1bGxSZXF1ZXN0MTE5MDg0MDYz | 3,998 | Enable sessions to bypass creating/parsing cookies. | {
"avatar_url": "https://avatars.githubusercontent.com/u/808798?v=4",
"events_url": "https://api.github.com/users/rowillia/events{/privacy}",
"followers_url": "https://api.github.com/users/rowillia/followers",
"following_url": "https://api.github.com/users/rowillia/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 15 | 2017-05-04T23:00:12Z | 2021-09-03T00:11:03Z | 2018-04-29T18:58:10Z | NONE | resolved | We use requests for some service-to-service communication, neither side
of which utilizes cookies. When we profiled our services, we see ~13%
of the time spend sending requests is either creating cookie jars or
extracting cookies to jars.
This PR will enable us to disable cookies for a given `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/3998/reactions"
} | https://api.github.com/repos/psf/requests/issues/3998/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3998.diff",
"html_url": "https://github.com/psf/requests/pull/3998",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3998.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3998"
} | true | [
"# [Codecov](https://codecov.io/gh/requests/requests/pull/3998?src=pr&el=h1) Report\n> :exclamation: No coverage uploaded for pull request base (`master@5697148`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).\n> The diff coverage is `100%`.\n\n[![I... |
https://api.github.com/repos/psf/requests/issues/3997 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3997/labels{/name} | https://api.github.com/repos/psf/requests/issues/3997/comments | https://api.github.com/repos/psf/requests/issues/3997/events | https://github.com/psf/requests/issues/3997 | 226,267,556 | MDU6SXNzdWUyMjYyNjc1NTY= | 3,997 | ModuleNotFoundError: No module named 'email.parser'; 'email' is not a package | {
"avatar_url": "https://avatars.githubusercontent.com/u/24445418?v=4",
"events_url": "https://api.github.com/users/astronaut0131/events{/privacy}",
"followers_url": "https://api.github.com/users/astronaut0131/followers",
"following_url": "https://api.github.com/users/astronaut0131/following{/other_user}",
"g... | [] | closed | true | null | [] | null | 1 | 2017-05-04T12:39:53Z | 2021-09-08T11:00:28Z | 2017-05-04T12:44:53Z | NONE | resolved | when i run : import requests
i get the error as following:
~~~shell
D:\python\Python36\python.exe "D:/Python Work Space/test003.py"
Traceback (most recent call last):
File "D:/Python Work Space/test003.py", line 1, in <module>
import requests
File "D:\python\Python36\lib\site-packages\requests\__init_... | {
"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/3997/reactions"
} | https://api.github.com/repos/psf/requests/issues/3997/timeline | null | completed | null | null | false | [
"Email is a standard library module that should have come with Python. I *suspect* that `pip install email` made that worse, not better. However, more likely you have a file in the same directory as your code called `email.py`, you need to change that filename."
] |
https://api.github.com/repos/psf/requests/issues/3996 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3996/labels{/name} | https://api.github.com/repos/psf/requests/issues/3996/comments | https://api.github.com/repos/psf/requests/issues/3996/events | https://github.com/psf/requests/pull/3996 | 225,675,686 | MDExOlB1bGxSZXF1ZXN0MTE4NTQxMzk3 | 3,996 | Allowing users to override the default agent using env variable | {
"avatar_url": "https://avatars.githubusercontent.com/u/234253?v=4",
"events_url": "https://api.github.com/users/amir-hadi/events{/privacy}",
"followers_url": "https://api.github.com/users/amir-hadi/followers",
"following_url": "https://api.github.com/users/amir-hadi/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 1 | 2017-05-02T12:08:27Z | 2021-09-06T00:07:00Z | 2017-05-02T12:12:52Z | NONE | resolved | We need to override the default user agent that requests uses. I think its ok to allow overriding the default user agent using environment variables.
I didn't find other options (except monkey patching default_user_agent function in utils), maybe this can help other users as well. | {
"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/3996/reactions"
} | https://api.github.com/repos/psf/requests/issues/3996/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3996.diff",
"html_url": "https://github.com/psf/requests/pull/3996",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3996.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3996"
} | true | [
"Thanks for this!\r\n\r\nI don't really understand why Requests should merge this into the tree. If you want to have this behaviour in your application, you can just use `Session` objects and set `Session.headers['User-Agent']` to whatever you like.\r\n\r\nIn fact, I'd say that having this functionality in Requests... |
https://api.github.com/repos/psf/requests/issues/3995 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3995/labels{/name} | https://api.github.com/repos/psf/requests/issues/3995/comments | https://api.github.com/repos/psf/requests/issues/3995/events | https://github.com/psf/requests/issues/3995 | 225,568,259 | MDU6SXNzdWUyMjU1NjgyNTk= | 3,995 | Global session | {
"avatar_url": "https://avatars.githubusercontent.com/u/17710333?v=4",
"events_url": "https://api.github.com/users/hangll/events{/privacy}",
"followers_url": "https://api.github.com/users/hangll/followers",
"following_url": "https://api.github.com/users/hangll/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2017-05-02T01:29:49Z | 2021-09-08T11:00:28Z | 2017-05-02T07:06:23Z | NONE | resolved | I'd like to have persistent connection for all my http requests to improve performance. Is it recommended to have a global session object and use it everywhere? Or should I create a session dictionary to have different session per request type?
What would be the best practice here? | {
"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/3995/reactions"
} | https://api.github.com/repos/psf/requests/issues/3995/timeline | null | completed | null | null | false | [
"A single global session is absolutely fine."
] |
https://api.github.com/repos/psf/requests/issues/3994 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3994/labels{/name} | https://api.github.com/repos/psf/requests/issues/3994/comments | https://api.github.com/repos/psf/requests/issues/3994/events | https://github.com/psf/requests/issues/3994 | 225,334,047 | MDU6SXNzdWUyMjUzMzQwNDc= | 3,994 | Add requests.Session(timeout) parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/681260?v=4",
"events_url": "https://api.github.com/users/giampaolo/events{/privacy}",
"followers_url": "https://api.github.com/users/giampaolo/followers",
"following_url": "https://api.github.com/users/giampaolo/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2017-04-30T15:28:41Z | 2021-09-08T11:00:29Z | 2017-04-30T15:58:41Z | NONE | resolved | ...as a parameter which gets inherited globally by `get()` and other HTTP methods.
```
session = requests.Session(timeout=30)
session.get(...)
session.get(...)
```
Would be equivalent to:
```
session = requests.Session()
session.get(..., timeout=30)
session.get(..., timeout=30)
```
Thoughts? | {
"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": 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/3994/reactions"
} | https://api.github.com/repos/psf/requests/issues/3994/timeline | null | completed | null | null | false | [
"Thanks for opening this! This is a duplicate of #3341: please read the discussion there for more.",
"Oh sorry about that."
] |
https://api.github.com/repos/psf/requests/issues/3993 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3993/labels{/name} | https://api.github.com/repos/psf/requests/issues/3993/comments | https://api.github.com/repos/psf/requests/issues/3993/events | https://github.com/psf/requests/issues/3993 | 225,222,584 | MDU6SXNzdWUyMjUyMjI1ODQ= | 3,993 | Deadlocks when retry with pool_block=True | {
"avatar_url": "https://avatars.githubusercontent.com/u/299649?v=4",
"events_url": "https://api.github.com/users/mattbillenstein/events{/privacy}",
"followers_url": "https://api.github.com/users/mattbillenstein/followers",
"following_url": "https://api.github.com/users/mattbillenstein/following{/other_user}",
... | [] | closed | true | null | [] | null | 4 | 2017-04-29T00:49:37Z | 2021-09-08T11:00:29Z | 2017-04-29T21:52:34Z | NONE | resolved | I created a repo with a testcase for this issue:
https://github.com/mattbillenstein/requests-retry-pool-hang
I can repro using gevent and threads. It seems there are a few other issues exhibiting deadlocks, so hopefully this testcase is helpful in getting to the bottom of this. | {
"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/3993/reactions"
} | https://api.github.com/repos/psf/requests/issues/3993/timeline | null | completed | null | null | false | [
"Ok, so I have something that fixes this for me -- retries are implemented using recursion and before recursing, the connection isn't released back to the pool, so for every retry, we would grab another connection while still holding onto the old one for no real reason afaict. See:\r\n\r\nhttps://github.com/mattbi... |
https://api.github.com/repos/psf/requests/issues/3992 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3992/labels{/name} | https://api.github.com/repos/psf/requests/issues/3992/comments | https://api.github.com/repos/psf/requests/issues/3992/events | https://github.com/psf/requests/issues/3992 | 224,479,168 | MDU6SXNzdWUyMjQ0NzkxNjg= | 3,992 | Invalid file object with requests >= 2.13.0 on Jython | {
"avatar_url": "https://avatars.githubusercontent.com/u/546693?v=4",
"events_url": "https://api.github.com/users/LordGaav/events{/privacy}",
"followers_url": "https://api.github.com/users/LordGaav/followers",
"following_url": "https://api.github.com/users/LordGaav/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 11 | 2017-04-26T14:03:02Z | 2021-11-26T05:00:32Z | 2021-08-28T04:18:22Z | NONE | resolved | I'm running into a repeatable error when testing [omniconf](https://github.com/cyso/omniconf/tree/1.1.1) on Jython with requests >= 2.13.0:
```
======================================================================
1) ERROR: test suite for <class 'omniconf.tests.backends.test_vault.TestVaultBackend'>
------------... | {
"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/3992/reactions"
} | https://api.github.com/repos/psf/requests/issues/3992/timeline | null | completed | null | null | false | [
"This seems extremely likely to be related to the use of selector objects in Python. This error is raised when we attempt to call the `fileno` method on the socket object, so that we can wait on it. Can you confirm that this simply doesn't work on Jython?",
"Ah, nevermind, I can:\r\n\r\n```python\r\n>>> import so... |
https://api.github.com/repos/psf/requests/issues/3991 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3991/labels{/name} | https://api.github.com/repos/psf/requests/issues/3991/comments | https://api.github.com/repos/psf/requests/issues/3991/events | https://github.com/psf/requests/pull/3991 | 224,268,510 | MDExOlB1bGxSZXF1ZXN0MTE3NTc4Mzc4 | 3,991 | Remove some unused imports. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5584439?v=4",
"events_url": "https://api.github.com/users/chrisgavin/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisgavin/followers",
"following_url": "https://api.github.com/users/chrisgavin/following{/other_user}",
"gists_url":... | [] | closed | true | null | [] | null | 1 | 2017-04-25T20:52:20Z | 2021-09-06T00:07:01Z | 2017-04-26T12:09:35Z | 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/3991/reactions"
} | https://api.github.com/repos/psf/requests/issues/3991/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3991.diff",
"html_url": "https://github.com/psf/requests/pull/3991",
"merged_at": "2017-04-26T12:09:35Z",
"patch_url": "https://github.com/psf/requests/pull/3991.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3991"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3991?src=pr&el=h1) Report\n> Merging [#3991](https://codecov.io/gh/kennethreitz/requests/pull/3991?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/44106f18b75bfbafa63b1a1910366d57d554bc41?src=pr&el=desc) will **decrease**... | |
https://api.github.com/repos/psf/requests/issues/3990 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3990/labels{/name} | https://api.github.com/repos/psf/requests/issues/3990/comments | https://api.github.com/repos/psf/requests/issues/3990/events | https://github.com/psf/requests/issues/3990 | 223,918,494 | MDU6SXNzdWUyMjM5MTg0OTQ= | 3,990 | Can't get Proxy to work with https and http works only with auth, not like the Docu descripes | {
"avatar_url": "https://avatars.githubusercontent.com/u/27972108?v=4",
"events_url": "https://api.github.com/users/eisbaer9/events{/privacy}",
"followers_url": "https://api.github.com/users/eisbaer9/followers",
"following_url": "https://api.github.com/users/eisbaer9/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 6 | 2017-04-24T18:57:18Z | 2021-09-08T11:00:30Z | 2017-04-25T08:09:44Z | NONE | resolved | I'm trying to get requests work with an Proxy. From the Documentation it should work with this Dictionary:
`proxies = {'http' : 'http://username:password@proxy:8080',
'https': 'https://proxy:8080'}
`
when i try:
`r = requests.get('http://google.com', proxies=proxies)`
i get this error:
requests.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/27972108?v=4",
"events_url": "https://api.github.com/users/eisbaer9/events{/privacy}",
"followers_url": "https://api.github.com/users/eisbaer9/followers",
"following_url": "https://api.github.com/users/eisbaer9/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/3990/reactions"
} | https://api.github.com/repos/psf/requests/issues/3990/timeline | null | completed | null | null | false | [
"Forgott something:\r\n\r\ni use Python on WIndows WinPython-32bit-3.6.1.0Qt5\r\nand Requests: requests==2.10.0",
"It's *extremely* likely that your proxy password contains an `@` symbol, which is causing our URL parsing to get confused. You need to urlencode your password (that is, run it through `urllib.quote`)... |
https://api.github.com/repos/psf/requests/issues/3989 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3989/labels{/name} | https://api.github.com/repos/psf/requests/issues/3989/comments | https://api.github.com/repos/psf/requests/issues/3989/events | https://github.com/psf/requests/issues/3989 | 223,908,316 | MDU6SXNzdWUyMjM5MDgzMTY= | 3,989 | Upload data progress | {
"avatar_url": "https://avatars.githubusercontent.com/u/987796?v=4",
"events_url": "https://api.github.com/users/gladiacxtylish/events{/privacy}",
"followers_url": "https://api.github.com/users/gladiacxtylish/followers",
"following_url": "https://api.github.com/users/gladiacxtylish/following{/other_user}",
"... | [] | closed | true | null | [] | null | 2 | 2017-04-24T18:18:00Z | 2021-09-08T11:00:30Z | 2017-04-25T11:52:32Z | NONE | resolved | I saw examples of using `iter_content` to get progress of the download, but I do not see a corresponding API for upload a blob. I am requesting such feature. Thanks. | {
"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/3989/reactions"
} | https://api.github.com/repos/psf/requests/issues/3989/timeline | null | completed | null | null | false | [
"If you are uploading a blob of data you can provide either an iterable object (which will be uploaded using chunked encoding) or a file-like object that provides a `read` method (which, if we can determine a length, will be streamed to the server). In either case, we have to call into your code to retrieve the nex... |
https://api.github.com/repos/psf/requests/issues/3988 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3988/labels{/name} | https://api.github.com/repos/psf/requests/issues/3988/comments | https://api.github.com/repos/psf/requests/issues/3988/events | https://github.com/psf/requests/pull/3988 | 223,896,978 | MDExOlB1bGxSZXF1ZXN0MTE3MzE4NTY3 | 3,988 | [WIP] Fix up appveyor testing. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 44 | 2017-04-24T17:36:21Z | 2021-09-06T00:07:00Z | 2017-05-03T17:25:26Z | MEMBER | resolved | This PR will track work as I try to work out where the hell `make` is on appveyor. | {
"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/3988/reactions"
} | https://api.github.com/repos/psf/requests/issues/3988/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3988.diff",
"html_url": "https://github.com/psf/requests/pull/3988",
"merged_at": "2017-05-03T17:25:26Z",
"patch_url": "https://github.com/psf/requests/pull/3988.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3988"
} | true | [
"Ok, some progress has been made. We are now getting build failures due to our dependencies.\r\n\r\nPython 2.6 is failing because of click, presumably because click doesn't support Python 2.6 + Windows:\r\n\r\n```\r\npipenv lock\r\nTraceback (most recent call last):\r\n File \"c:\\python266-x64\\lib\\runpy.py\", l... |
https://api.github.com/repos/psf/requests/issues/3987 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3987/labels{/name} | https://api.github.com/repos/psf/requests/issues/3987/comments | https://api.github.com/repos/psf/requests/issues/3987/events | https://github.com/psf/requests/pull/3987 | 223,885,370 | MDExOlB1bGxSZXF1ZXN0MTE3MzExMjUx | 3,987 | Revert "Add appveyor testing of Requests." | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 0 | 2017-04-24T16:56:10Z | 2021-09-06T00:07:02Z | 2017-04-24T16:56:19Z | CONTRIBUTOR | resolved | Reverts kennethreitz/requests#3983 | {
"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/3987/reactions"
} | https://api.github.com/repos/psf/requests/issues/3987/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3987.diff",
"html_url": "https://github.com/psf/requests/pull/3987",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/3987.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3987"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/3986 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3986/labels{/name} | https://api.github.com/repos/psf/requests/issues/3986/comments | https://api.github.com/repos/psf/requests/issues/3986/events | https://github.com/psf/requests/issues/3986 | 223,624,710 | MDU6SXNzdWUyMjM2MjQ3MTA= | 3,986 | Allow empty data values in multipart form upload | {
"avatar_url": "https://avatars.githubusercontent.com/u/160010?v=4",
"events_url": "https://api.github.com/users/charyorde/events{/privacy}",
"followers_url": "https://api.github.com/users/charyorde/followers",
"following_url": "https://api.github.com/users/charyorde/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 8 | 2017-04-23T09:47:32Z | 2021-09-08T10:00:51Z | 2017-05-14T15:33:54Z | NONE | resolved | A multipart form upload with data field such as `{'resources': []}` is transformed as `[]`, leaving out the `resources` key. | {
"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/3986/reactions"
} | https://api.github.com/repos/psf/requests/issues/3986/timeline | null | completed | null | null | false | [
"Can you provide sample code that demonstrates the problem, as well as an example of what you believe the correct body should look like?",
"For example, \r\n```\r\ndata = {'resources': []}\r\nfiles = {'file': open('file.zip', 'rb')}\r\nrequests.put('/upload', data=data, files=files)\r\n```",
"And what is your e... |
https://api.github.com/repos/psf/requests/issues/3985 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3985/labels{/name} | https://api.github.com/repos/psf/requests/issues/3985/comments | https://api.github.com/repos/psf/requests/issues/3985/events | https://github.com/psf/requests/issues/3985 | 223,427,350 | MDU6SXNzdWUyMjM0MjczNTA= | 3,985 | No module named 'requests.packages.urllib3.packages.six' // requests on python3.6 Lambda | {
"avatar_url": "https://avatars.githubusercontent.com/u/139987?v=4",
"events_url": "https://api.github.com/users/Miserlou/events{/privacy}",
"followers_url": "https://api.github.com/users/Miserlou/followers",
"following_url": "https://api.github.com/users/Miserlou/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 10 | 2017-04-21T16:02:19Z | 2021-09-08T10:00:53Z | 2017-04-21T16:52:20Z | NONE | resolved | Hey all!
Note: This issue _may_ be out of scope for the requests project, I'm not sure, but honestly I'd really appreciate your help in explaining the rationale behind [some of the behavior](https://github.com/kennethreitz/requests/blob/master/requests/packages/__init__.py#L26-L30) related to this section of the cod... | {
"avatar_url": "https://avatars.githubusercontent.com/u/139987?v=4",
"events_url": "https://api.github.com/users/Miserlou/events{/privacy}",
"followers_url": "https://api.github.com/users/Miserlou/followers",
"following_url": "https://api.github.com/users/Miserlou/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/3985/reactions"
} | https://api.github.com/repos/psf/requests/issues/3985/timeline | null | completed | null | null | false | [
"It looks extremely likely that urllib3 has been torn apart in some way. Where are you getting that urllib3 from? Does it reproduce with just the code `import urllib3`?",
"Yes, the error is recreated with just `import urllib3`, if `urllib3` is included in the Lambda package. Without urllib3 in the package, I get ... |
https://api.github.com/repos/psf/requests/issues/3984 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3984/labels{/name} | https://api.github.com/repos/psf/requests/issues/3984/comments | https://api.github.com/repos/psf/requests/issues/3984/events | https://github.com/psf/requests/pull/3984 | 223,389,060 | MDExOlB1bGxSZXF1ZXN0MTE2OTg5MjU3 | 3,984 | Fix the additional newline generated by iter_lines() caused by a '\r\n' pair being separated in two different chunks. | {
"avatar_url": "https://avatars.githubusercontent.com/u/46543?v=4",
"events_url": "https://api.github.com/users/PCMan/events{/privacy}",
"followers_url": "https://api.github.com/users/PCMan/followers",
"following_url": "https://api.github.com/users/PCMan/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 12 | 2017-04-21T13:48:45Z | 2021-09-06T00:07:01Z | 2017-04-26T15:07:46Z | NONE | resolved | When a "\r\n" CRLF pair is splitted into two chunks accidentally, iter_lines() generates two line breaks instead of one. This patch fixes the incorrect behavior and closes issue #3980. | {
"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/3984/reactions"
} | https://api.github.com/repos/psf/requests/issues/3984/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3984.diff",
"html_url": "https://github.com/psf/requests/pull/3984",
"merged_at": "2017-04-26T15:07:46Z",
"patch_url": "https://github.com/psf/requests/pull/3984.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3984"
} | true | [
"@Lukasa Thanks for the review and I already modified the code by following your instructions.\r\nHowever there seems to be some issues with the unit tests. I'll take a look on them.",
"@Lukasa While trying to fix the unit tests, I noted that treating \"\\r\\n\" as two line breaks is actually the intended behavio... |
https://api.github.com/repos/psf/requests/issues/3983 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3983/labels{/name} | https://api.github.com/repos/psf/requests/issues/3983/comments | https://api.github.com/repos/psf/requests/issues/3983/events | https://github.com/psf/requests/pull/3983 | 223,352,676 | MDExOlB1bGxSZXF1ZXN0MTE2OTYyNjAz | 3,983 | Add appveyor testing of Requests. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 6 | 2017-04-21T11:09:03Z | 2021-09-06T00:07:01Z | 2017-04-24T16:49:26Z | MEMBER | resolved | In general it'd be good to have more testing, but it's also possible that via PR #3979 we'll get unexpected different behaviour on Windows than on other platforms. For this reason, we should start also testing on Windows.
This PR takes the configuration used for urllib3, updates it for Requests, and then provides it... | {
"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/3983/reactions"
} | https://api.github.com/repos/psf/requests/issues/3983/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3983.diff",
"html_url": "https://github.com/psf/requests/pull/3983",
"merged_at": "2017-04-24T16:49:25Z",
"patch_url": "https://github.com/psf/requests/pull/3983.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3983"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3983?src=pr&el=h1) Report\n> Merging [#3983](https://codecov.io/gh/kennethreitz/requests/pull/3983?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/f6c58ec5820e29c1214c8e3ff887f571c32ffd48?src=pr&el=desc) will **not change... |
https://api.github.com/repos/psf/requests/issues/3982 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3982/labels{/name} | https://api.github.com/repos/psf/requests/issues/3982/comments | https://api.github.com/repos/psf/requests/issues/3982/events | https://github.com/psf/requests/pull/3982 | 223,347,491 | MDExOlB1bGxSZXF1ZXN0MTE2OTU4NzUx | 3,982 | configure sudo: false on travis | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2017-04-21T10:44:14Z | 2021-09-06T00:07:02Z | 2017-04-21T10:54:33Z | 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/3982/reactions"
} | https://api.github.com/repos/psf/requests/issues/3982/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3982.diff",
"html_url": "https://github.com/psf/requests/pull/3982",
"merged_at": "2017-04-21T10:54:33Z",
"patch_url": "https://github.com/psf/requests/pull/3982.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3982"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3982?src=pr&el=h1) Report\n> Merging [#3982](https://codecov.io/gh/kennethreitz/requests/pull/3982?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/52a3526a99e0129ef239ec811a125272398a9f7c?src=pr&el=desc) will **not change... | |
https://api.github.com/repos/psf/requests/issues/3981 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3981/labels{/name} | https://api.github.com/repos/psf/requests/issues/3981/comments | https://api.github.com/repos/psf/requests/issues/3981/events | https://github.com/psf/requests/pull/3981 | 223,342,580 | MDExOlB1bGxSZXF1ZXN0MTE2OTU1MTc0 | 3,981 | enable travis pip cache | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 2 | 2017-04-21T10:23:04Z | 2021-09-06T00:07:03Z | 2017-04-21T10:32:41Z | CONTRIBUTOR | resolved | null | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3981/reactions"
} | https://api.github.com/repos/psf/requests/issues/3981/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3981.diff",
"html_url": "https://github.com/psf/requests/pull/3981",
"merged_at": "2017-04-21T10:32:41Z",
"patch_url": "https://github.com/psf/requests/pull/3981.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3981"
} | true | [
"Thanks @graingert!",
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3981?src=pr&el=h1) Report\n> Merging [#3981](https://codecov.io/gh/kennethreitz/requests/pull/3981?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/524627ef21818e06a33bf4b54cd9c93a7dc35b21?src=pr&el... |
https://api.github.com/repos/psf/requests/issues/3980 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3980/labels{/name} | https://api.github.com/repos/psf/requests/issues/3980/comments | https://api.github.com/repos/psf/requests/issues/3980/events | https://github.com/psf/requests/issues/3980 | 223,287,665 | MDU6SXNzdWUyMjMyODc2NjU= | 3,980 | iter_lines() sometimes yields broken results when chunk_size is small | {
"avatar_url": "https://avatars.githubusercontent.com/u/46543?v=4",
"events_url": "https://api.github.com/users/PCMan/events{/privacy}",
"followers_url": "https://api.github.com/users/PCMan/followers",
"following_url": "https://api.github.com/users/PCMan/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 14 | 2017-04-21T06:15:38Z | 2021-09-04T00:06:13Z | 2017-05-01T14:09:50Z | NONE | resolved | Here is a small test program to demonstrate the bug:
```
import requests
url = "http://lohas.pixnet.net/blog"
r = requests.get(url)
iter_lines = [line for line in r.iter_lines(chunk_size=7, decode_unicode=False)]
split_lines = r.content.splitlines()
for index, (iline, sline) in enumerate(zip(iter_lines, split_... | {
"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/3980/reactions"
} | https://api.github.com/repos/psf/requests/issues/3980/timeline | null | completed | null | null | false | [
"It's not caused by incorrect unicode decoding.\r\nI tested this with both `decode_unicode=True` and `decode_unicode=False`. In both cases the bug can be reproduced if chunk_size is small enough.",
"I currently use the following code snip as a drop-in replacement.\r\n```\r\ndef my_iter_lines(result):\r\n ... |
https://api.github.com/repos/psf/requests/issues/3979 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3979/labels{/name} | https://api.github.com/repos/psf/requests/issues/3979/comments | https://api.github.com/repos/psf/requests/issues/3979/events | https://github.com/psf/requests/pull/3979 | 223,071,801 | MDExOlB1bGxSZXF1ZXN0MTE2Nzc0MTUw | 3,979 | improve proxy bypass on Windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/238652?v=4",
"events_url": "https://api.github.com/users/schlamar/events{/privacy}",
"followers_url": "https://api.github.com/users/schlamar/followers",
"following_url": "https://api.github.com/users/schlamar/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 19 | 2017-04-20T13:42:43Z | 2021-09-06T00:06:59Z | 2017-05-04T14:18:30Z | CONTRIBUTOR | resolved | See #3976 | {
"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/3979/reactions"
} | https://api.github.com/repos/psf/requests/issues/3979/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3979.diff",
"html_url": "https://github.com/psf/requests/pull/3979",
"merged_at": "2017-05-04T14:18:30Z",
"patch_url": "https://github.com/psf/requests/pull/3979.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3979"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3979?src=pr&el=h1) Report\n> Merging [#3979](https://codecov.io/gh/kennethreitz/requests/pull/3979?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/26ab951300d192ed3ab62fdb1f0548c961731e6a?src=pr&el=desc) will **decrease**... |
https://api.github.com/repos/psf/requests/issues/3978 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3978/labels{/name} | https://api.github.com/repos/psf/requests/issues/3978/comments | https://api.github.com/repos/psf/requests/issues/3978/events | https://github.com/psf/requests/pull/3978 | 223,049,688 | MDExOlB1bGxSZXF1ZXN0MTE2NzU4NDgw | 3,978 | remove seemingly redundant pyflakes references | {
"avatar_url": "https://avatars.githubusercontent.com/u/413772?v=4",
"events_url": "https://api.github.com/users/graingert/events{/privacy}",
"followers_url": "https://api.github.com/users/graingert/followers",
"following_url": "https://api.github.com/users/graingert/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 0 | 2017-04-20T12:23:41Z | 2021-09-06T00:07:03Z | 2017-04-20T13:44:20Z | CONTRIBUTOR | resolved | null | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3978/reactions"
} | https://api.github.com/repos/psf/requests/issues/3978/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3978.diff",
"html_url": "https://github.com/psf/requests/pull/3978",
"merged_at": "2017-04-20T13:44:20Z",
"patch_url": "https://github.com/psf/requests/pull/3978.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3978"
} | true | [] |
https://api.github.com/repos/psf/requests/issues/3977 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3977/labels{/name} | https://api.github.com/repos/psf/requests/issues/3977/comments | https://api.github.com/repos/psf/requests/issues/3977/events | https://github.com/psf/requests/issues/3977 | 223,012,125 | MDU6SXNzdWUyMjMwMTIxMjU= | 3,977 | No Content-Length header when POSTing or PUTing an empty Django InMemoryUploadedFile | {
"avatar_url": "https://avatars.githubusercontent.com/u/3957868?v=4",
"events_url": "https://api.github.com/users/CianciuStyles/events{/privacy}",
"followers_url": "https://api.github.com/users/CianciuStyles/followers",
"following_url": "https://api.github.com/users/CianciuStyles/following{/other_user}",
"gi... | [] | closed | true | null | [] | null | 5 | 2017-04-20T09:57:12Z | 2021-09-08T11:00:30Z | 2017-04-22T12:45:50Z | NONE | resolved | I'm trying to send a PUT request passing as the data kwarg an instance of a InMemoryUploadedFile (which is the model Django uses for uploaded files, see for reference https://docs.djangoproject.com/en/1.10/ref/files/uploads/#django.core.files.uploadedfile.InMemoryUploadedFile), like this:
```
files = request.FILES.... | {
"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/3977/reactions"
} | https://api.github.com/repos/psf/requests/issues/3977/timeline | null | completed | null | null | false | [
"Why is the transfer encoding header a problem? HTTP/1.1 servers are required to understand it. ",
"The problem is not in the Transfer-Encoding header, but the lack of the Content-Length header: if I try to upload the file to Amazon S3 (for example), it will reply with a 411 Content Length Missing response.",
"... |
https://api.github.com/repos/psf/requests/issues/3976 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3976/labels{/name} | https://api.github.com/repos/psf/requests/issues/3976/comments | https://api.github.com/repos/psf/requests/issues/3976/events | https://github.com/psf/requests/issues/3976 | 222,988,467 | MDU6SXNzdWUyMjI5ODg0Njc= | 3,976 | Don't use `urllib.proxy_bypass` on Windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/238652?v=4",
"events_url": "https://api.github.com/users/schlamar/events{/privacy}",
"followers_url": "https://api.github.com/users/schlamar/followers",
"following_url": "https://api.github.com/users/schlamar/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2017-04-20T08:30:28Z | 2021-09-08T10:00:58Z | 2017-05-04T16:26:48Z | CONTRIBUTOR | resolved | The `urllib.proxy_bypass` implementation on Windows is using forward and reverse DNS requests. This can result in major performance issues (I guess this depends on the DNS server, right now I have seen delays up to 15 seconds!). Additionally, this behavior is contrary to all major browser implementations.
This could... | {
"avatar_url": "https://avatars.githubusercontent.com/u/238652?v=4",
"events_url": "https://api.github.com/users/schlamar/events{/privacy}",
"followers_url": "https://api.github.com/users/schlamar/followers",
"following_url": "https://api.github.com/users/schlamar/following{/other_user}",
"gists_url": "https... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3976/reactions"
} | https://api.github.com/repos/psf/requests/issues/3976/timeline | null | completed | null | null | false | [
"In principle we are not attached to the specific implementation of `proxy_bypass`, only the net result. Any change away would be required to reproduce all relevant functionality and to provide complete test coverage. If you're open to doing that work we'll happily consider the PR. ",
"Basically, this would be th... |
https://api.github.com/repos/psf/requests/issues/3975 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3975/labels{/name} | https://api.github.com/repos/psf/requests/issues/3975/comments | https://api.github.com/repos/psf/requests/issues/3975/events | https://github.com/psf/requests/issues/3975 | 222,780,431 | MDU6SXNzdWUyMjI3ODA0MzE= | 3,975 | requests.packages.urllib3.connection.HTTPConnection object at 0x00007effa13b1ec0>: Failed to establish a new connection: [Errno -11] System error | {
"avatar_url": "https://avatars.githubusercontent.com/u/5113718?v=4",
"events_url": "https://api.github.com/users/steelliberty/events{/privacy}",
"followers_url": "https://api.github.com/users/steelliberty/followers",
"following_url": "https://api.github.com/users/steelliberty/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 25 | 2017-04-19T15:38:09Z | 2021-09-08T11:00:31Z | 2017-04-21T14:56:12Z | NONE | resolved | While using grequests I get the following error after running a program which repeatedly checks a batch of urls to determine if the sites are up.
For simplicity say I do this :
I have 50 urls.
I created an httpmonitor module that is handed the urls and then the module is sent to a background/thread-with-Queu... | {
"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/3975/reactions"
} | https://api.github.com/repos/psf/requests/issues/3975/timeline | null | completed | null | null | false | [
"It seems likely that this is an FD limit. If you raise the ulimit of the process does it delay the error?",
"Thank you for the response .. I have not changed the ulimit -- currently at 1024 -- Is there a standard procedure for how to do this and have it remain across reboots.. sorry I have not ventured down that... |
https://api.github.com/repos/psf/requests/issues/3974 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3974/labels{/name} | https://api.github.com/repos/psf/requests/issues/3974/comments | https://api.github.com/repos/psf/requests/issues/3974/events | https://github.com/psf/requests/issues/3974 | 222,688,600 | MDU6SXNzdWUyMjI2ODg2MDA= | 3,974 | 'headers' field does not allow multiple headers with the same name | {
"avatar_url": "https://avatars.githubusercontent.com/u/9937444?v=4",
"events_url": "https://api.github.com/users/ugultopu/events{/privacy}",
"followers_url": "https://api.github.com/users/ugultopu/followers",
"following_url": "https://api.github.com/users/ugultopu/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 1 | 2017-04-19T10:16:37Z | 2021-09-08T11:00:32Z | 2017-04-19T10:56:59Z | NONE | resolved | A response returns multiple `Set-Cookie` headers. When I wanted to see these using `response.headers`, only a single `Set-Cookie` header is shown. I have expected all `Set-Cookie` headers to be shown.
Is it intentional to show only one header key-value pair per header key? | {
"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/3974/reactions"
} | https://api.github.com/repos/psf/requests/issues/3974/timeline | null | completed | null | null | false | [
"Requests does show multiples, but it joins them into a single header field. This allows users to get a slightly more intuitive behaviour than returning lists, though it does reduce fidelity slightly. "
] |
https://api.github.com/repos/psf/requests/issues/3973 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3973/labels{/name} | https://api.github.com/repos/psf/requests/issues/3973/comments | https://api.github.com/repos/psf/requests/issues/3973/events | https://github.com/psf/requests/issues/3973 | 222,489,923 | MDU6SXNzdWUyMjI0ODk5MjM= | 3,973 | ETA on 2.14? + docs request on release schedule | {
"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... | [] | closed | true | null | [] | null | 4 | 2017-04-18T17:31:40Z | 2021-09-08T11:00:31Z | 2017-04-19T16:35:33Z | CONTRIBUTOR | resolved | 1. Is there an ETA on 2.14? I couldn't find any milestone info and there seems to be a few dozen PRs merged since January.
2. There should probably be a line about the release schedule in the contributors guide or elsewhere, so I people like me don't ask annoying questions.
I don't mean to prod for a release, bu... | {
"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/3973/reactions"
} | https://api.github.com/repos/psf/requests/issues/3973/timeline | null | completed | null | null | false | [
"Heh, there is no schedule. The schedule is \"whenever the core devs feel that a release is warranted\". In this case, I have an OmniFocus task for this but am currently on holiday, so would expect that we'll release next week. \r\n\r\nGenerally speaking I'd say that a schedule doesn't work for a project like this ... |
https://api.github.com/repos/psf/requests/issues/3972 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3972/labels{/name} | https://api.github.com/repos/psf/requests/issues/3972/comments | https://api.github.com/repos/psf/requests/issues/3972/events | https://github.com/psf/requests/issues/3972 | 222,472,324 | MDU6SXNzdWUyMjI0NzIzMjQ= | 3,972 | Custom Handler | {
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 6 | 2017-04-18T16:24:53Z | 2021-09-08T11:00:32Z | 2017-04-19T12:32:41Z | NONE | resolved | How do you extend requests to use a custom handler for a security scheme?
I'm looking for documentation on how to extend the API basically.
Thanks | {
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_ur... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3972/reactions"
} | https://api.github.com/repos/psf/requests/issues/3972/timeline | null | completed | null | null | false | [
"What specific kind of API extension do you have in mind? Generally speaking you'd do it by subclassing the Session object.",
"I have a site that is token based security, and I want to create a handler to work with this. So I know the username, password, expiration, and token url, and I want the authentication h... |
https://api.github.com/repos/psf/requests/issues/3971 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3971/labels{/name} | https://api.github.com/repos/psf/requests/issues/3971/comments | https://api.github.com/repos/psf/requests/issues/3971/events | https://github.com/psf/requests/issues/3971 | 222,419,006 | MDU6SXNzdWUyMjI0MTkwMDY= | 3,971 | Requests.Get Response Includes Unexpected Values | {
"avatar_url": "https://avatars.githubusercontent.com/u/26935905?v=4",
"events_url": "https://api.github.com/users/skyfxl/events{/privacy}",
"followers_url": "https://api.github.com/users/skyfxl/followers",
"following_url": "https://api.github.com/users/skyfxl/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 2 | 2017-04-18T13:35:31Z | 2021-09-08T10:00:44Z | 2017-05-22T15:34:23Z | NONE | resolved | Hi,
I encountered an issue when using the requests.get command with Python 3.5.1. I described the issue in [this Stack Overflow post](http://stackoverflow.com/questions/43218259/python-requests-get-response-includes-unexpected-values). The solution was to use Python 2.7.13, so I'm not 100% sure whether the issue is ... | {
"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/3971/reactions"
} | https://api.github.com/repos/psf/requests/issues/3971/timeline | null | completed | null | null | false | [
"That looks very much like a bug in httplib. If it's possible for us to recreate the bad request from our own machines we can work out exactly what's going on: otherwise we'll need to wait for a good repro. ",
"LUCKIEST HUMAN BEING NOW!!!. After setting the HTTP on the same server, Requests was able to return res... |
https://api.github.com/repos/psf/requests/issues/3970 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3970/labels{/name} | https://api.github.com/repos/psf/requests/issues/3970/comments | https://api.github.com/repos/psf/requests/issues/3970/events | https://github.com/psf/requests/issues/3970 | 222,361,541 | MDU6SXNzdWUyMjIzNjE1NDE= | 3,970 | requests.exceptions.ConnectionError | {
"avatar_url": "https://avatars.githubusercontent.com/u/26059420?v=4",
"events_url": "https://api.github.com/users/srikanth-chandaluri/events{/privacy}",
"followers_url": "https://api.github.com/users/srikanth-chandaluri/followers",
"following_url": "https://api.github.com/users/srikanth-chandaluri/following{/... | [] | closed | true | null | [] | null | 12 | 2017-04-18T09:53:10Z | 2021-02-11T14:22:11Z | 2017-04-18T16:05:04Z | NONE | off-topic | `response = requests.post(url, data=payload ,verify=False, timeout=(3.05, 6.05))`
works fine in python shell but not in python manage.py shell (django)
I am getting below error
'requests.exceptions.ConnectionError: HTTPConnectionPool(host='ggk-wrl-win1', port=9090): Max retries exceeded with url: /home/trusted/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/3970/reactions"
} | https://api.github.com/repos/psf/requests/issues/3970/timeline | null | completed | null | null | false | [
"You have truncated the exception message so I can't see what it is, do you mind providing the full exception string?",
"\r\n Report\n> Merging [#3969](https://codecov.io/gh/kennethreitz/requests/pull/3969?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/fd7dcd278557c517a0df6f6a4415c4922e6bd0d5?src=pr&el=desc) will **increase**... |
https://api.github.com/repos/psf/requests/issues/3968 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3968/labels{/name} | https://api.github.com/repos/psf/requests/issues/3968/comments | https://api.github.com/repos/psf/requests/issues/3968/events | https://github.com/psf/requests/issues/3968 | 222,060,438 | MDU6SXNzdWUyMjIwNjA0Mzg= | 3,968 | URLs with Square Brackets [] | {
"avatar_url": "https://avatars.githubusercontent.com/u/3072436?v=4",
"events_url": "https://api.github.com/users/apollodatasolutions/events{/privacy}",
"followers_url": "https://api.github.com/users/apollodatasolutions/followers",
"following_url": "https://api.github.com/users/apollodatasolutions/following{/o... | [] | closed | true | null | [] | null | 3 | 2017-04-17T03:55:19Z | 2021-09-08T11:00:33Z | 2017-04-17T22:27:51Z | NONE | resolved | We were using Requests with FileStack without issues until we ran into this URL format:
**https://process.filestackapi.com/store=l:S3,p:"/watermarked/"/watermark=f:wUaFDoPfRAiT50LQZWs9,p:[bottom,right],s:63/p2aaZ8pzS8md1vLzY7V2**
the **p:[bottom,right]** part seems to be causing issues (the request doesn't proper... | {
"avatar_url": "https://avatars.githubusercontent.com/u/3072436?v=4",
"events_url": "https://api.github.com/users/apollodatasolutions/events{/privacy}",
"followers_url": "https://api.github.com/users/apollodatasolutions/followers",
"following_url": "https://api.github.com/users/apollodatasolutions/following{/o... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3968/reactions"
} | https://api.github.com/repos/psf/requests/issues/3968/timeline | null | completed | null | null | false | [
"Are you sure you need it? Requests won't treat them as globs, so that's not a concern. We will encode them, but the snippet of documentation you provided suggested that that is fine. Have you actually tried the request at all?",
"Yes, I tried it without the square brackets, no luck. And yes, I tried the request... |
https://api.github.com/repos/psf/requests/issues/3967 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3967/labels{/name} | https://api.github.com/repos/psf/requests/issues/3967/comments | https://api.github.com/repos/psf/requests/issues/3967/events | https://github.com/psf/requests/issues/3967 | 222,057,659 | MDU6SXNzdWUyMjIwNTc2NTk= | 3,967 | waiting for a very long time for the reponse | {
"avatar_url": "https://avatars.githubusercontent.com/u/10825713?v=4",
"events_url": "https://api.github.com/users/etiaxie/events{/privacy}",
"followers_url": "https://api.github.com/users/etiaxie/followers",
"following_url": "https://api.github.com/users/etiaxie/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 2 | 2017-04-17T03:24:43Z | 2021-09-08T10:00:50Z | 2017-05-15T16:15:42Z | NONE | resolved | python version:2.7
requests version:2.11.1
when the response expected to be redirect(301),after I send out the request.get message, it will take a long time to get response.
however in the wireshark can see the response is immediately returned.it seems like somewhere in code after get the response takes the time o... | {
"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/3967/reactions"
} | https://api.github.com/repos/psf/requests/issues/3967/timeline | null | completed | null | null | false | [
"Is the response body complete immediately? Can you provide a URL to reproduce this error?",
"This has been stale for nearly a month. We can reopen this if we get more information and can determine that this is actually a bug in Request."
] |
https://api.github.com/repos/psf/requests/issues/3966 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3966/labels{/name} | https://api.github.com/repos/psf/requests/issues/3966/comments | https://api.github.com/repos/psf/requests/issues/3966/events | https://github.com/psf/requests/issues/3966 | 222,045,805 | MDU6SXNzdWUyMjIwNDU4MDU= | 3,966 | _ssl.c:510: error:14077438 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13785009?v=4",
"events_url": "https://api.github.com/users/Elias-gg/events{/privacy}",
"followers_url": "https://api.github.com/users/Elias-gg/followers",
"following_url": "https://api.github.com/users/Elias-gg/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2017-04-17T01:10:09Z | 2021-09-08T11:00:33Z | 2017-04-17T12:20:27Z | NONE | resolved | I am currently running python 2.7.6 on C9.io | {
"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/3966/reactions"
} | https://api.github.com/repos/psf/requests/issues/3966/timeline | null | completed | null | null | false | [
"This is nowhere near enough information. Please let us know the installed version of Requests, all other packages installed in your environment, what host you're connecting to, and what the Python startup version data is."
] |
https://api.github.com/repos/psf/requests/issues/3965 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3965/labels{/name} | https://api.github.com/repos/psf/requests/issues/3965/comments | https://api.github.com/repos/psf/requests/issues/3965/events | https://github.com/psf/requests/issues/3965 | 221,865,041 | MDU6SXNzdWUyMjE4NjUwNDE= | 3,965 | OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF') | {
"avatar_url": "https://avatars.githubusercontent.com/u/17933013?v=4",
"events_url": "https://api.github.com/users/ShepherdTsai/events{/privacy}",
"followers_url": "https://api.github.com/users/ShepherdTsai/followers",
"following_url": "https://api.github.com/users/ShepherdTsai/following{/other_user}",
"gist... | [] | closed | true | null | [] | null | 12 | 2017-04-14T18:35:36Z | 2021-09-08T11:00:31Z | 2017-04-14T18:56:30Z | NONE | resolved | I'm on Windows 10 with OpenSSL 1.0.1l 15 Jan 2015, python 3.4.3, Requests 2.13.10, and when attempting to connect to a website with the following code:
```
import requests
s = requests.Session()
res = s.get('https://ma.mohw.gov.tw/masearch/SearchBAS-101-1.aspx', verify=True)
```
It throws the following error:
... | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/3965/reactions"
} | https://api.github.com/repos/psf/requests/issues/3965/timeline | null | completed | null | null | false | [
"As you can see from the warnings [here](https://www.ssllabs.com/ssltest/analyze.html?d=ma.mohw.gov.tw&s=203.65.42.166&hideResults=on), this server has a pretty bad TLS config. In particular, the only cipher suite it supports was removed from the default Requests config because it is insecure in some uses. \r\n\r\n... |
https://api.github.com/repos/psf/requests/issues/3964 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3964/labels{/name} | https://api.github.com/repos/psf/requests/issues/3964/comments | https://api.github.com/repos/psf/requests/issues/3964/events | https://github.com/psf/requests/issues/3964 | 221,757,931 | MDU6SXNzdWUyMjE3NTc5MzE= | 3,964 | when i import requests, UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 1: ordinal not in range(128),how to solve this? | {
"avatar_url": "https://avatars.githubusercontent.com/u/16998719?v=4",
"events_url": "https://api.github.com/users/BigFishhhh/events{/privacy}",
"followers_url": "https://api.github.com/users/BigFishhhh/followers",
"following_url": "https://api.github.com/users/BigFishhhh/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 1 | 2017-04-14T07:26:33Z | 2021-09-08T11:00:33Z | 2017-04-14T10:32:43Z | NONE | resolved | >>> import requests
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python2713\lib\site-packages\requests\__init__.py", line 52, in <module>
from .packages.urllib3.contrib import pyopenssl
File "C:\Python2713\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py... | {
"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/3964/reactions"
} | https://api.github.com/repos/psf/requests/issues/3964/timeline | null | completed | null | null | false | [
"Hey there. You have raised this issue before, [here](https://github.com/kennethreitz/requests/issues/1252#issuecomment-291438569), and so I will give the same advice again: this appears to be a problem with asn1crypto, not Requests: please open an issue on their repository."
] |
https://api.github.com/repos/psf/requests/issues/3963 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3963/labels{/name} | https://api.github.com/repos/psf/requests/issues/3963/comments | https://api.github.com/repos/psf/requests/issues/3963/events | https://github.com/psf/requests/pull/3963 | 221,324,803 | MDExOlB1bGxSZXF1ZXN0MTE1NTg3NDIy | 3,963 | fix unicode decode error on py2 when handling redirect without scheme | {
"avatar_url": "https://avatars.githubusercontent.com/u/23416546?v=4",
"events_url": "https://api.github.com/users/shmuelamar/events{/privacy}",
"followers_url": "https://api.github.com/users/shmuelamar/followers",
"following_url": "https://api.github.com/users/shmuelamar/following{/other_user}",
"gists_url"... | [] | closed | true | null | [] | null | 2 | 2017-04-12T16:49:28Z | 2021-09-06T00:07:04Z | 2017-04-14T20:13:50Z | CONTRIBUTOR | resolved | as discussed on #3959 , fix the UnicodeDecodeError happening because implicit decoding of str string into unicode while using python2.
This issue happens when handling redirection without scheme (i.e. Location: //URL) on python2 and only if the location is unicode.
First time applying a PR on GitHub so let me kn... | {
"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/3963/reactions"
} | https://api.github.com/repos/psf/requests/issues/3963/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/3963.diff",
"html_url": "https://github.com/psf/requests/pull/3963",
"merged_at": "2017-04-14T20:13:50Z",
"patch_url": "https://github.com/psf/requests/pull/3963.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/3963"
} | true | [
"# [Codecov](https://codecov.io/gh/kennethreitz/requests/pull/3963?src=pr&el=h1) Report\n> Merging [#3963](https://codecov.io/gh/kennethreitz/requests/pull/3963?src=pr&el=desc) into [master](https://codecov.io/gh/kennethreitz/requests/commit/84a60407628e83c004e3ea24a2d856a55d7a5c59?src=pr&el=desc) will **increase**... |
https://api.github.com/repos/psf/requests/issues/3962 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/3962/labels{/name} | https://api.github.com/repos/psf/requests/issues/3962/comments | https://api.github.com/repos/psf/requests/issues/3962/events | https://github.com/psf/requests/issues/3962 | 220,832,727 | MDU6SXNzdWUyMjA4MzI3Mjc= | 3,962 | Set-Cookie header didn't handled | {
"avatar_url": "https://avatars.githubusercontent.com/u/4250691?v=4",
"events_url": "https://api.github.com/users/tutorial0/events{/privacy}",
"followers_url": "https://api.github.com/users/tutorial0/followers",
"following_url": "https://api.github.com/users/tutorial0/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2017-04-11T03:56:52Z | 2021-09-08T11:00:34Z | 2017-04-11T06:30:29Z | NONE | resolved | Test code:
```
In [2]: rq = requests.get('http://httpbin.org/cookies/delete?k2=&k1=', cookies={'k2':'1'})
In [3]: rq.content
Out[3]: '{\n "cookies": {\n "k2": "1"\n }\n}\n'
```
requests should delete `k2` and return `"cookies": {}`, but it didn't.
Should act like:
```
➜ ~ http http://httpbin.org/cookie... | {
"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/3962/reactions"
} | https://api.github.com/repos/psf/requests/issues/3962/timeline | null | completed | null | null | false | [
"Yes, this is somewhat intended behaviour. For setting cookies like this Requests isn't really sure what the scope of the cookie is: is it only the scope of the single request domain and path? The whole domain? The domain and subdomains? All hosts?\r\n\r\nFor that reason, given that the remote site didn't set it, w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.