class Async::HTTP::Cache::Response

def cacheable?

def cacheable?
	if cache_control = @headers[CACHE_CONTROL]
		if cache_control.private? || !cache_control.public?
			return false
		end
	else
		# No cache control header...
		return false
	end
	
	if set_cookie = @headers[SET_COOKIE]
		Console.logger.warn(self) {"Cannot cache response with set-cookie header!"}
		return false
	end
	
	return true
end