From b479a62ec2c0a3c64d4a67540263b82afd68f55d Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Sat, 22 Dec 2012 12:00:24 +0000 Subject: [PATCH] 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__(). --- requests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests/models.py b/requests/models.py index 9ddea45..221c953 100644 --- 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 -- 2.7.4