--- - branch: MAIN date: Mon Jun 2 03:19:30 UTC 2014 files: - new: '1.1' old: '0' path: pkgsrc/www/py-python-mimeparse/DESCR pathrev: pkgsrc/www/py-python-mimeparse/DESCR@1.1 type: added - new: '1.1' old: '0' path: pkgsrc/www/py-python-mimeparse/Makefile pathrev: pkgsrc/www/py-python-mimeparse/Makefile@1.1 type: added - new: '1.1' old: '0' path: pkgsrc/www/py-python-mimeparse/PLIST pathrev: pkgsrc/www/py-python-mimeparse/PLIST@1.1 type: added - new: '1.1' old: '0' path: pkgsrc/www/py-python-mimeparse/distinfo pathrev: pkgsrc/www/py-python-mimeparse/distinfo@1.1 type: added id: 20140602T031930Z.c859a2b8788372004f717eb26fe8511f02a2d310 log: | Import py27-python-mimeparse-0.1.4 as www/py-python-mimeparse. A module provides basic functions for parsing mime-type names and matching them against a list of media-ranges. This module provides basic functions for handling mime-types. It can handle matching mime-types against a list of media-ranges. See section 14.1 of the HTTP specification [RFC 2616] for a complete explanation: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1 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() except the second parameter must be pre-parsed. * best_match(): Choose the mime-type with the highest quality ("q") from a list of candidates. module: pkgsrc subject: 'CVS commit: pkgsrc/www/py-python-mimeparse' unixtime: '1401679170' user: rodent