Closed grote closed 1 month ago
I don't really know rust, but looks like this is already returned for missing depths here: https://github.com/sigoden/dufs/blob/dc7a7cbb3f0f19441152de036c5bc904dc9186e3/src/server.rs#L964-L973
Awesome, thanks a lot for the quick fix!
I understand this is a minimal implementation, not fully implementing all spec, but here's a tiny reasonable request:
Return error
400
for unsupported propfind depths (I guess anything other than0
and1
) like nginx does. The depth is in the header and should be readily available.Related to https://github.com/sigoden/dufs/issues/387