Ejemplo n.º 1
0
 public static void PublishBackendDataToLog(RequestDetailsLogger logger, HttpWebResponse backendRespone)
 {
     if (backendRespone != null)
     {
         foreach (object obj in backendRespone.Headers.Keys)
         {
             string text = (string)obj;
             if (text.StartsWith(Constants.XBackendHeaderPrefix))
             {
                 RequestDetailsLoggerBase <RequestDetailsLogger> .SafeAppendBackEndGenericInfo(logger, text, backendRespone.Headers[text]);
             }
         }
     }
 }