Skip to content

mbr/mimes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mimes

image

An internet MIME-message is usually accompanied by a content-type string like text/plain or application/collection+json. The mimes library allows parsing these and can if types are subsets of another -- a parser that handles application/json, for example, will be perfectly fine handing the collection+json type with less semantics.

It also parses more complex strings including parameters (e.g. application/vnd.company.someapi; version=3) and can construct these as well.

See the docs for details.

About

MIME Content-Type header parsing and ordering.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages