private static HttpResponse RunScripts(HttpRequest request)
        {
            string content = request.Content;
            bool   error   = false;

            Script[] scripts = ExtractScripts(content);
            foreach (Script script in scripts)
            {
                RunScript(script);
                error = error || script.exception != null;
            }

            HttpResponse response = null;

            if (error == true)
            {
                response = HttpBuilder.ExpectationFailed();
            }
            else
            {
                response = HttpBuilder.OK();
            }

            return(response);
        }