Backend for accessing a WebDAV repository.
|
|
|
|
|
|
|
|
close(self)
Close the backend, releasing any resources held and invalidating any
file objects obtained from the backend. |
source code
|
|
|
|
request(self,
method,
path,
data=None)
Wraps the connection.request method to retry once if authentication
is required |
source code
|
|
|
|
get_authorization(self,
response,
path)
Fetches the auth header based on the requested method (basic or
digest) |
source code
|
|
|
|
| parse_digest_challenge(self,
challenge_string) |
source code
|
|
|
|
get_basic_authorization(self)
Returns the basic auth header |
source code
|
|
|
|
get_digest_authorization(self,
path)
Returns the digest auth header |
source code
|
|
|
|
|
|
|
__taste_href(self,
href)
Internal helper to taste the given href node and, if it is a
duplicity file, collect it as a result file. |
source code
|
|
|
|
get(self,
remote_filename,
local_path)
Get remote filename, saving it to local_path |
source code
|
|
|
|
put(self,
source_path,
remote_filename=None)
Transfer source_path to remote_filename |
source code
|
|
|
|
|
|
Inherited from backend.Backend:
get_data,
get_fileobj_read,
get_fileobj_write,
get_password,
move,
munge_password,
popen,
popen_persist,
put_data,
query_info,
run_command,
run_command_persist,
subprocess_popen,
subprocess_popen_persist
Inherited from backend.Backend (private):
_subprocess_popen
|