superagent
Advanced tools
Comparing version 0.8.0 to 0.8.1
0.8.1 / 2012-08-21 | ||
================== | ||
* fix redirects when schema is specified | ||
0.8.0 / 2012-08-19 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -405,3 +405,4 @@ | ||
Request.prototype.redirect = function(res){ | ||
var url = this.protocol + res.headers.location; | ||
var url = res.headers.location; | ||
if (!~url.indexOf('://')) url = this.protocol + url; | ||
delete this.req; | ||
@@ -408,0 +409,0 @@ this.method = 'HEAD' == this.method |
{ | ||
"name": "superagent" | ||
, "version": "0.8.0" | ||
, "version": "0.8.1" | ||
, "description": "elegant & feature rich browser / node HTTP with a fluent API" | ||
@@ -5,0 +5,0 @@ , "keywords": ["http", "ajax", "request", "agent"] |
89876
2669