Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix defaultResponseHeaders setter

  • Loading branch information...
commit daa1047a0f7d76f95ee3eb65d2578025aa8131dd 1 parent 1331bf6
Harry Marr hmarr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/index.js
2  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;
});
Please sign in to comment.
Something went wrong with that request. Please try again.