/// <summary>
 /// Traces the HTTP response headers.
 /// </summary>
 /// <param name="traceType">Kind of trace entry.</param>
 /// <param name="response">The response.</param>
 private void TraceHttpResponseHeaders(TraceFlags traceType, IEwsHttpWebResponse response)
 {
     if (this.IsTraceEnabledFor(traceType))
     {
         string traceTypeStr    = traceType.ToString();
         string headersAsString = EwsUtilities.FormatHttpResponseHeaders(response);
         string logMessage      = EwsUtilities.FormatLogMessage(traceTypeStr, headersAsString);
         this.TraceListener.Trace(traceTypeStr, logMessage);
     }
 }