Skip to content
Myr

Bug fix: field uri in digest authentication should not be empty when encounter http redirections

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Zhaoyu Luo · committed by Zhaoyu Luo · parent 2f7f6a5 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/auth.py+2 added-1 removed
101 unmodified lines
102103 # XXX not implemented yet104 entdig = None105 p_parsed = urlparse(url)106 #: path is request-uri defined in RFC 2616 which should not be empty106 path = p_parsed.path107 path = p_parsed.path or "/"108 if p_parsed.query:109 path += '?' + p_parsed.query110111 A1 = '%s:%s:%s' % (self.username, realm, self.password)
99 unmodified lines