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

Handle Microsoft expectation for a 404 with PROPFIND #11

Closed
dgraziotin opened this issue Dec 10, 2021 · 0 comments
Closed

Handle Microsoft expectation for a 404 with PROPFIND #11

dgraziotin opened this issue Dec 10, 2021 · 0 comments

Comments

@dgraziotin
Copy link
Owner

dgraziotin commented Dec 10, 2021

This is part of #8.

Using the "Map Network Drive" feature.

When adding the WebDAV location (e.g., http://192.168.178.99:32080), Windows/Explorer would fail to connect and give an error.

At this point, a PROPFIND request is issued when setting up the connection.

The issue is that Microsoft as well as IIS, expects an HTTP 404 in the response headers, whereas RFC2518 recommends an HTTP 207 with the error descriptions in the response body (an XML file).

Somebody (Russian, use Google Translate) proposed as fix to create an ad-hoc response for Microsoft only that would return 404. Implementing this solution restores access to the WebDAV location.

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

No branches or pull requests

1 participant