Esempio n. 1
0
        public void Test4()
        {
            var url     = "POST /myform.html HTTP/1.1\r\n";
            var example = new RequestLine();
            var b       = example.Match(url).RemainingText();

            Assert.True(example.Match(url).Success());
        }
Esempio n. 2
0
        public void Test1()
        {
            var url     = "GET http://www.w3.org/pub/WWW/TheProject.html HTTP/1.1\r\n";
            var example = new RequestLine();
            var b       = example.Match(url).RemainingText();

            Assert.True(example.Match(url).Success());
        }
Esempio n. 3
0
        public void Test2()
        {
            var url     = "GET /docs/index.html HTTP/1.1\r\n";
            var example = new RequestLine();
            var b       = example.Match(url).RemainingText();

            Assert.True(example.Match(url).Success());
        }