You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importpprintfromfsspec.implementations.httpimportHTTPFileSystemasHFSurl="http://127.0.0.1:8000"fs=HFS(url)
# What I would have expected to work:# result = fs.ls("/")result=fs.ls(url)
pprint.pprint(result)
pprint.pprint(fs.stat(result[1]['name']))
Having to call urllib.parse.quote was unexpected for me, especially as it does not even require the full URL in contrast to HTTPFileSystem. It is also inconsistent that the name is a relative path isntead of an absolute one, but I am not even sure what it should be. I think this is insufficiently specified by fsspec.
The text was updated successfully, but these errors were encountered:
Considering this setup:
This works in
fsspec.implementations.http
:Output:
However, with the webdav4 fsspec implementation:
Output:
Having to call
urllib.parse.quote
was unexpected for me, especially as it does not even require the full URL in contrast to HTTPFileSystem. It is also inconsistent that the name is a relative path isntead of an absolute one, but I am not even sure what it should be. I think this is insufficiently specified by fsspec.The text was updated successfully, but these errors were encountered: