Skip to content

PROPFIND returns 400 Bad Request #46

@mlmorg

Description

@mlmorg

I noticed that a PROPFIND request with no body returns a 400 Bad Request. The offending line is here:

https://github.com/chrisroberts/dav4rack/blob/master/lib/dav4rack/controller.rb#L185

Why is this the case? It states in the RFC that "An empty PROPFIND request body MUST be treated as if it were an 'allprop' request." http://tools.ietf.org/html/rfc4918#page-36

Am I missing something here?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions