diff --git a/lib/client.js b/lib/client.js index 6479c37..059cb2a 100644 --- a/lib/client.js +++ b/lib/client.js @@ -42,8 +42,7 @@ BaseClient.prototype.request = function(options, data, fn) { headers: { authorization: this.authHeader, "content-type": "application/json", - "user-agent": userAgent, - "content-length": typeof data === "string" ? data.length : 0 + "user-agent": userAgent }, agent: (this.proxy) ? new HttpsProxyAgent(this.proxy) : null }, options);