We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code below triggers ECONNRESET. I have tried multiple solutions while searching around but nothing helped, any ideas?
ECONNRESET
const func = (filepath) => { const form_data = new FormData() form_data.append('file', fs.createReadStream(filepath), { knownLength: fs.statSync(filepath).size }) fetch(url, { headers: { 'content-type': 'multipart/form-data' }, method: 'POST', body: form_data }) }
The text was updated successfully, but these errors were encountered:
see node-fetch/node-fetch#1167
Sorry, something went wrong.
No branches or pull requests
The code below triggers
ECONNRESET
. I have tried multiple solutions while searching around but nothing helped, any ideas?The text was updated successfully, but these errors were encountered: