Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/requests/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from base64 import b64encode

from ._internal_utils import to_native_string
from .compat import basestring, str, urlparse
from .compat import basestring, str, urlsplit
from .cookies import extract_cookies_to_jar
from .utils import parse_dict_header

Expand Down Expand Up @@ -180,7 +180,7 @@ def sha512_utf8(x):

# XXX not implemented yet
entdig = None
p_parsed = urlparse(url)
p_parsed = urlsplit(url)
#: path is request-uri defined in RFC 2616 which should not be empty
path = p_parsed.path or "/"
if p_parsed.query:
Expand Down