[fixes #5] added support for text/plain responses