Permalink
Browse files

Fix defaultResponseHeaders setter

  • Loading branch information...
1 parent 1331bf6 commit daa1047a0f7d76f95ee3eb65d2578025aa8131dd @hmarr hmarr committed May 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/index.js
View
@@ -216,5 +216,5 @@ module.exports.__defineSetter__('defaultResponseHeaders', function (f) {
throw new TypeError('defaultResponseHeaders must be a function');
}
- http.ServerResponse.prototype.defaultHeaders = f;
+ http.ServerResponse.prototype.defaultResponseHeaders = f;
});

0 comments on commit daa1047

Please sign in to comment.