Beispiel #1
0
        public override HttpField Parse(string s)
        {
            var re = new AcceptEncodingHeader();

            foreach (var i in s.Remove(0, 16).Split(','))
            {
                re.AcceptedEncodings.Add(i);
            }

            return re;
        }
Beispiel #2
0
        public override HttpField Parse(string s)
        {
            var re = new AcceptEncodingHeader();

            foreach (var i in s.Remove(0, 16).Split(','))
            {
                re.AcceptedEncodings.Add(i);
            }

            return(re);
        }