def set_cookie(self, cookie):
        self.cookies[cookie.key] = cookie
Get event counts from puppetdb.
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/http.py/Response.set_cookie--crossover with--dataset/ETHPy150Open voxpupuli/pypuppetdb/pypuppetdb/api/__init__.py/BaseAPI.event_counts