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
2015-02-11 03:23:15 -08:00
parent 6e73ccec75
commit ac4f07906c
7 changed files with 532 additions and 170 deletions

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)
}