The MultiDict class is accessible via the webob.multidict module.
Get one value matching the key, raising a KeyError if multiple values were found.
Returns a dictionary where the values are either single values, or a list of values when a key/value appears more than once in this dictionary. This is similar to the kind of dictionary often used to represent the variables in a web request.
See the source for more information.