opendal icon indicating copy to clipboard operation
opendal copied to clipboard

WebDAV list not implement correctly

Open Xuanwo opened this issue 1 year ago • 3 comments

  • [ ] request should be sent during next_page
  • [ ] Should add support for recursive if service support

Xuanwo avatar Feb 23 '24 05:02 Xuanwo

other information:

Servers should treat a request without a Depth header as if a "Depth: infinity" header was included.^1

403 Forbidden - A server may reject PROPFIND requests on collections with depth header of "Infinity", in which case it should use this error with the precondition code 'propfind-finite-depth' inside the error body.^2

jianguoyun doesn't support Depth:infinity, default behavior is Depth:1 and doesn't return 403


  • with Depth:infinity image

  • with Depth:1 image

  • without Depth image

bxb100 avatar Jul 03 '24 10:07 bxb100

Yes, I do be aware that jianguoyun doesn't closely adhere to the WebDAV specifications. Super sad.

The best approach is to set the current list implementation as the default and add support for recursive lists. Additionally, we should provide documentation for this feature and clearly state that Jianguoyun does not support it.

Xuanwo avatar Jul 03 '24 10:07 Xuanwo

sry for misleading you, I just want to point this is not a widely supported implementation(RFC uses should not must terminology^1)

bxb100 avatar Jul 03 '24 12:07 bxb100