adding a well-documented hack for content-type: text/plain