Пример #1
0
        public void WriteHeaders(HttpResponseHeaders responseHeaders, HttpContentHeaders contentHeaders)
        {
            var headers = responseHeaders.Concat(contentHeaders);

            foreach (var header in headers)
            {
                foreach (var value in header.Value)
                {
                    _info.Write(header.Key);
                    _info.Write(":");
                    _info.Write(" ");
                    _info.WriteLine(value);
                }
            }
        }