better handling of server errors, automatic 200 vs 204