We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd69ca8 commit c858a9eCopy full SHA for c858a9e
src/submission/NodeSubmissionAdapter.ts
@@ -30,7 +30,7 @@ export class NodeSubmissionAdapter implements ISubmissionAdapter {
30
if (request.method === 'POST') {
31
options.headers = {
32
'Content-Type': 'application/json',
33
- 'Content-Length': request.data.length
+ 'Content-Length': new Buffer(request.data).length
34
};
35
}
36
0 commit comments