• Home
  • Raw
  • Download

Lines Matching full:http

31   ['http://example.com/b//c//d;p?q#blarg', 'https:#hash2', 'https:///#hash2'],
32 ['http://example.com/b//c//d;p?q#blarg',
35 ['http://example.com/b//c//d;p?q#blarg',
38 ['http://example.com/b//c//d;p?q#blarg',
41 ['http://example.com/b//c//d;p?q#blarg',
42 'http:#hash2',
43 'http://example.com/b//c//d;p?q#hash2'],
44 ['http://example.com/b//c//d;p?q#blarg',
45 'http:/p/a/t/h?s#hash2',
46 'http://example.com/p/a/t/h?s#hash2'],
47 ['http://example.com/b//c//d;p?q#blarg',
48 'http://u:p@h.com/p/a/t/h?s#hash2',
49 'http://u:p@h.com/p/a/t/h?s#hash2'],
50 ['http://example.com/b//c//d;p?q#blarg',
51 'http:/a/b/c/d',
52 'http://example.com/a/b/c/d'],
54 ['http://localhost', 'file:///Users/foo', 'file:///Users/foo'],
55 ['http://localhost', 'file://foo/Users', 'file://foo/Users'],
68 // http://code.google.com/p/chironjs/source/browse/trunk/src/test/http/url.js
70 // Copyright (c) 2002-2008 Kris Kowal <http://cixar.com/~kris.kowal>
76 'http://a/b/c/d;p?q',
77 'http://a/b/c/d;p?q=1/2',
78 'http://a/b/c/d;p=1/2?q',
80 'http:///s//a/b/c',
85 // http://lists.w3.org/Archives/Public/uri/2004Feb/0114.html
95 ['/.', bases[0], 'http://a/'],
96 ['/.foo', bases[0], 'http://a/.foo'],
97 ['.foo', bases[0], 'http://a/b/c/.foo'],
99 // http://gbiv.com/protocols/uri/test/rel_examples1.html
102 ['g', bases[0], 'http://a/b/c/g'],
103 ['./g', bases[0], 'http://a/b/c/g'],
104 ['g/', bases[0], 'http://a/b/c/g/'],
105 ['/g', bases[0], 'http://a/g'],
106 ['//g', bases[0], 'http://g/'],
108 // ('?y', bases[0], 'http://a/b/c/d;p?y'],
109 ['?y', bases[0], 'http://a/b/c/d;p?y'],
110 ['g?y', bases[0], 'http://a/b/c/g?y'],
113 ['#s', bases[0], 'http://a/b/c/d;p?q#s'],
114 ['g#s', bases[0], 'http://a/b/c/g#s'],
115 ['g?y#s', bases[0], 'http://a/b/c/g?y#s'],
116 [';x', bases[0], 'http://a/b/c/;x'],
117 ['g;x', bases[0], 'http://a/b/c/g;x'],
118 ['g;x?y#s', bases[0], 'http://a/b/c/g;x?y#s'],
121 ['', bases[0], 'http://a/b/c/d;p?q'],
122 ['.', bases[0], 'http://a/b/c/'],
123 ['./', bases[0], 'http://a/b/c/'],
124 ['..', bases[0], 'http://a/b/'],
125 ['../', bases[0], 'http://a/b/'],
126 ['../g', bases[0], 'http://a/b/g'],
127 ['../..', bases[0], 'http://a/'],
128 ['../../', bases[0], 'http://a/'],
129 ['../../g', bases[0], 'http://a/g'],
130 ['../../../g', bases[0], ('http://a/../g', 'http://a/g')],
131 ['../../../../g', bases[0], ('http://a/../../g', 'http://a/g')],
133 // ('/./g', bases[0], 'http://a/./g'],
134 ['/./g', bases[0], 'http://a/g'],
136 // ('/../g', bases[0], 'http://a/../g'],
137 ['/../g', bases[0], 'http://a/g'],
138 ['g.', bases[0], 'http://a/b/c/g.'],
139 ['.g', bases[0], 'http://a/b/c/.g'],
140 ['g..', bases[0], 'http://a/b/c/g..'],
141 ['..g', bases[0], 'http://a/b/c/..g'],
142 ['./../g', bases[0], 'http://a/b/g'],
143 ['./g/.', bases[0], 'http://a/b/c/g/'],
144 ['g/./h', bases[0], 'http://a/b/c/g/h'],
145 ['g/../h', bases[0], 'http://a/b/c/h'],
146 ['g;x=1/./y', bases[0], 'http://a/b/c/g;x=1/y'],
147 ['g;x=1/../y', bases[0], 'http://a/b/c/y'],
148 ['g?y/./x', bases[0], 'http://a/b/c/g?y/./x'],
149 ['g?y/../x', bases[0], 'http://a/b/c/g?y/../x'],
150 ['g#s/./x', bases[0], 'http://a/b/c/g#s/./x'],
151 ['g#s/../x', bases[0], 'http://a/b/c/g#s/../x'],
152 ['http:g', bases[0], ('http:g', 'http://a/b/c/g')],
153 ['http:', bases[0], ('http:', bases[0])],
155 ['/a/b/c/./../../g', bases[0], 'http://a/a/g'],
157 // http://gbiv.com/protocols/uri/test/rel_examples2.html
159 ['g', bases[1], 'http://a/b/c/g'],
160 ['./g', bases[1], 'http://a/b/c/g'],
161 ['g/', bases[1], 'http://a/b/c/g/'],
162 ['/g', bases[1], 'http://a/g'],
163 ['//g', bases[1], 'http://g/'],
165 // ('?y', bases[1], 'http://a/b/c/?y'],
166 ['?y', bases[1], 'http://a/b/c/d;p?y'],
167 ['g?y', bases[1], 'http://a/b/c/g?y'],
168 ['g?y/./x', bases[1], 'http://a/b/c/g?y/./x'],
169 ['g?y/../x', bases[1], 'http://a/b/c/g?y/../x'],
170 ['g#s', bases[1], 'http://a/b/c/g#s'],
171 ['g#s/./x', bases[1], 'http://a/b/c/g#s/./x'],
172 ['g#s/../x', bases[1], 'http://a/b/c/g#s/../x'],
173 ['./', bases[1], 'http://a/b/c/'],
174 ['../', bases[1], 'http://a/b/'],
175 ['../g', bases[1], 'http://a/b/g'],
176 ['../../', bases[1], 'http://a/'],
177 ['../../g', bases[1], 'http://a/g'],
179 // http://gbiv.com/protocols/uri/test/rel_examples3.html
182 ['g', bases[2], 'http://a/b/c/d;p=1/g'],
183 ['./g', bases[2], 'http://a/b/c/d;p=1/g'],
184 ['g/', bases[2], 'http://a/b/c/d;p=1/g/'],
185 ['g?y', bases[2], 'http://a/b/c/d;p=1/g?y'],
186 [';x', bases[2], 'http://a/b/c/d;p=1/;x'],
187 ['g;x', bases[2], 'http://a/b/c/d;p=1/g;x'],
188 ['g;x=1/./y', bases[2], 'http://a/b/c/d;p=1/g;x=1/y'],
189 ['g;x=1/../y', bases[2], 'http://a/b/c/d;p=1/y'],
190 ['./', bases[2], 'http://a/b/c/d;p=1/'],
191 ['../', bases[2], 'http://a/b/c/'],
192 ['../g', bases[2], 'http://a/b/c/g'],
193 ['../../', bases[2], 'http://a/b/'],
194 ['../../g', bases[2], 'http://a/b/g'],
196 // http://gbiv.com/protocols/uri/test/rel_examples4.html
216 // http://gbiv.com/protocols/uri/test/rel_examples5.html
219 ['g', bases[4], 'http:///s//a/b/g'],
220 ['./g', bases[4], 'http:///s//a/b/g'],
221 ['g/', bases[4], 'http:///s//a/b/g/'],
222 ['/g', bases[4], 'http:///g'], // May change to http:///s//a/g
223 ['//g', bases[4], 'http://g/'], // May change to http:///s//g
224 ['//g/x', bases[4], 'http://g/x'], // May change to http:///s//g/x
225 ['///g', bases[4], 'http:///g'],
226 ['./', bases[4], 'http:///s//a/b/'],
227 ['../', bases[4], 'http:///s//a/'],
228 ['../g', bases[4], 'http:///s//a/g'],
229 ['../../', bases[4], 'http:///s//'],
230 ['../../g', bases[4], 'http:///s//g'],
231 // May change to http:///s//a/../../g
232 ['../../../g', bases[4], 'http:///s/g'],
233 // May change to http:///s//a/../../../g
234 ['../../../../g', bases[4], 'http:///g'],
236 // From Dan Connelly's tests in http://www.w3.org/2000/10/swap/uripath.py
238 ['../abc', 'http://example/x/y/z', 'http://example/x/abc'],
239 ['http://example/x/abc', 'http://example2/x/y/z', 'http://example/x/abc'],
240 ['../r', 'http://ex/x/y/z', 'http://ex/x/r'],
241 ['q/r', 'http://ex/x/y', 'http://ex/x/q/r'],
242 ['q/r#s', 'http://ex/x/y', 'http://ex/x/q/r#s'],
243 ['q/r#s/t', 'http://ex/x/y', 'http://ex/x/q/r#s/t'],
244 ['ftp://ex/x/q/r', 'http://ex/x/y', 'ftp://ex/x/q/r'],
245 ['', 'http://ex/x/y', 'http://ex/x/y'],
246 ['', 'http://ex/x/y/', 'http://ex/x/y/'],
247 ['', 'http://ex/x/y/pdq', 'http://ex/x/y/pdq'],
248 ['z/', 'http://ex/x/y/', 'http://ex/x/y/z/'],
274 ['./', 'http://example/x/abc.efg', 'http://example/x/'],
278 // http://www.ninebynine.org/Software/HaskellUtils/Network/UriTest.xls
282 ['./q:r', 'http://ex/x/y', 'http://ex/x/q:r'],
283 ['./p=q:r', 'http://ex/x/y', 'http://ex/x/p=q:r'],
284 ['?pp/rr', 'http://ex/x/y?pp/qq', 'http://ex/x/y?pp/rr'],
285 ['y/z', 'http://ex/x/y?pp/qq', 'http://ex/x/y/z'],
292 ['y?q', 'http://ex/x/y?q', 'http://ex/x/y?q'],
293 ['/x/y?q', 'http://ex?p', 'http://ex/x/y?q'],
306 // http://lists.w3.org/Archives/Public/uri/2003Feb/0028.html,
307 // http://lists.w3.org/Archives/Public/uri/2003Jan/0008.html)
308 ['abc', 'http://example/x/y%2Fz', 'http://example/x/abc'],
309 ['../../x%2Fabc', 'http://example/a/x/y/z', 'http://example/a/x%2Fabc'],
310 ['../x%2Fabc', 'http://example/a/x/y%2Fz', 'http://example/a/x%2Fabc'],
311 ['abc', 'http://example/x%2Fy/z', 'http://example/x%2Fy/abc'],
312 ['q%3Ar', 'http://ex/x/y', 'http://ex/x/q%3Ar'],
313 ['/x%2Fabc', 'http://example/x/y%2Fz', 'http://example/x%2Fabc'],
314 ['/x%2Fabc', 'http://example/x/y/z', 'http://example/x%2Fabc'],
315 ['/x%2Fabc', 'http://example/x/y%2Fz', 'http://example/x%2Fabc'],
328 ['http://example/a/b?c/../d', 'foo:bar', 'http://example/a/b?c/../d'],
329 ['http://example/a/b#c/../d', 'foo:bar', 'http://example/a/b#c/../d'],
333 // ['http:this', 'http://example.org/base/uri', 'http:this'],
335 ['http:this', 'http://example.org/base/uri', 'http://example.org/base/this'],
336 ['http:this', 'http:base', 'http:this'],
348 ['http://diff:auth@www.example.com',
349 'http://asdf:qwer@www.example.com',
350 'http://diff:auth@www.example.com/'],
364 ['http://another.host.com/',
366 'http://another.host.com/'],