When you humor a person, that means that you do something out of the ordinary or trivial or unnecessary to accommodate another person.
Example: a woman is expecting a child and she is craving ice cream and sardines. Her husband goes to the store and guess what she wants even though it is out of the ordinary and even a little disgusting.
When he brings her the food that she wants, she might say:
Thanks for humoring me.
Thanks for accommodating me.
Thanks for indulging me.