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: Check status code in Open(...) #176

Open
coffeemakr opened this issue Jan 8, 2025 · 1 comment
Open

webdav: Check status code in Open(...) #176

coffeemakr opened this issue Jan 8, 2025 · 1 comment

Comments

@coffeemakr
Copy link

The Open function doesn't check the HTTP status code. Therefore it is not possible to detect errors, e.g. 404.

My suggestion is to only allow 200 status code by default.

@emersion
Copy link
Owner

emersion commented Jan 8, 2025

Ouch, that's definitely an oversight. It seems like we're missing checks for many requests, not just Open().

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

2 participants