If indoors, my "headgear" is removed. But out doors, normally just nod & "touch the "brim"with my thumb & forefinger
This is added to opening a door for a Lady, is how I was raised.

Puffer