I'm assuming this question is about if a woman starts making fun of you, or starts throwing a hissy fit, and sees how you react. If you don't do anything, you have no self-respect, and if you get visibly bothered, you're too sensitive. I can't tell you the spot-on answer, but there's a way that you can kind of go in between those two extremes.
You have to maintain this playful vibe throughout the interaction. If she says something that's just straight up mean, (gawsh, i don't know how to describe it), you just shake your head disapprovingly and say something like "your mama must've been a sweeter lady than that, where are your manners young lady?" You just keep calling her out on that stuff with a playful vibe, so if she was joking, it works, and if she was really calling you out, you're bringing the interaction back to a playful vibe. It's a win/win way of doing things.