Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

PUT http request shall return 409 (Conflict) if one of the intermediate parent doesn't exist #103

Open
AlexeyBudko opened this issue Jan 13, 2022 · 0 comments

Comments

@AlexeyBudko
Copy link

According the specification on PUT for non collection resource, if one of the intermediate parent for the requested resource doesn't exist, the WebDAV server shall return 409 (Conflict).
But the version hacdias/webdav:v4.1.1(13 Jan 2022) on Windows 10 returns 404 (Not found) with response body 'Not Found'.

If all the intermediated parents are created, the request is performed without errors as expected.

The used config.yaml file is:

address: 127.0.0.1
port: 12345
auth: true
tls: false
 
users:
  - username: "Some user name"
    password: "{bcrypt}xx_some_bcrypted_password"
    modify: true
    scope: "D:/Some folder"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant