The GET header should be plain text/calendar and not include a charset or

Evolution will break.
This commit is contained in:
Andrew McMillan 2006-12-05 15:15:46 +13:00
parent 9eff8f92ae
commit 70372992cb

View File

@ -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,
* 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 ) {
$request->DoResponse( 404, "Calendar Resource Not Found." );