Implement S3 Style ErrorCodes and Response

This patchset also brings in lot of cleanup in terms of minioapi codebase
This commit is contained in:
Harshavardhana committed 2015-02-11 21:27:28 -08:00
1 parent 6e73ccec75
commit ac4f07906c
7 files changed
+532 -170

No files matched your search

+1
View File
@@ -46,6 +46,7 @@ func (s *MySuite) TestNonExistantObject(c *C) {
response, err := http.Get(testServer.URL + "/bucket/object")
c.Assert(err, IsNil)
c.Log(response.StatusCode)
c.Assert(response.StatusCode, Equals, http.StatusNotFound)
}