Add a content-disposition header.

This commit is contained in:
Andrew McMillan 2011-10-05 09:09:44 +02:00
parent 72c25cf799
commit 5077ca16af

View File

@ -45,6 +45,8 @@ if ( $qry->QDo('SELECT * FROM tz_localnames WHERE our_tzno = :our_tzno', array('
header( 'ETag: "'.$tz->etag.'"' );
header( 'Last-Modified', $tz->last_modified );
header( 'Content-Disposition', $tzid . '.ics' );
$request->DoResponse(200, $vtz->Render(), 'text/calendar');