code: def send(self, method="GET", *args, **kwargs):
          
          proxies = self._get_request_proxies()
  
          try:
              if method.upper() in self.allowed_methods:
                  kwargs['timeout'] = kwargs['timeout'] if 'timeout' in kwargs else 5
                  return request(method, proxies=proxies, headers=self.headers, cookies=self.cookies, *args, **kwargs)
              else:
                  raise RequestHandlerException("Unsupported method: {}".format(method))
          except ProxyError:
              # TODO: Apply fail over for bad proxies or drop them
              raise RequestHandlerException("Error connecting to proxy")
          except (ConnectTimeout, ReadTimeout):
              raise RequestHandlerException("Connection with server timed out")
          except NewConnectionError:
              raise RequestHandlerException("Address cannot be resolved")
              # New connection error == Can't resolve address
          except ConnectionError:
              # TODO: Increase delay
              raise RequestHandlerException("Error connecting to host")
          except TooManyRedirects:
              raise RequestHandlerException("Infinite redirects detected - too many redirects error")
          except UnicodeDecodeError:
              # Following issue #19, apparently some sites do not use utf-8 in their uris :<>
              pass
docs: Send a GET/POST/HEAD request using the object's proxies and headers
          :param method: Method to send request in. GET/POST/HEAD