Пример #1
0
        private static Microsoft.ClearScript.PropertyBag GetHeaders(HttpListenerRequest request)
        {
            var headers = new Microsoft.ClearScript.PropertyBag();

            foreach (var key in request.Headers.AllKeys)
            {
                headers.Add(key, request.Headers[key]);
            }
            return(headers);
        }