The mechanical response of viscous liquids