summaryrefslogtreecommitdiff
path: root/vendor/github.com/gin-gonic/gin/render/yaml.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gin-gonic/gin/render/yaml.go')
-rw-r--r--vendor/github.com/gin-gonic/gin/render/yaml.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/gin-gonic/gin/render/yaml.go b/vendor/github.com/gin-gonic/gin/render/yaml.go
index fc927c1f2..042bb821d 100644
--- a/vendor/github.com/gin-gonic/gin/render/yaml.go
+++ b/vendor/github.com/gin-gonic/gin/render/yaml.go
@@ -15,7 +15,7 @@ type YAML struct {
Data any
}
-var yamlContentType = []string{"application/x-yaml; charset=utf-8"}
+var yamlContentType = []string{"application/yaml; charset=utf-8"}
// Render (YAML) marshals the given interface object and writes data with custom ContentType.
func (r YAML) Render(w http.ResponseWriter) error {