Permalink
Browse files

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__().
  • Loading branch information...
1 parent 81c18c7 commit b479a62ec2c0a3c64d4a67540263b82afd68f55d @Lukasa Lukasa committed Dec 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 requests/models.py
View
@@ -25,7 +25,7 @@
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

0 comments on commit b479a62

Please sign in to comment.