예제 #1
0
        public override HttpField Parse(string s)
        {
            var re = new AcceptHeader();

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

            return re;
        }
예제 #2
0
        public override HttpField Parse(string s)
        {
            var re = new AcceptHeader();

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

            return(re);
        }