Liking cljdoc? Tell your friends :D

s-exp.legba.mime-type

Matching of content-types against OpenAPI "content" media type keys, including wildcards

Matching of content-types against OpenAPI "content" media type keys,
including wildcards
raw docstring

match-media-typeclj

(match-media-type schema content-type)

Matches content-type with schema "content", returns the matching Media Type Object. The most specific matching media type wins

Matches `content-type` with `schema` "content", returns the matching Media
Type Object. The most specific matching media type wins
raw docstring

match-mime-type?clj

(match-mime-type? mime-type-ptn mime-type)

match-schema-mime-typeclj

(match-schema-mime-type schema content-type)

Matches content-type with schema, return resulting sub-schema. The most specific matching media type wins

Matches `content-type` with `schema`, return resulting `sub-schema`. The most
specific matching media type wins
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close