How to dump HTTP headers in .NET 4.5 November 06, 2013 // Loop through header keys foreach (var header in Request.Headers) { // Loop through header values for each key foreach(string value in header.Value) { Trace.WriteLine("Header: " + header.Key + ":" + value); } } Read more