Skip to content
This repository was archived by the owner on Feb 13, 2018. It is now read-only.

Commit 48d1f60

Browse files
committed
remove \n from header
this is no longer valid HTTP 1.1 and node _http_outgoing will throw an exception like: _http_outgoing.js:355 2016-05-07T17:08:01.538212+00:00 app[web.1]: throw new TypeError('The header content contains invalid characters');
1 parent ad9ebd9 commit 48d1f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/twitter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ OAuthParams.prototype.getHeader = function(){
146146
}
147147
}
148148
this.args = args;
149-
return 'OAuth '+lines.join(',\n ');
149+
return 'OAuth '+lines.join(', ');
150150
}
151151

152152

0 commit comments

Comments
 (0)