- Add
test(string)function
- Fix JSDoc comment for
parsefunction
- Remove left over
parametersproperty from class
This major release brings the module back to it's RFC 6838 roots. If you want
a module to parse the Content-Type or similar HTTP headers, use the
content-type module instead.
- Drop support for Node.js below 0.8
- Remove parameter handling, which is outside RFC 6838 scope
- Remove
parse(req)andparse(res)signatures - perf: enable strict mode
- perf: use a class for object creation
- Support Node.js 0.6
- Throw error when parameter format invalid on parse
- Add
typer.format()to format media types
- Accept
reqas argument toparse - Accept
resas argument toparse - Parse media type with extra LWS between type and first parameter
- Initial implementation