Skip to content

Commit

Permalink
fixes #2149 change the content type to application/x-yaml for yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Feb 20, 2024
1 parent 6be67d5 commit 42cbc69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/java/com/networknt/common/ContentType.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public enum ContentType {
APPLICATION_JSON("application/json"),
XML("text/xml"),
APPLICATION_XML("application/xml"),
APPLICATION_YAML("application/yaml"),
APPLICATION_YAML("application/x-yaml"),
APPLICATION_FORM_URLENCODED("application/x-www-form-urlencoded"),
APPLICATION_PDF("application/pdf"),
MULTIPART_MIXED("multipart/mixed"),
Expand Down

0 comments on commit 42cbc69

Please sign in to comment.