def _request(self, remaining, headers = {}):
        remaining = self._inject_extension(remaining)

        if '?' in remaining:
            context_remaining = remaining + '&context_id=' + self.context_id
        else:
            context_remaining = remaining + '?context_id=' + self.context_id
        url = '%s%s' % (self.base_url, context_remaining)
        r = HTTP_PLUGIN.cached_session.get(url, auth = (self.login, self.password), headers = headers)
        r.raise_for_status()
        try:
            return r.json()
        except __HOLE__:
            raise
dataset/ETHPy150Open gateway4labs/labmanager/labmanager/rlms/ext/rest.py/RLMS._request