Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove version from header.

  • Loading branch information...
commit 60a07e22e39669de52ca69eca2ae2f96ffb608cd 1 parent a2dc695
@tuxychandru authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  grasshopper/lib/context.js
  2. +1 −1  test/simple/context-test.js
View
2  grasshopper/lib/context.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'];
View
2  test/simple/context-test.js
@@ -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']);
Please sign in to comment.
Something went wrong with that request. Please try again.