From 5077ca16af77501304ac129f9cffe0c4148ee1f9 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 5 Oct 2011 09:09:44 +0200 Subject: [PATCH] Add a content-disposition header. --- inc/tz/get.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/tz/get.php b/inc/tz/get.php index 21146849..a89c22fc 100644 --- a/inc/tz/get.php +++ b/inc/tz/get.php @@ -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');