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/1629 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1629/labels{/name} | https://api.github.com/repos/psf/requests/issues/1629/comments | https://api.github.com/repos/psf/requests/issues/1629/events | https://github.com/psf/requests/pull/1629 | 20,099,553 | MDExOlB1bGxSZXF1ZXN0ODYyMjI5Mw== | 1,629 | Made proxy support more clear in README. | {
"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... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 3 | 2013-09-26T09:45:06Z | 2021-09-08T23:06:22Z | 2013-09-26T19:01:25Z | CONTRIBUTOR | resolved | see #1622
| {
"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/1629/reactions"
} | https://api.github.com/repos/psf/requests/issues/1629/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1629.diff",
"html_url": "https://github.com/psf/requests/pull/1629",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1629.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1629"
} | true | [
"This suits me fine, but the README is inside Kenneth's wheelhouse so I'm leaving it up to him. =)\n",
"i'm going to use slightly different wording, but thanks!\n",
"@kennethreitz Did you forget about this? Can't find a relevant commit ;)\n"
] |
https://api.github.com/repos/psf/requests/issues/1628 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1628/labels{/name} | https://api.github.com/repos/psf/requests/issues/1628/comments | https://api.github.com/repos/psf/requests/issues/1628/events | https://github.com/psf/requests/pull/1628 | 20,099,542 | MDExOlB1bGxSZXF1ZXN0ODYyMjI4NA== | 1,628 | Update host header on redirect. | {
"avatar_url": "https://avatars.githubusercontent.com/u/157797?v=4",
"events_url": "https://api.github.com/users/Scorpil/events{/privacy}",
"followers_url": "https://api.github.com/users/Scorpil/followers",
"following_url": "https://api.github.com/users/Scorpil/following{/other_user}",
"gists_url": "https://... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 26 | 2013-09-26T09:44:58Z | 2021-09-08T23:11:05Z | 2013-12-05T22:39:12Z | NONE | resolved | If you manually specify HTTP Host header, any redirect to host different from specified will result in TooManyRedirects exception.
Example:
```
>>> import requests
>>> requests.get('http://reddit.com', headers={"Host": "reddit.com"})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "re... | {
"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/1628/reactions"
} | https://api.github.com/repos/psf/requests/issues/1628/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1628.diff",
"html_url": "https://github.com/psf/requests/pull/1628",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1628.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1628"
} | true | [
"Thanks for this! The Pull Request itself looks good.\n\nBefore we merge this, I want to nail down a few things because it's not clear to me this this fix won't cause people problems. In particular, if you've set `Host` explicitly you clearly feel that Requests is going to choose an incorrect value for that header.... |
https://api.github.com/repos/psf/requests/issues/1627 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1627/labels{/name} | https://api.github.com/repos/psf/requests/issues/1627/comments | https://api.github.com/repos/psf/requests/issues/1627/events | https://github.com/psf/requests/pull/1627 | 20,092,700 | MDExOlB1bGxSZXF1ZXN0ODYxODY3Mg== | 1,627 | Fixed #1623. Added 'MD5-sess' algorithm to HTTPDigestAuth | {
"avatar_url": "https://avatars.githubusercontent.com/u/3482660?v=4",
"events_url": "https://api.github.com/users/daftshady/events{/privacy}",
"followers_url": "https://api.github.com/users/daftshady/followers",
"following_url": "https://api.github.com/users/daftshady/following{/other_user}",
"gists_url": "h... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 44501305,
"name": "Not Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTMwNQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Not%20Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 2 | 2013-09-26T06:46:26Z | 2021-09-08T23:05:12Z | 2013-10-07T23:22:50Z | CONTRIBUTOR | resolved | See https://github.com/kennethreitz/requests/issues/1623
I've added md5-sess algorithm referencing 'http://en.wikipedia.org/wiki/Digest_access_authentication'
Any criticism is welcome :)
| {
"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/1627/reactions"
} | https://api.github.com/repos/psf/requests/issues/1627/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1627.diff",
"html_url": "https://github.com/psf/requests/pull/1627",
"merged_at": "2013-10-07T23:22:50Z",
"patch_url": "https://github.com/psf/requests/pull/1627.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1627"
} | true | [
"Thanks for this!\n\nI'm not in the best place to review this, having not contributed to this section of our codebase, but I can point out a few things. @sigmavirus24 would do a better job of reviewing this change.\n\nFirstly, according to RFC 2617, ['If the \"algorithm\" directive's value is \"MD5-sess\", then A1 ... |
https://api.github.com/repos/psf/requests/issues/1626 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1626/labels{/name} | https://api.github.com/repos/psf/requests/issues/1626/comments | https://api.github.com/repos/psf/requests/issues/1626/events | https://github.com/psf/requests/issues/1626 | 20,091,051 | MDU6SXNzdWUyMDA5MTA1MQ== | 1,626 | Cann't run request in crontab | {
"avatar_url": "https://avatars.githubusercontent.com/u/317622?v=4",
"events_url": "https://api.github.com/users/massifor/events{/privacy}",
"followers_url": "https://api.github.com/users/massifor/followers",
"following_url": "https://api.github.com/users/massifor/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2013-09-26T05:31:21Z | 2021-09-09T00:34:30Z | 2013-10-11T11:04:15Z | NONE | resolved | I write a python script for sending post request, and add the script to crontab.
The code like this:
for i in range(10):
requests.post(url, data=data, files=files)
When I run the script on shell, it working well.
But run it in crontab, the loop just execute once, not 10 times.
| {
"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/1626/reactions"
} | https://api.github.com/repos/psf/requests/issues/1626/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nUh..that doesn't seem at all possible. Can you redirect stdout and stderr to a file and see if anything is being outputted?\n",
"@massifor do you have any more details for us?\n",
"Closing due to inactivity.\n"
] |
https://api.github.com/repos/psf/requests/issues/1625 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1625/labels{/name} | https://api.github.com/repos/psf/requests/issues/1625/comments | https://api.github.com/repos/psf/requests/issues/1625/events | https://github.com/psf/requests/pull/1625 | 20,045,156 | MDExOlB1bGxSZXF1ZXN0ODU5NTAyMA== | 1,625 | kbutton.org button added to README file to clone requests in Koding cloud. | {
"avatar_url": "https://avatars.githubusercontent.com/u/4077495?v=4",
"events_url": "https://api.github.com/users/fka/events{/privacy}",
"followers_url": "https://api.github.com/users/fka/followers",
"following_url": "https://api.github.com/users/fka/following{/other_user}",
"gists_url": "https://api.github.... | [
{
"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"
}
] | closed | true | null | [] | null | 5 | 2013-09-25T14:33:23Z | 2021-09-08T21:01:12Z | 2013-09-25T15:34:22Z | NONE | resolved | It adds the kbutton to clone requests repository into Koding easily. You can find the details in http://kbutton.org
Thank you so much! :)
github: @f
twitter: @fkadev
Fatih Kadir Akin
| {
"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/1625/reactions"
} | https://api.github.com/repos/psf/requests/issues/1625/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1625.diff",
"html_url": "https://github.com/psf/requests/pull/1625",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1625.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1625"
} | true | [
"I'm totally +0 on this, it's up to @kennethreitz. =)\n",
"@Lukasa Sure. It's just a request. :)\n",
"Is this necessary for users to use that site or is this just a way of promoting that site? If the former then I'm +0.5 otherwise -1\n",
"@fka This is really cool! I think I'll hold off on it for now, though. ... |
https://api.github.com/repos/psf/requests/issues/1624 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1624/labels{/name} | https://api.github.com/repos/psf/requests/issues/1624/comments | https://api.github.com/repos/psf/requests/issues/1624/events | https://github.com/psf/requests/issues/1624 | 20,039,390 | MDU6SXNzdWUyMDAzOTM5MA== | 1,624 | bad authentication with Twitter and update_with_media | {
"avatar_url": "https://avatars.githubusercontent.com/u/752122?v=4",
"events_url": "https://api.github.com/users/monocasual/events{/privacy}",
"followers_url": "https://api.github.com/users/monocasual/followers",
"following_url": "https://api.github.com/users/monocasual/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 4 | 2013-09-25T12:51:17Z | 2021-09-09T01:22:20Z | 2013-09-25T14:54:17Z | NONE | resolved | Hi guys, thank you for this great library!
I'm trying to publish a tweet with a picture in it, by calling update_with_media, without success. This is my code so far:
``` python
import requests_oauthlib
import requests
auth = requests_oauthlib.OAuth1(YOUR_APP_KEY, YOUR_APP_SECRET, USER_OAUTH_TOKEN, USER_OAUTH_TOKEN_SE... | {
"avatar_url": "https://avatars.githubusercontent.com/u/752122?v=4",
"events_url": "https://api.github.com/users/monocasual/events{/privacy}",
"followers_url": "https://api.github.com/users/monocasual/followers",
"following_url": "https://api.github.com/users/monocasual/following{/other_user}",
"gists_url": ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1624/reactions"
} | https://api.github.com/repos/psf/requests/issues/1624/timeline | null | completed | null | null | false | [
"One thing I noticed is that you're never using the auth instance you create. Is this just a mistake in your example code or are you actually never using it? On top of that, OAuth is only supposed to sign certain kinds of data if I remember correctly so and multipart form-data is not one of those kinds.\n\nCan I as... |
https://api.github.com/repos/psf/requests/issues/1623 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1623/labels{/name} | https://api.github.com/repos/psf/requests/issues/1623/comments | https://api.github.com/repos/psf/requests/issues/1623/events | https://github.com/psf/requests/issues/1623 | 20,030,222 | MDU6SXNzdWUyMDAzMDIyMg== | 1,623 | Use MD5-sess authentication got "UnboundLocalError: local variable 'hash_utf8' referenced before assignment" | {
"avatar_url": "https://avatars.githubusercontent.com/u/537911?v=4",
"events_url": "https://api.github.com/users/linuxhngg/events{/privacy}",
"followers_url": "https://api.github.com/users/linuxhngg/followers",
"following_url": "https://api.github.com/users/linuxhngg/following{/other_user}",
"gists_url": "ht... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "0b02e1",
"default": false,
"description": null... | closed | true | null | [] | null | 7 | 2013-09-25T09:13:46Z | 2021-09-09T01:22:21Z | 2013-09-26T07:54:08Z | NONE | resolved | Error Message:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/api.py", line 55, in get
return request('get', url, *_kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.... | {
"avatar_url": "https://avatars.githubusercontent.com/u/537911?v=4",
"events_url": "https://api.github.com/users/linuxhngg/events{/privacy}",
"followers_url": "https://api.github.com/users/linuxhngg/followers",
"following_url": "https://api.github.com/users/linuxhngg/following{/other_user}",
"gists_url": "ht... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1623/reactions"
} | https://api.github.com/repos/psf/requests/issues/1623/timeline | null | completed | null | null | false | [
"I just saw this is not implemented yet, so please ignore.\n",
"I don't think we should ignore this, I think we should fix it. =) I'll try to take a run at it sometime soon.\n",
"I think it's working correctly when i tested with md5.\nIn my opinion, that UnboundLocalError only happens when 'www-authenticate' he... |
https://api.github.com/repos/psf/requests/issues/1622 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1622/labels{/name} | https://api.github.com/repos/psf/requests/issues/1622/comments | https://api.github.com/repos/psf/requests/issues/1622/events | https://github.com/psf/requests/issues/1622 | 20,020,060 | MDU6SXNzdWUyMDAyMDA2MA== | 1,622 | Requests 2.0.0 breaks SSL proxying via https_port of Squid. | {
"avatar_url": "https://avatars.githubusercontent.com/u/507637?v=4",
"events_url": "https://api.github.com/users/GrahamDumpleton/events{/privacy}",
"followers_url": "https://api.github.com/users/GrahamDumpleton/followers",
"following_url": "https://api.github.com/users/GrahamDumpleton/following{/other_user}",
... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "f7c6c7",
"default": false,
"description": null,
"id": 167537670,
... | closed | true | null | [] | null | 40 | 2013-09-25T03:16:36Z | 2021-09-08T23:06:05Z | 2015-01-19T09:25:49Z | CONTRIBUTOR | resolved | For a Squid configuration of:
```
http_port 3128
https_port 3129 cert=/usr/local/opt/squid/etc/ssl/squid.crt key=/usr/local/opt/squid/etc/ssl/squid.key
```
And test names where:
The 'http_port' annotation indicates whether Squid HTTP port was used.
The 'https_port' annotation indicates whether Squid HTTPS port was ... | {
"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/1622/reactions"
} | https://api.github.com/repos/psf/requests/issues/1622/timeline | null | completed | null | null | false | [
"Unless someone else beats me to it, I'll probably take a look at duplicating this weekend. I have pretty much no context on the proxy work though so if anyone with some background on that wants to pair on this let me know.\n",
"To explain more about what has been broken. Consider the following;\n\nrequests - 1.2... |
https://api.github.com/repos/psf/requests/issues/1621 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1621/labels{/name} | https://api.github.com/repos/psf/requests/issues/1621/comments | https://api.github.com/repos/psf/requests/issues/1621/events | https://github.com/psf/requests/pull/1621 | 20,017,801 | MDExOlB1bGxSZXF1ZXN0ODU4MDMxNA== | 1,621 | Added migrating to 2.x docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/185043?v=4",
"events_url": "https://api.github.com/users/davidfischer/events{/privacy}",
"followers_url": "https://api.github.com/users/davidfischer/followers",
"following_url": "https://api.github.com/users/davidfischer/following{/other_user}",
"gists_... | [] | closed | true | null | [] | null | 5 | 2013-09-25T01:42:32Z | 2021-09-08T21:01:11Z | 2013-09-25T02:02:18Z | CONTRIBUTOR | resolved | In a similar vein to the migrating to 1.x docs, this section details changes that can break existing code in order to ease the migration to 2.x. I didn't talk about any of the added APIs since those don't really break existing code. Compared with the last major release, there's not much to say.
This is largely based o... | {
"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/1621/reactions"
} | https://api.github.com/repos/psf/requests/issues/1621/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1621.diff",
"html_url": "https://github.com/psf/requests/pull/1621",
"merged_at": "2013-09-25T02:02:18Z",
"patch_url": "https://github.com/psf/requests/pull/1621.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1621"
} | true | [
":cake:\n",
"@davidfischer I think the link would be fantastic, actually. Want to add it?\n",
"@kennethreitz linked!\n",
":100: \n",
"This is awesome @davidfischer, thanks! =D :cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1620 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1620/labels{/name} | https://api.github.com/repos/psf/requests/issues/1620/comments | https://api.github.com/repos/psf/requests/issues/1620/events | https://github.com/psf/requests/issues/1620 | 20,006,697 | MDU6SXNzdWUyMDAwNjY5Nw== | 1,620 | requests doesn't fill CookieJar | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 3 | 2013-09-24T21:15:35Z | 2021-09-09T01:22:22Z | 2013-09-24T21:21:20Z | NONE | resolved | First of all, i cannot use session to manage cookies across many requests.
Based on this answer http://stackoverflow.com/questions/6878418/putting-a-cookie-in-a-cookiejar, requests should fill CookieJar object
jar = cookielib.CookieJar()
r = requests.get(URL, cookies=jar)
But it doesn't work for me.
Is this a bug ... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1620/reactions"
} | https://api.github.com/repos/psf/requests/issues/1620/timeline | null | completed | null | null | false | [
"Why can't you use a session?\n",
"To answer the question:\n\nThat answer is two years old. Today marked the release of the second major API breaking version release. Answers from two years prior are not even remotely applicable to today's versions of requests. In other words, no that is not still possible and it... |
https://api.github.com/repos/psf/requests/issues/1619 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1619/labels{/name} | https://api.github.com/repos/psf/requests/issues/1619/comments | https://api.github.com/repos/psf/requests/issues/1619/events | https://github.com/psf/requests/pull/1619 | 19,996,506 | MDExOlB1bGxSZXF1ZXN0ODU2ODU3Mg== | 1,619 | Up to date CL. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 0 | 2013-09-24T18:27:07Z | 2021-09-08T21:01:12Z | 2013-09-24T18:31:13Z | MEMBER | 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/1619/reactions"
} | https://api.github.com/repos/psf/requests/issues/1619/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1619.diff",
"html_url": "https://github.com/psf/requests/pull/1619",
"merged_at": "2013-09-24T18:31:13Z",
"patch_url": "https://github.com/psf/requests/pull/1619.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1619"
} | true | [] | |
https://api.github.com/repos/psf/requests/issues/1618 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1618/labels{/name} | https://api.github.com/repos/psf/requests/issues/1618/comments | https://api.github.com/repos/psf/requests/issues/1618/events | https://github.com/psf/requests/issues/1618 | 19,965,833 | MDU6SXNzdWUxOTk2NTgzMw== | 1,618 | Encountering off-host redirects using allow_redirects=True doesn't handle authentication sanely | {
"avatar_url": "https://avatars.githubusercontent.com/u/132824?v=4",
"events_url": "https://api.github.com/users/smokey42/events{/privacy}",
"followers_url": "https://api.github.com/users/smokey42/followers",
"following_url": "https://api.github.com/users/smokey42/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2013-09-24T09:24:12Z | 2021-09-09T01:22:22Z | 2013-09-24T17:50:21Z | NONE | resolved | Problem:
A host which requires authentication redirects off-hostname. Using `allow_redirects=True` will then send the target the current authentication headers. This is almost certainly wrong behaviour.
Probably a solution:
- Simple: Just reset the authentication when encountering an off-hostname redirect.
- Complex:... | {
"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/1618/reactions"
} | https://api.github.com/repos/psf/requests/issues/1618/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nI seem to recall we discussed this in the past, and decided that what we do here is a user-level issue. Some users may absolutely want their authentication headers to redirect off-host. Does that sound right to you @kennethreitz?\n",
"Ah, here we go. Original discussion on #975,... |
https://api.github.com/repos/psf/requests/issues/1617 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1617/labels{/name} | https://api.github.com/repos/psf/requests/issues/1617/comments | https://api.github.com/repos/psf/requests/issues/1617/events | https://github.com/psf/requests/issues/1617 | 19,952,471 | MDU6SXNzdWUxOTk1MjQ3MQ== | 1,617 | Inconsistent ConnectionError Behavior | {
"avatar_url": "https://avatars.githubusercontent.com/u/1452980?v=4",
"events_url": "https://api.github.com/users/laruellef/events{/privacy}",
"followers_url": "https://api.github.com/users/laruellef/followers",
"following_url": "https://api.github.com/users/laruellef/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 10 | 2013-09-24T01:52:34Z | 2015-03-10T08:12:42Z | 2013-09-24T02:45:49Z | NONE | null | Looking for guidance to solve the following problem:
On dev env / MacOSX, the following:
``` python
url = "http://insurance-guide.netfirms.com"
response = requests.get(url, timeout=90, verify=False, stream=True)
```
results in:
``` python
ConnectionError: HTTPConnectionPool(host='insurance-guide.netfirms.com', port... | {
"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/1617/reactions"
} | https://api.github.com/repos/psf/requests/issues/1617/timeline | null | completed | null | null | false | [
"It should be noted that the `ConnectionError` is raised without the parameters you specify:\n\n``` python\nresponse = requests.get('http://insurance-guide.netfirms.com')\n```\n\nproduces this exception as reliably as your example does. Oddly enough, I get a different reason for the exception though:\n\n```\nreques... |
https://api.github.com/repos/psf/requests/issues/1616 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1616/labels{/name} | https://api.github.com/repos/psf/requests/issues/1616/comments | https://api.github.com/repos/psf/requests/issues/1616/events | https://github.com/psf/requests/issues/1616 | 19,857,212 | MDU6SXNzdWUxOTg1NzIxMg== | 1,616 | Incorrect key types in request headers (python3) | {
"avatar_url": "https://avatars.githubusercontent.com/u/165325?v=4",
"events_url": "https://api.github.com/users/abn/events{/privacy}",
"followers_url": "https://api.github.com/users/abn/followers",
"following_url": "https://api.github.com/users/abn/following{/other_user}",
"gists_url": "https://api.github.c... | [] | closed | true | null | [] | null | 2 | 2013-09-21T14:21:04Z | 2021-09-09T01:22:25Z | 2013-09-21T14:31:31Z | NONE | resolved | Request header keys are being encoded and then checked for later. In python 3 this is causing issues.
In an example use case, if `Content-Type` is explicitly set, when making a post request, you end up getting both the user-set type and the default type, eg: `application/x-www-form-urlencoded`.
https://github.com/ke... | {
"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/1616/reactions"
} | https://api.github.com/repos/psf/requests/issues/1616/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nThis is a well known bug. We've had a fix for this for a very long time (more than 7 months), which has been scheduled for our next major release (2.0). This is planned to be our next release. In the meantime, the current `2.0` branch includes that change and many others. =)\n\nAd... |
https://api.github.com/repos/psf/requests/issues/1615 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1615/labels{/name} | https://api.github.com/repos/psf/requests/issues/1615/comments | https://api.github.com/repos/psf/requests/issues/1615/events | https://github.com/psf/requests/issues/1615 | 19,856,265 | MDU6SXNzdWUxOTg1NjI2NQ== | 1,615 | ConnectionError on timeout=0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1592927?v=4",
"events_url": "https://api.github.com/users/Damgaard/events{/privacy}",
"followers_url": "https://api.github.com/users/Damgaard/followers",
"following_url": "https://api.github.com/users/Damgaard/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 8 | 2013-09-21T13:02:18Z | 2021-09-09T01:22:23Z | 2013-09-24T17:49:47Z | CONTRIBUTOR | resolved | I get the following exception when doing a request with `timeout=0`.
``` bash
>>> requests.get('http://github.com', timeout=0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 55, in get
return request('get', url, **kwarg... | {
"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/1615/reactions"
} | https://api.github.com/repos/psf/requests/issues/1615/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nI don't think I agree with your assessment of what the 'expected behaviour' of this should be. You've set a timeout of zero seconds. That implies that the connection process should time out after zero seconds, e.g. immediately.\n\nI'm a bit mixed here. On the one hand, we're doing... |
https://api.github.com/repos/psf/requests/issues/1614 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1614/labels{/name} | https://api.github.com/repos/psf/requests/issues/1614/comments | https://api.github.com/repos/psf/requests/issues/1614/events | https://github.com/psf/requests/pull/1614 | 19,856,069 | MDExOlB1bGxSZXF1ZXN0ODUwNDExNQ== | 1,614 | Making requests PEP 302 compatible which makes its zip_safe for .egg distrubution | {
"avatar_url": "https://avatars.githubusercontent.com/u/735015?v=4",
"events_url": "https://api.github.com/users/rocktavious/events{/privacy}",
"followers_url": "https://api.github.com/users/rocktavious/followers",
"following_url": "https://api.github.com/users/rocktavious/following{/other_user}",
"gists_url... | [
{
"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": "e11d21",
"default": false,
"descrip... | closed | true | null | [] | null | 8 | 2013-09-21T12:41:51Z | 2021-09-08T23:06:28Z | 2013-09-24T17:40:52Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1614/reactions"
} | https://api.github.com/repos/psf/requests/issues/1614/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1614.diff",
"html_url": "https://github.com/psf/requests/pull/1614",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1614.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1614"
} | true | [
"Thanks for this!\n\nI don't know how much Kenneth will want/not want this. However, in its current form this PR can't be accepted. The reason is that our `requirements.txt` file actually defines our _testing_ requirements. For actual use, Requests has _no_ external dependencies. This is important to us, which mean... | |
https://api.github.com/repos/psf/requests/issues/1613 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1613/labels{/name} | https://api.github.com/repos/psf/requests/issues/1613/comments | https://api.github.com/repos/psf/requests/issues/1613/events | https://github.com/psf/requests/pull/1613 | 19,832,562 | MDExOlB1bGxSZXF1ZXN0ODQ5MTgzMQ== | 1,613 | Update urllib3 to b4391c1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/69920?v=4",
"events_url": "https://api.github.com/users/JshWright/events{/privacy}",
"followers_url": "https://api.github.com/users/JshWright/followers",
"following_url": "https://api.github.com/users/JshWright/following{/other_user}",
"gists_url": "htt... | [] | closed | true | null | [] | null | 1 | 2013-09-20T18:18:14Z | 2021-09-08T23:06:28Z | 2013-09-20T20:05:17Z | NONE | resolved | urllib3 recently added support for https proxies (https://github.com/shazow/urllib3/pull/170). This has been a blocking issue for our us of the requests library.
All tests pass, and no backwards incompatible changes are noted in the urllib3 docs.
| {
"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/1613/reactions"
} | https://api.github.com/repos/psf/requests/issues/1613/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1613.diff",
"html_url": "https://github.com/psf/requests/pull/1613",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1613.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1613"
} | true | [
"Thanks for raising this!\n\nThese changes are actually already available in the `2.0` branch. We're just as excited to have them merged as you are! The 2.0 release is intended to be our next release, but if you can't wait until then you should feel free to use Requests as it stands in the `2.0` branch. We've got a... |
https://api.github.com/repos/psf/requests/issues/1612 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1612/labels{/name} | https://api.github.com/repos/psf/requests/issues/1612/comments | https://api.github.com/repos/psf/requests/issues/1612/events | https://github.com/psf/requests/pull/1612 | 19,823,340 | MDExOlB1bGxSZXF1ZXN0ODQ4NjQ0Nw== | 1,612 | Multi-part file encoding requires types that allow buffer interface | {
"avatar_url": "https://avatars.githubusercontent.com/u/2776090?v=4",
"events_url": "https://api.github.com/users/sanmayaj/events{/privacy}",
"followers_url": "https://api.github.com/users/sanmayaj/followers",
"following_url": "https://api.github.com/users/sanmayaj/following{/other_user}",
"gists_url": "http... | [
{
"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": "eb6420",
"default": false,
"descrip... | closed | true | null | [] | null | 3 | 2013-09-20T15:19:51Z | 2021-09-08T23:06:19Z | 2013-09-24T17:44:28Z | NONE | resolved | "TypeError: 'long' does not have the buffer interface" fixed for multi-part file encoding.
| {
"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/1612/reactions"
} | https://api.github.com/repos/psf/requests/issues/1612/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1612.diff",
"html_url": "https://github.com/psf/requests/pull/1612",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1612.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1612"
} | true | [
"Your tests are failing on Python 3. Could you fix them please?\n",
"@sanmayaj do I understand correctly that you expect requests to string-ify everything you send in? Why can you not do this yourself on your inputs?\n\n> Be liberal in what you receive and conservative in what you send.\n\nYou should be assuming ... |
https://api.github.com/repos/psf/requests/issues/1611 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1611/labels{/name} | https://api.github.com/repos/psf/requests/issues/1611/comments | https://api.github.com/repos/psf/requests/issues/1611/events | https://github.com/psf/requests/issues/1611 | 19,760,284 | MDU6SXNzdWUxOTc2MDI4NA== | 1,611 | Specifying the source_address parameter for HTTP and HTTPS connections. | {
"avatar_url": "https://avatars.githubusercontent.com/u/668627?v=4",
"events_url": "https://api.github.com/users/standeck/events{/privacy}",
"followers_url": "https://api.github.com/users/standeck/followers",
"following_url": "https://api.github.com/users/standeck/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 5 | 2013-09-19T15:05:08Z | 2021-09-09T01:22:25Z | 2013-09-20T21:00:19Z | NONE | resolved | Add a possibility specify the source_address parameter.
HTTPConnection and HTTPSConnection support this parameter since Python 2.7 and Python 3.2.
This is necessary when one server has multiple ip.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/668627?v=4",
"events_url": "https://api.github.com/users/standeck/events{/privacy}",
"followers_url": "https://api.github.com/users/standeck/followers",
"following_url": "https://api.github.com/users/standeck/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/1611/reactions"
} | https://api.github.com/repos/psf/requests/issues/1611/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nThere's no particular interest in providing this parameter on the functional API at this time. By and large we expect that this behaviour will be controlled via [Transport Adapters](http://docs.python-requests.org/en/latest/user/advanced/#transport-adapters). For an example of how... |
https://api.github.com/repos/psf/requests/issues/1610 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1610/labels{/name} | https://api.github.com/repos/psf/requests/issues/1610/comments | https://api.github.com/repos/psf/requests/issues/1610/events | https://github.com/psf/requests/issues/1610 | 19,755,904 | MDU6SXNzdWUxOTc1NTkwNA== | 1,610 | Add copyright header to each source files to pass Debian's licensecheck.pl script | {
"avatar_url": "https://avatars.githubusercontent.com/u/75011?v=4",
"events_url": "https://api.github.com/users/maruel/events{/privacy}",
"followers_url": "https://api.github.com/users/maruel/followers",
"following_url": "https://api.github.com/users/maruel/following{/other_user}",
"gists_url": "https://api.... | [
{
"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"
}
] | 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 | 2013-09-19T13:55:23Z | 2021-09-09T01:22:23Z | 2013-09-24T17:51:02Z | NONE | resolved | It is a side effect of using requests in the Chromium project.
We have over 100 third party libraries in the codebase. While we audit all of their licenses, it's also helpful for Open Source Distributions like Debian and others to at least semi-automatically see what licenses apply to our 100+ libraries. For a team of... | {
"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/1610/reactions"
} | https://api.github.com/repos/psf/requests/issues/1610/timeline | null | completed | null | null | false | [
"Thanks for raising this!\n\nYeah, this is something I'm aware of. I recall briefly discussing with Kenneth when he switched licenses to Apache, which includes a similar recommendation. The way I remember it, I'm pretty strongly opposed to putting the full license in each file, and the only person more opposed to i... |
https://api.github.com/repos/psf/requests/issues/1609 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1609/labels{/name} | https://api.github.com/repos/psf/requests/issues/1609/comments | https://api.github.com/repos/psf/requests/issues/1609/events | https://github.com/psf/requests/issues/1609 | 19,724,453 | MDU6SXNzdWUxOTcyNDQ1Mw== | 1,609 | status_code wrong | {
"avatar_url": "https://avatars.githubusercontent.com/u/33916?v=4",
"events_url": "https://api.github.com/users/chadgh/events{/privacy}",
"followers_url": "https://api.github.com/users/chadgh/followers",
"following_url": "https://api.github.com/users/chadgh/following{/other_user}",
"gists_url": "https://api.... | [] | closed | true | null | [] | null | 7 | 2013-09-19T02:57:59Z | 2021-09-09T01:22:26Z | 2013-09-19T14:01:23Z | NONE | resolved | ```
In [1]: import requests
In [2]: requests.__version__
Out[2]: '1.2.3'
In [3]: requests.get('http://mock.issues.com/404').status_code
Out[3]: 200
In [4]: requests.get('http://mock.issues.com/500').status_code
Out[4]: 200
```
mock.issues.com seems to be sending the correct HTTP status codes using other tools to ch... | {
"avatar_url": "https://avatars.githubusercontent.com/u/33916?v=4",
"events_url": "https://api.github.com/users/chadgh/events{/privacy}",
"followers_url": "https://api.github.com/users/chadgh/followers",
"following_url": "https://api.github.com/users/chadgh/following{/other_user}",
"gists_url": "https://api.... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1609/reactions"
} | https://api.github.com/repos/psf/requests/issues/1609/timeline | null | completed | null | null | false | [
"@chadgh `mock.issues.com` is down, whereas `issues.com` isn't. Can you compare the results with `httpie` and `curl`. `http -h http://mock.issues.com/500`, `curl -i http://mock.issues.com/500`\n",
"Is `mock.issues.com` down, or nonexistent? I can't resolve the domain at all.\n",
"In fact @chadgh, if your ISP is... |
https://api.github.com/repos/psf/requests/issues/1608 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1608/labels{/name} | https://api.github.com/repos/psf/requests/issues/1608/comments | https://api.github.com/repos/psf/requests/issues/1608/events | https://github.com/psf/requests/issues/1608 | 19,613,705 | MDU6SXNzdWUxOTYxMzcwNQ== | 1,608 | "Content-Type header: application/x-www-form-urlencoded" won't be overridden | {
"avatar_url": "https://avatars.githubusercontent.com/u/4493404?v=4",
"events_url": "https://api.github.com/users/sebastien-bratieres/events{/privacy}",
"followers_url": "https://api.github.com/users/sebastien-bratieres/followers",
"following_url": "https://api.github.com/users/sebastien-bratieres/following{/o... | [] | closed | true | null | [] | null | 10 | 2013-09-17T13:22:27Z | 2021-09-09T01:22:26Z | 2013-09-18T13:16:50Z | NONE | resolved | Simple test under Python 3.3.2, using the current 2.0 branch of requests (same behaviour with requests-1.2.3 btw); inspecting request headers with requestb.in.
The Content-Type header contains two entries. I expected my stipulated header to override (replace) application/x-www-form-urlencoded.
import requests
data = o... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4493404?v=4",
"events_url": "https://api.github.com/users/sebastien-bratieres/events{/privacy}",
"followers_url": "https://api.github.com/users/sebastien-bratieres/followers",
"following_url": "https://api.github.com/users/sebastien-bratieres/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/1608/reactions"
} | https://api.github.com/repos/psf/requests/issues/1608/timeline | null | completed | null | null | false | [
"This is a known issue that was [just opened and closed](https://github.com/kennethreitz/requests/issues/1607). Please search in both closed and open issues next time before submitting a bug report.\n",
"This is not the same issue. @sebastien-bratieres claims that he observed this using the 2.0 branch of Requests... |
https://api.github.com/repos/psf/requests/issues/1607 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1607/labels{/name} | https://api.github.com/repos/psf/requests/issues/1607/comments | https://api.github.com/repos/psf/requests/issues/1607/events | https://github.com/psf/requests/issues/1607 | 19,604,816 | MDU6SXNzdWUxOTYwNDgxNg== | 1,607 | CaseInsensitiveDict problem with python3 result in duplicated Content-Type/Length headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/118673?v=4",
"events_url": "https://api.github.com/users/gawel/events{/privacy}",
"followers_url": "https://api.github.com/users/gawel/followers",
"following_url": "https://api.github.com/users/gawel/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 1 | 2013-09-17T09:50:38Z | 2021-09-09T01:22:26Z | 2013-09-17T10:02:57Z | NONE | resolved | Headers are stored in a CaseInsensitiveDict but this class accept both bytes and str as key in python3. This result in duplicated headers when you want to provide Content-Type/Length by yourself.
When using python3 requests converts headers keys to bytes then set some headers with str as keys here https://github.com/k... | {
"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/1607/reactions"
} | https://api.github.com/repos/psf/requests/issues/1607/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nWe've known about this bug for some time, and had a fix ready for a long time (see #1338). This fix is a breaking API change, so we wanted to hold off on making it. However, it has been merged into the upcoming 2.0 release. 2.0 is intended to be the next release, so this should be... |
https://api.github.com/repos/psf/requests/issues/1606 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1606/labels{/name} | https://api.github.com/repos/psf/requests/issues/1606/comments | https://api.github.com/repos/psf/requests/issues/1606/events | https://github.com/psf/requests/pull/1606 | 19,597,727 | MDExOlB1bGxSZXF1ZXN0ODM3NTc0Mw== | 1,606 | expose urllib3's assert_hostname argument (v1 for 2.0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/2726112?v=4",
"events_url": "https://api.github.com/users/borfig/events{/privacy}",
"followers_url": "https://api.github.com/users/borfig/followers",
"following_url": "https://api.github.com/users/borfig/following{/other_user}",
"gists_url": "https://ap... | [
{
"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"
}
] | closed | false | null | [] | null | 7 | 2013-09-17T06:42:27Z | 2014-07-05T07:26:25Z | 2013-09-24T17:44:02Z | NONE | null | This allows the user to control SSL CommonName verification.
For example,
``` python
requests.get('https://github.com/', assert_hostname='foo')
```
Will fail with an requests.exceptions.SSLError
| {
"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/1606/reactions"
} | https://api.github.com/repos/psf/requests/issues/1606/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1606.diff",
"html_url": "https://github.com/psf/requests/pull/1606",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1606.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1606"
} | true | [
"Hi @borfig! Thanks for doing this work!\n\nI have no idea if this'll get accepted or not. We're very reluctant to add new things to the Requests functional API at this stage, so this boils down to whether or not @kennethreitz believes this is a feature worth exposing at that level. I simply don't know what he'll d... |
https://api.github.com/repos/psf/requests/issues/1605 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1605/labels{/name} | https://api.github.com/repos/psf/requests/issues/1605/comments | https://api.github.com/repos/psf/requests/issues/1605/events | https://github.com/psf/requests/pull/1605 | 19,593,933 | MDExOlB1bGxSZXF1ZXN0ODM3Mzg0OA== | 1,605 | expose urllib3's assert_hostname argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/2726112?v=4",
"events_url": "https://api.github.com/users/borfig/events{/privacy}",
"followers_url": "https://api.github.com/users/borfig/followers",
"following_url": "https://api.github.com/users/borfig/following{/other_user}",
"gists_url": "https://ap... | [] | closed | false | null | [] | null | 4 | 2013-09-17T03:52:47Z | 2014-07-20T01:32:50Z | 2013-09-17T04:05:26Z | NONE | null | urllib3 has the assert_hostname argument to control verification of the Common Name of the server's SSL certificate
(shazow/urllib3@2493c9b3c0ce90b82209b93cad84296244e2763a), and this was also merged to requests (@2ed976ea7147a9d0c18998e02b16d691b6798a3e).
Therefore I would like to let the user use it.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/2726112?v=4",
"events_url": "https://api.github.com/users/borfig/events{/privacy}",
"followers_url": "https://api.github.com/users/borfig/followers",
"following_url": "https://api.github.com/users/borfig/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/1605/reactions"
} | https://api.github.com/repos/psf/requests/issues/1605/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1605.diff",
"html_url": "https://github.com/psf/requests/pull/1605",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1605.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1605"
} | true | [
"1. We have been asking that all Pull Requests be pointed at the requests 2.0 branch\n2. This is a major API change and as such should only be considered for 2.0. I'm not adverse to exposing this API, but I'm also not convinced this is necessary. I don't think we expose everything `urllib3` can do and so I don't se... |
https://api.github.com/repos/psf/requests/issues/1604 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1604/labels{/name} | https://api.github.com/repos/psf/requests/issues/1604/comments | https://api.github.com/repos/psf/requests/issues/1604/events | https://github.com/psf/requests/issues/1604 | 19,523,766 | MDU6SXNzdWUxOTUyMzc2Ng== | 1,604 | Response.text returns improperly decoded text (requests 1.2.3, python 2.7) | {
"avatar_url": "https://avatars.githubusercontent.com/u/129239?v=4",
"events_url": "https://api.github.com/users/lavr/events{/privacy}",
"followers_url": "https://api.github.com/users/lavr/followers",
"following_url": "https://api.github.com/users/lavr/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 24 | 2013-09-15T18:15:15Z | 2018-12-26T15:46:15Z | 2013-09-15T18:21:21Z | NONE | resolved | If http server returns Content-type: text/\* without encoding, Response.text always decode it as 'ISO-8859-1' text.
It may be valid in RFC2616/3.7.1, but this is wrong in real life in 2013.
I made example page with chinese text:
http://lavr.github.io/python-emails/tests/requests/some-utf8-text.html
All browsers rend... | {
"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/1604/reactions"
} | https://api.github.com/repos/psf/requests/issues/1604/timeline | null | completed | null | null | false | [
"Thanks for this @lavr!\n\nThis is a deliberate design decision for Requests. We're following the spec unless we find ourselves in a position where the specification diverges so wildly from real world behaviour that it becomes a problem (e.g. GET after 302 response to a POST).\n\nIf the upstream server knows what t... |
https://api.github.com/repos/psf/requests/issues/1603 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1603/labels{/name} | https://api.github.com/repos/psf/requests/issues/1603/comments | https://api.github.com/repos/psf/requests/issues/1603/events | https://github.com/psf/requests/issues/1603 | 19,516,949 | MDU6SXNzdWUxOTUxNjk0OQ== | 1,603 | urllib3 was update to1.7, and support connection pooling. | {
"avatar_url": "https://avatars.githubusercontent.com/u/416141?v=4",
"events_url": "https://api.github.com/users/toontong/events{/privacy}",
"followers_url": "https://api.github.com/users/toontong/followers",
"following_url": "https://api.github.com/users/toontong/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 3 | 2013-09-15T09:20:05Z | 2021-09-09T01:22:26Z | 2013-09-15T09:21:21Z | NONE | resolved | urllib3 was update to1.7, and support connection pooling.
you should update the request inline package->urllib3 (version was dev) to out inline.
just import from python-site-packages, not import from request.packages.
did you change the inline packge urllib3?
| {
"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/1603/reactions"
} | https://api.github.com/repos/psf/requests/issues/1603/timeline | null | completed | null | null | false | [
"Intentional design decision. Thanks, though.\n",
"could you explain why used this design ? I want to fork and change it, but worry bugs.\n",
"Dependency management is still far from perfect in Python. If we vendor `urllib3` we can control and understand exactly which version is used and we can more easily debu... |
https://api.github.com/repos/psf/requests/issues/1602 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1602/labels{/name} | https://api.github.com/repos/psf/requests/issues/1602/comments | https://api.github.com/repos/psf/requests/issues/1602/events | https://github.com/psf/requests/pull/1602 | 19,485,361 | MDExOlB1bGxSZXF1ZXN0ODMyOTU2Ng== | 1,602 | Handle multiple qop types | {
"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_... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "fbca04",
"default": false,
"description... | closed | true | null | [] | null | 3 | 2013-09-14T03:33:08Z | 2021-09-08T23:06:16Z | 2013-09-24T17:46:16Z | CONTRIBUTOR | resolved | In Digest Access Authentication there are two possible values (four if you count the not-present and both cases) for authentication. We were narrowly handling one of the four cases. Now we handle two.
Fixes #1601.
As for logic: I reordered the branches because if `qop is None` then we can not call `split` on it. So 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/1602/reactions"
} | https://api.github.com/repos/psf/requests/issues/1602/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1602.diff",
"html_url": "https://github.com/psf/requests/pull/1602",
"merged_at": "2013-09-24T17:46:16Z",
"patch_url": "https://github.com/psf/requests/pull/1602.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1602"
} | true | [
"As a side note: the Travis builds will continue to fail on this branch until someone (:eyes: @kennethreitz) deploys the latest version of httpbin. :wink:\n",
"Presumably because it's not commonly used: note that #1601 is the first issue we've had that mentions it.\n\nThis PR is awesome, as always I'm :+1:. =D\n"... |
https://api.github.com/repos/psf/requests/issues/1601 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1601/labels{/name} | https://api.github.com/repos/psf/requests/issues/1601/comments | https://api.github.com/repos/psf/requests/issues/1601/events | https://github.com/psf/requests/issues/1601 | 19,484,747 | MDU6SXNzdWUxOTQ4NDc0Nw== | 1,601 | qop problem on HTTPDigestAuth | {
"avatar_url": "https://avatars.githubusercontent.com/u/1127463?v=4",
"events_url": "https://api.github.com/users/tarzanjw/events{/privacy}",
"followers_url": "https://api.github.com/users/tarzanjw/followers",
"following_url": "https://api.github.com/users/tarzanjw/following{/other_user}",
"gists_url": "http... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}... | null | 7 | 2013-09-14T02:31:04Z | 2021-09-09T01:22:23Z | 2013-09-24T17:46:16Z | NONE | resolved | When Server responses 401 with qop in WWW-Authenticate header is : "auth,auth-int". Requests package send "None" as Authorization header. It's wrong.
```
www-authenticate: ...qop=auth,auth-int...
```
Requests package does correctly for:
```
www-authenticate: ...qop=auth...
```
from debuging, file <code>requests/aut... | {
"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/1601/reactions"
} | https://api.github.com/repos/psf/requests/issues/1601/timeline | null | completed | null | null | false | [
"Nice catch! Frankly I'm not certain how we should be handling the case with `qop=auth,auth-int` but I know where to look. :)\n\nThanks for reporting this! :+1: If it turns out not to be a bug on our side, I'll let you know.\n",
"I really made me in some troubles when I connected with others, but fortunately I ca... |
https://api.github.com/repos/psf/requests/issues/1600 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1600/labels{/name} | https://api.github.com/repos/psf/requests/issues/1600/comments | https://api.github.com/repos/psf/requests/issues/1600/events | https://github.com/psf/requests/issues/1600 | 19,466,468 | MDU6SXNzdWUxOTQ2NjQ2OA== | 1,600 | Request hook | {
"avatar_url": "https://avatars.githubusercontent.com/u/120501?v=4",
"events_url": "https://api.github.com/users/charlax/events{/privacy}",
"followers_url": "https://api.github.com/users/charlax/followers",
"following_url": "https://api.github.com/users/charlax/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 4 | 2013-09-13T17:47:44Z | 2021-09-09T01:22:27Z | 2013-09-13T22:28:02Z | NONE | resolved | Hey,
How do you feel about adding a `request` hook?
My use case would be to print the requested URL with its parameters and headers. It's not possible with the `response` hook.
Let me know what you think. If that sounds like a good idea, I'll implement it and send you a PR.
Best,
Chx
| {
"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/1600/reactions"
} | https://api.github.com/repos/psf/requests/issues/1600/timeline | null | completed | null | null | false | [
"We had that and removed it intentionally. If you want to print what is being sent you can print them from the `request` attribute on the `Response` object, e.g.,\n\n``` python\nr = requests.get('https://httpbin.org/get')\nprint r.request.url\nprint r.request.headers\n```\n",
"Nice! Should this be added to the do... |
https://api.github.com/repos/psf/requests/issues/1599 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1599/labels{/name} | https://api.github.com/repos/psf/requests/issues/1599/comments | https://api.github.com/repos/psf/requests/issues/1599/events | https://github.com/psf/requests/issues/1599 | 19,452,708 | MDU6SXNzdWUxOTQ1MjcwOA== | 1,599 | <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error' in adapters.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/496754?v=4",
"events_url": "https://api.github.com/users/pigmej/events{/privacy}",
"followers_url": "https://api.github.com/users/pigmej/followers",
"following_url": "https://api.github.com/users/pigmej/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 12 | 2013-09-13T14:34:18Z | 2021-09-08T23:00:54Z | 2014-02-03T10:56:57Z | NONE | resolved | ```
File "/something/lib/python2.7/site-packages/requests/api.py", line 88, in post
File "/something/lib/python2.7/site-packages/requests/api.py", line 44, in request
File "/something/lib/python2.7/site-packages/requests/sessions.py", line 335, in request
File "/something/lib/python2.7/site-packages/requests/se... | {
"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/1599/reactions"
} | https://api.github.com/repos/psf/requests/issues/1599/timeline | null | completed | null | null | false | [
"That seems like a weird exception. That line is `except socket.error`. Out of interest, do you ever touch `requests.adapters.socket`?\n",
"I did not.\n\nIf the line says socket.error, then probably somewhere socket name is overriden...\n",
"Yeah, that's my concern. It's worth checking in your application.\n",
... |
https://api.github.com/repos/psf/requests/issues/1598 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1598/labels{/name} | https://api.github.com/repos/psf/requests/issues/1598/comments | https://api.github.com/repos/psf/requests/issues/1598/events | https://github.com/psf/requests/pull/1598 | 19,446,742 | MDExOlB1bGxSZXF1ZXN0ODMxMDU4Nw== | 1,598 | [2.0] Python default arguments are hard | {
"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": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 2 | 2013-09-13T13:13:55Z | 2021-09-08T23:06:14Z | 2013-09-13T13:17:41Z | MEMBER | resolved | Turns out we were doing this wrong. Kindly pointed out by @redspider. Bizarrely, we're half doing this right, but just didn't fix the whole thing up. This should. =D
| {
"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/1598/reactions"
} | https://api.github.com/repos/psf/requests/issues/1598/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1598.diff",
"html_url": "https://github.com/psf/requests/pull/1598",
"merged_at": "2013-09-13T13:17:41Z",
"patch_url": "https://github.com/psf/requests/pull/1598.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1598"
} | true | [
"ouch\n",
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1597 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1597/labels{/name} | https://api.github.com/repos/psf/requests/issues/1597/comments | https://api.github.com/repos/psf/requests/issues/1597/events | https://github.com/psf/requests/issues/1597 | 19,432,496 | MDU6SXNzdWUxOTQzMjQ5Ng== | 1,597 | Use of mutable defaults in Request class | {
"avatar_url": "https://avatars.githubusercontent.com/u/63004?v=4",
"events_url": "https://api.github.com/users/redspider/events{/privacy}",
"followers_url": "https://api.github.com/users/redspider/followers",
"following_url": "https://api.github.com/users/redspider/following{/other_user}",
"gists_url": "htt... | [] | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 2 | 2013-09-13T06:30:20Z | 2021-09-09T01:22:27Z | 2013-09-13T13:20:22Z | NONE | resolved | Incorrect use of mutable default dictionary in the Request class can lead to incorrect behaviour in advanced usage.
The mutable defaults are specified at:
https://github.com/kennethreitz/requests/blob/master/requests/models.py#L189
and should be None, not dict(). In order to maintain interface consistency it may be ... | {
"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/1597/reactions"
} | https://api.github.com/repos/psf/requests/issues/1597/timeline | null | completed | null | null | false | [
"Heh, I briefly got totally misled by the appearance of `Session()` in your example. =D\n\nYeah, that absolutely looks wrong. We notably do this for everything else except those two parameters. I'll fix this up today. Thanks for raising this issue! :cake:\n",
"Resolved by #1598. Thanks for pointing this out! =D :... |
https://api.github.com/repos/psf/requests/issues/1596 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1596/labels{/name} | https://api.github.com/repos/psf/requests/issues/1596/comments | https://api.github.com/repos/psf/requests/issues/1596/events | https://github.com/psf/requests/issues/1596 | 19,424,266 | MDU6SXNzdWUxOTQyNDI2Ng== | 1,596 | Automatically detect authentication | {
"avatar_url": "https://avatars.githubusercontent.com/u/836426?v=4",
"events_url": "https://api.github.com/users/dpursehouse/events{/privacy}",
"followers_url": "https://api.github.com/users/dpursehouse/followers",
"following_url": "https://api.github.com/users/dpursehouse/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 2 | 2013-09-13T00:52:10Z | 2021-09-09T01:22:27Z | 2013-09-13T01:24:01Z | CONTRIBUTOR | resolved | Would it be feasible for requests to check the `WWW-Authenticate` response header and send the appropriate authentication?
I'm trying to build a REST API client for a web service, but found that some of the servers where the service runs require basic auth, while others require digest. I want to, if possible, make it... | {
"avatar_url": "https://avatars.githubusercontent.com/u/836426?v=4",
"events_url": "https://api.github.com/users/dpursehouse/events{/privacy}",
"followers_url": "https://api.github.com/users/dpursehouse/followers",
"following_url": "https://api.github.com/users/dpursehouse/following{/other_user}",
"gists_url... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1596/reactions"
} | https://api.github.com/repos/psf/requests/issues/1596/timeline | null | completed | null | null | false | [
"We do not perform authentication for anyone automatically and there's a difference in how servers and APIs respond. The GitHub API does not normally return the header so it would be useless there. Several other prominent APIs do the same and for good reason. Beyond that you can do this for your user without having... |
https://api.github.com/repos/psf/requests/issues/1595 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1595/labels{/name} | https://api.github.com/repos/psf/requests/issues/1595/comments | https://api.github.com/repos/psf/requests/issues/1595/events | https://github.com/psf/requests/issues/1595 | 19,414,930 | MDU6SXNzdWUxOTQxNDkzMA== | 1,595 | ujson option | {
"avatar_url": "https://avatars.githubusercontent.com/u/2837532?v=4",
"events_url": "https://api.github.com/users/woozyking/events{/privacy}",
"followers_url": "https://api.github.com/users/woozyking/followers",
"following_url": "https://api.github.com/users/woozyking/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 8 | 2013-09-12T21:02:59Z | 2021-09-05T00:06:48Z | 2013-09-12T21:26:05Z | NONE | resolved | Hi,
Is it possible to use ujson as an optional JSON encoder/decoder for requests? Or, if ujson satisfies all the use cases of requests, replace simplejson with ujson?
| {
"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/1595/reactions"
} | https://api.github.com/repos/psf/requests/issues/1595/timeline | null | completed | null | null | false | [
"You absolutely can. The easiest way to do it is to monkeypatch:\n\n``` python\nimport requests\nimport ujson\n\nrequests.models.json = ujson\n```\n\nThat _should_ cause all further calls to `Response.json()` to use ujson. As that's the only place in Requests that uses simplejson, that should cover everything.\n",
... |
https://api.github.com/repos/psf/requests/issues/1594 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1594/labels{/name} | https://api.github.com/repos/psf/requests/issues/1594/comments | https://api.github.com/repos/psf/requests/issues/1594/events | https://github.com/psf/requests/issues/1594 | 19,366,692 | MDU6SXNzdWUxOTM2NjY5Mg== | 1,594 | Plumb through new urllib3 Timeout API | {
"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": "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": "eb6420",
"default": false,
"descrip... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | null | 4 | 2013-09-12T07:54:00Z | 2021-09-04T00:06:22Z | 2013-09-24T18:12:02Z | MEMBER | resolved | From shazow/urllib3#231.
We may not necessarily want to expose the new API in its direct urllib3 form. In particular, I'm strongly in favour of keeping the current timeout API as the default usage.
| {
"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/1594/reactions"
} | https://api.github.com/repos/psf/requests/issues/1594/timeline | null | completed | null | null | false | [
"I did some investigation on this today.\n\nIn principle we've got total freedom to expose any or all of the urllib3 `Timeout` class-based API. In practice, [this section of code](https://github.com/kennethreitz/requests/blob/master/requests/adapters.py#L297-L321) is a bit tricky for two reasons. First, we use `tim... |
https://api.github.com/repos/psf/requests/issues/1593 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1593/labels{/name} | https://api.github.com/repos/psf/requests/issues/1593/comments | https://api.github.com/repos/psf/requests/issues/1593/events | https://github.com/psf/requests/issues/1593 | 19,365,476 | MDU6SXNzdWUxOTM2NTQ3Ng== | 1,593 | Max retries exceeded exception on stale pooled connections | {
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.git... | [] | closed | true | null | [] | null | 3 | 2013-09-12T07:17:14Z | 2021-09-09T01:22:28Z | 2013-09-12T08:33:52Z | NONE | resolved | The application code uses the same requests.Session object to download bunch of files. In rare cases, downloading fails with the following trace (here, there is one successful download and one failed for the same Session object):
<pre>
2013-09-08 22:57:38,553 INFO root: Download 'http://node-testing.sugarlabs.org//pac... | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1593/reactions"
} | https://api.github.com/repos/psf/requests/issues/1593/timeline | null | completed | null | null | false | [
"Hi @alsroot, thanks for raising this issue!\n\nThat looks like a nasty problem, and thanks so much for investigating it. However, your changes are in urllib3. This is actually a [separate module](https://github.com/shazow/urllib3) that we vendor a copy of into Requests. Any bugs in urllib3 should be fixed over the... |
https://api.github.com/repos/psf/requests/issues/1592 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1592/labels{/name} | https://api.github.com/repos/psf/requests/issues/1592/comments | https://api.github.com/repos/psf/requests/issues/1592/events | https://github.com/psf/requests/pull/1592 | 19,364,273 | MDExOlB1bGxSZXF1ZXN0ODI2ODYxNQ== | 1,592 | remove extra mention of dangerous `r.raw` | {
"avatar_url": "https://avatars.githubusercontent.com/u/128982?v=4",
"events_url": "https://api.github.com/users/homm/events{/privacy}",
"followers_url": "https://api.github.com/users/homm/followers",
"following_url": "https://api.github.com/users/homm/following{/other_user}",
"gists_url": "https://api.githu... | [
{
"color": "e11d21",
"default": false,
"description": null,
"id": 44501305,
"name": "Not Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTMwNQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Not%20Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 8 | 2013-09-12T06:35:39Z | 2021-09-08T21:01:11Z | 2013-09-12T09:29:16Z | CONTRIBUTOR | resolved | Difference between `r.raw` and `r.iter_content` not clearly described in all places where `r.raw` mentioned. This is very dangerous, because difference not only in calling format. I purpose leave `r.raw` only when we are talking about sockets or encoded data.
| {
"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/1592/reactions"
} | https://api.github.com/repos/psf/requests/issues/1592/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1592.diff",
"html_url": "https://github.com/psf/requests/pull/1592",
"merged_at": "2013-09-12T09:29:16Z",
"patch_url": "https://github.com/psf/requests/pull/1592.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1592"
} | true | [
"@homm Thanks for this! Unfortunately, I don't agree with most of these documentation changes. My notes, in the order the change appears in the diff:\n1. `stream` (or more accurately `prefetch`) was always required for `Response.iter_content`, but not always required for `Response.raw`. The portion of the documenta... |
https://api.github.com/repos/psf/requests/issues/1591 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1591/labels{/name} | https://api.github.com/repos/psf/requests/issues/1591/comments | https://api.github.com/repos/psf/requests/issues/1591/events | https://github.com/psf/requests/pull/1591 | 19,324,206 | MDExOlB1bGxSZXF1ZXN0ODI0NjE5MQ== | 1,591 | minor typo: Fix requests spelling | {
"avatar_url": "https://avatars.githubusercontent.com/u/500628?v=4",
"events_url": "https://api.github.com/users/sayanchowdhury/events{/privacy}",
"followers_url": "https://api.github.com/users/sayanchowdhury/followers",
"following_url": "https://api.github.com/users/sayanchowdhury/following{/other_user}",
"... | [] | closed | true | null | [] | null | 1 | 2013-09-11T14:53:26Z | 2021-09-08T21:01:10Z | 2013-09-11T15:16:29Z | 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/1591/reactions"
} | https://api.github.com/repos/psf/requests/issues/1591/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1591.diff",
"html_url": "https://github.com/psf/requests/pull/1591",
"merged_at": "2013-09-11T15:16:29Z",
"patch_url": "https://github.com/psf/requests/pull/1591.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1591"
} | true | [
"This is awesome, thank you so much! :cake:\n"
] | |
https://api.github.com/repos/psf/requests/issues/1590 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1590/labels{/name} | https://api.github.com/repos/psf/requests/issues/1590/comments | https://api.github.com/repos/psf/requests/issues/1590/events | https://github.com/psf/requests/issues/1590 | 19,318,248 | MDU6SXNzdWUxOTMxODI0OA== | 1,590 | Set https proxies and redirect with a wrong location. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5434831?v=4",
"events_url": "https://api.github.com/users/julianzhoucn/events{/privacy}",
"followers_url": "https://api.github.com/users/julianzhoucn/followers",
"following_url": "https://api.github.com/users/julianzhoucn/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 6 | 2013-09-11T13:13:06Z | 2021-09-09T01:22:28Z | 2013-09-12T17:47:52Z | NONE | resolved | Some of my code are as follows:
```
import requests
#my auth deamon
proxies={'https':'http://10.204.133.76:8080'}
response=requests.get('https://www.redhat.com',proxies=proxies,allow_redirects=False,verify=False)
```
And response.headers is:
```
CaseInsensitiveDict({'content-length': '0', 'set-cookie': '_zk_sc_t... | {
"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/1590/reactions"
} | https://api.github.com/repos/psf/requests/issues/1590/timeline | null | completed | null | null | false | [
"Hmm. It looks like your proxy is attaching that header. Out of interest, can you print the Host headers from both outgoing requests? (In requests, you do that by printing `r.request.headers['Host']`).\n",
"Hi Lukasa. Thanks for your comments. When I get the headers of requests as follows:\nIn[5]:response.request... |
https://api.github.com/repos/psf/requests/issues/1589 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1589/labels{/name} | https://api.github.com/repos/psf/requests/issues/1589/comments | https://api.github.com/repos/psf/requests/issues/1589/events | https://github.com/psf/requests/pull/1589 | 19,280,556 | MDExOlB1bGxSZXF1ZXN0ODIyMjU0MA== | 1,589 | Make sure content is checked when setting encoding | {
"avatar_url": "https://avatars.githubusercontent.com/u/300306?v=4",
"events_url": "https://api.github.com/users/jdennis/events{/privacy}",
"followers_url": "https://api.github.com/users/jdennis/followers",
"following_url": "https://api.github.com/users/jdennis/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 15 | 2013-09-10T19:46:09Z | 2021-09-08T23:11:07Z | 2013-09-10T20:52:30Z | NONE | resolved | HTML pages which declared their charset encoding only in their content
had the wrong encoding applied because the content was never checked.
Currently only the request headers are checked for the charset
encoding, if absent the apparent_encoding heuristic is applied. But
the W3.org doc says one should check the header... | {
"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/1589/reactions"
} | https://api.github.com/repos/psf/requests/issues/1589/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1589.diff",
"html_url": "https://github.com/psf/requests/pull/1589",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1589.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1589"
} | true | [
"somehow I didn't get the issue and pull request linked together, the issue is 1588\n",
"Thanks for this @jdennis! It's great work.\n\nUnfortunately, this pull request won't be accepted in its current form. This is for a few reasons:\n1. Requests used to check the content header of HTML pages for charsets in olde... |
https://api.github.com/repos/psf/requests/issues/1588 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1588/labels{/name} | https://api.github.com/repos/psf/requests/issues/1588/comments | https://api.github.com/repos/psf/requests/issues/1588/events | https://github.com/psf/requests/issues/1588 | 19,280,294 | MDU6SXNzdWUxOTI4MDI5NA== | 1,588 | Wrong encoding used if charset only specified in content | {
"avatar_url": "https://avatars.githubusercontent.com/u/300306?v=4",
"events_url": "https://api.github.com/users/jdennis/events{/privacy}",
"followers_url": "https://api.github.com/users/jdennis/followers",
"following_url": "https://api.github.com/users/jdennis/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 1 | 2013-09-10T19:40:58Z | 2021-09-08T23:10:44Z | 2013-09-10T20:53:33Z | NONE | resolved | HTML pages which declared their charset encoding only in their content
had the wrong encoding applied because the content was never checked.
Currently only the request headers are checked for the charset
encoding, if absent the apparent_encoding heuristic is applied. But
the W3.org doc says one should check the header... | {
"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/1588/reactions"
} | https://api.github.com/repos/psf/requests/issues/1588/timeline | null | completed | null | null | false | [
"All relevant discussion is in #1589, so I'm closing this to centralise the discussion there. =)\n"
] |
https://api.github.com/repos/psf/requests/issues/1587 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1587/labels{/name} | https://api.github.com/repos/psf/requests/issues/1587/comments | https://api.github.com/repos/psf/requests/issues/1587/events | https://github.com/psf/requests/pull/1587 | 19,255,461 | MDExOlB1bGxSZXF1ZXN0ODIwODY1MA== | 1,587 | Fixed persistence spelling | {
"avatar_url": "https://avatars.githubusercontent.com/u/311929?v=4",
"events_url": "https://api.github.com/users/kracekumar/events{/privacy}",
"followers_url": "https://api.github.com/users/kracekumar/followers",
"following_url": "https://api.github.com/users/kracekumar/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-09-10T12:22:37Z | 2021-09-08T21:01:10Z | 2013-09-10T13:43:04Z | 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/1587/reactions"
} | https://api.github.com/repos/psf/requests/issues/1587/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1587.diff",
"html_url": "https://github.com/psf/requests/pull/1587",
"merged_at": "2013-09-10T13:43:04Z",
"patch_url": "https://github.com/psf/requests/pull/1587.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1587"
} | true | [
"Thanks for this! :cake:\n"
] | |
https://api.github.com/repos/psf/requests/issues/1586 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1586/labels{/name} | https://api.github.com/repos/psf/requests/issues/1586/comments | https://api.github.com/repos/psf/requests/issues/1586/events | https://github.com/psf/requests/issues/1586 | 19,200,817 | MDU6SXNzdWUxOTIwMDgxNw== | 1,586 | deactivate automatic gzip decompression ? | {
"avatar_url": "https://avatars.githubusercontent.com/u/898264?v=4",
"events_url": "https://api.github.com/users/uweschmitt/events{/privacy}",
"followers_url": "https://api.github.com/users/uweschmitt/followers",
"following_url": "https://api.github.com/users/uweschmitt/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 7 | 2013-09-09T14:47:07Z | 2021-08-27T00:08:24Z | 2013-09-11T07:34:56Z | NONE | resolved | I had some trouble to download a tar.gz file from a file server with a http interface, because I was not aware of the automatic decompression feature. Would it be possible to add an extra parameter which switches this feature off ?
| {
"avatar_url": "https://avatars.githubusercontent.com/u/898264?v=4",
"events_url": "https://api.github.com/users/uweschmitt/events{/privacy}",
"followers_url": "https://api.github.com/users/uweschmitt/followers",
"following_url": "https://api.github.com/users/uweschmitt/following{/other_user}",
"gists_url": ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1586/reactions"
} | https://api.github.com/repos/psf/requests/issues/1586/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nQuickly, before I dive into this: the correct solution when Requests is getting in your way like this is to use `Response.raw`. =) \n\nBefore we get into discussing this feature request further, I'm interested to know how this problem bit you. We should only decompress the file if... |
https://api.github.com/repos/psf/requests/issues/1585 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1585/labels{/name} | https://api.github.com/repos/psf/requests/issues/1585/comments | https://api.github.com/repos/psf/requests/issues/1585/events | https://github.com/psf/requests/pull/1585 | 19,192,427 | MDExOlB1bGxSZXF1ZXN0ODE3NjAwMw== | 1,585 | Use values() when the keys are not being used | {
"avatar_url": "https://avatars.githubusercontent.com/u/156810?v=4",
"events_url": "https://api.github.com/users/rvoicilas/events{/privacy}",
"followers_url": "https://api.github.com/users/rvoicilas/followers",
"following_url": "https://api.github.com/users/rvoicilas/following{/other_user}",
"gists_url": "ht... | [
{
"color": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 2 | 2013-09-09T12:29:57Z | 2021-09-08T23:05:14Z | 2013-09-24T17:45:46Z | 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/1585/reactions"
} | https://api.github.com/repos/psf/requests/issues/1585/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1585.diff",
"html_url": "https://github.com/psf/requests/pull/1585",
"merged_at": "2013-09-24T17:45:46Z",
"patch_url": "https://github.com/psf/requests/pull/1585.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1585"
} | true | [
"This looks good to me! +1 :cake:\n",
":+1: :cake:\n"
] | |
https://api.github.com/repos/psf/requests/issues/1584 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1584/labels{/name} | https://api.github.com/repos/psf/requests/issues/1584/comments | https://api.github.com/repos/psf/requests/issues/1584/events | https://github.com/psf/requests/issues/1584 | 19,179,705 | MDU6SXNzdWUxOTE3OTcwNQ== | 1,584 | POST a Multipart-Encoded File with streaming | {
"avatar_url": "https://avatars.githubusercontent.com/u/30210?v=4",
"events_url": "https://api.github.com/users/robi-wan/events{/privacy}",
"followers_url": "https://api.github.com/users/robi-wan/followers",
"following_url": "https://api.github.com/users/robi-wan/following{/other_user}",
"gists_url": "https:... | [] | closed | true | null | [] | null | 12 | 2013-09-09T07:11:46Z | 2021-09-07T00:06:25Z | 2014-02-03T10:50:13Z | NONE | resolved | We have a web application which accepts (large) files together with some meta data.
We build a form for uploading these kind of files - and then we added a REST-Interface to this form.
I build an upload task in our fabfile which essentialliy does this:
``` python
with open(filename, 'rb') as f:
response = ... | {
"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/1584/reactions"
} | https://api.github.com/repos/psf/requests/issues/1584/timeline | null | completed | null | null | false | [
"Hi @robi-wan, thanks for raising this issue!\n\nFirstly, I'll address the question you actually asked. Currently Requests does not support streaming multipart-encoded files. If you want to do this you'll need to provide a file-like-object wrapper for your file that does the multipart encoding itself, and then pass... |
https://api.github.com/repos/psf/requests/issues/1583 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1583/labels{/name} | https://api.github.com/repos/psf/requests/issues/1583/comments | https://api.github.com/repos/psf/requests/issues/1583/events | https://github.com/psf/requests/issues/1583 | 19,179,016 | MDU6SXNzdWUxOTE3OTAxNg== | 1,583 | Add decode_content as a parameter to requests() | {
"avatar_url": "https://avatars.githubusercontent.com/u/2334429?v=4",
"events_url": "https://api.github.com/users/klahnakoski/events{/privacy}",
"followers_url": "https://api.github.com/users/klahnakoski/followers",
"following_url": "https://api.github.com/users/klahnakoski/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2013-09-09T06:44:58Z | 2021-09-09T00:28:14Z | 2013-09-09T12:30:51Z | NONE | resolved | I would like to use Requests with Flask to make a proxy. I must deal with some large zipped responses (and I do not care about the content).
Please add decode_content as a parameter to requests() so I can return the bytes directly back to the original caller. Specifically, I want to use this with stream=True and pas... | {
"avatar_url": "https://avatars.githubusercontent.com/u/2334429?v=4",
"events_url": "https://api.github.com/users/klahnakoski/events{/privacy}",
"followers_url": "https://api.github.com/users/klahnakoski/followers",
"following_url": "https://api.github.com/users/klahnakoski/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/1583/reactions"
} | https://api.github.com/repos/psf/requests/issues/1583/timeline | null | completed | null | null | false | [
"Thanks for raising this issue!\n\nThis is exactly what we expose the [raw response](http://docs.python-requests.org/en/latest/user/quickstart/#raw-response-content) for. In vanilla Requests this response object is a urllib3 Response object, which contains a [`stream()` method](http://urllib3.readthedocs.org/en/lat... |
https://api.github.com/repos/psf/requests/issues/1582 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1582/labels{/name} | https://api.github.com/repos/psf/requests/issues/1582/comments | https://api.github.com/repos/psf/requests/issues/1582/events | https://github.com/psf/requests/issues/1582 | 19,150,544 | MDU6SXNzdWUxOTE1MDU0NA== | 1,582 | Allow custom authentication (in particular NTLM) to proxies | {
"avatar_url": "https://avatars.githubusercontent.com/u/105314?v=4",
"events_url": "https://api.github.com/users/hickford/events{/privacy}",
"followers_url": "https://api.github.com/users/hickford/followers",
"following_url": "https://api.github.com/users/hickford/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 12 | 2013-09-07T19:38:19Z | 2021-09-08T19:00:28Z | 2013-09-21T15:22:58Z | NONE | resolved | Requests can do many kinds of authentication—basic, digest, OAuth1. Even better, [the great API](http://docs.python-requests.org/en/latest/user/authentication/) allows users to specify a custom authentication class
```
import requests
from requests_ntlm import HttpNtlmAuth
requests.get("http://ntlm_protected_site.co... | {
"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/1582/reactions"
} | https://api.github.com/repos/psf/requests/issues/1582/timeline | null | completed | null | null | false | [
"It's not obvious what the syntax should look like. This is the current API (string based)\n\n```\nproxies = {\n \"http\": \"http://10.10.1.10:3128\",\n \"https\": \"http://user:pass10.10.1.10:1080\", # basic authentication\n}\nrequests.get(\"http://example.org\", proxies=proxies)\n```\n\nWill want to preserve t... |
https://api.github.com/repos/psf/requests/issues/1581 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1581/labels{/name} | https://api.github.com/repos/psf/requests/issues/1581/comments | https://api.github.com/repos/psf/requests/issues/1581/events | https://github.com/psf/requests/issues/1581 | 19,142,108 | MDU6SXNzdWUxOTE0MjEwOA== | 1,581 | Python 3 issue with urllib3 (local) import | {
"avatar_url": "https://avatars.githubusercontent.com/u/4925587?v=4",
"events_url": "https://api.github.com/users/barseghyanartur/events{/privacy}",
"followers_url": "https://api.github.com/users/barseghyanartur/followers",
"following_url": "https://api.github.com/users/barseghyanartur/following{/other_user}",... | [] | closed | true | null | [] | null | 25 | 2013-09-07T10:13:46Z | 2018-02-26T19:43:50Z | 2013-09-08T18:43:36Z | NONE | resolved | The problem with broken import occurs when Python 3.3.0 (virtualenv, Ubuntu 12.04 LTS).
In Python 2.7.4 (virtualenv, same machine) everything runs smoothly.
The traceback:
```
File "/home/me/.virtualenvs/starbase3/lib/python3.3/site-packages/requests-1.2.3-py3.3.egg/requests/packages/__init__.py", line 3, in <module... | {
"avatar_url": "https://avatars.githubusercontent.com/u/4925587?v=4",
"events_url": "https://api.github.com/users/barseghyanartur/events{/privacy}",
"followers_url": "https://api.github.com/users/barseghyanartur/followers",
"following_url": "https://api.github.com/users/barseghyanartur/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/1581/reactions"
} | https://api.github.com/repos/psf/requests/issues/1581/timeline | null | completed | null | null | false | [
"Weird, this looks like your install is broken. Try reinstalling Requests in the same virtualenv?\n",
"It seems that the following causes the problem.\n\n# Directory structure\n\n├── src\n│ └── myapp\n│ │ ├── test_requests.py\n│ │ └── utils.py\n└── test_request.py\n\n# `test_requests.py` content... |
https://api.github.com/repos/psf/requests/issues/1580 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1580/labels{/name} | https://api.github.com/repos/psf/requests/issues/1580/comments | https://api.github.com/repos/psf/requests/issues/1580/events | https://github.com/psf/requests/issues/1580 | 19,139,552 | MDU6SXNzdWUxOTEzOTU1Mg== | 1,580 | websocket support | {
"avatar_url": "https://avatars.githubusercontent.com/u/634283?v=4",
"events_url": "https://api.github.com/users/vivekhub/events{/privacy}",
"followers_url": "https://api.github.com/users/vivekhub/followers",
"following_url": "https://api.github.com/users/vivekhub/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 10 | 2013-09-07T07:21:47Z | 2021-09-09T01:22:28Z | 2013-09-07T14:05:24Z | NONE | resolved | Hello:
i was trying to figure out if there is support for websockets in requests. Have been trying to find out but the documentation does not talk about it. Can someone help ?
| {
"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/1580/reactions"
} | https://api.github.com/repos/psf/requests/issues/1580/timeline | null | completed | null | null | false | [
"Hi Vivek \n\nI believe this has been asked several times on StackOverflow. The answer is that we do not support websockets. We explicitly support HTTP/1.1 which is RFC 2675 (or something around that). It's unlikely we will support websockets in the near future too.\n",
"Websockets are not related to HTTP in any ... |
https://api.github.com/repos/psf/requests/issues/1579 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1579/labels{/name} | https://api.github.com/repos/psf/requests/issues/1579/comments | https://api.github.com/repos/psf/requests/issues/1579/events | https://github.com/psf/requests/pull/1579 | 19,137,005 | MDExOlB1bGxSZXF1ZXN0ODE1NDk1Ng== | 1,579 | Clarify timeout behavior in quickstart doc | {
"avatar_url": "https://avatars.githubusercontent.com/u/7129?v=4",
"events_url": "https://api.github.com/users/yang/events{/privacy}",
"followers_url": "https://api.github.com/users/yang/followers",
"following_url": "https://api.github.com/users/yang/following{/other_user}",
"gists_url": "https://api.github.... | [] | closed | true | null | [] | null | 2 | 2013-09-07T02:28:00Z | 2021-09-08T21:01:10Z | 2013-09-08T15:05:00Z | 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/1579/reactions"
} | https://api.github.com/repos/psf/requests/issues/1579/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1579.diff",
"html_url": "https://github.com/psf/requests/pull/1579",
"merged_at": "2013-09-08T15:05:00Z",
"patch_url": "https://github.com/psf/requests/pull/1579.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1579"
} | true | [
":+1:\n\nPlease feel free to send more PRs like this. :cake:\n",
"This is excellent @yang, thank you so much! :cake:\n"
] | |
https://api.github.com/repos/psf/requests/issues/1578 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1578/labels{/name} | https://api.github.com/repos/psf/requests/issues/1578/comments | https://api.github.com/repos/psf/requests/issues/1578/events | https://github.com/psf/requests/pull/1578 | 18,980,371 | MDExOlB1bGxSZXF1ZXN0ODA3NzcwMA== | 1,578 | Adding myself to the list of contributors. | {
"avatar_url": "https://avatars.githubusercontent.com/u/10311?v=4",
"events_url": "https://api.github.com/users/jparise/events{/privacy}",
"followers_url": "https://api.github.com/users/jparise/followers",
"following_url": "https://api.github.com/users/jparise/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2013-09-04T16:01:07Z | 2021-09-08T21:01:09Z | 2013-09-05T06:44:28Z | 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/1578/reactions"
} | https://api.github.com/repos/psf/requests/issues/1578/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1578.diff",
"html_url": "https://github.com/psf/requests/pull/1578",
"merged_at": "2013-09-05T06:44:28Z",
"patch_url": "https://github.com/psf/requests/pull/1578.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1578"
} | true | [
"Well deserved @jparise, thanks so much for your work! :grin:\n"
] | |
https://api.github.com/repos/psf/requests/issues/1577 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1577/labels{/name} | https://api.github.com/repos/psf/requests/issues/1577/comments | https://api.github.com/repos/psf/requests/issues/1577/events | https://github.com/psf/requests/issues/1577 | 18,973,622 | MDU6SXNzdWUxODk3MzYyMg== | 1,577 | Requests not timing out | {
"avatar_url": "https://avatars.githubusercontent.com/u/1452980?v=4",
"events_url": "https://api.github.com/users/laruellef/events{/privacy}",
"followers_url": "https://api.github.com/users/laruellef/followers",
"following_url": "https://api.github.com/users/laruellef/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 14 | 2013-09-04T14:11:39Z | 2018-11-24T13:51:16Z | 2013-09-05T08:16:44Z | NONE | resolved | Got a strange case of failing timeout on a particular url, when trying in browser, seems like this page never completes loading...
The expected behavior would be for requests to timeout, however it is not happening:
this times out fine:
requests.get("http://www.iva.net/blog/", timeout=0.1)
but this doesn't:
requests.ge... | {
"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/1577/reactions"
} | https://api.github.com/repos/psf/requests/issues/1577/timeline | null | completed | null | null | false | [
"This is expected behaviour\nhttp://docs.python-requests.org/en/latest/user/quickstart/#timeouts\n\n> Note: timeout only affects the connection process itself, not the downloading of the response body.\n\nThe connection is established successfully, but the page just keeps sending the response body indefinitely. \n"... |
https://api.github.com/repos/psf/requests/issues/1576 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1576/labels{/name} | https://api.github.com/repos/psf/requests/issues/1576/comments | https://api.github.com/repos/psf/requests/issues/1576/events | https://github.com/psf/requests/issues/1576 | 18,953,379 | MDU6SXNzdWUxODk1MzM3OQ== | 1,576 | Better Error Message When Server Uses an Older Version of SSL? | {
"avatar_url": "https://avatars.githubusercontent.com/u/279060?v=4",
"events_url": "https://api.github.com/users/karanlyons/events{/privacy}",
"followers_url": "https://api.github.com/users/karanlyons/followers",
"following_url": "https://api.github.com/users/karanlyons/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-09-04T05:00:12Z | 2021-09-09T01:22:28Z | 2013-09-04T05:18:45Z | NONE | resolved | My bad, guys, this was a dupe of #1567.
Is there a way we can make a suggestion about what the issue might be in the event of a reset SSL connection? Something that clues the dev into trying an older SSL version?
| {
"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/1576/reactions"
} | https://api.github.com/repos/psf/requests/issues/1576/timeline | null | completed | null | null | false | [
"Thanks for this @karanlyons! As far as I can see, this is difficult to do in this particular case. The server's response to the TLS handshake was to close the connection, which is exactly the error we report. Unfortunately, it's not clear whether that TCP RST segment has anything to do with the TLS negotiation. Fo... |
https://api.github.com/repos/psf/requests/issues/1575 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1575/labels{/name} | https://api.github.com/repos/psf/requests/issues/1575/comments | https://api.github.com/repos/psf/requests/issues/1575/events | https://github.com/psf/requests/pull/1575 | 18,944,968 | MDExOlB1bGxSZXF1ZXN0ODA1ODczNw== | 1,575 | Improved content encoding detection. | {
"avatar_url": "https://avatars.githubusercontent.com/u/10311?v=4",
"events_url": "https://api.github.com/users/jparise/events{/privacy}",
"followers_url": "https://api.github.com/users/jparise/followers",
"following_url": "https://api.github.com/users/jparise/following{/other_user}",
"gists_url": "https://a... | [] | closed | true | null | [] | null | 1 | 2013-09-03T23:21:51Z | 2021-09-08T23:08:12Z | 2013-09-04T02:42:43Z | CONTRIBUTOR | resolved | `get_encodings_from_content()` can now detect HTML in-document content
encoding declarations in the following formats:
- HTML5
- HTML4
- XHTML 1.x served with text/html MIME type
- XHTML 1.x served as XML
Ref: http://www.w3.org/International/questions/qa-html-encoding-declarations
| {
"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/1575/reactions"
} | https://api.github.com/repos/psf/requests/issues/1575/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1575.diff",
"html_url": "https://github.com/psf/requests/pull/1575",
"merged_at": "2013-09-04T02:42:43Z",
"patch_url": "https://github.com/psf/requests/pull/1575.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1575"
} | true | [
"Thanks so much!\n"
] |
https://api.github.com/repos/psf/requests/issues/1574 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1574/labels{/name} | https://api.github.com/repos/psf/requests/issues/1574/comments | https://api.github.com/repos/psf/requests/issues/1574/events | https://github.com/psf/requests/issues/1574 | 18,912,211 | MDU6SXNzdWUxODkxMjIxMQ== | 1,574 | Authentication with large POSTs not working (with aggressive servers) | {
"avatar_url": "https://avatars.githubusercontent.com/u/669080?v=4",
"events_url": "https://api.github.com/users/ntx-/events{/privacy}",
"followers_url": "https://api.github.com/users/ntx-/followers",
"following_url": "https://api.github.com/users/ntx-/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 1 | 2013-09-03T14:44:02Z | 2021-09-09T01:22:22Z | 2013-09-24T17:51:19Z | NONE | resolved | When sending a large (multipart) POST request to a server requiring digest access authentication the "401 Unauthorized" response might be received and the connection terminated before the HTTPConnection.request() in HTTPConnectionPool._make_request() has returned causing the underlying socket routines to fail with EPIP... | {
"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/1574/reactions"
} | https://api.github.com/repos/psf/requests/issues/1574/timeline | null | completed | null | null | false | [
"@ntx Thanks for raising this issue! I agree, this is a fairly graceless way to fail. I think the correct place for this fix is in [urllib3](https://github.com/shazow/urllib3), which implements our connection-layer logic. A simple exception handler should suffice over there. Can I recommend you open an issue on tha... |
https://api.github.com/repos/psf/requests/issues/1573 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1573/labels{/name} | https://api.github.com/repos/psf/requests/issues/1573/comments | https://api.github.com/repos/psf/requests/issues/1573/events | https://github.com/psf/requests/issues/1573 | 18,907,279 | MDU6SXNzdWUxODkwNzI3OQ== | 1,573 | Specify password for SSL client side certificate | {
"avatar_url": "https://avatars.githubusercontent.com/u/109361?v=4",
"events_url": "https://api.github.com/users/botondus/events{/privacy}",
"followers_url": "https://api.github.com/users/botondus/followers",
"following_url": "https://api.github.com/users/botondus/following{/other_user}",
"gists_url": "https... | [
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"name": "Planned",
"node_id": "MDU6TGFiZWwxMTc3NDU=",
"url": "https://api.github.com/repos/psf/requests/labels/Planned"
},
{
"color": "fad8c7",
"default": false,
"description": null,
"id": 13661... | closed | true | null | [] | null | 122 | 2013-09-03T13:14:44Z | 2021-11-28T05:40:38Z | 2021-11-28T05:40:24Z | NONE | resolved | As far as I know currently it's not possible to specify the password for the client side certificate you're using for authentication.
This is a bit of a problem because you typically always want to password protect your .pem file which contains the private key. `openssl` won't even let you create one without a password... | {
"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": 8,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 8,
"url": "https://api.github.com/repos/psf/requests/issues/1573/reactions"
} | https://api.github.com/repos/psf/requests/issues/1573/timeline | null | completed | null | null | false | [
"Something like:\n\n`requests.get('https://kennethreitz.com', cert='server.pem', cert_pw='my_password')`\n",
"Pretty sure you're supposed to use the `cert` param for that: `cert=('server.pem', 'my_password')`\n",
"@sigmavirus24 \nThe tuple is for `(certificate, key)`. Currently there is no support for encrypted... |
https://api.github.com/repos/psf/requests/issues/1572 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1572/labels{/name} | https://api.github.com/repos/psf/requests/issues/1572/comments | https://api.github.com/repos/psf/requests/issues/1572/events | https://github.com/psf/requests/issues/1572 | 18,898,078 | MDU6SXNzdWUxODg5ODA3OA== | 1,572 | urllib3 exceptions passing through requests API | {
"avatar_url": "https://avatars.githubusercontent.com/u/410452?v=4",
"events_url": "https://api.github.com/users/sylvinus/events{/privacy}",
"followers_url": "https://api.github.com/users/sylvinus/followers",
"following_url": "https://api.github.com/users/sylvinus/following{/other_user}",
"gists_url": "https... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"... | closed | true | {
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url": "https://ap... | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/1382556?v=4",
"events_url": "https://api.github.com/users/Lukasa/events{/privacy}",
"followers_url": "https://api.github.com/users/Lukasa/followers",
"following_url": "https://api.github.com/users/Lukasa/following{/other_user}",
"gists_url... | {
"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",
... | 13 | 2013-09-03T09:36:19Z | 2021-09-08T22:00:45Z | 2015-10-05T14:09:46Z | NONE | resolved | I don't know if it's a design goal of requests to hide urllib3's exceptions and wrap them around requests.exceptions types.
(If it's not IMHO it should be, but that's another discussion)
If it is, I have at least two of them passing through that I have to catch in addition to requests' exceptions. They are requests.p... | {
"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/1572/reactions"
} | https://api.github.com/repos/psf/requests/issues/1572/timeline | null | completed | null | null | false | [
"I definitely agree with you and would agree that these should be wrapped.\n\nCould you give us stack-traces so we can find where they're bleeding through?\n",
"Sorry I don't have stack traces readily available :/\n",
"No worries. I have ideas as to where the DecodeError might be coming from but I'm not certain... |
https://api.github.com/repos/psf/requests/issues/1571 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1571/labels{/name} | https://api.github.com/repos/psf/requests/issues/1571/comments | https://api.github.com/repos/psf/requests/issues/1571/events | https://github.com/psf/requests/issues/1571 | 18,890,272 | MDU6SXNzdWUxODg5MDI3Mg== | 1,571 | Support for HTTPS "CONNECT" method | {
"avatar_url": "https://avatars.githubusercontent.com/u/3726484?v=4",
"events_url": "https://api.github.com/users/czardoz/events{/privacy}",
"followers_url": "https://api.github.com/users/czardoz/followers",
"following_url": "https://api.github.com/users/czardoz/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2013-09-03T05:17:10Z | 2021-09-09T00:28:31Z | 2013-09-03T05:23:22Z | NONE | resolved | This is a Wireshark capture of Firefox using an HTTPS proxy:
```
CONNECT ssl.gstatic.com:443 HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0
Proxy-Connection: keep-alive
Connection: keep-alive
Host: ssl.gstatic.com
HTTP/1.1 200 Connection Established
Content-Length: 0... | {
"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/1571/reactions"
} | https://api.github.com/repos/psf/requests/issues/1571/timeline | null | completed | null | null | false | [
"Thanks for raising this issue, @czardoz!\n\nThis is a longstanding issue that we've known about for a very long time. A quick GitHub search for \"proxy https\" reveals 118 issues that have been raised at one point or another about this problem. Hell, I even [wrote a blog post about it](https://lukasa.co.uk/2013/07... |
https://api.github.com/repos/psf/requests/issues/1570 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1570/labels{/name} | https://api.github.com/repos/psf/requests/issues/1570/comments | https://api.github.com/repos/psf/requests/issues/1570/events | https://github.com/psf/requests/issues/1570 | 18,875,346 | MDU6SXNzdWUxODg3NTM0Ng== | 1,570 | Handle multiple TLS versions out of the box | {
"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_... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "fbca04",
"default": false,
"description": null... | closed | true | null | [] | null | 8 | 2013-09-02T18:03:45Z | 2021-09-08T23:06:11Z | 2015-01-18T20:29:44Z | CONTRIBUTOR | resolved | There are occasional cases where we could tell a server that we also support a lesser version of TLS when connecting to them and negotiate to a lower version if necessary.
This might reduce the noise we get on the issue tracker about making requests that result in SSLErrors. A great deal of the discussion around this ... | {
"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/1570/reactions"
} | https://api.github.com/repos/psf/requests/issues/1570/timeline | null | completed | null | null | false | [
"My understanding is that this is not how TLS works. From [Technet](http://technet.microsoft.com/en-us/library/cc785811.aspx):\n\n> **Client Hello**. The client initiates a session by sending a Client Hello message to the server. The Client Hello message contains:\n> \n> > **Version Number**. The client sends the v... |
https://api.github.com/repos/psf/requests/issues/1569 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1569/labels{/name} | https://api.github.com/repos/psf/requests/issues/1569/comments | https://api.github.com/repos/psf/requests/issues/1569/events | https://github.com/psf/requests/pull/1569 | 18,868,502 | MDExOlB1bGxSZXF1ZXN0ODAyMzA2OA== | 1,569 | remove ipv6 brackets from hostname for httplib | {
"avatar_url": "https://avatars.githubusercontent.com/u/420144?v=4",
"events_url": "https://api.github.com/users/alekibango/events{/privacy}",
"followers_url": "https://api.github.com/users/alekibango/followers",
"following_url": "https://api.github.com/users/alekibango/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-09-02T14:48:38Z | 2021-09-08T21:01:09Z | 2013-09-02T15:02:28Z | NONE | resolved | fixes #1568, makes ipv6 actually work like this:
a = requests.get('http://[2001:718:1:4::2]/')
It might be good idea to use urrlib3 newer than
https://github.com/shazow/urllib3/commit/208ba74c796116bafc95d46dfcf4325449643ab6
as it fixes the problem too.
| {
"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/1569/reactions"
} | https://api.github.com/repos/psf/requests/issues/1569/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1569.diff",
"html_url": "https://github.com/psf/requests/pull/1569",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1569.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1569"
} | true | [
"Thanks for this! We'll take the updated version of urllib3 though. =) Look out for the next release of Requests, which should have that updated version.\n"
] |
https://api.github.com/repos/psf/requests/issues/1568 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1568/labels{/name} | https://api.github.com/repos/psf/requests/issues/1568/comments | https://api.github.com/repos/psf/requests/issues/1568/events | https://github.com/psf/requests/issues/1568 | 18,868,224 | MDU6SXNzdWUxODg2ODIyNA== | 1,568 | using numeric ipv6 address needs updated urllib3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/420144?v=4",
"events_url": "https://api.github.com/users/alekibango/events{/privacy}",
"followers_url": "https://api.github.com/users/alekibango/followers",
"following_url": "https://api.github.com/users/alekibango/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 1 | 2013-09-02T14:42:17Z | 2021-09-09T01:22:29Z | 2013-09-02T15:06:27Z | NONE | resolved | using numeric ipv6 fails, as the host contains [] in name, which makes lower calls using httplib raise exception (talking about max. retries and socket.gaierror).
we need to fix local urllib copy to use self.host.strip('[]') in ConnectionPool.**init** in connectionpool.py, or rather use urllib3 version newer than thi... | {
"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/1568/reactions"
} | https://api.github.com/repos/psf/requests/issues/1568/timeline | null | completed | null | null | false | [
"Thanks for this @alekibango, and thanks for providing a PR!\n\nIt's worth noting that this was an issue we already knew about: see #1426. We work very closely with @shazow on his urllib3 project because we build Requests on top of it, and we regularly take newer versions of urllib3 with releases of Requests. I'm r... |
https://api.github.com/repos/psf/requests/issues/1567 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1567/labels{/name} | https://api.github.com/repos/psf/requests/issues/1567/comments | https://api.github.com/repos/psf/requests/issues/1567/events | https://github.com/psf/requests/issues/1567 | 18,843,099 | MDU6SXNzdWUxODg0MzA5OQ== | 1,567 | GET request to "https://sso.queensu.ca" Connection reset by peer | {
"avatar_url": "https://avatars.githubusercontent.com/u/1538657?v=4",
"events_url": "https://api.github.com/users/sidequestboy/events{/privacy}",
"followers_url": "https://api.github.com/users/sidequestboy/followers",
"following_url": "https://api.github.com/users/sidequestboy/following{/other_user}",
"gists... | [] | closed | true | null | [] | null | 12 | 2013-09-01T21:39:39Z | 2021-09-09T00:28:25Z | 2013-09-02T17:32:09Z | NONE | resolved | with python 2.7.5
``` python
import requests
requests.__version__
'1.2.3'
requests.get("https://sso.queensu.ca")
```
fails with:
``` python
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/requests/api.py", line 55, in get
return request('get', url... | {
"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/1567/reactions"
} | https://api.github.com/repos/psf/requests/issues/1567/timeline | null | completed | null | null | false | [
"So I think this is an SSL problem, because I have no problems running this query on my Windows box. What OS are you using?\n\nAlso, let's ping @t-8ch for his expertise here. =)\n",
"@jameh can you inspect the headers that Firefox receives when you visit that site? I have an idea that this might be unrelated to S... |
https://api.github.com/repos/psf/requests/issues/1566 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1566/labels{/name} | https://api.github.com/repos/psf/requests/issues/1566/comments | https://api.github.com/repos/psf/requests/issues/1566/events | https://github.com/psf/requests/pull/1566 | 18,840,438 | MDExOlB1bGxSZXF1ZXN0ODAwOTc0NA== | 1,566 | Add link to Contributor Friendly tag in README | {
"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 | null | [] | null | 1 | 2013-09-01T18:23:06Z | 2021-09-08T23:07:12Z | 2013-09-01T18:25:04Z | CONTRIBUTOR | resolved | Also add note that I'm willing to help anyone who is looking to submit a pull 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/1566/reactions"
} | https://api.github.com/repos/psf/requests/issues/1566/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1566.diff",
"html_url": "https://github.com/psf/requests/pull/1566",
"merged_at": "2013-09-01T18:25:04Z",
"patch_url": "https://github.com/psf/requests/pull/1566.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1566"
} | true | [
":chart_with_upwards_trend: \n"
] |
https://api.github.com/repos/psf/requests/issues/1565 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1565/labels{/name} | https://api.github.com/repos/psf/requests/issues/1565/comments | https://api.github.com/repos/psf/requests/issues/1565/events | https://github.com/psf/requests/pull/1565 | 18,839,445 | MDExOlB1bGxSZXF1ZXN0ODAwOTM4NA== | 1,565 | Don't absolute import things we've vendored. | {
"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": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 5 | 2013-09-01T17:12:19Z | 2021-09-08T23:07:35Z | 2013-09-24T17:39:09Z | MEMBER | resolved | Pointed out by @dstufft in #1560.
| {
"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/1565/reactions"
} | https://api.github.com/repos/psf/requests/issues/1565/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1565.diff",
"html_url": "https://github.com/psf/requests/pull/1565",
"merged_at": "2013-09-24T17:39:09Z",
"patch_url": "https://github.com/psf/requests/pull/1565.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1565"
} | true | [
":+1:\n",
"Unrelated (noob) question to the pull request: Does this really make a difference? Is is better to use relative imports?\n",
"It makes it possible to use SNI when requests is vendored.\n",
"@aesptux That's an excellent question. =)\n\nAn absolute import here will search `sys.path` for a module call... |
https://api.github.com/repos/psf/requests/issues/1564 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1564/labels{/name} | https://api.github.com/repos/psf/requests/issues/1564/comments | https://api.github.com/repos/psf/requests/issues/1564/events | https://github.com/psf/requests/issues/1564 | 18,816,629 | MDU6SXNzdWUxODgxNjYyOQ== | 1,564 | Support of "Transfer-Encoding: gzip" | {
"avatar_url": "https://avatars.githubusercontent.com/u/1447160?v=4",
"events_url": "https://api.github.com/users/jcea/events{/privacy}",
"followers_url": "https://api.github.com/users/jcea/followers",
"following_url": "https://api.github.com/users/jcea/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 3 | 2013-08-31T01:34:03Z | 2021-09-09T01:22:30Z | 2013-08-31T05:59:56Z | NONE | resolved | Currently, if REQUESTS get a "Transfer-Encoding: gzip" answer, it will provide the GZIPPED content instead of the uncompressed data (like "content-encoding: gzip").
I would suggest that REQUESTS should decompress those replies, and it should add "TE: gzip" header in the requests, by default, too.
| {
"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/1564/reactions"
} | https://api.github.com/repos/psf/requests/issues/1564/timeline | null | completed | null | null | false | [
"Some details: https://issues.apache.org/bugzilla/show_bug.cgi?id=52860#c5\n",
"Part of the rational for my argument against this is in the issue you provided. To quote \"Tim B\":\n\n> Few mainstream browsers support gzip transfer-encoding.\n\nrequests never attempts to mimic anything that isn't in a browser and ... |
https://api.github.com/repos/psf/requests/issues/1563 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1563/labels{/name} | https://api.github.com/repos/psf/requests/issues/1563/comments | https://api.github.com/repos/psf/requests/issues/1563/events | https://github.com/psf/requests/issues/1563 | 18,816,531 | MDU6SXNzdWUxODgxNjUzMQ== | 1,563 | "requests.Session" should allow "timeout" attribute | {
"avatar_url": "https://avatars.githubusercontent.com/u/1447160?v=4",
"events_url": "https://api.github.com/users/jcea/events{/privacy}",
"followers_url": "https://api.github.com/users/jcea/followers",
"following_url": "https://api.github.com/users/jcea/following{/other_user}",
"gists_url": "https://api.gith... | [] | closed | true | null | [] | null | 2 | 2013-08-31T01:25:22Z | 2021-09-09T00:01:07Z | 2013-08-31T01:51:39Z | NONE | resolved | Currently, you can set stuff like headers, authentication, etc in a "requests.Session" instance, to be used as default values for requests under that session. I would like to set a default timeout for the session too, to be used as the default timeout for requests under that session.
| {
"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/1563/reactions"
} | https://api.github.com/repos/psf/requests/issues/1563/timeline | null | completed | null | null | false | [
"A timeout attribute on a Session is not a logical thing. Consider that the Session can have cookies which are represented (when sent and received from the server) as headers as well as authentication which can happen on a Session. A timeout on a Session, however, would mean that after the value assigned to that at... |
https://api.github.com/repos/psf/requests/issues/1562 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1562/labels{/name} | https://api.github.com/repos/psf/requests/issues/1562/comments | https://api.github.com/repos/psf/requests/issues/1562/events | https://github.com/psf/requests/pull/1562 | 18,807,666 | MDExOlB1bGxSZXF1ZXN0Nzk5NTU0Nw== | 1,562 | Include docs in source package | {
"avatar_url": "https://avatars.githubusercontent.com/u/355646?v=4",
"events_url": "https://api.github.com/users/llonchj/events{/privacy}",
"followers_url": "https://api.github.com/users/llonchj/followers",
"following_url": "https://api.github.com/users/llonchj/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 4 | 2013-08-30T20:17:16Z | 2021-09-08T21:01:08Z | 2013-08-31T01:30:19Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1562/reactions"
} | https://api.github.com/repos/psf/requests/issues/1562/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1562.diff",
"html_url": "https://github.com/psf/requests/pull/1562",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1562.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1562"
} | true | [
"HI @llonchj, thanks for opening this PR! What's the rationale for doing this? I'm not 100% sold on this being a good idea.\n",
"I agree with you, that has several points of view. There's no PEP about. To\nme makes sense than a source distribution includes documentation.\n\nKindly close the PR if not 100% sure.\n... | |
https://api.github.com/repos/psf/requests/issues/1561 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1561/labels{/name} | https://api.github.com/repos/psf/requests/issues/1561/comments | https://api.github.com/repos/psf/requests/issues/1561/events | https://github.com/psf/requests/issues/1561 | 18,791,485 | MDU6SXNzdWUxODc5MTQ4NQ== | 1,561 | Header keys lose their case | {
"avatar_url": "https://avatars.githubusercontent.com/u/12653?v=4",
"events_url": "https://api.github.com/users/magicjin/events{/privacy}",
"followers_url": "https://api.github.com/users/magicjin/followers",
"following_url": "https://api.github.com/users/magicjin/following{/other_user}",
"gists_url": "https:... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 117744,
"name": "Bug",
"node_id": "MDU6TGFiZWwxMTc3NDQ=",
"url": "https://api.github.com/repos/psf/requests/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": null,
"id": 117745,
"... | closed | true | null | [] | {
"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",
... | 11 | 2013-08-30T14:43:45Z | 2021-09-08T13:05:32Z | 2017-01-09T16:17:38Z | NONE | resolved | it seems that there is a bug in response.headers.
for example, code below:
``` python
import requests
r = requests.get('http://docs.python-requests.org/en/latest/')
print r.headers._store
```
it will display as:
```
{'connection': ('connection', 'keep-alive'),
'content-encoding': ('content-encoding', 'gzip'),
'co... | {
"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/1561/reactions"
} | https://api.github.com/repos/psf/requests/issues/1561/timeline | null | completed | null | null | false | [
"Hmm, this is a puzzling one. I see the same behaviour as you, plus this oddity:\n\n``` python\n>>> r.raw.headers\n{'x-served': 'Nginx',\n 'content-encoding': 'gzip',\n 'transfer-encoding': 'chunked',\n 'connection': 'keep-alive',\n 'server': 'nginx/1.1.19',\n 'last-modified': 'Tue, 27 Aug 2013 15:01:13 GMT',\n 'x-... |
https://api.github.com/repos/psf/requests/issues/1560 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1560/labels{/name} | https://api.github.com/repos/psf/requests/issues/1560/comments | https://api.github.com/repos/psf/requests/issues/1560/events | https://github.com/psf/requests/issues/1560 | 18,784,039 | MDU6SXNzdWUxODc4NDAzOQ== | 1,560 | SNI support doesn't support vendoring | {
"avatar_url": "https://avatars.githubusercontent.com/u/145979?v=4",
"events_url": "https://api.github.com/users/dstufft/events{/privacy}",
"followers_url": "https://api.github.com/users/dstufft/followers",
"following_url": "https://api.github.com/users/dstufft/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 6 | 2013-08-30T11:59:52Z | 2021-09-09T01:22:21Z | 2013-09-25T09:24:45Z | CONTRIBUTOR | resolved | The import in requests/**init**.py does `from requests.packages.urllib3.contrib import pyopenssl` which means it doesn't work when requests is vendored.
| {
"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/1560/reactions"
} | https://api.github.com/repos/psf/requests/issues/1560/timeline | null | completed | null | null | false | [
"Thanks for raising this issue @dstufft! It's not at all clear to me why that import wouldn't work when requests is vendored, though. Can you elaborate on what the problem is?\n",
"I know what the problem is, no worries.\n",
"Just needs to be an absolute relative import.\n",
"When requests is vendored it's to... |
https://api.github.com/repos/psf/requests/issues/1559 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1559/labels{/name} | https://api.github.com/repos/psf/requests/issues/1559/comments | https://api.github.com/repos/psf/requests/issues/1559/events | https://github.com/psf/requests/issues/1559 | 18,769,938 | MDU6SXNzdWUxODc2OTkzOA== | 1,559 | HTTP transport is case sensitive, it won't handle slightly malformed http URLs. | {
"avatar_url": "https://avatars.githubusercontent.com/u/181693?v=4",
"events_url": "https://api.github.com/users/offbyone/events{/privacy}",
"followers_url": "https://api.github.com/users/offbyone/followers",
"following_url": "https://api.github.com/users/offbyone/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 1 | 2013-08-30T03:55:55Z | 2021-09-09T01:22:30Z | 2013-08-30T04:09:13Z | NONE | resolved | When downloading a URL whose schema is not lowercased, the connection adapter can't be found (say, for example):
_Http_ URLs.
```
Traceback (most recent call last):
File "/Users/offby1/projects/rscp/rscp/downloader.py", line 175, in download_images
self.download_image_url(image_url, target_file)
File "/Users/... | {
"avatar_url": "https://avatars.githubusercontent.com/u/181693?v=4",
"events_url": "https://api.github.com/users/offbyone/events{/privacy}",
"followers_url": "https://api.github.com/users/offbyone/followers",
"following_url": "https://api.github.com/users/offbyone/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/1559/reactions"
} | https://api.github.com/repos/psf/requests/issues/1559/timeline | null | completed | null | null | false | [
"Oh, FFS, it's fixed in devo. Never mind, obviously I've got a crufty version lying around.\n"
] |
https://api.github.com/repos/psf/requests/issues/1558 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1558/labels{/name} | https://api.github.com/repos/psf/requests/issues/1558/comments | https://api.github.com/repos/psf/requests/issues/1558/events | https://github.com/psf/requests/issues/1558 | 18,638,777 | MDU6SXNzdWUxODYzODc3Nw== | 1,558 | Make instances of PreparedRequest class pickable | {
"avatar_url": "https://avatars.githubusercontent.com/u/92239?v=4",
"events_url": "https://api.github.com/users/piotr-dobrogost/events{/privacy}",
"followers_url": "https://api.github.com/users/piotr-dobrogost/followers",
"following_url": "https://api.github.com/users/piotr-dobrogost/following{/other_user}",
... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "e102d8",
"default": false,
"description": null... | closed | true | null | [] | null | 18 | 2013-08-27T22:38:40Z | 2021-09-08T14:00:39Z | 2016-11-11T08:11:33Z | NONE | resolved | See [How can I save a python HTTP requests from python-requets so I can execute it later?](http://stackoverflow.com/q/18462749/95735) question on Stack Overflow.
| {
"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/1558/reactions"
} | https://api.github.com/repos/psf/requests/issues/1558/timeline | null | completed | null | null | false | [
"Is that the only remaining class that isn't Pickleable? If so, I'll work on it for 2.0.\n",
"Looks like it might be. I'd love this in 2.0. =)\n",
":+1: If we make a patch for the current version, would you accept it? -- I want to improve the python-jira library without having to use a non-released version of r... |
https://api.github.com/repos/psf/requests/issues/1557 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1557/labels{/name} | https://api.github.com/repos/psf/requests/issues/1557/comments | https://api.github.com/repos/psf/requests/issues/1557/events | https://github.com/psf/requests/issues/1557 | 18,629,938 | MDU6SXNzdWUxODYyOTkzOA== | 1,557 | [FROM SESSION-FUTURES] Multiple Redirects | {
"avatar_url": "https://avatars.githubusercontent.com/u/1316773?v=4",
"events_url": "https://api.github.com/users/akavi1015/events{/privacy}",
"followers_url": "https://api.github.com/users/akavi1015/followers",
"following_url": "https://api.github.com/users/akavi1015/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 13 | 2013-08-27T19:51:38Z | 2021-09-09T01:22:31Z | 2013-08-29T13:11:22Z | NONE | resolved | https://github.com/ross/requests-futures/issues/6
The above link has the issue in it.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1557/reactions"
} | https://api.github.com/repos/psf/requests/issues/1557/timeline | null | completed | null | null | false | [
"I see no issue in requests proper described there. It looks like you're using requests-futures incorrectly unless there are details you didn't update after trying to get the response from the futures object.\n",
"I do not think I am doing anything incorrectly with requests-futures. I really just can't conceptual... |
https://api.github.com/repos/psf/requests/issues/1556 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1556/labels{/name} | https://api.github.com/repos/psf/requests/issues/1556/comments | https://api.github.com/repos/psf/requests/issues/1556/events | https://github.com/psf/requests/pull/1556 | 18,611,901 | MDExOlB1bGxSZXF1ZXN0Nzg4OTY5Nw== | 1,556 | Added link to StackOverflow questions related to python-requests. This s... | {
"avatar_url": "https://avatars.githubusercontent.com/u/102495?v=4",
"events_url": "https://api.github.com/users/ssbarnea/events{/privacy}",
"followers_url": "https://api.github.com/users/ssbarnea/followers",
"following_url": "https://api.github.com/users/ssbarnea/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 2 | 2013-08-27T14:43:51Z | 2021-09-08T21:01:08Z | 2013-08-27T15:03:33Z | CONTRIBUTOR | resolved | ...hould be the default support way for the library, as clearly most questions are supposed to be programming related.
Signed-off-by: Sorin Sbarnea sorin.sbarnea@citrix.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/1556/reactions"
} | https://api.github.com/repos/psf/requests/issues/1556/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1556.diff",
"html_url": "https://github.com/psf/requests/pull/1556",
"merged_at": "2013-08-27T15:03:33Z",
"patch_url": "https://github.com/psf/requests/pull/1556.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1556"
} | true | [
"Looks good to me!\n",
":cake:\n"
] |
https://api.github.com/repos/psf/requests/issues/1555 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1555/labels{/name} | https://api.github.com/repos/psf/requests/issues/1555/comments | https://api.github.com/repos/psf/requests/issues/1555/events | https://github.com/psf/requests/issues/1555 | 18,598,630 | MDU6SXNzdWUxODU5ODYzMA== | 1,555 | Provide a quick link to http://stackoverflow.com/questions/tagged/python-requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/102495?v=4",
"events_url": "https://api.github.com/users/ssbarnea/events{/privacy}",
"followers_url": "https://api.github.com/users/ssbarnea/followers",
"following_url": "https://api.github.com/users/ssbarnea/following{/other_user}",
"gists_url": "https... | [] | closed | true | null | [] | null | 4 | 2013-08-27T10:19:34Z | 2021-09-09T01:22:32Z | 2013-08-27T15:04:06Z | CONTRIBUTOR | resolved | It would be extremely useful to provide a quick link from inside to the requests homepage to http://stackoverflow.com/questions/tagged/python-requests
homepage: http://docs.python-requests.org/en/latest/ - see Useful Links
Currently the homepage contains 3 quick links but none of them is linking to a place where peop... | {
"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/1555/reactions"
} | https://api.github.com/repos/psf/requests/issues/1555/timeline | null | completed | null | null | false | [
"Feel free to send a pull request because you're 100% correct. :)\n",
":+1:\n",
"https://github.com/kennethreitz/requests/pull/1556\n",
"Job's a good'un! Thanks so much! :star:\n"
] |
https://api.github.com/repos/psf/requests/issues/1554 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1554/labels{/name} | https://api.github.com/repos/psf/requests/issues/1554/comments | https://api.github.com/repos/psf/requests/issues/1554/events | https://github.com/psf/requests/issues/1554 | 18,569,398 | MDU6SXNzdWUxODU2OTM5OA== | 1,554 | reading multipart/x-mixed-replace stream | {
"avatar_url": "https://avatars.githubusercontent.com/u/933231?v=4",
"events_url": "https://api.github.com/users/wiesson/events{/privacy}",
"followers_url": "https://api.github.com/users/wiesson/followers",
"following_url": "https://api.github.com/users/wiesson/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 17 | 2013-08-26T19:48:19Z | 2018-10-18T14:33:23Z | 2013-08-26T22:42:06Z | NONE | resolved | Hi, I'm trying to fetch multipart/x-mixed-replace data with the [Streaming Requests](http://docs.python-requests.org/en/latest/user/advanced/#streaming-requests) example. As I read [here](http://en.wikipedia.org/wiki/Push_technology#HTTP_server_push):
> The content type multipart/x-mixed-replace was developed as part ... | {
"avatar_url": "https://avatars.githubusercontent.com/u/933231?v=4",
"events_url": "https://api.github.com/users/wiesson/events{/privacy}",
"followers_url": "https://api.github.com/users/wiesson/followers",
"following_url": "https://api.github.com/users/wiesson/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/1554/reactions"
} | https://api.github.com/repos/psf/requests/issues/1554/timeline | null | completed | null | null | false | [
"The response is broken into parts, delimited by strings of the form `--<stuff>`. So, read data until you find one of those, then join all the previous lines up with `\\r\\n` characters. You now have a single part, which contains the headers and then the body. Split on the string `\\r\\n\\r\\n`. The first part is t... |
https://api.github.com/repos/psf/requests/issues/1553 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1553/labels{/name} | https://api.github.com/repos/psf/requests/issues/1553/comments | https://api.github.com/repos/psf/requests/issues/1553/events | https://github.com/psf/requests/issues/1553 | 18,517,161 | MDU6SXNzdWUxODUxNzE2MQ== | 1,553 | Autodetect proxy on Windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/2280140?v=4",
"events_url": "https://api.github.com/users/oliverjanik/events{/privacy}",
"followers_url": "https://api.github.com/users/oliverjanik/followers",
"following_url": "https://api.github.com/users/oliverjanik/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 4 | 2013-08-25T06:16:06Z | 2021-09-09T01:22:29Z | 2013-08-25T08:54:08Z | NONE | resolved | It would be nice if requests could support automatic proxy detection on Windows.
Both urllib2 and urllib accomplish this by reading windows registry via urllib.getproxies() on Windows and using _scproxy on Mac.
I opened an issue in [urllib3](https://github.com/shazow/urllib3/issues/232) but @shazow doesn't think it b... | {
"avatar_url": "https://avatars.githubusercontent.com/u/2280140?v=4",
"events_url": "https://api.github.com/users/oliverjanik/events{/privacy}",
"followers_url": "https://api.github.com/users/oliverjanik/followers",
"following_url": "https://api.github.com/users/oliverjanik/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/1553/reactions"
} | https://api.github.com/repos/psf/requests/issues/1553/timeline | null | completed | null | null | false | [
"Looks looks `urllib.getproxies() is already being used (and executed).\nhttps://github.com/kennethreitz/requests/blob/90837359632b43aba7900b65b42744715f0b739a/requests/utils.py#L416\n",
"Here's my dumb test:\n1. Launch Fiddler on windows\n\n``` python\n>>> import urllib\n>>> urllib.getproxies()\n{'http': 'http:/... |
https://api.github.com/repos/psf/requests/issues/1552 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1552/labels{/name} | https://api.github.com/repos/psf/requests/issues/1552/comments | https://api.github.com/repos/psf/requests/issues/1552/events | https://github.com/psf/requests/pull/1552 | 18,465,936 | MDExOlB1bGxSZXF1ZXN0NzgxNzgwNA== | 1,552 | Allow spaces in the no_proxy environ variable | {
"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": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "eb6420",
"default": false,
"description... | closed | true | null | [] | null | 1 | 2013-08-23T11:38:57Z | 2021-09-08T23:06:14Z | 2013-08-24T00:23:58Z | MEMBER | resolved | As mentioned in #1551, we could do with being a little more lenient here. A space isn't a valid URL character anyway, so just yank them all out and everything should be fine.
| {
"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/1552/reactions"
} | https://api.github.com/repos/psf/requests/issues/1552/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1552.diff",
"html_url": "https://github.com/psf/requests/pull/1552",
"merged_at": "2013-08-24T00:23:57Z",
"patch_url": "https://github.com/psf/requests/pull/1552.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1552"
} | true | [
":+1:\n"
] |
https://api.github.com/repos/psf/requests/issues/1551 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1551/labels{/name} | https://api.github.com/repos/psf/requests/issues/1551/comments | https://api.github.com/repos/psf/requests/issues/1551/events | https://github.com/psf/requests/issues/1551 | 18,462,607 | MDU6SXNzdWUxODQ2MjYwNw== | 1,551 | Problems with spaces in no_proxy environ variable | {
"avatar_url": "https://avatars.githubusercontent.com/u/2345069?v=4",
"events_url": "https://api.github.com/users/javitgarcia/events{/privacy}",
"followers_url": "https://api.github.com/users/javitgarcia/followers",
"following_url": "https://api.github.com/users/javitgarcia/following{/other_user}",
"gists_ur... | [] | closed | true | null | [] | null | 2 | 2013-08-23T10:02:31Z | 2021-09-09T02:11:35Z | 2013-08-23T11:39:30Z | NONE | resolved | In utils.py, in the get_environ_proxies function:
``` python
...
if no_proxy:
# We need to check whether we match here. We need to see if we match
# the end of the netloc, both with and without the port.
no_proxy = no_proxy.split(',')
netloc = urlparse(url).netloc
for host ... | {
"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/1551/reactions"
} | https://api.github.com/repos/psf/requests/issues/1551/timeline | null | completed | null | null | false | [
"Strictly speaking `no_proxy` shouldn't have spaces in it (it's defined as _comma separated_), but I think we can be more lenient here. =)\n",
"This should be resolved by #1552. Thanks for reporting it!\n"
] |
https://api.github.com/repos/psf/requests/issues/1550 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1550/labels{/name} | https://api.github.com/repos/psf/requests/issues/1550/comments | https://api.github.com/repos/psf/requests/issues/1550/events | https://github.com/psf/requests/issues/1550 | 18,452,861 | MDU6SXNzdWUxODQ1Mjg2MQ== | 1,550 | No "Host" header entry in response.request.headers | {
"avatar_url": "https://avatars.githubusercontent.com/u/1407472?v=4",
"events_url": "https://api.github.com/users/Cosmius/events{/privacy}",
"followers_url": "https://api.github.com/users/Cosmius/followers",
"following_url": "https://api.github.com/users/Cosmius/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 8 | 2013-08-23T03:55:12Z | 2021-09-09T01:22:31Z | 2013-08-27T07:57:37Z | NONE | resolved | Many web servers use the Host header to match different sites, probably the most important HTTP header.
There is no Host entry in the response.request.headers, unless set explicitly when issuing the 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/1550/reactions"
} | https://api.github.com/repos/psf/requests/issues/1550/timeline | null | completed | null | null | false | [
"@Cosmius That's a good point! I think we should fix this up for 2.0.\n",
"The \"Accept-Encoding\" and \"Host\" fields get set automatically in httplib's HTTPConnection.putrequest() if they are not set explicitly.\n",
"That's true, it does. Still, I think it'd be better to set it higher up if possible, to make ... |
https://api.github.com/repos/psf/requests/issues/1549 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1549/labels{/name} | https://api.github.com/repos/psf/requests/issues/1549/comments | https://api.github.com/repos/psf/requests/issues/1549/events | https://github.com/psf/requests/issues/1549 | 18,402,573 | MDU6SXNzdWUxODQwMjU3Mw== | 1,549 | 'PoolManager' object has no attribute 'proxy_from_url' | {
"avatar_url": "https://avatars.githubusercontent.com/u/5285404?v=4",
"events_url": "https://api.github.com/users/diplav/events{/privacy}",
"followers_url": "https://api.github.com/users/diplav/followers",
"following_url": "https://api.github.com/users/diplav/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 1 | 2013-08-22T09:29:40Z | 2021-09-09T01:22:32Z | 2013-08-27T08:14:46Z | NONE | resolved | There is something wrong with the requests/adapter.py file

while using glance it shows the error:
'PoolManager' object has no attribute 'proxy_from_url'
| {
"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/1549/reactions"
} | https://api.github.com/repos/psf/requests/issues/1549/timeline | null | completed | null | null | false | [
"I disagree. =) It looks like a glance problem to me. The current version of Requests does not use `proxy_from_url`. We do use `proxy_from_url` in the unreleased 2.0 branch, but it's not a class method it's a standalone function.\n"
] |
https://api.github.com/repos/psf/requests/issues/1548 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1548/labels{/name} | https://api.github.com/repos/psf/requests/issues/1548/comments | https://api.github.com/repos/psf/requests/issues/1548/events | https://github.com/psf/requests/issues/1548 | 18,401,610 | MDU6SXNzdWUxODQwMTYxMA== | 1,548 | Release 1.2.4 to fix urrlib3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/117916?v=4",
"events_url": "https://api.github.com/users/yetty/events{/privacy}",
"followers_url": "https://api.github.com/users/yetty/followers",
"following_url": "https://api.github.com/users/yetty/following{/other_user}",
"gists_url": "https://api.gi... | [] | closed | true | null | [] | null | 3 | 2013-08-22T09:07:48Z | 2021-09-09T02:11:36Z | 2013-08-22T09:33:54Z | NONE | resolved | Please release new version to fix urrlib3 p3k bug: https://github.com/shazow/urllib3/issues/177
Now installation through pip is broken and I can't use dev version from Github.
| {
"avatar_url": "https://avatars.githubusercontent.com/u/117916?v=4",
"events_url": "https://api.github.com/users/yetty/events{/privacy}",
"followers_url": "https://api.github.com/users/yetty/followers",
"following_url": "https://api.github.com/users/yetty/following{/other_user}",
"gists_url": "https://api.gi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1548/reactions"
} | https://api.github.com/repos/psf/requests/issues/1548/timeline | null | completed | null | null | false | [
"My understanding of this bug is that it doesn't impede installation at all. pip moans, but then everything goes on and is fine. The only problem is with actually using the ntlmpool functionality, which I'm not sure we expose. Are you experiencing something different?\n",
"I was just scaried from installation err... |
https://api.github.com/repos/psf/requests/issues/1547 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1547/labels{/name} | https://api.github.com/repos/psf/requests/issues/1547/comments | https://api.github.com/repos/psf/requests/issues/1547/events | https://github.com/psf/requests/issues/1547 | 18,383,240 | MDU6SXNzdWUxODM4MzI0MA== | 1,547 | Installation fails in Cygwin 64 bit | {
"avatar_url": "https://avatars.githubusercontent.com/u/1364443?v=4",
"events_url": "https://api.github.com/users/gregersn/events{/privacy}",
"followers_url": "https://api.github.com/users/gregersn/followers",
"following_url": "https://api.github.com/users/gregersn/following{/other_user}",
"gists_url": "http... | [] | closed | true | null | [] | null | 54 | 2013-08-21T22:00:09Z | 2021-09-09T00:00:57Z | 2014-02-03T10:54:21Z | NONE | resolved | When I try a pip install requests in Cygwin 64 bit the installation fails.
Here's the end of the log file:
```
Downloading from URL https://pypi.python.org/packages/source/r/requests/requests-1.2.3.tar.gz#md5=adbd3f18445f7fe5e77f65c502e264fb (from https://pypi.python.org/simple/requests/)
Running setup.py egg_inf... | {
"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/1547/reactions"
} | https://api.github.com/repos/psf/requests/issues/1547/timeline | null | completed | null | null | false | [
"Hmm, I can't reproduce this. =( But I wonder if you're using a Windows virtualenv with a Windows interpreter in Cygwin. It's not clear (to me) how well that would work.\n",
"You are right, I did try through VirtualEnv and with VirtualenvWrapper. Tried again now from just regular cygwin prompt, and here's the log... |
https://api.github.com/repos/psf/requests/issues/1546 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1546/labels{/name} | https://api.github.com/repos/psf/requests/issues/1546/comments | https://api.github.com/repos/psf/requests/issues/1546/events | https://github.com/psf/requests/issues/1546 | 18,339,864 | MDU6SXNzdWUxODMzOTg2NA== | 1,546 | use a default encoding in Response's text property | {
"avatar_url": "https://avatars.githubusercontent.com/u/990113?v=4",
"events_url": "https://api.github.com/users/JerryKwan/events{/privacy}",
"followers_url": "https://api.github.com/users/JerryKwan/followers",
"following_url": "https://api.github.com/users/JerryKwan/following{/other_user}",
"gists_url": "ht... | [] | closed | true | null | [] | null | 3 | 2013-08-21T07:35:04Z | 2021-09-08T23:10:44Z | 2013-08-21T07:52:59Z | NONE | resolved | why not use a default encoding in Response's text property?if the server does not set content-type explicitly, why not use a default encoding such as utf-8? the chardet.detect() function is time consuming. if some one just use response.text and does aware the inner mechanism, he may think the Requests library is too sl... | {
"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/1546/reactions"
} | https://api.github.com/repos/psf/requests/issues/1546/timeline | null | completed | null | null | false | [
"Thanks for asking this question @JerryKwan! The short and pithy answer is: because it's better to be slow and correct than fast and wrong. =)\n\nIf we were concerned about speed we'd simply not have the `Response.text` property at all, and only ever use `Response.content` (with a silly hack for `Response.json()`).... |
https://api.github.com/repos/psf/requests/issues/1545 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1545/labels{/name} | https://api.github.com/repos/psf/requests/issues/1545/comments | https://api.github.com/repos/psf/requests/issues/1545/events | https://github.com/psf/requests/issues/1545 | 18,313,909 | MDU6SXNzdWUxODMxMzkwOQ== | 1,545 | Setup code coverage | {
"avatar_url": "https://avatars.githubusercontent.com/u/1408859?v=4",
"events_url": "https://api.github.com/users/Aaron1011/events{/privacy}",
"followers_url": "https://api.github.com/users/Aaron1011/followers",
"following_url": "https://api.github.com/users/Aaron1011/following{/other_user}",
"gists_url": "h... | [
{
"color": "02e10c",
"default": false,
"description": null,
"id": 76800,
"name": "Feature Request",
"node_id": "MDU6TGFiZWw3NjgwMA==",
"url": "https://api.github.com/repos/psf/requests/labels/Feature%20Request"
},
{
"color": "e102d8",
"default": false,
"description": null... | closed | true | null | [] | null | 11 | 2013-08-20T18:51:30Z | 2021-09-09T00:28:33Z | 2013-12-05T23:07:55Z | NONE | resolved | I think that it would be useful to set up test coverage with [coverage.py](https://pypi.python.org/pypi/coverage), or a similar tool. I can submit a PR if this sounds like a good idea.
| {
"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/1545/reactions"
} | https://api.github.com/repos/psf/requests/issues/1545/timeline | null | completed | null | null | false | [
"Hi @Aaron1011! That's a perfectly good idea. However, 100% code coverage has never been an explicit goal of this project. In the absence of a particular code coverage target, I'm not convinced that adding coverage by default is a good plan. I'll defer to @kennethreitz's judgement in this case.\n\n(Side note: You c... |
https://api.github.com/repos/psf/requests/issues/1544 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1544/labels{/name} | https://api.github.com/repos/psf/requests/issues/1544/comments | https://api.github.com/repos/psf/requests/issues/1544/events | https://github.com/psf/requests/pull/1544 | 18,293,261 | MDExOlB1bGxSZXF1ZXN0NzcyNDY1OA== | 1,544 | Fixed a bug that caused infinite redirections if the response contains a... | {
"avatar_url": "https://avatars.githubusercontent.com/u/227923?v=4",
"events_url": "https://api.github.com/users/MarioVilas/events{/privacy}",
"followers_url": "https://api.github.com/users/MarioVilas/followers",
"following_url": "https://api.github.com/users/MarioVilas/following{/other_user}",
"gists_url": ... | [] | closed | true | null | [] | null | 11 | 2013-08-20T12:36:15Z | 2021-09-08T23:07:33Z | 2013-08-20T15:07:04Z | NONE | resolved | ... Location header pointing to itself (try it against http://google.com/robots.txt to test it)
| {
"avatar_url": "https://avatars.githubusercontent.com/u/227923?v=4",
"events_url": "https://api.github.com/users/MarioVilas/events{/privacy}",
"followers_url": "https://api.github.com/users/MarioVilas/followers",
"following_url": "https://api.github.com/users/MarioVilas/following{/other_user}",
"gists_url": ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1544/reactions"
} | https://api.github.com/repos/psf/requests/issues/1544/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1544.diff",
"html_url": "https://github.com/psf/requests/pull/1544",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1544.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1544"
} | true | [
"Thanks for this @MarioVilas! I agree that this would fix a bug if this happens, though I can't reproduce this with Google's robots.txt. I have to admit that this is an unlikely bug though: surely the associated page would just never work for any browser?\n",
"I've only seen it with Google's robots.txt, but only ... |
https://api.github.com/repos/psf/requests/issues/1543 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1543/labels{/name} | https://api.github.com/repos/psf/requests/issues/1543/comments | https://api.github.com/repos/psf/requests/issues/1543/events | https://github.com/psf/requests/pull/1543 | 18,264,228 | MDExOlB1bGxSZXF1ZXN0NzcwOTQ5OQ== | 1,543 | PEP8ified | {
"avatar_url": "https://avatars.githubusercontent.com/u/1298565?v=4",
"events_url": "https://api.github.com/users/jtwaleson/events{/privacy}",
"followers_url": "https://api.github.com/users/jtwaleson/followers",
"following_url": "https://api.github.com/users/jtwaleson/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 3 | 2013-08-19T21:15:46Z | 2021-09-08T21:01:08Z | 2013-08-19T21:59:45Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/119893?v=4",
"events_url": "https://api.github.com/users/kennethreitz/events{/privacy}",
"followers_url": "https://api.github.com/users/kennethreitz/followers",
"following_url": "https://api.github.com/users/kennethreitz/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1543/reactions"
} | https://api.github.com/repos/psf/requests/issues/1543/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1543.diff",
"html_url": "https://github.com/psf/requests/pull/1543",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1543.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1543"
} | true | [
"the parts of pep8 you are using here are parts that i have intentionally chosen to ignore.\n\nThanks, though :)\n",
"Righto. Does that include the docstrings? I have to say that I think they are much more readable. Is there some external documentation system that needs to be taken into account?\n\nMind if I retr... | |
https://api.github.com/repos/psf/requests/issues/1542 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1542/labels{/name} | https://api.github.com/repos/psf/requests/issues/1542/comments | https://api.github.com/repos/psf/requests/issues/1542/events | https://github.com/psf/requests/issues/1542 | 18,262,475 | MDU6SXNzdWUxODI2MjQ3NQ== | 1,542 | POST Request in Heroku - 403 Forbidden | {
"avatar_url": "https://avatars.githubusercontent.com/u/2239263?v=4",
"events_url": "https://api.github.com/users/kqdtran/events{/privacy}",
"followers_url": "https://api.github.com/users/kqdtran/followers",
"following_url": "https://api.github.com/users/kqdtran/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 29 | 2013-08-19T20:44:10Z | 2017-09-24T16:39:23Z | 2013-09-24T03:07:54Z | NONE | null | I'm new to using Requests, and I'm trying to scrape a schedule of classes. My POST request has resulted in "403 Forbidden" on Heroku, but works fine on my local machine. Here's a code snippet I'm having trouble with in my application, using Python 2.7.4, Bottle, BeautifulSoup4, and of course, Requests.
``` python
impo... | {
"avatar_url": "https://avatars.githubusercontent.com/u/240830?v=4",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1542/reactions"
} | https://api.github.com/repos/psf/requests/issues/1542/timeline | null | completed | null | null | false | [
"Are you aware that `params` here refers to query string parameters? (I wouldn't ask if it wasn't something that seems to frequently confuse new users.) In other words, your request looks a post without a body to the following url:\n\n```\nhttps://telebears.berkeley.edu/enrollment-osoc/osc?_InField1=RESTRIC&_InFiel... |
https://api.github.com/repos/psf/requests/issues/1541 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1541/labels{/name} | https://api.github.com/repos/psf/requests/issues/1541/comments | https://api.github.com/repos/psf/requests/issues/1541/events | https://github.com/psf/requests/pull/1541 | 18,236,795 | MDExOlB1bGxSZXF1ZXN0NzY5NDQzNA== | 1,541 | [2.0] Tracking PR for the 2.0 changelog | {
"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": "e11d21",
"default": false,
"description": null,
"id": 44501305,
"name": "Not Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTMwNQ==",
"url": "https://api.github.com/repos/psf/requests/labels/Not%20Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 2 | 2013-08-19T12:29:57Z | 2021-09-09T00:01:18Z | 2013-09-24T17:45:11Z | MEMBER | resolved | This contains all of the current fixes merged into the 2.0 branch in changelog form. I'll keep updating this as new changes get merged.
_Note_: This uses [this link](https://github.com/kennethreitz/requests/compare/v1.2.3...2.0) as the source of changes. I'll keep consulting it as we work on 2.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_... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1541/reactions"
} | https://api.github.com/repos/psf/requests/issues/1541/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1541.diff",
"html_url": "https://github.com/psf/requests/pull/1541",
"merged_at": "2013-09-24T17:45:11Z",
"patch_url": "https://github.com/psf/requests/pull/1541.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1541"
} | true | [
":sparkles: :gem: :sparkles:\n",
":beer: :beers: :beers: :beer:\n"
] |
https://api.github.com/repos/psf/requests/issues/1540 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1540/labels{/name} | https://api.github.com/repos/psf/requests/issues/1540/comments | https://api.github.com/repos/psf/requests/issues/1540/events | https://github.com/psf/requests/pull/1540 | 18,212,624 | MDExOlB1bGxSZXF1ZXN0NzY4NDE4MQ== | 1,540 | Event hooks update | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144960?v=4",
"events_url": "https://api.github.com/users/libbkmz/events{/privacy}",
"followers_url": "https://api.github.com/users/libbkmz/followers",
"following_url": "https://api.github.com/users/libbkmz/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 1 | 2013-08-18T20:02:09Z | 2021-09-08T21:01:07Z | 2013-08-18T20:03:03Z | 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/1540/reactions"
} | https://api.github.com/repos/psf/requests/issues/1540/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1540.diff",
"html_url": "https://github.com/psf/requests/pull/1540",
"merged_at": "2013-08-18T20:03:03Z",
"patch_url": "https://github.com/psf/requests/pull/1540.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1540"
} | true | [
"Awesome, thanks so much for this! :cake:\n"
] | |
https://api.github.com/repos/psf/requests/issues/1539 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1539/labels{/name} | https://api.github.com/repos/psf/requests/issues/1539/comments | https://api.github.com/repos/psf/requests/issues/1539/events | https://github.com/psf/requests/pull/1539 | 18,211,718 | MDExOlB1bGxSZXF1ZXN0NzY4Mzg3NQ== | 1,539 | Add response callback arguments | {
"avatar_url": "https://avatars.githubusercontent.com/u/1144960?v=4",
"events_url": "https://api.github.com/users/libbkmz/events{/privacy}",
"followers_url": "https://api.github.com/users/libbkmz/followers",
"following_url": "https://api.github.com/users/libbkmz/following{/other_user}",
"gists_url": "https:/... | [] | closed | true | null | [] | null | 2 | 2013-08-18T18:59:09Z | 2021-09-08T21:01:07Z | 2013-08-18T20:03:17Z | CONTRIBUTOR | resolved | Or u can use **kwargs
| {
"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/1539/reactions"
} | https://api.github.com/repos/psf/requests/issues/1539/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1539.diff",
"html_url": "https://github.com/psf/requests/pull/1539",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1539.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1539"
} | true | [
"Can you update this to use **kwargs? If you do I'll happily merge. =) Thanks!\n",
"Use (r, request, **kwargs) ?\n"
] |
https://api.github.com/repos/psf/requests/issues/1538 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1538/labels{/name} | https://api.github.com/repos/psf/requests/issues/1538/comments | https://api.github.com/repos/psf/requests/issues/1538/events | https://github.com/psf/requests/pull/1538 | 18,201,680 | MDExOlB1bGxSZXF1ZXN0NzY4MDMxNQ== | 1,538 | Remove superfluous double dot | {
"avatar_url": "https://avatars.githubusercontent.com/u/1330164?v=4",
"events_url": "https://api.github.com/users/enkore/events{/privacy}",
"followers_url": "https://api.github.com/users/enkore/followers",
"following_url": "https://api.github.com/users/enkore/following{/other_user}",
"gists_url": "https://ap... | [] | closed | true | null | [] | null | 4 | 2013-08-18T01:06:39Z | 2021-09-08T21:01:07Z | 2013-08-18T06:26:59Z | 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/1538/reactions"
} | https://api.github.com/repos/psf/requests/issues/1538/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1538.diff",
"html_url": "https://github.com/psf/requests/pull/1538",
"merged_at": "2013-08-18T06:26:59Z",
"patch_url": "https://github.com/psf/requests/pull/1538.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1538"
} | true | [
"It's not superfluous. :-1:\n",
"It is, look at the generated docs: http://docs.python-requests.org/en/latest/user/quickstart/#timeouts\n",
"That's just plain bizarre. Perhaps it's a bug in Sphinx but I wasn't expecting that. Regardless, in the meantime I'm changing my vote to :+1:. Sorry I didn't check prior t... | |
https://api.github.com/repos/psf/requests/issues/1537 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1537/labels{/name} | https://api.github.com/repos/psf/requests/issues/1537/comments | https://api.github.com/repos/psf/requests/issues/1537/events | https://github.com/psf/requests/pull/1537 | 18,190,224 | MDExOlB1bGxSZXF1ZXN0NzY3NjE5MA== | 1,537 | Allow non-string objects to be posted as data alongside files. | {
"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": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
}
] | closed | true | null | [] | null | 6 | 2013-08-17T06:29:06Z | 2021-09-08T23:06:20Z | 2013-08-21T18:46:28Z | MEMBER | resolved | This should resolve #1462.
| {
"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/1537/reactions"
} | https://api.github.com/repos/psf/requests/issues/1537/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1537.diff",
"html_url": "https://github.com/psf/requests/pull/1537",
"merged_at": "2013-08-21T18:46:28Z",
"patch_url": "https://github.com/psf/requests/pull/1537.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1537"
} | true | [
"These test failures are the current cookie test failures in 2.0, nothing to do with this PR.\n",
"@Lukasa will this interfere with the undocumented streaming upload functionality?\n",
"Nope, we decide if we're doing streaming well before this point. This will only affect values in the data dict. =)\n",
"I re... |
https://api.github.com/repos/psf/requests/issues/1536 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1536/labels{/name} | https://api.github.com/repos/psf/requests/issues/1536/comments | https://api.github.com/repos/psf/requests/issues/1536/events | https://github.com/psf/requests/pull/1536 | 18,190,158 | MDExOlB1bGxSZXF1ZXN0NzY3NjE2Nw== | 1,536 | RequestsException subclasses IOError | {
"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": "009800",
"default": false,
"description": null,
"id": 44501218,
"name": "Ready To Merge",
"node_id": "MDU6TGFiZWw0NDUwMTIxOA==",
"url": "https://api.github.com/repos/psf/requests/labels/Ready%20To%20Merge"
},
{
"color": "eb6420",
"default": false,
"description... | closed | true | null | [] | null | 1 | 2013-08-17T06:18:11Z | 2021-09-08T23:06:14Z | 2013-08-21T18:25:20Z | MEMBER | resolved | This should resolve #1532. Let me know if you'd rather we multiply-inherit from `IOError` and `RuntimeError`.
| {
"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/1536/reactions"
} | https://api.github.com/repos/psf/requests/issues/1536/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1536.diff",
"html_url": "https://github.com/psf/requests/pull/1536",
"merged_at": "2013-08-21T18:25:20Z",
"patch_url": "https://github.com/psf/requests/pull/1536.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1536"
} | true | [
"These test failures are the current cookie test failures in 2.0, nothing to do with this PR.\n"
] |
https://api.github.com/repos/psf/requests/issues/1535 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1535/labels{/name} | https://api.github.com/repos/psf/requests/issues/1535/comments | https://api.github.com/repos/psf/requests/issues/1535/events | https://github.com/psf/requests/pull/1535 | 18,186,985 | MDExOlB1bGxSZXF1ZXN0NzY3NTQ3Mg== | 1,535 | Skip cookie extraction if necessary | {
"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 | null | [] | null | 1 | 2013-08-17T02:44:53Z | 2021-09-08T21:01:06Z | 2013-08-17T03:15:18Z | CONTRIBUTOR | resolved | If `_original_response` is never set/is `None`, then don't try to extract cookies
from the response.
Fixes #1534
| {
"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/1535/reactions"
} | https://api.github.com/repos/psf/requests/issues/1535/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1535.diff",
"html_url": "https://github.com/psf/requests/pull/1535",
"merged_at": "2013-08-17T03:15:18Z",
"patch_url": "https://github.com/psf/requests/pull/1535.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1535"
} | true | [
":cake: :sparkles:\n"
] |
https://api.github.com/repos/psf/requests/issues/1534 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1534/labels{/name} | https://api.github.com/repos/psf/requests/issues/1534/comments | https://api.github.com/repos/psf/requests/issues/1534/events | https://github.com/psf/requests/issues/1534 | 18,182,972 | MDU6SXNzdWUxODE4Mjk3Mg== | 1,534 | extract_cookies_to_jar requires a response with _original_response | {
"avatar_url": "https://avatars.githubusercontent.com/u/145979?v=4",
"events_url": "https://api.github.com/users/dstufft/events{/privacy}",
"followers_url": "https://api.github.com/users/dstufft/followers",
"following_url": "https://api.github.com/users/dstufft/following{/other_user}",
"gists_url": "https://... | [] | closed | true | null | [] | null | 3 | 2013-08-16T22:55:07Z | 2021-09-09T02:11:37Z | 2013-08-17T03:15:18Z | CONTRIBUTOR | resolved | While attempting to make a `LocalFSAdapter()` which handles `file://` urls I discovered that the response objects need to have an `_original_response` attribute or it bombs out at https://github.com/kennethreitz/requests/blob/master/requests/cookies.py#L113.
| {
"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/1534/reactions"
} | https://api.github.com/repos/psf/requests/issues/1534/timeline | null | completed | null | null | false | [
"This probably doesn't help but a few things:\n- Requests is ill-suited for the `file://` scheme.\n- The `_original_response` object can be faked in a couple ways but only one way if you're interested in python 2 and 3 support. If the latter is your purpose then checkout sigmavirus24/betamax. I'm using the latter m... |
https://api.github.com/repos/psf/requests/issues/1533 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1533/labels{/name} | https://api.github.com/repos/psf/requests/issues/1533/comments | https://api.github.com/repos/psf/requests/issues/1533/events | https://github.com/psf/requests/issues/1533 | 18,120,658 | MDU6SXNzdWUxODEyMDY1OA== | 1,533 | Post not respecting explicit Content-Type in Python 3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/108889?v=4",
"events_url": "https://api.github.com/users/jamur2/events{/privacy}",
"followers_url": "https://api.github.com/users/jamur2/followers",
"following_url": "https://api.github.com/users/jamur2/following{/other_user}",
"gists_url": "https://api... | [] | closed | true | null | [] | null | 5 | 2013-08-15T18:51:26Z | 2021-09-09T02:11:36Z | 2013-08-15T19:10:15Z | NONE | resolved | In Python 3 (specifically, I'm on 3.3.2) if you set an explicit Content-Type header in post and have a byte string as your data, 2 Content-Type headers will get set. Example:
``` python
>>> _ = requests.post("http://httpbin.org/post", data=b"123", headers={"Content-Type": "application/octet-stream"})
>>> _.js... | {
"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/1533/reactions"
} | https://api.github.com/repos/psf/requests/issues/1533/timeline | null | completed | null | null | false | [
"Thanks for reporting this! We've actually already got a fix for this, from PR #1338, which is in the 2.0 branch. =) Should be in the 2.0 release. =)\n",
"Ah, cool. In my defense, GitHub issue search is down :)\n",
"You absolutely don't need a defense. =) I'm glad you opened the issue: it's certainly way bette... |
https://api.github.com/repos/psf/requests/issues/1532 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1532/labels{/name} | https://api.github.com/repos/psf/requests/issues/1532/comments | https://api.github.com/repos/psf/requests/issues/1532/events | https://github.com/psf/requests/issues/1532 | 18,081,270 | MDU6SXNzdWUxODA4MTI3MA== | 1,532 | RequestException should subclass IOError | {
"avatar_url": "https://avatars.githubusercontent.com/u/154988?v=4",
"events_url": "https://api.github.com/users/beck/events{/privacy}",
"followers_url": "https://api.github.com/users/beck/followers",
"following_url": "https://api.github.com/users/beck/following{/other_user}",
"gists_url": "https://api.githu... | [] | closed | true | null | [] | null | 6 | 2013-08-14T22:34:45Z | 2021-09-09T01:22:33Z | 2013-08-27T07:58:09Z | NONE | resolved | `RuntimeError` [should only be raised if does not fall in any other categories](http://docs.python.org/2/library/exceptions.html#exceptions.RuntimeError).
Using [urllib](http://docs.python.org/2/library/urllib.html#url-opener-objects) as reference, I believe `IOError` is appropriate.
Related: https://github.com/kenne... | {
"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/1532/reactions"
} | https://api.github.com/repos/psf/requests/issues/1532/timeline | null | completed | null | null | false | [
"Yeah, I think you're right. @kennethreitz, are you open to me doing this for 2.0?\n",
"yes, especially if IOError subclasses RuntimeError\n",
"IOError is a subclass of EnvironmentError, sadly, not RuntimeError. It'll definitely be backwards incompatible, but I think that's probably acceptable.\n",
"could use... |
https://api.github.com/repos/psf/requests/issues/1531 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1531/labels{/name} | https://api.github.com/repos/psf/requests/issues/1531/comments | https://api.github.com/repos/psf/requests/issues/1531/events | https://github.com/psf/requests/issues/1531 | 18,077,104 | MDU6SXNzdWUxODA3NzEwNA== | 1,531 | Request exception return encoded (windows 1255) string. how to sel locale | {
"avatar_url": "https://avatars.githubusercontent.com/u/1434992?v=4",
"events_url": "https://api.github.com/users/alonisser/events{/privacy}",
"followers_url": "https://api.github.com/users/alonisser/followers",
"following_url": "https://api.github.com/users/alonisser/following{/other_user}",
"gists_url": "h... | [] | closed | true | null | [] | null | 1 | 2013-08-14T21:09:33Z | 2021-09-09T01:22:24Z | 2013-09-21T15:25:59Z | NONE | resolved | I'm trying to figure out how to get proper english/ascii error message from a failes `requests.get`. for some reason (probably being working with a hebrew locale), I get a jibrish unicode error message. I can deocde the message and display it correctly in hebrew, but I really prefer (for various reasons) that the Excep... | {
"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/1531/reactions"
} | https://api.github.com/repos/psf/requests/issues/1531/timeline | null | completed | null | null | false | [
"Thanks for raising this!\n\nUnfortunately, this is not a property of Requests. I have no idea what's causing this, but you'll have to look into the socket library. If I recall correctly you also opened a Stack Overflow question on this topic, which is probably the right place to look.\n"
] |
https://api.github.com/repos/psf/requests/issues/1530 | https://api.github.com/repos/psf/requests | https://api.github.com/repos/psf/requests/issues/1530/labels{/name} | https://api.github.com/repos/psf/requests/issues/1530/comments | https://api.github.com/repos/psf/requests/issues/1530/events | https://github.com/psf/requests/pull/1530 | 17,977,066 | MDExOlB1bGxSZXF1ZXN0NzU1OTc5OA== | 1,530 | Added Logbook as a requirement. | {
"avatar_url": "https://avatars.githubusercontent.com/u/423715?v=4",
"events_url": "https://api.github.com/users/daniloassis/events{/privacy}",
"followers_url": "https://api.github.com/users/daniloassis/followers",
"following_url": "https://api.github.com/users/daniloassis/following{/other_user}",
"gists_url... | [] | closed | true | null | [] | null | 1 | 2013-08-13T02:51:55Z | 2021-09-08T21:01:06Z | 2013-08-13T02:52:11Z | NONE | resolved | {
"avatar_url": "https://avatars.githubusercontent.com/u/423715?v=4",
"events_url": "https://api.github.com/users/daniloassis/events{/privacy}",
"followers_url": "https://api.github.com/users/daniloassis/followers",
"following_url": "https://api.github.com/users/daniloassis/following{/other_user}",
"gists_url... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/psf/requests/issues/1530/reactions"
} | https://api.github.com/repos/psf/requests/issues/1530/timeline | null | null | false | {
"diff_url": "https://github.com/psf/requests/pull/1530.diff",
"html_url": "https://github.com/psf/requests/pull/1530",
"merged_at": null,
"patch_url": "https://github.com/psf/requests/pull/1530.patch",
"url": "https://api.github.com/repos/psf/requests/pulls/1530"
} | true | [
"my bad, sorry.\n"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.