Ejemplo n.º 1
0
        public void HttpHeader_List()
        {
            HttpHeader h;

            h = new HttpHeader("name", "Foo");
            h.Append("Bar");
            Assert.AreEqual("Foo, Bar", h.Value);

            h = new HttpHeader("name", " \t ");
            h.Append(" \t Foo \t ");
            h.Append(" \t Bar \t ");
            Assert.AreEqual("Foo, Bar", h.Value);
        }