def _make_req(node, part, method, path, _headers, stype, conn_timeout=5, response_timeout=15):
 with Timeout(conn_timeout):
  conn = http_connect(node['ip'], node['port'], node['device'], part, method, path, headers=_headers)
 with Timeout(response_timeout):
  resp = conn.getresponse()
  resp.read()
 if (not is_success(resp.status)):
  raise DirectClientException(stype, method, node, part, path, resp)
 return resp

def _make_req ( node , part , method , path , _headers , stype , conn_timeout = 5 , response_timeout = 15 ) : with Timeout ( conn_timeout ) : conn = http_connect ( node [ 'ip' ] , node [ 'port' ] , node [ 'device' ] , part , method , path , headers = _headers ) with Timeout ( response_timeout ) : resp = conn . getresponse ( ) resp . read ( ) if ( not is_success ( resp . status ) ) : raise DirectClientException ( stype , method , node , part , path , resp ) return resp
make request to backend storage node .