Skip to content
Browse files

Merge pull request #37 from raid5/master

Fixes issue 33
  • Loading branch information...
2 parents 5b30893 + 9fbf076 commit e9a35c96827a723a58cf31fa95f84101a0e29376 @danwrong danwrong committed Nov 26, 2011
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 || '/';

0 comments on commit e9a35c9

Please sign in to comment.
Something went wrong with that request. Please try again.