Skip to content

Commit 82649e0

Browse files
committed
Merge pull request mostlyserious#177 from domasx2/master
201 is a normal status code
2 parents 80394fc + 09b256b commit 82649e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/http-request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ HttpRequest.prototype.execute = function() {
6161
this.client.emit('riak.request.start', this.event)
6262

6363
var request = httpClient.request(meta, function(err, response) {
64-
var normalstatus = [200,204,300,304];
64+
var normalstatus = [200,201,204,300,304];
6565
if(self.event.method == 'delete') normalstatus.push(404);
6666
// Are we using a connection pool and do we have any errors ?
6767
if (meta._pool && err) return callback(err);

0 commit comments

Comments
 (0)