mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-23 06:39:18 +00:00
The GET header should be plain text/calendar and not include a charset or
Evolution will break.
This commit is contained in:
parent
9eff8f92ae
commit
70372992cb
@ -24,7 +24,7 @@ if ( $qry->Exec("GET") && $qry->rows == 1 ) {
|
|||||||
* an If-Match or If-None-Match header. I'm not sure what that means here,
|
* an If-Match or If-None-Match header. I'm not sure what that means here,
|
||||||
* so we will leave it unimplemented at this point.
|
* so we will leave it unimplemented at this point.
|
||||||
*/
|
*/
|
||||||
$request->DoResponse( 200, ($request->method == "HEAD" ? "" : $event->caldav_data), "text/calendar; charset=UTF-8" );
|
$request->DoResponse( 200, ($request->method == "HEAD" ? "" : $event->caldav_data), "text/calendar" );
|
||||||
}
|
}
|
||||||
else if ( $qry->rows < 1 ) {
|
else if ( $qry->rows < 1 ) {
|
||||||
$request->DoResponse( 404, "Calendar Resource Not Found." );
|
$request->DoResponse( 404, "Calendar Resource Not Found." );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user