@property
    def cookies(self):
        if not hasattr(self, "_cookies"):
            self._cookies = Cookie.SimpleCookie()
            if "Cookie" in self.headers:
                try:
                    self._cookies.load(
                        native_str(self.headers["Cookie"]))
                except Exception:
                    self._cookies = None
        return self._cookies
A dictionary of Cookie.Morsel objects.
dataset/ETHPy150Open toastdriven/itty/itty.py/Request.cookies