Closed beum closed 10 years ago
The SailthruClient.prototype.apiPostMultiPart method should include the file size in its call to restler.file() otherwise the API gives an HTTP status "411 Length Required" error message because the "Content-Length" header is not set properly.
This can be fixed by:
https://github.com/sailthru/sailthru-node-client/pull/8
Thanks!
Pull request #10 solves this issue.
@beum cool - it isn't yet merged, but I'll let you know when it is
The SailthruClient.prototype.apiPostMultiPart method should include the file size in its call to restler.file() otherwise the API gives an HTTP status "411 Length Required" error message because the "Content-Length" header is not set properly.
This can be fixed by:
https://github.com/sailthru/sailthru-node-client/pull/8
Thanks!