From 8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Thu, 23 Mar 2017 17:31:05 +0100 Subject: media, output: Add Calendar type --- media/mediaType.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'media/mediaType.go') diff --git a/media/mediaType.go b/media/mediaType.go index 45b850077..07dbcc211 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -47,11 +47,11 @@ func (m Type) String() string { } var ( - CSSType = Type{"text", "css", "css"} - HTMLType = Type{"text", "html", "html"} - JSONType = Type{"application", "json", "json"} - RSSType = Type{"application", "rss", "xml"} + CalendarType = Type{"text", "calendar", "ics"} + CSSType = Type{"text", "css", "css"} + HTMLType = Type{"text", "html", "html"} + JSONType = Type{"application", "json", "json"} + RSSType = Type{"application", "rss", "xml"} ) // TODO(bep) output mime.AddExtensionType -// TODO(bep) text/template vs html/template -- cgit v1.2.3