Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed check on header type, to check member instead of object.

  • Loading branch information...
commit a9ea21feb43188922f823ddc9a7f2e67bea95aea 1 parent 1107a1b
@jed jed authored ry committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/http.js
View
2  lib/http.js
@@ -236,7 +236,7 @@ OutgoingMessage.prototype.sendHeaderLines = function (first_line, headers) {
var message_header = first_line;
var field, value;
for (var i in headers) {
- if (headers instanceof Array) {
+ if (headers[i] instanceof Array) {
field = headers[i][0];
value = headers[i][1];
} else {

0 comments on commit a9ea21f

Please sign in to comment.
Something went wrong with that request. Please try again.