open-io/oio-swift

empty metadata POST container request fails

jkasarherou opened this issue · 1 comments

Results in

No properties found in JSON object (HTTP 400) (STATUS 400)

To be more precise, the swift server currently does not handle the No properties found in JSON object (HTTP 400) (STATUS 400) error properly and answers a 500 Internal Error when requested with a POST and no X-Container-Meta- header.

Should we accept this kind of request as a no-op, or should we answer with a proper 400?