You were completely in the wrong. She made a mistake in almost hitting you and she was wrong to give you the finger, but so what? You unecessarily escalated it and you deliberately assaulted her. Spit is a pretty minor assault, but it is still an assault.