docs: def _make_headers(config, kwargs):
      """ Replace the kwargs with one where the headers include our user-agent """
  
      headers = kwargs.get('headers')
      headers = headers.copy() if headers is not None else {}
      headers['User-Agent'] = config.args.user_agent
  
      kwargs = kwargs.copy()
      kwargs['headers'] = headers
      return kwargs