PreparedRequests don't carry proxy information.
authorCory Benfield <lukasaoz@gmail.com>
Sat, 22 Dec 2012 12:00:24 +0000 (12:00 +0000)
committerCory 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

index 9ddea45..221c953 100644 (file)
@@ -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