imbo/imbo — pull request #124 by christeredvartsen (2012-12-13 20:28:05+00:00)
Title: Replace an image that exists when adding

With this PR Imbo will no longer respond with 400 Bad Request if a client tries to add an image that already exists. Instead it will respond with 200 OK with a similar response body as when the image does not exist.

Also added a new method to both the database and storage interfaces that
can be used to check if an image already exists. Closes #109