I'm looking for a word or phrase that describes someone answering a question by intentionally stating the obvious or taking the question too literally, thereby insulting the person who asked the question (by implying that they asked a stupid question).
For example:
Questioner (holding package): "Who is this package for?"
Respondent: "Whoever it's addressed to"