(self)
return headers
Generate the headers that will be used in the refresh request.
Generate the headers that will be used in the refresh request.
Generate the headers that will be used in the refresh request .
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
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