@property
    def default_non_ssl_http_response(self):
        r = HTTPResponse(body="Connect to https", status="403 - SSL required.")
        r.set_header('Content-Type', 'text/plain')  # Never respond with text/html client doesnt understand it
        return r
Default response for non ssl request
dataset/ETHPy150Open biicode/bii-server/rest/bottle_plugins/non_ssl_blocker_bottle_plugin.py/NonSSLBlockerBottlePlugin.default_non_ssl_http_response