NancyFx/Nancy — pull request #1259 by liddellj (2013-10-10 11:39:55+00:00)
Title: Adding support for media range parameters

Fix for https://github.com/NancyFx/Nancy/issues/1211.
- [x] Added a new class called ``MediaParameters`` which implements ``IEnumerable>``
- [x] Added a ``Parameters`` property to ``MediaRange``, of the above type.
- [x] Altered ``MediaRange.FromString`` to parse the parameters into the new property.
- [x] Added ``MediaRange.MatchesWithParameters`` to take parameters into account (if parameters exist, they must exist in both, but ordering doesn't matter).
- [x] Modify ``RequestHeaders.GetWeightedValues`` so that media range parameters are not stripped.