Skip to content

Commit

Permalink
Do not swallow 'not found' errors in Stat
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Aug 26, 2020
1 parent 739d806 commit dfda913
Show file tree
Hide file tree
Showing 2 changed files with 290 additions and 129 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/do-not-swallow-not-found-stat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Do not swallow 'not found' errors in Stat

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 the gateway.

https://github.com/cs3org/reva/pull/1124
Loading

0 comments on commit dfda913

Please sign in to comment.