Lines Matching full:http
139 "http://user:pass@host:99/foo?bar#baz",
143 "http://user:pass@host:99/foo?bar#",
144 "http://user:pass@host:99/foo?bar",
145 "http://user:pass@host:99/foo?",
146 "http://user:pass@host:99/foo",
147 "http://user:pass@host:99/",
148 "http://user:pass@host:99",
149 "http://user:pass@host:",
150 "http://user:pass@host",
151 "http://host",
152 "http://user@",
153 "http:",
176 {"http://u:p@h:8/p?q#r", Parsed::SCHEME, true, 0},
177 {"http://u:p@h:8/p?q#r", Parsed::SCHEME, false, 0},
178 {"http://u:p@h:8/p?q#r", Parsed::USERNAME, true, 7},
179 {"http://u:p@h:8/p?q#r", Parsed::USERNAME, false, 7},
180 {"http://u:p@h:8/p?q#r", Parsed::PASSWORD, true, 9},
181 {"http://u:p@h:8/p?q#r", Parsed::PASSWORD, false, 9},
182 {"http://u:p@h:8/p?q#r", Parsed::HOST, true, 11},
183 {"http://u:p@h:8/p?q#r", Parsed::HOST, false, 11},
184 {"http://u:p@h:8/p?q#r", Parsed::PORT, true, 12},
185 {"http://u:p@h:8/p?q#r", Parsed::PORT, false, 13},
186 {"http://u:p@h:8/p?q#r", Parsed::PATH, false, 14},
187 {"http://u:p@h:8/p?q#r", Parsed::PATH, true, 14},
188 {"http://u:p@h:8/p?q#r", Parsed::QUERY, true, 16},
189 {"http://u:p@h:8/p?q#r", Parsed::QUERY, false, 17},
190 {"http://u:p@h:8/p?q#r", Parsed::REF, true, 18},
191 {"http://u:p@h:8/p?q#r", Parsed::REF, false, 19},
193 {"http://u:p@h:8/p?", Parsed::REF, true, 17},
194 {"http://u:p@h:8/p?q", Parsed::REF, true, 18},
195 {"http://u:p@h:8/p#r", Parsed::QUERY, true, 16},
196 {"http://u:p@h:8#r", Parsed::PATH, true, 14},
197 {"http://u:p@h/", Parsed::PORT, true, 12},
198 {"http://u:p@/", Parsed::HOST, true, 11},
203 {"http://u@h/", Parsed::PASSWORD, true, 9},
204 {"http://h/", Parsed::USERNAME, true, 7},
205 {"http:", Parsed::USERNAME, true, 5},
237 {"http://user:pass@foo:21/bar;par?b#c", "http", "user", "pass", "foo", 21, "/bar;par","b", "c"},
240 {"http:foo.com", "http", NULL, NULL, "foo.com", -1, NULL, NULL, NULL},
246 {"http://f:21/ b ? d # e ", "http", NULL, NULL, "f", 21, "/ b ", " d ", " e"},
250 {"http://f:/c", "http", NULL, NULL, "f", -1, "/c", NULL, NULL},
251 {"http://f:0/c", "http", NULL, NULL, "f", 0, "/c", NULL, NULL},
252 {"http://f:00000000000000/c", "http", NULL, NULL, "f", 0, "/c", NULL, NULL},
253 {"http://f:00000000000000000000080/c", "http", NULL, NULL, "f", 80, "/c", NULL, NULL},
254 {"http://f:b/c", "http", NULL, NULL, "f", -2, "/c", NULL, NULL},
255 {"http://f: /c", "http", NULL, NULL, "f", -2, "/c", NULL, NULL},
256 {"http://f:\n/c", "http", NULL, NULL, "f", -2, "/c", NULL, NULL},
257 {"http://f:fifty-two/c", "http", NULL, NULL, "f", -2, "/c", NULL, NULL},
258 {"http://f:999999/c", "http", NULL, NULL, "f", -2, "/c", NULL, NULL},
259 {"http://f: 21 / b ? d # e ", "http", NULL, NULL, "f", -2, "/ b ", " d ", " e"},
285 {"http://a:b@c:29/d", "http", "a", "b", "c", 29, "/d", NULL, NULL},
286 {"http::@c:29", "http", "", "", "c", 29, NULL, NULL, NULL},
288 {"http://&a:foo(b]c@d:2/", "http", "&a", "foo(b]c", "d", 2, "/", NULL, NULL},
289 {"http://::@c@d:2", "http", "", ":@c", "d", 2, NULL, NULL, NULL},
290 {"http://foo.com:b@d/", "http", "foo.com", "b", "d", -1, "/", NULL, NULL},
292 {"http://foo.com/\\@", "http", NULL, NULL, "foo.com", -1, "/\\@", NULL, NULL},
293 {"http:\\\\foo.com\\", "http", NULL, NULL, "foo.com", -1, "\\", NULL, NULL},
294 {"http:\\\\a\\b:c\\d@foo.com\\", "http", NULL, NULL, "a", -1, "\\b:c\\d@foo.com\\", NULL, NULL},
308 {"http://foo/path;a??e#f#g", "http", NULL, NULL, "foo", -1, "/path;a", "?e", "f#g"},
309 {"http://foo/abcd?efgh?ijkl", "http", NULL, NULL, "foo", -1, "/abcd", "efgh?ijkl", NULL},
310 {"http://foo/abcd#foo?bar", "http", NULL, NULL, "foo", -1, "/abcd", NULL, "foo?bar"},
314 {"http://[61:27]:98", "http", NULL, NULL, "[61:27]", 98, NULL, NULL, NULL},
315 {"http:[61:27]/:foo", "http
316 {"http://[1::2]:3:4", "http", NULL, NULL, "[1::2]:3", 4, NULL, NULL, NULL},
319 {"http://2001::1", "http", NULL, NULL, "2001:", 1, NULL, NULL, NULL},
320 {"http://[2001::1", "http", NULL, NULL, "[2001::1", -1, NULL, NULL, NULL},
321 {"http://2001::1]", "http", NULL, NULL, "2001::1]", -1, NULL, NULL, NULL},
322 {"http://2001::1]:80", "http", NULL, NULL, "2001::1]", 80, NULL, NULL, NULL},
323 {"http://[2001::1]", "http", NULL, NULL, "[2001::1]", -1, NULL, NULL, NULL},
324 {"http://[2001::1]:80", "http", NULL, NULL, "[2001::1]", 80, NULL, NULL, NULL},
325 {"http://[[::]]", "http", NULL, NULL, "[[::]]", -1, NULL, NULL, NULL},
447 {"http://www.google.com", NULL},
448 {"http://www.google.com/", ""},
449 {"http://www.google.com/search", "search"},
450 {"http://www.google.com/search/", ""},
451 {"http://www.google.com/foo/bar.html?baz=22", "bar.html"},
452 {"http://www.google.com/foo/bar.html#ref", "bar.html"},
453 {"http://www.google.com/search/;param", ""},
454 {"http://www.google.com/foo/bar.html;param#ref", "bar.html"},
455 {"http://www.google.com/foo/bar.html;foo;param#ref", "bar.html;foo"},
456 {"http://www.google.com/foo/bar.html?query#ref", "bar.html"},
508 EXPECT_TRUE(NthParameterIs("http://www.google.com", 1, NULL, NULL));
511 char a[] = "http://www.google.com?arg1=1&arg2=2&bar";
518 char b[] = "http://www.google.com?foo=bar&";
523 char c[] = "http://www.google.com?&foo=bar";
529 char d[] = "http://www.google.com?=foo";
534 char e[] = "http://www.google.com?foo=";
539 char f[] = "http://www.google.com?&&==&=";