Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebDAV] createDirectory - not throw if got 405 #1823

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

gam6itko
Copy link
Contributor

If a part of prefix path already exists then WebDAV server returns status 405 (The resource you tried to create already exists).

https://github.com/sabre-io/dav/blob/a6ff5932012d5064b4c04b4543be7c3d119a5199/lib/DAV/Server.php#L1184

@frankdejonge frankdejonge merged commit 1af5c0b into thephpleague:3.x Oct 30, 2024
6 checks passed
@gam6itko gam6itko deleted the web-dav-create-folder-fix branch October 31, 2024 19:33
@gam6itko gam6itko restored the web-dav-create-folder-fix branch October 31, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants