简体   繁体   中英

Webdav: Enumerating directory items

I am implementing a webdav server in PHP for Apache. I would like to know which of the webdav methods (eg, GET, PUT, PROPFIND, PROPPATCH, etc.) do webdav clients usually use to enumerate or list the contents (files) in a folder? the relevant RFCs are somewhat unclear about this.

Furthermore, what sort of response is expected?

Thanks.

The relevant RFC is RFC 4918. The description of PROPFIND starts with:

"The PROPFIND method retrieves properties defined on the resource identified by the Request-URI, if the resource does not have any internal members, or on the resource identified by the Request-URI and potentially its member resources, if the resource is a collection that has internal member URLs...."

Isn't that sufficiently clear?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM