summaryrefslogtreecommitdiffstats
path: root/media/mediaType.go
diff options
context:
space:
mode:
Diffstat (limited to 'media/mediaType.go')
-rw-r--r--media/mediaType.go10
1 files changed, 5 insertions, 5 deletions
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