WebdavClient.py test using files yields 404: Not Found error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python WebDAV Library |
New
|
Undecided
|
Unassigned |
Bug Description
When running this (trying to use the test script to download zzzz.txt):
python /usr/local/
I get this request (note the trailing '/'):
2013-02-25 21:21:07,559: DEBUG: REQUEST Send GET for /webdav/zzzz.txt/
and the request fails with (as would be expected since there is no folder called 'zzzz.txt'):
2013-02-25 21:21:12,831: DEBUG: Method: GET Status 404: Not Found
It looks like the test script creates a 'CollectionStor
Around line 869:
if webdavUrl[-1] != "/":
else:
BTW: a few usage examples (like uploading/
Regards
Jørgen
description: | updated |
description: | updated |