def parse_qsd(data, name="<STR_LIT>", exception=PluginError, schema=None, **params):
value = dict(parse_qsl(data, **params))<EOL>if schema:<EOL><INDENT>value = schema.validate(value, name=name, exception=exception)<EOL><DEDENT>return value<EOL>
Parses a query string into a dict.

    Unlike parse_qs and parse_qsl, duplicate keys are not preserved in
    favor of a simpler return value.