def sync_fuzz(self, requests, delay=0, follow_cookies=True):
        ''' This is the synchronous fuzzing engine. Useful for fuzzing with
        delays and fuzzing that follows cookies'''
        self.reset()
        http_client = HTTPClient()
        cookie = None
        for request in requests:
            try:
                if follow_cookies and cookie:
                    request.headers = HTTPHelper.add_header_param(
                        request.header,
                        "Cookie",
                        cookie)
                response = http_client.fetch(request)
            except __HOLE__ as e:
                if e.response:
                    response = e.response
            self.responses.append(response)
            if follow_cookies:
                if "Set-Cookie" in response.headers:
                    cookie = response.headers["Set-Cookie"]
            if delay:
                sleep(delay)
        return self.responses
dataset/ETHPy150Open owtf/owtf/framework/http/wafbypasser/core/fuzzer.py/Fuzzer.sync_fuzz