From cd44d409baa2ec7d2a9e28a700b1f0bb6dfb7520 Mon Sep 17 00:00:00 2001 From: Paul van Brouwershaven Date: Fri, 3 Dec 2021 12:45:49 +0100 Subject: [PATCH] media: Add rss suffix for application/rss+xml Closes #9233 --- media/mediaType.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/mediaType.go b/media/mediaType.go index d3f212ad3..f63d315d0 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -168,7 +168,7 @@ var ( JSONType = newMediaType("application", "json", []string{"json"}) WebAppManifestType = newMediaTypeWithMimeSuffix("application", "manifest", "json", []string{"webmanifest"}) - RSSType = newMediaTypeWithMimeSuffix("application", "rss", "xml", []string{"xml"}) + RSSType = newMediaTypeWithMimeSuffix("application", "rss", "xml", []string{"xml", "rss"}) XMLType = newMediaType("application", "xml", []string{"xml"}) SVGType = newMediaTypeWithMimeSuffix("image", "svg", "xml", []string{"svg"}) TextType = newMediaType("text", "plain", []string{"txt"})