Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC 9512: YAML Media Type #7027

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions guava/src/com/google/common/net/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,11 @@ private static MediaType addKnownType(MediaType mediaType) {

public static final MediaType JSON_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "json");

/**
* For <a href="https://tools.ietf.org/html/rfc9512.">YAML Media Type</a>.
*/
public static final MediaType YAML_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "yaml");

/**
* For <a href="https://tools.ietf.org/html/7519">JWT objects using the compact Serialization</a>.
*
Expand Down