A man who repeatedly kicked a woman in the head after she allegedly doused him in urine has been jailed for eight months.