Mechanical response of a liquid foam in an air injection or an acoustic wave.