Add mg_http_stream_body() helper for generic streaming uploads

This commit is contained in:
cpq committed 2026-09-21 08:55:04 +01:00
1 parent aa1dfe8000
commit b93cbbeb13
6 files changed
+153 -50

No files matched your search

@@ -50,7 +50,7 @@
r.onload = function() {
ev.target.value = '';
document.getElementById('el3').innerText = 'Uploading...';
fetch(`/upload/${encodeURIComponent(f.name)}`, {
fetch(`/fs/${encodeURIComponent(f.name)}`, {
method: 'POST',
body: r.result,
}).then(function(res) {