Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #24 from jmcintire/master

Fixed broken cookie functionality
  • Loading branch information...
commit 849bfdc9767265c20d74911a81d5e4f100661e18 2 parents 8e04eb7 + f241d7b
@nlacasse nlacasse authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/shred/response.js
View
4 lib/shred/response.js
@@ -48,7 +48,7 @@ var Response = function(raw, request, callback) {
}
try {
- cookie = new Cookie(cookieStr);
+ cookie = new Cookie(cookieString);
if (cookie) {
cookieObjs.push(cookie);
}
@@ -57,7 +57,7 @@ var Response = function(raw, request, callback) {
}
}
- request.cookieJar.setCookies(cookies);
+ request.cookieJar.setCookies(cookieObjs);
}
this.request = request;
Please sign in to comment.
Something went wrong with that request. Please try again.