mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
Add mg_http_stream_body() helper for generic streaming uploads
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user