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

Do not swallow 'not found' errors in Stat #1124

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Aug 26, 2020

Webdav needs to determine if a file exists to return 204 or 201 response codes. When stating a non existing resource the NOT_FOUND code was replaced with an INTERNAL error code. This PR passes on a NOT_FOUND status code in all rpc methods, not only stat.

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic force-pushed the do-not-swallow-not-found-stat branch from 3482177 to dfda913 Compare August 26, 2020 15:01
@butonic butonic self-assigned this Aug 26, 2020
@ishank011 ishank011 merged commit dcf99b1 into cs3org:master Aug 26, 2020
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