Use 204 status code when no content

Signed-off-by: Julien Danjou <julien@danjou.info>