We are using Moji with a MogileFS cluster that uses Apache as its storage backend.
And we found Apache returns 201 instead of 200 when the file was created, and it makes FileUploadOutputStream throws an IOException even the file has been uploaded to storage node correctly.
A patch for this issue is attached. I think this can help others who also using Apache as their MogileFS storage backend.
Support for storage backend like Apache that reponses a "201 Created"…
… instead of "200 OK"