The documentation makes me expect a response that has more info than just true.
http://remotestoragejs.readthedocs.io/en/latest/js-api/base-client.html#list-of-functions
Am I doing something wrong, or is there a bug? This is "remotestoragejs@1.0.0",
client.getListing('') response:
{
"test/": true,
"demo.txt/": true,
"apple.jpg": true,
"styles/": true,
"folder/": true,
"views/": true,
"js/": true
}
Actual API response
{
"@context": "http://remotestorage.io/spec/folder-description",
"items": {
"test/": {
"ETag": "857b527483cb0ee9fbe96c32523be949"
},
"demo.txt/": {
"ETag": "65a42c26f75722109bad85246a15414a"
},
"apple.jpg": {
"ETag": "98db258db75446f0aeebe10f761b97ff",
"Content-Length": 4160,
"Content-Type": "image/jpeg; charset=binary"
},
"styles/": {
"ETag": "50e05011997701256c2e92fdbcbc209f"
},
"folder/": {
"ETag": "a4391a6a61779554cd9af63145f72be6"
},
"views/": {
"ETag": "1b30bdd77bff1373ce6665efd710d30c"
},
"js/": {
"ETag": "635b3ed9a2f12b03b2ed71c21bc7497f"
}
}
}
Update:
The problem goes away when I disable local cache (IndexDB in my case)
new RemoteStorage({
'cache': false,
});
The documentation makes me expect a response that has more info than just
true.http://remotestoragejs.readthedocs.io/en/latest/js-api/base-client.html#list-of-functions
Am I doing something wrong, or is there a bug? This is
"remotestoragejs@1.0.0",client.getListing('')response:Actual API response
Update:
The problem goes away when I disable local cache (IndexDB in my case)