Commit graph

17 commits

Author SHA1 Message Date
Emil 'Skeen' Madsen
1fb79c36be Stripping suburl from paths in extract_response_for_path (#15)
When accessing a server on a suburl, such as an Alfresco WebDav:

http://172.17.0.8:8080/alfresco/webdav
The file paths processed by extract_response_for_path, specifically href contains the suburl as a prefix, for instance:
/alfresco/webdav/Sites/ rather than just Sites/.
I am not sure if this is a specific problem with Alfresco WebDav, or a common issue.
Either way, the provided code fixes this issue by removing the suburl from paths, if it exists.
2019-11-26 14:05:33 +03:00
Jesper Håkansson
991e645fdb Added verify attribute to execute_request method
To be able to control whether to verify the server's TLS certificate
or not, the verify attribute has been added to the execute_request
method.
2019-06-21 13:31:01 +03:00
Jesper Håkansson
ea139d2ec7 Added depth_to_copy argument in copy method in client.py
Implemented support to control the depth http header for the copy
command.
2019-06-21 13:29:41 +03:00
Benjamin Böhmke
460160ed04 fixed download of large files 2019-03-27 17:43:31 +03:00
Zimmermann, Stefan
f63a7dc48e Remove the upload filesize limit which is a remnant of using PyCurl 2019-01-31 11:34:05 +03:00
Ildar Gafurov
165ade9c3f webdav3/client.py: Client.mkdir now accepts 201 HTTP-code 2018-05-08 23:07:13 +03:00
Ildar Gafurov
4f1d1ec869 webdav3/client.py: Client.list method fix 2018-05-07 22:45:16 +03:00
Ildar Gafurov
d1f17f6fb0 webdav3/client.py: WebDavXmlUtils.extract_response_for_path method now is able to parse an absolute links 2018-05-07 10:10:52 +03:00
Jan Losinski
772c6e561e Fix wrong argument for resource creation.
Within the resource class its asumed that urn is a Urn instance and not
a str. Unwrapping the path here gives an exception at least in
write_to().

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-14 16:55:46 +01:00
Vitaliy Okulov
844ec3bf9c Fix for path extraction or webdav client cant find path to sync 2018-02-20 20:11:01 +03:00
evgeny.ezhov
743f8b96bb Added method for settings of WebDAV resource property values in batch.
Prepared for release 0.5
2017-12-03 09:45:37 +03:00
evgeny.ezhov
44ec8fcc66 Fixed problem when connection lost during request executing and nothing was happened, now it raises an exception. 2017-11-27 22:16:17 +03:00
evgeny.ezhov
378afe5890 Fixing and refactoring of is directory resource methods 2017-10-18 22:45:07 +03:00
evgeny.ezhov
c5a5fc7854 Fixing and refactoring of clean/info resource methods 2017-10-18 18:31:42 +03:00
evgeny.ezhov
825ae24a72 Fixing and refactoring of copy/move resource methods 2017-10-18 17:16:44 +03:00
evgeny.ezhov
735a649d57 Fixing and refactoring of set/get property methods 2017-10-17 09:21:29 +03:00
evgeny.ezhov
6c2aecd277 prepare to publish 2017-09-11 19:53:31 +03:00
Renamed from webdav2/client.py (Browse further)