@register.simple_tag
def dict_as_query_string(dict, prefix=""):
    return "&".join(["%s%s=%s" % (prefix, key, value) for key, value in dict.items()])
Call the appropriate WSGI app and write its iterable output.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/hqwebapp/templatetags/hq_shared_tags.py/dict_as_query_string--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/wsgiserver.py/HTTPRequest.respond