def _get_object_info(app, env, account, container, obj, swift_source=None):
 cache_key = get_cache_key(account, container, obj)
 info = env.get('swift.infocache', {}).get(cache_key)
 if info:
  return info
 path = ('/v1/%s/%s/%s' % (account, container, obj))
 req = _prepare_pre_auth_info_request(env, path, swift_source)
 resp = req.get_response(app)
 info = set_object_info_cache(app, env, account, container, obj, resp)
 return info

def _get_object_info ( app , env , account , container , obj , swift_source = None ) : cache_key = get_cache_key ( account , container , obj ) info = env . get ( 'swift.infocache' , { } ) . get ( cache_key ) if info : return info path = ( '/v1/%s/%s/%s' % ( account , container , obj ) ) req = _prepare_pre_auth_info_request ( env , path , swift_source ) resp = req . get_response ( app ) info = set_object_info_cache ( app , env , account , container , obj , resp ) return info
get the info about object note: this call bypasses auth .