-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
Interaction:Needs-helpAsking some hints to engineering when the issue can't be reproducedAsking some hints to engineering when the issue can't be reproducedStatus:HousekeepingType:Technical-Debt
Description
In OC 10, the response body for errors/exceptions in Webdav would contain an XML body generated by Sabre DAV. In OCIS the body is empty in such cases.
Example Sabre response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Sabre\DAV\Exception\NotAuthenticated</s:exception>
<s:message>No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect</s:message>
</d:error>
TODOs:
- check whether clients are already parsing exception messages from bodies
- discuss how to return such messages in OCIS
Related tickets:
- MKCOL on existing resource
- PROPFIND on non-existing resource
- HTTP 401 Unauthorized responses don't contain a body
As discussed with @butonic we might still want a mechanism for returning more information about the error, but it's currently unclear what the format would be.
Metadata
Metadata
Assignees
Labels
Interaction:Needs-helpAsking some hints to engineering when the issue can't be reproducedAsking some hints to engineering when the issue can't be reproducedStatus:HousekeepingType:Technical-Debt