private static void LogRequest(HttpListenerContext context)
{
StringBuilder info = new StringBuilder();
info.AppendFormat("\n\tAgents={0}", context.Request.UserAgent);
info.AppendFormat("\n\tRequestType={0}", context.Request.QueryString["RequestType"]);
info.AppendFormat("\n\tStudyUid={0}", context.Request.QueryString["StudyUid"]);
info.AppendFormat("\n\tSeriesUid={0}", context.Request.QueryString["SeriesUid"]);
info.AppendFormat("\n\tObjectUid={0}", context.Request.QueryString["ObjectUid"]);
info.AppendFormat("\n\tAccepts={0}", GetClientAcceptTypes(context));
Platform.Log(LogLevel.Debug, info);
}