def cookies(self):
        """
        Retrieve the cookies header from all the users who visited.
        """
        return (self.get_query()
                .select(PageView.ip, PageView.headers['Cookie'])
                .where(PageView.headers['Cookie'].is_null(False))
                .tuples())
Retrieve the cookies header from all the users who visited.