From: Kenneth Reitz Date: Fri, 22 Mar 2013 19:48:27 +0000 (-0400) Subject: first X-Git-Tag: v1.2.0~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92f747817447ad56d3318e393e222db0f347dfb3;p=services%2Fpython-requests.git first --- diff --git a/requests/models.py b/requests/models.py index 838e78a..6e8a733 100644 --- a/requests/models.py +++ b/requests/models.py @@ -399,7 +399,7 @@ class PreparedRequest(RequestEncodingMixin, RequestHooksMixin): def prepare_auth(self, auth, url=''): """Prepares the given HTTP auth data.""" - # If no Auth is explicitly provided, extract it from the URL. + # If no Auth is explicitly provided, extract it from the URL first. if auth is None: url_auth = get_auth_from_url(self.url) auth = url_auth if any(url_auth) else None