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()); }
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()); }
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()); }