/dports/devel/py-furl/furl-2.1.0/tests/ |
H A D | test_furl.py | 1043 f = furl.furl() 1171 f = furl.furl( 1370 f = furl.furl() 1375 f = furl.furl() 1380 f = furl.furl() 1421 assert f.url == furl.furl(f).url == furl.furl(f.url).url 1435 assert f.url == furl.furl(f).url == furl.furl(f.url).url 1450 assert f.url == furl.furl(f).url == furl.furl(f.url).url 2072 assert furl.furl() is not furl.furl() and furl.furl() == furl.furl() 2078 assert furl.furl(url) == furl.furl(url) [all …]
|
/dports/devel/py-furl/furl-2.1.0/ |
H A D | README.md | 6 <a href="https://pypi.python.org/pypi/furl"><img src="https://badge.fury.io/py/furl.svg"></a> 7 …<a href="https://travis-ci.org/gruns/furl"><img src="https://img.shields.io/travis/gruns/furl.svg"… 9 …<a href="https://pypi.python.org/pypi/furl"><img src="https://img.shields.io/pypi/pyversions/furl.… 29 >>> from furl import furl 30 >>> f = furl('http://www.google.com/?one=1&two=2') 38 Or use furl's inline modification methods. 54 >>> f = furl('http://www.google.com/') 67 >>> f = furl('http://www.google.com/') 114 See more furl magic and examples in furl's API document, 120 Installing furl with pip is easy. [all …]
|
H A D | API.md | 132 >>> f = furl('/url/path') 202 >>> f = furl('path') 294 >>> f = furl() 314 >>> f = furl('http://sprop.su') 324 >>> f = furl('http://sprop.su') 452 >>> f = furl() 457 >>> f = furl() 476 >>> f = furl('http://google.com') 481 >>> f = furl() 561 >>> f = furl().set( [all …]
|
/dports/databases/py-sqlalchemy-utils/SQLAlchemy-Utils-0.37.9/sqlalchemy_utils/types/ |
H A D | url.py | 6 furl = None variable 8 from furl import furl 45 if furl is not None and isinstance(value, furl): 52 if furl is None: 56 return furl(value) 59 if furl is None: 62 if value is not None and not isinstance(value, furl): 63 return furl(value)
|
/dports/www/p5-Furl/Furl-3.14/author/benchmark/ |
H A D | note.mkdn | 5 Rate lwp furl curl 7 furl 6461/s 715% -- -15% 12 Rate lwp http_lite furl curl 20 Rate lwp http_lite furl curl 30 Rate lwp http_lite furl curl 44 Rate lwp http_lite furl curl 58 Rate lwp http_lite furl curl 73 Rate lwp http_lite furl curl 76 furl 6575/s 722% 528% -- -25% 87 Rate lwp http_lite furl curl [all …]
|
/dports/www/yt-dlp/yt-dlp-2021.12.27/yt_dlp/extractor/ |
H A D | massengeschmacktv.py | 41 furl = source.get('src') 42 if not furl: 44 furl = self._proto_relative_url(furl) 45 ext = determine_ext(furl) or mimetype2ext(source.get('type')) 48 furl, episode, 'mp4', 'm3u8_native', 52 'url': furl, 53 'format_id': determine_ext(furl),
|
/dports/www/youtube_dl/youtube-dl/youtube_dl/extractor/ |
H A D | massengeschmacktv.py | 41 furl = source.get('src') 42 if not furl: 44 furl = self._proto_relative_url(furl) 45 ext = determine_ext(furl) or mimetype2ext(source.get('type')) 48 furl, episode, 'mp4', 'm3u8_native', 52 'url': furl, 53 'format_id': determine_ext(furl),
|
/dports/www/p5-Furl/Furl-3.14/t/300_high/ |
H A D | 99_error.t | 7 my $furl = Furl->new; 17 test_error_message { $furl->get('ttp://example.com/') }; 18 test_error_message { $furl->head('ttp://example.com/') }; 19 test_error_message { $furl->post('ttp://example.com/') }; 20 test_error_message { $furl->delete('ttp://example.com/') }; 21 test_error_message { $furl->put('ttp://example.com/') }; 23 $furl->request(
|
H A D | 06_keep_request.t | 17 my $furl = Furl->new(capture_request => 1); 48 my $res = $furl->get("http://127.0.0.1:$port/foo"); 62 my $res = $furl->get("http://127.0.0.1:$port/foo", [ 76 is join(',', $req->headers->keys), 'x-furl-requst'; 81 my $res = $furl->head("http://127.0.0.1:$port/foo"); 95 my $res = $furl->head("http://127.0.0.1:$port/foo", [ 126 my $res = $furl->post("http://127.0.0.1:$port/foo", [ 143 my $res = $furl->put("http://127.0.0.1:$port/foo", [], 'GAH'); 157 my $res = $furl->put("http://127.0.0.1:$port/foo", [ 174 my $res = $furl->delete("http://127.0.0.1:$port/foo"); [all …]
|
H A D | 02_agent.t | 8 my $furl = Furl->new( agent => 'Furl/test' ); 9 is $furl->agent, "Furl/test", 'get User-Agent'; 11 $furl->agent('Furl/new'); 12 is $furl->agent, "Furl/new", 'set new User-Agent';
|
/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/test/ |
H A D | test_info.py | 92 return furl, tubB, hint 107 d = tubB.getReference(furl) 108 ci = tubB.getConnectionInfoForFURL(furl) 112 ci = tubB.getConnectionInfoForFURL(furl) 118 ci = tubB.getConnectionInfoForFURL(furl) 128 d = tubB.getReference(furl) 130 ci = tubB.getConnectionInfoForFURL(furl) 135 ci = tubB.getConnectionInfoForFURL(furl) 141 furl, tubB, hint = self.makeTub("tcp") 142 rref1 = yield tubB.getReference(furl) [all …]
|
H A D | test_listener.py | 31 furl = tubA.registerReference(Target()) 32 yield tubB.getReference(furl) 42 furl = tubA.registerReference(Target()) 43 yield tubB.getReference(furl) 53 furl = tubA.registerReference(Target()) 54 yield tubB.getReference(furl) 65 furl = tubA.registerReference(Target()) 66 yield tubB.getReference(furl)
|
H A D | test_sturdyref.py | 4 from foolscap.furl import BadFURLError 44 furl = "pb://%s@,/name" % TUB1 # empty hints are not allowed 45 f = self.assertRaises(BadFURLError, SturdyRef, furl) 48 furl = "pb://%s@/name" % TUB1 # this is ok, and means "unrouteable" 49 sr = SturdyRef(furl) 52 furl = "pb://%s/name" % TUB1 # this is not ok 53 f = self.assertRaises(ValueError, SturdyRef, furl)
|
/dports/www/p5-Furl/Furl-3.14/t/100_low/ |
H A D | 03_redirect.t | 18 my $furl = Furl::HTTP->new(); 20 $furl->request( url => "http://127.0.0.1:$port/1", ); 28 my $furl = Furl::HTTP->new(max_redirects => 0); 30 $furl->request( url => "http://127.0.0.1:$port/1", ); 40 my $furl = Furl::HTTP->new(max_redirects => $max_redirects); 52 my $furl = Furl::HTTP->new(); 55 $furl->post("http://127.0.0.1:$port/301", [], ""); 59 $furl->post("http://127.0.0.1:$port/302", [], ""); 63 $furl->post("http://127.0.0.1:$port/303", [], ""); 67 $furl->post("http://127.0.0.1:$port/307", [], ""); [all …]
|
H A D | 30_user_agent.t | 15 my $furl = Furl::HTTP->new(); 16 $furl->agent('foobot'); 18 $furl->request( url => "http://127.0.0.1:$port/1", ); 24 my $furl = Furl::HTTP->new(); 26 $furl->request( 35 my $furl = Furl::HTTP->new(); 36 $furl->agent('foobot'); 38 $furl->request(
|
H A D | 29_completion_slash.t | 27 my $furl = Furl::HTTP->new(bufsize => 10, timeout => 3); 30 my (undef, $code, $msg, $headers, $content) = $furl->request( 42 my ( undef, $code, $msg, $headers, $content ) = $furl->request( 58 my $furl = Furl::HTTP->new(bufsize => 10, timeout => 3); 61 my (undef, $code, $msg, $headers, $content) = $furl->request( 78 my $furl = Furl::HTTP->new(bufsize => 10, timeout => 3); 81 my (undef, $code, $msg, $headers, $content) = $furl->request( 93 my ( undef, $code, $msg, $headers, $content ) = $furl->request( 109 my $furl = Furl::HTTP->new(bufsize => 10, timeout => 3); 112 my (undef, $code, $msg, $headers, $content) = $furl->request( [all …]
|
/dports/print/py-reportlab/reportlab-3.5.68/tests/ |
H A D | test_platypus_images.py | 7 furl = fn.replace(os.sep,'/') 8 if sys.platform=='win32' and furl[1]==':': furl = furl[0]+'|'+furl[2:] 9 if furl[0]!='/': furl = '/'+furl 10 return 'file://'+furl
|
/dports/www/seahub/seahub-8.0.7-server/tests/api/ |
H A D | test_files.py | 20 name, furl = self.create_file(repo) 25 res = self.post(furl, data=data) 30 _, furl = self.create_file(repo) 31 res = self.delete(furl) 54 u = urllib.parse.urlparse(furl) 72 u = urllib.parse.urlparse(furl) 84 u = urllib.parse.urlparse(furl) 95 u = urllib.parse.urlparse(furl) 121 u = urllib.parse.urlparse(furl) 159 res = self.get(furl) [all …]
|
/dports/www/p5-Plack-Middleware-Reproxy/Plack-Middleware-Reproxy-0.00004/lib/Plack/Middleware/Reproxy/ |
H A D | Furl.pm | 9 if (! $self->furl) { 10 my $furl = Furl::HTTP->new; 11 $self->furl($furl); 29 my (undef, $code, undef, $hdrs, $body) = $self->furl->request(@args);
|
/dports/devel/py-foolscap/foolscap-21.7.0/src/foolscap/ |
H A D | furl.py | 10 def decode_furl(furl): # takes either, returns native argument 17 furl = six.ensure_str(furl) 19 mo_auth_furl = AUTH_STURDYREF_RE.search(furl) 39 raise ValueError("unknown FURL prefix in %r" % (furl,))
|
/dports/graphics/djvulibre/djvulibre-3.5.28/libdjvu/ |
H A D | DataPool.h | 566 GURL furl; variable 608 ||(furl.is_valid()&&!furl.is_empty()&&pool.furl.is_valid()&&(furl == pool.furl)) in simple_compare() 615 return furl.is_local_file_url() || pool!=0; in is_connected()
|
/dports/audio/gmpc/gmpc-11.8.16/src/Providers/ |
H A D | LastFM.c | 735 char furl[1024]; in lastfm_fetch_get_uris() local 742 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 750 char furl[1024]; in lastfm_fetch_get_uris() local 758 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 768 char furl[1024]; in lastfm_fetch_get_uris() local 776 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 788 char furl[1024]; in lastfm_fetch_get_uris() local 795 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 804 char furl[1024]; in lastfm_fetch_get_uris() local 828 g_free(furl); in lastfm_fetch_get_uris() [all …]
|
/dports/www/p5-Furl/Furl-3.14/xt/ |
H A D | 04_leaktrace.t | 9 my $furl = Furl->new(); 10 my $res = $furl->request( 18 my $furl = Furl->new(); 21 my $res = $furl->request(
|
/dports/audio/gmpc-lastfm/gmpc-last-fm-0.20.0/src/ |
H A D | plugin.c | 705 char furl[1024]; in lastfm_fetch_get_uris() local 712 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 720 char furl[1024]; in lastfm_fetch_get_uris() local 728 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 740 char furl[1024]; in lastfm_fetch_get_uris() local 747 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 756 char furl[1024]; in lastfm_fetch_get_uris() local 763 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 777 g_debug("url: '%s'", furl); in lastfm_fetch_get_uris() 780 g_free(furl); in lastfm_fetch_get_uris() [all …]
|
/dports/devel/p5-Alien-Build/Alien-Build-2.45/t/ |
H A D | alien_build_plugin_fetch_lwp.t | 115 my $furl = URI->new_abs("foo-1.00.tar.gz", $url); 116 note "url = $furl"; 120 my $res = $build->fetch("$furl"); 132 my $furl = URI->new_abs("bogus.tar.gz", $url); 133 note "url = $furl"; 134 eval { $build->fetch("$furl") }; 145 my $furl = URI->new_abs("test1/foo.txt", $url); 146 note "url = $furl"; 156 …my $res = capture_note { $build->fetch("$furl", http_headers => [ Foo => 'Bar1', Foo => 'Bar2', Ba…
|