def getCookies(self):
        '''
        从字符串中格式化出字典形式的Cookies
        '''
        items = self.data
        for item in items:
            if 'cookie' in item or 'Cookie' in item:
                cookies = SimpleCookie(item[7:])
                return {i.key: i.value for i in cookies.values()}
        return {}
从字符串中格式化出字典形式的Cookies