mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user