Commit cfc59d855b7a7e4abde6e2e03031375593cad512

Test HTTP::Request->parse().
  
44use strict;
55
66use Test;
7plan tests => 7;
7plan tests => 11;
88
99use HTTP::Request;
1010
2323
2424ok($req->uri("http:"), "http://www.example.com");
2525ok($req->uri, "http:");
26
27$req->protocol("HTTP/1.1");
28
29my $r2 = HTTP::Request->parse($req->as_string);
30ok($r2->method, "DELETE");
31ok($r2->uri, "http:");
32ok($r2->protocol, "HTTP/1.1");
33ok($r2->header("Accept-Encoding"), $req->header("Accept-Encoding"));