#38: support exceptions for text/plain response media type