projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1107a1b
)
fixed check on header type, to check member instead of object.
author
jed
<tr@nslator.jp>
Sun, 29 Nov 2009 08:00:30 +0000
(
01:00
-0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Mon, 30 Nov 2009 09:14:09 +0000
(10:14 +0100)
lib/http.js
patch
|
blob
|
history
diff --git
a/lib/http.js
b/lib/http.js
index
4729608
..
caeff0f
100644
(file)
--- a/
lib/http.js
+++ b/
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 {