amnong / easywebdav

A WebDAV Client in Python
http://pypi.python.org/pypi/easywebdav/
ISC License
207 stars 113 forks source link

Requesting ls() with colon ':' in path #50

Open javascriptlove opened 7 years ago

javascriptlove commented 7 years ago

I get an error when i request ls() with colon in it

File "build/bdist.macosx-10.10-intel/egg/easywebdav/client.py", line 176, in ls
  File "build/bdist.macosx-10.10-intel/egg/easywebdav/client.py", line 100, in _send
easywebdav.client.OperationFailed: Failed to list directory "/router-autoscroll-master/examples/deprecated-iron-router-example/packages/okgrow:iron-router-autoscroll/".
  Operation     :  PROPFIND /router-autoscroll-master/examples/deprecated-iron-router-example/packages/okgrow:iron-router-autoscroll/
  Expected code :  207 UNKNOWN, 301 Moved Permanently
  Actual code   :  404 Not Found

Is there any encoding i need to do for the path before using ls?