Index: /trunk/zoo-kernel/service_internal_python.c
===================================================================
--- /trunk/zoo-kernel/service_internal_python.c	(revision 68)
+++ /trunk/zoo-kernel/service_internal_python.c	(revision 69)
@@ -2,5 +2,5 @@
  * Author : Gérald FENOY
  *
- * Copyright (c) 2009-2010 GeoLabs SARL
+ * Copyright (c) 2009-2011 GeoLabs SARL
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -337,5 +337,4 @@
 	res=createMap(PyString_AsString(key),PyString_AsString(value));
     }
-    Py_DECREF(value);
     Py_DECREF(key);
   }
Index: /trunk/zoo-kernel/zoo_loader.c
===================================================================
--- /trunk/zoo-kernel/zoo_loader.c	(revision 68)
+++ /trunk/zoo-kernel/zoo_loader.c	(revision 69)
@@ -2,5 +2,5 @@
  * Author : Gérald FENOY
  *
- *  Copyright 2008-2009 GeoLabs SARL. All rights reserved.
+ *  Copyright 2008-2011 GeoLabs SARL. All rights reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -109,5 +109,5 @@
 
   map* tmpMap=NULL;
-    
+
   if(strncmp(cgiContentType,"text/xml",8)==0){
     char *buffer=new char[cgiContentLength+1];
@@ -144,4 +144,14 @@
   }
 
+  if(strncasecmp(cgiRequestMethod,"post",4)==0 && getMap(tmpMap,"request")==NULL){
+    char *tmpKey=strdup(tmpMap->name);
+    char *tmpValue=strdup(tmpMap->value);
+    freeMap(&tmpMap);
+    free(tmpMap);
+    char* tmpValueFinal=(char*) malloc((strlen(tmpKey)+strlen(tmpValue)+2)*sizeof(char));
+    sprintf(tmpValueFinal,"%s=%s",tmpKey,tmpValue);
+    tmpMap=createMap("request",tmpValueFinal);
+    free(tmpValueFinal);
+  }
   /**
    * In case that the POST method was used, then check if params came in XML
Index: /trunk/zoo-kernel/zoo_service_loader.c
===================================================================
--- /trunk/zoo-kernel/zoo_service_loader.c	(revision 68)
+++ /trunk/zoo-kernel/zoo_service_loader.c	(revision 69)
@@ -2,5 +2,5 @@
  * Author : Gérald FENOY
  *
- *  Copyright 2008-2009 GeoLabs SARL. All rights reserved.
+ *  Copyright 2008-2011 GeoLabs SARL. All rights reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1343,4 +1343,13 @@
 	      }
 	      xmlChar* mv=xmlNodeListGetString(doc,cur4->xmlChildrenNode,1);
+	      if(mv==NULL){
+		xmlDocPtr doc1=xmlNewDoc(BAD_CAST "1.0");
+		int buffersize;
+		xmlDocSetRootElement(doc1,cur4->xmlChildrenNode);
+		xmlDocDumpFormatMemoryEnc(doc1, &mv, &buffersize, "utf-8", 1);
+		char size[1024];
+		sprintf(size,"%d",buffersize);
+		addToMap(tmpmaps->content,"size",size);
+	      }
 	      addToMap(tmpmaps->content,"value",(char*)mv);
 	      xmlFree(mv);
