Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update cookie dep

  • Loading branch information...
commit a50f02e87d570e696db4664247c4675a3c22b607 1 parent 214f913
@tj tj authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  package.json
  2. +1 −1  test/res.cookie.js
View
2  package.json
@@ -14,7 +14,7 @@
"commander": "0.6.1",
"range-parser": "0.0.4",
"mkdirp": "0.3.3",
- "cookie": "0.0.3",
+ "cookie": "0.0.4",
"crc": "0.2.0",
"fresh": "0.1.0",
"methods": "0.0.1",
View
2  test/res.cookie.js
@@ -15,7 +15,7 @@ describe('res', function(){
request(app)
.get('/')
.end(function(err, res){
- var val = ['user=j:{%22name%22:%22tobi%22}; Path=/'];
+ var val = ['user=' + encodeURIComponent('j:{"name":"tobi"}') + '; Path=/'];
res.headers['set-cookie'].should.eql(val);
done();
})
Please sign in to comment.
Something went wrong with that request. Please try again.