parameters: (self)
return_statement: return headers
docstring: Generate the headers that will be used in the refresh request.
docstring_summary: Generate the headers that will be used in the refresh request.
docstring_tokens: Generate the headers that will be used in the refresh request .
function: def _generate_refresh_request_headers(self):
      """Generate the headers that will be used in the refresh request."""
      headers = {
          'content-type': 'application/x-www-form-urlencoded',
      }
  
      if self.user_agent is not None:
        headers['user-agent'] = self.user_agent
  
      return headers
function_tokens: def _generate_refresh_request_headers ( self ) : headers = { 'content-type' : 'application/x-www-form-urlencoded' , } if self . user_agent is not None : headers [ 'user-agent' ] = self . user_agent return headers