Skip to content

Handling of the case where a resource is created in a non-existent container #87

Description

@laurensdeb

MUST [...] unless

does not read easily testable for me.

  • Either the server allows auto-creation of the target container, but then probably an additional request parameter should be set, and then the error code SHOULD be 400
  • Or the server does not allow POST on a non-existent target container, and then the error code SHOULD be... 500? or 405? (I'm personally not sure what's best here, 405 implies that the server is aware of this potential extension of supporting recursion, but feels quite heavy bookkeeping for server implementers: I would then just suggest 500) (I have a comment on 4xx errors vs 5xx errors later on)

In both cases, given privacy consideration best practices, a server MAY choose to use 404

I think these kinds of error code descriptions might better be merged in a single (sub)section

Originally posted by @bjdmeest in #81

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-discussionThis issue will be added to the agenda and discussed in the LWS meeting.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions