示例#1
0
        public Dictionary <string, string> GetMergedHeaderDictionary(HttpRequestMessage request)
        {
            var d1 = Headers.AsDictionary();
            var d2 = request.Headers.AsIRequestHeaderCollection().AsDictionary();

            d1.AddRange(d2);
            return(d1);
        }