projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c18c7
)
PreparedRequests don't carry proxy information.
author
Cory Benfield
<lukasaoz@gmail.com>
Sat, 22 Dec 2012 12:00:24 +0000
(12:00 +0000)
committer
Cory Benfield
<lukasaoz@gmail.com>
Thu, 27 Dec 2012 11:22:36 +0000
(11:22 +0000)
The proxy info appears to be carried on the session. The only remnants
of proxy handling are this line in __init__().
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
9ddea45
..
221c953
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-25,7
+25,7
@@
from .utils import (
iter_slices, guess_json_utf)
from .compat import (
cookielib, urlparse, urlunparse, urlsplit, urlencode, str, bytes, StringIO,
- is_py2, chardet, json, builtin_str, basestring)
+ is_py2, chardet, json, builtin_str, basestring
, urldefrag
)
REDIRECT_STATI = (codes.moved, codes.found, codes.other, codes.temporary_moved)
CONTENT_CHUNK_SIZE = 10 * 1024