Save r in between requests and move handling of request responses into _handle and _handle_with_json methods to remove redundant code paths
Save r in between requests and move handling of request responses into _handle and _handle_with_json methods to remove redundant code paths

materials-commons/mcapi,materials-commons/mcapi