]> matita.cs.unibo.it Git - helm.git/commitdiff
Raw mode now really considers compressed/not compressed
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 16 Mar 2001 15:31:10 +0000 (15:31 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 16 Mar 2001 15:31:10 +0000 (15:31 +0000)
helm/on-line/javascript/control.js

index 1b00d17e7e7606373eae82bc9a600a27df54f2fb..4136c0edfdfa9e6e41155500ded7020fade6d1ce 100644 (file)
@@ -106,7 +106,8 @@ function makeURL(type,uri,cicflags,typesflags)
   else format = mode_list[2];
   
   if (output == "raw") {
-    url = getterURL + "getciconly?uri=" + uri;
+    url = getterURL + "getciconly?uri=" + uri +
+     "&format=" + (format == "zcic" ? "gz" : "normal");
   } else {
     if (format == "html" && type == "cic") {
       keys = "C1,HC2&param.processorURL=" + escape(processorURL) +