Suggest appropriate response codes for PUT

The response code to a PUT call should depend on the action that was
actually taken by the server.