Skip to content

Commit

Permalink
Do not swallow 'not found' errors in Stat (#1124)
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic authored Aug 26, 2020
1 parent 739d806 commit dcf99b1
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 dcf99b1

Please sign in to comment.