PreparedRequests don't carry proxy information.

The proxy info appears to be carried on the session. The only remnants
of proxy handling are this line in __init__().
This commit is contained in:
Cory Benfield
2012-12-22 12:00:24 +00:00
parent 81c18c70f5
commit b479a62ec2
+1 -1
View 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