def __get_or_head(self, method, if_modified_since=None, headers=None, redirect_limit=5, **kwargs):
        headers = dict(headers or {})
        if if_modified_since:
            headers["If-Modified-Since"] = formatdate(datetime_to_timestamp(if_modified_since), usegmt=True)
        rq = Request(method, self.uri, None, headers)
        return rq.submit(redirect_limit=redirect_limit, **kwargs)
Issue a ``GET`` or ``HEAD`` request to this resource.
dataset/ETHPy150Open nigelsmall/httpstream/httpstream/http.py/Resource.__get_or_head