[Jorge] Updated to run a GET with proxy auth as overridden in subs request
This commit is contained in:
parent
5a01cbf823
commit
0f0721554b
1 changed files with 2 additions and 0 deletions
|
@ -158,6 +158,8 @@ class Client(object):
|
||||||
the specified action.
|
the specified action.
|
||||||
:return: HTTP response of request.
|
:return: HTTP response of request.
|
||||||
"""
|
"""
|
||||||
|
if self.session.auth:
|
||||||
|
self.session.request(method="GET", url=self.webdav.hostname) # (Re)Authenticates against the proxy
|
||||||
response = self.session.request(
|
response = self.session.request(
|
||||||
method=Client.requests[action],
|
method=Client.requests[action],
|
||||||
url=self.get_url(path),
|
url=self.get_url(path),
|
||||||
|
|
Loading…
Add table
Reference in a new issue