Home
last modified time | relevance | path

Searched refs:send_file (Results 1 – 25 of 787) sorted by relevance

12345678910>>...32

/dports/www/p5-Dancer2/Dancer2-0.301004/t/dsl/
H A Dsend_file.t23 send_file 'index.html';
28 send_file '1x1.png';
29 return "send_file returns; this content is ignored";
35 send_file( \$string );
53 send_file( $file, system_path => 1, streaming => 0 );
62 send_file('1x1.png', filename => '1x1.png');
95 unlike( $r->content, qr/send_file returns/,
96 "send_file returns immediately with content");
132 ok($r->is_success, 'send_file returns success');
138 ok($r->is_success, 'send_file returns success');
[all …]
/dports/www/py-werkzeug/Werkzeug-2.0.2/tests/
H A Dtest_send_file.py10 from werkzeug.utils import send_file
22 rv = send_file(path, environ)
58 send_file(io.BytesIO(b"test"), environ)
72 send_file(f, environ, mimetype="text/plain")
86 send_file(
90 rv = send_file(
125 rv = send_file(
142 rv = send_file(txt_path, environ, max_age=value)
152 rv = send_file(txt_path, environ)
155 rv = send_file(txt_path, environ, etag=False)
[all …]
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_http_logging/
H A Dmod_http_logging.lua44 local send_file = server.send_file;
49 return send_file(response, f);
57 event_data.response.send_file = log_and_send_file;
65 server.send_file = log_and_send_file;
68 server.send_file = send_file;
/dports/www/p5-Dancer/Dancer-1.3513/t/06_helpers/
H A D01_send_file.t16 send_file(params->{file});
23 send_file(params->{file}, filename => 'header.foo');
28 send_file( \$data, content_type => 'text/plain', filename => 'foo.bar');
32 send_file(params->{file}, content_type => 'png');
36 send_file(path(dirname(__FILE__), "routes.pl"), system_path => 1);
40 send_file(path(dirname(__FILE__), "routes.pl"), system_path => 1, content_type => 'text/plain');
45 send_file('file.txt');
49 send_file(IO::Scalar->new(\ "IO::Scalar content"), filename => 'ioscalar');
58 send_file($temp_filename, filename => 'foo.bar');
68 is_deeply( [split(/\n/, $content)], [1,2,3], 'send_file worked as expected');
[all …]
/dports/www/uwsgi/uwsgi-2.0.20/tests/
H A Dtestfilewrapper.py30 return flask.send_file(fp, attachment_filename="test.txt")
36 return flask.send_file(bio, attachment_filename="test.txt")
47 flask.send_file(fp, attachment_filename="test.txt")
49 return flask.send_file(fp, attachment_filename="test.txt")
59 return flask.send_file(object(), attachment_filename="test.txt")
116 resp = flask.send_file(fp, attachment_filename="test.txt")
/dports/sysutils/boxbackup-devel/boxbackup-0.11_trunk_2979/contrib/bbadmin/
H A Daccounts.cgi118 my $send_file;
122 $send_file = "$ca_dir/clients/$filename";
126 $send_file = "$ca_dir/roots/serverCA.pem";
129 die "File does not exist: $send_file"
130 unless -f $send_file;
132 ": $send_file" unless -r $send_file;
134 open SENDFILE, "< $send_file" or die "Failed to open file " .
135 "$send_file: $!";
/dports/net-im/kopete/kopete-21.12.3/protocols/jabber/libjingle/talk/session/phone/
H A Dmediarecorder_unittest.cc184 std::string send_file = path.pathname(); in TestMediaRecorder() local
189 send_file, recv_file, filter)); in TestMediaRecorder()
192 send_file, recv_file, filter)); in TestMediaRecorder()
245 EXPECT_TRUE(talk_base::Filesystem::DeleteFile(send_file)); in TestMediaRecorder()
291 std::string send_file = path.pathname(); in TestRecordHeaderAndMedia() local
297 send_file, recv_file, PF_RTPPACKET)); in TestRecordHeaderAndMedia()
301 send_file, recv_file, PF_RTPPACKET)); in TestRecordHeaderAndMedia()
316 EXPECT_TRUE(talk_base::Filesystem::IsFile(send_file)); in TestRecordHeaderAndMedia()
324 EXPECT_TRUE(talk_base::Filesystem::DeleteFile(send_file)); in TestRecordHeaderAndMedia()
/dports/x11/mlterm/mlterm-3.9.1/vtemu/
H A Dvt_transfer.c74 char *send_file /* allocated by the caller */, in vt_transfer_start() argument
82 if (send_file) { in vt_transfer_start()
83 zmodem_info[0].name = send_file; in vt_transfer_start()
84 stat(send_file, &zmodem_info[0].fstats); in vt_transfer_start()
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/ext-runtime/php/bin/
H A Dgenerate_configs35 def send_file(filename, data):
73 send_file('Dockerfile', data.format(document_root=document_root,
79 send_file('.dockerignore', f.read())
/dports/devel/pecl-swoole/swoole-4.8.5/tests/swoole_http_server/
H A Dsendfile.phpt12 $send_file = get_safe_random(mt_rand(0, 65535 * 10));
13 file_put_contents('/tmp/sendfile.txt', $send_file);
15 Assert::same($send_file, $recv_file);
H A Dsendfile_with_ssl.phpt12 $send_file = get_safe_random(mt_rand(0, 65535 * 10));
13 file_put_contents('/tmp/sendfile.txt', $send_file);
20 Assert::same($send_file, $recv_file);
/dports/devel/py-ddtrace/ddtrace-0.56.1/tests/contrib/flask/
H A Dtest_flask_helpers.py22 self.assert_is_wrapped(flask.send_file)
32 self.assert_is_not_wrapped(flask.send_file)
92 response = flask.send_file(fp, mimetype="text/plain")
127 response = flask.send_file(fp, mimetype="text/plain")
/dports/science/minc2/minc-release-2.2.00/conversion/Acr_nema/
H A Dsample_dicom_client.c87 public int send_file(Acr_File *afpin, Acr_File *afpout, char *filename);
125 if (!send_file(afpin, afpout, file_list[ifile])) { in main()
151 public int send_file(Acr_File *afpin, Acr_File *afpout, char *filename) in send_file() function
/dports/finance/moneymanagerex/moneymanagerex-1.2.7/3rd/mongoose/examples/
H A Dmjpg.c8 static void send_file(struct mg_connection *conn, const char *path) { in send_file() function
42 send_file(conn, file_names[0]); in ev_handler()
57 send_file(conn, file_names[state->file_index]); in ev_handler()
/dports/devel/pecl-swoole/swoole-4.8.5/tests/swoole_http_server_coro/
H A Dsendfile.phpt11 $send_file = get_safe_random(mt_rand(0, 65535 * 10));
12 file_put_contents('/tmp/sendfile.txt', $send_file);
14 Assert::same(md5($send_file), md5($recv_file));
/dports/www/mongoose/mongoose-632b3a3/examples/mjpg_streamer/
H A Dmjpg_streamer.c8 static void send_file(struct mg_connection *conn, const char *path) { in send_file() function
54 send_file(conn, file_names[0]); in ev_handler()
67 send_file(conn, file_names[state->file_index]); in ev_handler()
/dports/comms/bforce-kst/bforce-0.22.8.kst7/source/bforce/
H A Dprot_binkp.c397 bool send_file = FALSE; in binkp_transfer() local
413 if( !send_file && !sent_EOB && bpi.opos == 0 && bpi.n_msgs == 0 ) in binkp_transfer()
417 send_file = TRUE; in binkp_transfer()
427 if( send_file && bpi.opos == 0 && bpi.n_msgs == 0 ) in binkp_transfer()
433 send_file = FALSE; in binkp_transfer()
442 wait_got = TRUE; send_file = FALSE; in binkp_transfer()
595 if( send_file && !p_compfinfo(pi->send, fname, fsize, ftime) ) in binkp_transfer()
603 send_file = FALSE; in binkp_transfer()
656 if( send_file && !p_compfinfo(pi->send, fname, fsize, ftime) ) in binkp_transfer()
662 send_file = FALSE; in binkp_transfer()
/dports/devel/cgit/cgit-1.2.3/
H A Dui-clone.c55 static void send_file(const char *path) in send_file() function
116 send_file(git_path("objects/%s", ctx.qry.path)); in cgit_clone_objects()
125 send_file(git_path("%s", "HEAD")); in cgit_clone_head()
/dports/www/py-gunicorn/gunicorn-19.9.0/examples/frameworks/
H A Dflask_sendfile.py3 from flask import Flask, send_file
12 return send_file(buf,
/dports/devel/csoap/libsoap-1.1.0/examples/nanohttp/
H A Dclient_mime.c71 int send_file(httpc_conn_t *conn, const char* filename, in send_file() function
154 if (!send_file(conn, argv[2], argv[3], argv[4])) in main()
169 if (!send_file(conn, file, id, content_type)) in main()
/dports/net-mgmt/netdisco/App-Netdisco-2.047002/lib/App/Netdisco/Web/
H A DStatic.pm13 send_file \$content,
25 send_file \$content,
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/import_export/after_export_strategies/
H A Dweb_upload_strategy.rb26 handle_response_error(send_file)
41 def send_file method in Gitlab.ImportExport.AfterExportStrategies.WebUploadStrategy
/dports/science/minc2/minc-release-2.2.00/conversion/gcomserver/
H A Dgcomtodicom.c58 public int send_file(Acr_File *afpin, Acr_File *afpout, char *filename);
166 if (!send_file(afpin, afpout, file_list[ifile])) { in main()
197 public int send_file(Acr_File *afpin, Acr_File *afpout, char *filename) in send_file() function
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/tests/unit/s3/
H A Dtest_key.py174 k.send_file(fail_file)
188 k.send_file(fail_file)
204 k.send_file(fail_file)
220 k.send_file(fail_file)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/tests/unit/s3/
H A Dtest_key.py174 k.send_file(fail_file)
188 k.send_file(fail_file)
204 k.send_file(fail_file)
220 k.send_file(fail_file)

12345678910>>...32