docs: def _configure_send(self, request, **kwargs):
          # type: (ClientRequest, Any) -> Dict[str, str]
          """Configure the kwargs to use with requests.
  
          See "send" for kwargs details.
  
          :param ClientRequest request: The request object to be sent.
          :returns: The requests.Session.request kwargs
          :rtype: dict[str,str]
          """
          requests_kwargs = {}  # type: Any
          session = kwargs.pop('session', self.session)
  
          # If custom session was not create here
          if session is not self.session:
              self._init_session(session)
  
          session.max_redirects = int(self.config.redirect_policy())
          session.trust_env = bool(self.config.proxies.use_env_settings)
  
          # Initialize requests_kwargs with "config" value
          requests_kwargs.update(self.config.connection())
          requests_kwargs['allow_redirects'] = bool(self.config.redirect_policy)
          requests_kwargs['headers'] = self.config.headers.copy()
  
          proxies = self.config.proxies()
          if proxies:
              requests_kwargs['proxies'] = proxies
  
          # Replace by operation level kwargs
          # We allow some of them, since some like stream or json are controled by msrest
          for key in kwargs:
              if key in self._REQUESTS_KWARGS:
                  requests_kwargs[key] = kwargs[key]
  
          # Hooks. Deprecated, should be a policy
          def make_user_hook_cb(user_hook, session):
              def user_hook_cb(r, *args, **kwargs):
                  kwargs.setdefault("msrest", {})['session'] = session
                  return user_hook(r, *args, **kwargs)
              return user_hook_cb
  
          hooks = []
          for user_hook in self.config.hooks:
              hooks.append(make_user_hook_cb(user_hook, self.session))
  
          if hooks:
              requests_kwargs['hooks'] = {'response': hooks}
  
          # Configuration callback. Deprecated, should be a policy
          output_kwargs = self.config.session_configuration_callback(
              session,
              self.config,
              kwargs,
              **requests_kwargs
          )
          if output_kwargs is not None:
              requests_kwargs = output_kwargs
  
          # If custom session was not create here
          if session is not self.session:
              requests_kwargs['session'] = session
  
          ### Autorest forced kwargs now ###
  
          # If Autorest needs this response to be streamable. True for compat.
          requests_kwargs['stream'] = kwargs.get('stream', True)
  
          if request.files:
              requests_kwargs['files'] = request.files
          elif request.data:
              requests_kwargs['data'] = request.data
          requests_kwargs['headers'].update(request.headers)
  
          return requests_kwargs