The proper response is, “I didn’t open the door for you because you’re a woman. I did it because I am a gentleman.”
That is great! I will use that.