Permalink
Browse files

Remove version from header.

  • Loading branch information...
1 parent a2dc695 commit 60a07e22e39669de52ca69eca2ae2f96ffb608cd @cskr committed Oct 5, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 grasshopper/lib/context.js
  2. +1 −1 test/simple/context-test.js
@@ -70,7 +70,7 @@ function RequestContext(request, response, secure) {
? mime.mimes[this.extn]
: 'application/octet-stream',
'date': new Date().toUTCString(),
- 'x-powered-by': 'Grasshopper/0.4.3'
+ 'x-powered-by': 'Grasshopper'
};
var cookieLine = request.headers['cookie'];
@@ -67,7 +67,7 @@ suite.tests = {
assert.deepEqual(res.headers, {
'content-type': 'text/plain; charset=UTF-8',
date: new Date().toUTCString(),
- 'x-powered-by': 'Grasshopper/0.4.3'
+ 'x-powered-by': 'Grasshopper'
});
assert.deepEqual(res.chunks, ['Hello']);
assert.deepEqual(res.encodings, ['utf8']);

0 comments on commit 60a07e2

Please sign in to comment.