Browse files

SSJS : Http.js

- Fix header object
  • Loading branch information...
1 parent 6170a3b commit 61c56c650166e28c452a4e228f7992009125daaa @paraboul paraboul committed Jun 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/framework/Http.js
View
2 scripts/framework/Http.js
@@ -132,7 +132,7 @@ var Http = new Class({
var tmp = this.response.split("\r\n\r\n");
this.responseHeadersLength = tmp[0].length;
tmp = tmp[0].split("\r\n");
- this.responseHeaders = [];
+ this.responseHeaders = {};
this.responseCode = tmp[0].split(" ");
this.responseCode = this.responseCode[1].toInt();

0 comments on commit 61c56c6

Please sign in to comment.