diff --git a/guava/src/com/google/common/net/MediaType.java b/guava/src/com/google/common/net/MediaType.java index 99d47dca70c7..d262de114ed4 100644 --- a/guava/src/com/google/common/net/MediaType.java +++ b/guava/src/com/google/common/net/MediaType.java @@ -491,6 +491,11 @@ private static MediaType addKnownType(MediaType mediaType) { public static final MediaType JSON_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "json"); + /** + * For YAML Media Type. + */ + public static final MediaType YAML_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "yaml"); + /** * For JWT objects using the compact Serialization. *