Index: trunk/zoo-project/HISTORY.txt
===================================================================
--- trunk/zoo-project/HISTORY.txt	(revision 945)
+++ trunk/zoo-project/HISTORY.txt	(revision 946)
@@ -1,3 +1,5 @@
 Version 1.8.0-dev
+  * Add the optional handleText parameter to provide pure text for
+  complex data node with mimetype="text/*"
   * Fix issue in case JavaScript support is activated
   * Fix issue with GDAL profile service
Index: trunk/zoo-project/zoo-kernel/request_parser.c
===================================================================
--- trunk/zoo-project/zoo-kernel/request_parser.c	(revision 945)
+++ trunk/zoo-project/zoo-kernel/request_parser.c	(revision 946)
@@ -1071,5 +1071,6 @@
 				}
 			      else if (cur5 != NULL){
-				if(ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){
+				map* handleText=getMapFromMaps(*main_conf,"main","handleText");
+				if(handleText!=NULL && strcasecmp(handleText->value,"true")==0 && ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){
 				  xmlChar *tmp = xmlNodeListGetRawString (doc,
 									  cur4->xmlChildrenNode,
