mitsuhiko/werkzeug — pull request #280 by nathan-hoad (2013-04-12 19:14:05+00:00)
Title: Allow alternative dict-like objects to be used in parse_dict_header

RFC 3507 (ICAP) Section 4.4.1 states that the Encapsulated header values must be ordered monotonically; something the current implementation doesn't guarantee.

This patch allows the use of an OrderedDict, or any other such dictionary, to provide that functionality.