opscode/chef_wm — pull request #41 by seth (2012-11-28 19:28:09+00:00)
Title: Remove json_class from committed sandbox response JSON

The Chef::Sandbox class has been removed from Chef. Due to the
auto-inflation of objects when parsing JSON, Chef will crash if it
receives a response for the server with an unknown json_class field.

The inflated sandbox object is not used by Chef10 or Chef11 client
code. So it should be safe to simply remove the json_class field.

In an ideal world, we'd modify the API to return 204 or error status
code when responding to commit sandbox requests. However, Chef10
clients crash on empty body responses.