Skip to content

Commit

Permalink
media: Add rss suffix for application/rss+xml
Browse files Browse the repository at this point in the history
Closes #9233
  • Loading branch information
vanbroup authored Dec 3, 2021
1 parent 9a326d5 commit cd44d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/mediaType.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
Expand Down

0 comments on commit cd44d40

Please sign in to comment.