コード例 #1
0
 public void Init(HttpApplication context)
 {
     HeaderAudit                       = new HeaderAuditor();
     XSSAudit                          = new XSSAuditor();
     App                               = context;
     HttpResponseBody                  = String.Empty;
     context.BeginRequest             += new EventHandler(OnBeginRequest);
     context.PreRequestHandlerExecute += new EventHandler(OnPreRequestHandlerExecute);
     context.PreSendRequestContent    += new EventHandler(OnPreSendRequestContent);
     context.PreSendRequestHeaders    += new EventHandler(OnPreSendRequestHeaders);
 }