def store_response(resp, response_dict):
 if (response_dict is not None):
  response_dict['status'] = resp.status
  response_dict['reason'] = resp.reason
  response_dict['headers'] = resp_header_dict(resp)

def store_response ( resp , response_dict ) : if ( response_dict is not None ) : response_dict [ 'status' ] = resp . status response_dict [ 'reason' ] = resp . reason response_dict [ 'headers' ] = resp_header_dict ( resp )
store information about an operation into a dict .