def form_urlencoded_parse(body):
    """
    Parse x-www-form-url encoded data
    """
    try:
        data = urlparse.parse_qs(body, strict_parsing=True)
        for key in data:
            data[key] = data[key][0]
        return data
    except __HOLE__:
        raise InvalidJSON()
dataset/ETHPy150Open sihrc/tornado-boilerplate/indico/utils/__init__.py/form_urlencoded_parse