Index: branches/prototype-v0/zoo-project/zoo-kernel/request_parser.c
===================================================================
--- branches/prototype-v0/zoo-project/zoo-kernel/request_parser.c	(revision 863)
+++ branches/prototype-v0/zoo-project/zoo-kernel/request_parser.c	(revision 864)
@@ -779,4 +779,6 @@
 				  xmlGetProp (cur3, BAD_CAST "href");
 				HINTERNET bInternet, res1, res;
+				maps *tmpConf=createMaps("main");
+				tmpConf->content=createMap("memory","load");
 				bInternet = InternetOpen (
 #ifndef WIN32
@@ -797,6 +799,8 @@
 						   INTERNET_FLAG_NO_CACHE_WRITE,
 						   0,
-						   *main_conf);
+						   tmpConf);
 				processDownloads (&bInternet);
+				freeMaps(&tmpConf);
+				free(tmpConf);
 				char *tmp =
 				  (char *)
Index: branches/prototype-v0/zoo-project/zoo-kernel/ulinet.c
===================================================================
--- branches/prototype-v0/zoo-project/zoo-kernel/ulinet.c	(revision 863)
+++ branches/prototype-v0/zoo-project/zoo-kernel/ulinet.c	(revision 864)
@@ -503,6 +503,4 @@
       else
 	sprintf(filename,"/%s/ZOO_Cache%s", tmpPath->value,tmpUuid);
-      fprintf(stderr," *** %s %d %s",__FILE__,__LINE__,filename);
-      fflush(stderr);
       free(tmpUuid);
       hInternet->ihandle[hInternet->nb].filename=strdup(filename);
Index: branches/prototype-v0/zoo-project/zoo-services/ogr/base-vect-ops-py/cgi-env/ogr_sp.py
===================================================================
--- branches/prototype-v0/zoo-project/zoo-services/ogr/base-vect-ops-py/cgi-env/ogr_sp.py	(revision 863)
+++ branches/prototype-v0/zoo-project/zoo-services/ogr/base-vect-ops-py/cgi-env/ogr_sp.py	(revision 864)
@@ -99,11 +99,5 @@
         geometry=[]
         ds = osgeo.ogr.Open(obj["cache_file"])
-        if sql is not None:
-            if sql.count("from")==0:
-                layerName=ds.GetLayerByIndex(0).GetName()
-                sql+=" from "+layerName
-            lyr=ds.ExecuteSQL( sql, None, None )
-        else:
-            lyr = ds.GetLayer(0)
+        lyr = ds.GetLayer(0)
         feat = lyr.GetNextFeature()
         while feat is not None:
