mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-01 18:48:17 +00:00
Include XML headers in response.
This commit is contained in:
parent
1fc443c9a4
commit
499d2e3856
@ -182,7 +182,7 @@ function handle_freebusy_request( $ic ) {
|
||||
}
|
||||
|
||||
$response = new XMLElement( "schedule-response", $responses, $reply->GetXmlNsArray() );
|
||||
$request->DoResponse( 200, $response->Render() );
|
||||
$request->XMLResponse( 200, $response );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
Content-Length: 970
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
ETag: "a298c032f42212c4b1fdae7f3f3b44f3"
|
||||
Content-Length: 1010
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<schedule-response xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<C:response>
|
||||
<C:recipient>
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
||||
Content-Length: 1564
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
ETag: "f4577cb82f524d9e36fb43b7f363cbd7"
|
||||
Content-Length: 1604
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<schedule-response xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<C:response>
|
||||
<C:recipient>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<schedule-response xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<C:response>
|
||||
<C:recipient>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<schedule-response xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<C:response>
|
||||
<C:recipient>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<schedule-response xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav">
|
||||
<C:response>
|
||||
<C:recipient>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user