Skip to content

Commit

Permalink
Remove version from header.
Browse files Browse the repository at this point in the history
  • Loading branch information
cskr committed Oct 5, 2011
1 parent a2dc695 commit 60a07e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grasshopper/lib/context.js
Expand Up @@ -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'];
Expand Down
2 changes: 1 addition & 1 deletion test/simple/context-test.js
Expand Up @@ -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']);
Expand Down

0 comments on commit 60a07e2

Please sign in to comment.