Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #37 from raid5/master

Fixes issue 33
  • Loading branch information...
commit e9a35c96827a723a58cf31fa95f84101a0e29376 2 parents 5b30893 + 9fbf076
@danwrong danwrong authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/restler.js
View
2  lib/restler.js
@@ -69,7 +69,7 @@ function Request(uri, options) {
Request.prototype = new process.EventEmitter();
mixin(Request.prototype, {
_isRedirect: function(response) {
- return ([301, 302].indexOf(response.statusCode) >= 0);
+ return ([301, 302, 303].indexOf(response.statusCode) >= 0);
},
_fullPath: function() {
var path = this.url.pathname || '/';
Please sign in to comment.
Something went wrong with that request. Please try again.