mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-21 17:06:22 +00:00
Fix response document structure. Return status 207 if we are returning a
potentially multstatus response document.
This commit is contained in:
parent
d449e1f836
commit
384d080a6d
@ -307,7 +307,7 @@ class CalDAVRequest
|
||||
))
|
||||
));
|
||||
}
|
||||
$response = new XMLElement( "multistatus", new XMLElement( 'response', $response), array('xmlns'=>'DAV:') );
|
||||
$response = new XMLElement( "multistatus", $response, array('xmlns'=>'DAV:') );
|
||||
$xmldoc = $response->Render(0,'<?xml version="1.0" encoding="utf-8" ?>');
|
||||
$this->DoResponse( 207, $xmldoc, 'text/xml; charset="utf-8"' );
|
||||
// Which we won't come back from
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user