package
Version:
v1.2.3
Opens a new window with list of versions in this module.
Published: Nov 2, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mediatypes provides functions to validate data against mediatype.
It allows developers to register custom mediatypes, that can be used
in json-schema for validation.
Register registers MediaType object for given mediaType.
The MediaType type is a function, that validates
whether the bytes represent data of given mediaType.
Get returns MediaType object for given mediaType, if found.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.