diff options
author | Paul van Brouwershaven <vanbroup@users.noreply.github.com> | 2021-12-03 12:45:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-03 12:45:49 +0100 |
commit | cd44d409baa2ec7d2a9e28a700b1f0bb6dfb7520 (patch) | |
tree | b1efaf1107f96ffcdfb8b2c1e225ba1e9a0e581f | |
parent | 9a326d5636951ee79ec930ec15c173704b0531d8 (diff) |
media: Add rss suffix for application/rss+xml
Closes #9233
-rw-r--r-- | media/mediaType.go | 2 |
1 files changed, 1 insertions, 1 deletions
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"}) |