go-webdav icon indicating copy to clipboard operation
go-webdav copied to clipboard

Handle PROPFIND requests without a body

Open emersion opened this issue 3 years ago • 0 comments
trafficstars

handlePropfind errors out if a PROPFIND request is sent without a body, I think. We should parse that as an allprop request:

A client may choose not to submit a request body. An empty PROPFIND request body MUST be treated as if it were an 'allprop' request.

https://www.rfc-editor.org/rfc/rfc4918.html#section-9.1

emersion avatar May 30 '22 15:05 emersion