def send_request(self, endpoint, scraper_config, headers=None):
    kwargs = {}
    if headers:
        kwargs['headers'] = headers
    http_handler = self.get_http_handler(scraper_config)
    return http_handler.get(endpoint, stream=True, **kwargs)
def send_request(self, endpoint, scraper_config, headers=None):
    kwargs = {}
    if headers:
        kwargs['headers'] = headers
    http_handler = self.get_http_handler(scraper_config)
    return http_handler.get(endpoint, stream=True, **kwargs)