Skip to content

Commit

Permalink
Add to
Browse files Browse the repository at this point in the history
  • Loading branch information
kstich committed Sep 26, 2024
1 parent d9dbb15 commit 5770178
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions android/guava/src/com/google/common/net/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,15 @@ private static MediaType addKnownType(MediaType mediaType) {
*/
public static final MediaType APPLICATION_BINARY = createConstant(APPLICATION_TYPE, "binary");

/**
* As described in <a href="https://www.rfc-editor.org/rfc/rfc8949.html">RFC 8949</a>, this
* constant ({@code application/cbor}) is used for the Concise Binary Object
* Representation (CBOR) data format.
*
* @since NEXT
*/
public static final MediaType CBOR = createConstant(APPLICATION_TYPE, "cbor");

/**
* Media type for the <a href="https://tools.ietf.org/html/rfc7946">GeoJSON Format</a>, a
* geospatial data interchange format based on JSON.
Expand Down
9 changes: 9 additions & 0 deletions guava/src/com/google/common/net/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,15 @@ private static MediaType addKnownType(MediaType mediaType) {
*/
public static final MediaType APPLICATION_BINARY = createConstant(APPLICATION_TYPE, "binary");

/**
* As described in <a href="https://www.rfc-editor.org/rfc/rfc8949.html">RFC 8949</a>, this
* constant ({@code application/cbor}) is used for the Concise Binary Object
* Representation (CBOR) data format.
*
* @since NEXT
*/
public static final MediaType CBOR = createConstant(APPLICATION_TYPE, "cbor");

/**
* Media type for the <a href="https://tools.ietf.org/html/rfc7946">GeoJSON Format</a>, a
* geospatial data interchange format based on JSON.
Expand Down

0 comments on commit 5770178

Please sign in to comment.