def contentful_user_agent
      header = {
        'sdk' => sdk_info,
        'app' => app_info,
        'integration' => integration_info,
        'platform' => platform_info,
        'os' => os_info
      }

      result = []
      header.each do |key, values|
        next unless values[:name]
        result << format_user_agent_header(key, values)
      end
      result.join(' ')
    end
def contentful_user_agent
      header = {
        'sdk' => sdk_info,
        'app' => app_info,
        'integration' => integration_info,
        'platform' => platform_info,
        'os' => os_info
      }

      result = []
      header.each do |key, values|
        next unless values[:name]
        result << format_user_agent_header(key, values)
      end
      result.join(' ')
    end
Returns the X-Contentful-User-Agent
 @private