set header text/plain snippet