def qs_uses_ssl(qs):
    """
    By default, we don't use SSL. If ?ssl=true is found, we do.
    """
    for ssl_value in qs.get('ssl', []):
        if ssl_value == "true":
            return True
    return False