You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constformData=newFormData();// ...constbuffer=formData.getBuffer();// or axios, or whateverfetch(url,{headers: {..formData.getHeaders(),"Content-Length": buffer.byteLength.toString()},body: buffer})
If all the form data has known lengths, it would be nice if getHeaders() automatically included the
Content-Length
header.The text was updated successfully, but these errors were encountered: