pombredanne / mimeparse Goto Github PK
View Code? Open in Web Editor NEWBasic functions for handling mime-types in Erlang, JavaScript, Perl, PHP, Python, Ruby, Java
Home Page: http://code.google.com/p/mimeparse/
License: MIT License
Basic functions for handling mime-types in Erlang, JavaScript, Perl, PHP, Python, Ruby, Java
Home Page: http://code.google.com/p/mimeparse/
License: MIT License
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. Testing ======= The format of the JSON test data file is as follows: A top-level JSON object which has a key for each of the functions to be tested. The value corresponding to that key is a list of tests. Each test contains: the argument or arguments to the function being tested, the expected results and an optional description. Python ====== The Python tests require either Python 2.6 or the installation of the SimpleJSON library. Installing SimpleJson can be done by: sudo easy_install simplejson Run the tests by typing: python mimeparse_test.py
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.