Home
last modified time | relevance | path

Searched refs:force_download (Results 1 – 25 of 60) sorted by relevance

123

/dports/deskutils/egroupware/egroupware/api/src/Header/
H A DContent.php38 * @param boolean $force_download =true send content-disposition attachment header
41 …nction safe(&$content, $path, &$mime='', &$length=0, $nocache=true, $force_download=true, $no_cont… argument
49 if (!$force_download && in_array($type, array('application', 'text')) &&
77 if (!$force_download && in_array($mime, ['text/html', 'application/xhtml+xml', 'image/svg+xml']))
92 $force_download = true;
100 if ($force_download) self::disposition(Api\Vfs::basename($path), $force_download);
104 self::type(Api\Vfs::basename($path), $mime, $length, $nocache, $force_download);
/dports/print/freetype2/freetype-2.11.1/tests/scripts/
H A Ddownload-test-fonts.py185 force_download: bool,
188 if not force_download and hex_digest is not None \
201 item: dict, install_dir: str, force_download: bool
228 install_path, hex_digest, force_download, get_content
254 force_download,
/dports/www/firefox/firefox-99.0/modules/freetype2/tests/scripts/
H A Ddownload-test-fonts.py185 force_download: bool,
188 if not force_download and hex_digest is not None \
201 item: dict, install_dir: str, force_download: bool
228 install_path, hex_digest, force_download, get_content
254 force_download,
/dports/graphics/py-imageio/imageio-2.9.0/imageio/core/
H A Dfetching.py33 def get_remote_file(fname, directory=None, force_download=False, auto=True): argument
74 if not force_download: # we're done
83 if isinstance(force_download, str):
84 ntime = time.strptime(force_download, "%Y-%m-%d")
96 print("File older than %s, updating..." % force_download)
/dports/math/p5-Math-Pari/Math-Pari-2.01080900/
H A DMakefile.PL26 grep {/^force_download$/i and $force_download = 1} @ARGV;
33 @ARGV = grep !/^((machine|paridir|pari_tgz|parilib|version23_ok)=.*|configure|force_download)$/i, @…
35 $paridir = find_pari_dir() unless defined $paridir or $parisrc or $force_download;
36 ($paridir, my @patch_rc) = download_and_patch_pari($parisrc, $force_download)
37 if !$paridir or $force_download;
/dports/astro/py-astropy/astropy-5.0/astropy/coordinates/tests/
H A Dtest_sites.py92 EarthLocation._get_site_registry(force_download=True)
98 newreg = EarthLocation._get_site_registry(force_download=True)
148 dl_registry = EarthLocation._get_site_registry(force_download=download_url)
/dports/graphics/variety/variety-0.8.5/variety/plugins/downloaders/
H A DDefaultDownloader.py185 force_download=False, argument
195 if not force_download and self.is_in_banned(origin_url):
219 if not force_download and os.path.exists(local_filepath):
/dports/astro/py-astropy/astropy-5.0/astropy/coordinates/
H A Dearth.py512 def _get_site_registry(cls, force_download=False, force_builtin=False): argument
535 if force_builtin and force_download:
542 if force_download or not reg:
544 if isinstance(force_download, str):
545 reg = get_downloaded_sites(force_download)
549 if force_download:
/dports/misc/mxnet/incubator-mxnet-1.9.0/perl-package/AI-MXNet/examples/
H A Dmnist.pl31 my($url, $force_download) = @_;
32 $force_download = 1 if @_ < 2;
34 if($force_download or not -f $fname) {
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/perl-package/AI-MXNet/examples/
H A Dmnist.pl31 my($url, $force_download) = @_;
32 $force_download = 1 if @_ < 2;
34 if($force_download or not -f $fname) {
/dports/graphics/py-imageio/imageio-2.9.0/
H A Dsetup.py119 imageio.core.get_remote_file(fname, resource_dir, force_download=True)
132 "freeimage/" + fname, resource_dir, force_download=True
/dports/net/py-soap2py/soap2py-1.16/pysimplesoap/
H A Dclient.py527 def _url_to_xml_tree(self, url, cache, force_download): argument
529 xml = fetch(url, self.http, cache, force_download, self.wsdl_basedir, self.http_headers)
552 … xml = fetch(wsdl_location, self.http, cache, force_download, self.wsdl_basedir, self.http_headers)
561 def _xml_tree_to_services(self, wsdl, cache, force_download): argument
597 force_download, self.wsdl_basedir,
810 force_download = False
826 force_download = True
835 wsdl = self._url_to_xml_tree(url, cache, force_download)
836 services = self._xml_tree_to_services(wsdl, cache, force_download)
H A Dhelpers.py41 def fetch(url, http, cache=False, force_download=False, wsdl_basedir='', headers={}): argument
55 return fetch(tmp_url, http, cache, force_download, wsdl_basedir, headers)
64 if cache and os.path.exists(filename) and not force_download:
361 http, cache, force_download, wsdl_basedir, argument
397 xml = fetch(schema_location, http, cache, force_download, wsdl_basedir)
406 xsd_uri, dialect, http, cache, force_download,
/dports/deskutils/egroupware/egroupware/api/src/Vfs/
H A DWebDAV.php627 private $force_download = false; variable in EGroupware\\Api\\Vfs\\WebDAV
636 …if ($_SERVER['REQUEST_METHOD'] == 'GET' && (($this->force_download = strpos($_SERVER['REQUEST_URI'…
638 $_SERVER['REQUEST_URI'] = substr($_SERVER['REQUEST_URI'],0,$this->force_download);
661 …$this->force_download, true); // true = do not send content-type and content-length header, but mo…
/dports/www/Stikked/Stikked-0.13.0/htdocs/application/controllers/
H A DBackup.php41 force_download('stikked.gz', $backup);
/dports/comms/wsjtz/wsjtx/Network/
H A DLotWUsers.hpp26 Q_SLOT void load (QString const& url, bool fetch = true, bool force_download = false);
H A DLotWUsers.cpp263 void LotWUsers::load (QString const& url, bool fetch, bool force_download) in load() argument
265 m_->load (url, fetch, force_download); in load()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/ntp_tiles/
H A Dpopular_sites_impl_unittest.cc171 base::Optional<bool> FetchPopularSites(bool force_download, in FetchPopularSites() argument
175 FetchAllSections(force_download, &sections); in FetchPopularSites()
183 bool force_download, in FetchAllSections() argument
190 force_download, base::BindOnce( in FetchAllSections()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/ntp_tiles/
H A Dpopular_sites_impl_unittest.cc171 base::Optional<bool> FetchPopularSites(bool force_download, in FetchPopularSites() argument
175 FetchAllSections(force_download, &sections); in FetchPopularSites()
183 bool force_download, in FetchAllSections() argument
190 force_download, base::BindOnce( in FetchAllSections()
/dports/net-im/cawbird/cawbird-1.4.2/src/
H A DTwitter.vala153 bool force_download = false) {
154 dest_widget.surface = yield this.get_surface (user_id, url, size, force_download);
160 bool force_download = false) {
172 if (has_key && !new_url && !force_download) {
/dports/deskutils/egroupware/egroupware/api/src/Vfs/Filesystem/
H A DStreamWrapper.php720 …* @param boolean $force_download =false add header('Content-disposition: filename="' . basename($p…
724 static function download_url($_url,$force_download=false) argument
726 unset($force_download); // not used, but required by interface
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/
H A Dmanifestupdate.py138 force_download = False if kwargs["download"] is None else True
140 logger, src_root, test_paths, force=force_download
/dports/www/firefox/firefox-99.0/testing/web-platform/
H A Dmanifestupdate.py138 force_download = False if kwargs["download"] is None else True
140 logger, src_root, test_paths, force=force_download
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/
H A Dmanifestupdate.py138 force_download = False if kwargs["download"] is None else True
140 logger, src_root, test_paths, force=force_download
/dports/lang/spidermonkey78/firefox-78.9.0/testing/web-platform/
H A Dmanifestupdate.py111 force_download = False if kwargs["download"] is None else True
115 force=force_download)

123