Alexander Moskalev
e727919b97
cURL: make possible to send file from buffer string
...
Add CURLStringFile class which works similarly to CURLFile, but
uploads a file from a string rather than a file. This avoids the
need to create a temporary file, or use of a data:// stream.
Basic usage:
$file = new CURLStringFile($data, 'filename.txt', 'text/plain');
curl_setopt($curl, CURLOPT_POSTFIELDS, ['file' => $file]);
Closes GH-6456.
2021-02-16 10:24:22 +01:00
..
2021-02-16 10:24:22 +01:00
2020-02-04 11:09:28 +01:00
2020-02-04 00:54:54 +01:00
2020-09-18 14:28:32 +02:00
2020-02-04 00:44:04 +01:00
2020-02-03 22:52:20 +01:00
2020-01-07 15:28:48 +01:00
2020-08-14 17:40:35 +02:00
2020-09-18 14:28:32 +02:00
2020-08-09 22:03:36 +02:00
2020-09-18 14:28:32 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-06-24 13:13:44 +02:00
2018-10-14 12:07:20 -03:00
2020-09-18 14:28:32 +02:00
2018-10-14 19:45:12 +02:00
2020-01-19 14:10:46 +01:00
2020-02-03 22:52:20 +01:00
2020-01-19 14:10:46 +01:00
2018-10-20 10:11:29 +02:00
2020-02-03 22:52:20 +01:00
2020-09-08 15:23:23 +02:00
2020-06-29 15:50:12 +02:00
2020-06-29 15:50:12 +02:00
2019-11-07 21:31:47 +01:00
2020-02-03 22:52:20 +01:00
2020-09-18 14:28:32 +02:00
2020-01-19 14:10:46 +01:00
2020-09-18 14:28:32 +02:00
2018-11-26 13:20:51 +01:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2020-02-04 11:30:57 +01:00
2020-09-18 14:28:32 +02:00
2019-12-28 11:00:37 +01:00
2021-01-18 11:01:01 +01:00
2020-03-12 11:23:53 +01:00
2020-09-18 14:28:32 +02:00
2020-10-01 17:05:23 +02:00
2021-01-18 10:57:56 +01:00
2021-02-16 00:28:34 +01:00
2020-06-24 13:13:44 +02:00
2020-06-24 13:13:44 +02:00
2020-06-24 13:13:44 +02:00
2020-06-24 13:13:44 +02:00
2020-06-24 13:13:44 +02:00
2020-06-24 13:13:44 +02:00
2018-02-22 08:11:30 +01:00
2020-09-18 14:28:32 +02:00
2020-09-23 10:42:48 +02:00
2020-09-18 14:28:32 +02:00
2020-06-24 13:13:44 +02:00
2020-06-24 13:13:44 +02:00
2020-06-24 13:13:44 +02:00
2020-06-17 16:11:57 +02:00
2019-11-07 21:31:47 +01:00
2020-06-24 13:13:44 +02:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2020-01-19 14:10:46 +01:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2020-06-17 16:11:57 +02:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2018-10-20 10:11:29 +02:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2020-02-04 11:30:57 +01:00
2020-06-29 21:31:44 +02:00
2020-02-04 11:09:28 +01:00
2020-08-09 22:03:36 +02:00
2020-06-24 13:13:44 +02:00
2020-09-18 14:28:32 +02:00
2020-02-03 22:52:20 +01:00
2020-09-18 14:28:32 +02:00
2020-02-04 11:30:57 +01:00
2020-08-14 17:40:35 +02:00
2020-02-03 22:52:20 +01:00
2020-06-17 16:11:57 +02:00
2020-06-22 15:09:22 +02:00
2020-06-29 21:31:44 +02:00
2020-06-17 16:11:57 +02:00
2020-09-18 14:28:32 +02:00
2020-02-03 22:52:20 +01:00
2020-06-17 16:11:57 +02:00
2020-06-29 21:31:44 +02:00
2020-02-03 22:52:20 +01:00
2020-06-24 13:13:44 +02:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2020-08-09 22:03:36 +02:00
2020-06-24 13:13:44 +02:00
2018-10-15 04:33:09 +02:00
2020-08-14 17:40:35 +02:00
2019-11-07 21:31:47 +01:00
2020-08-14 17:40:35 +02:00
2020-11-11 11:56:03 +01:00
2020-06-17 16:11:57 +02:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2020-09-18 14:28:32 +02:00
2021-02-16 10:24:22 +01:00
2019-04-15 15:57:11 +02:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2020-02-03 22:52:20 +01:00
2021-01-04 16:59:57 +01:00
2020-09-17 14:44:12 +00:00