Skip to content

Commit bcdae9f

Browse files
committed
be able to use special characters
1 parent 40f9f9c commit bcdae9f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/client.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ BaseClient.prototype.request = function(options, data, fn) {
4242
headers: {
4343
authorization: this.authHeader,
4444
"content-type": "application/json",
45-
"user-agent": userAgent,
46-
"content-length": typeof data === "string" ? data.length : 0
45+
"user-agent": userAgent
4746
},
4847
agent: (this.proxy) ? new HttpsProxyAgent(this.proxy) : null
4948
}, options);

0 commit comments

Comments
 (0)