在Erlang中,JavaScript,Perl,PHP,Python,Ruby处理MIME类型的基本功能,java
资 源 简 介
This module provides basic functions for parsing mime-type names and matching them against a list of media-ranges.
See section 14.1 of RFC 2616 (the HTTP specification) for a complete explanation. More information on the library can be found in the XML.com
article Just use Media Types?
Contents
| parse_mime_type() | Parses a mime-type into its component parts. |
|:--------------------|:----------------------------------------------|
| parse_media_range() | Media-ranges are mime-types with wild-cards and a "q" quality parameter. |
| quality() | Determines the quality ("q") of a mime-type when compared against a list of media-ranges. |
| quality_parsed() | Just like quality()
文 件 列 表
mimeparse-0.1.3
setup.py
PKG-INFO
mimeparse.py
mimeparse_test.py
testdata.json
README