Ignore:
Timestamp:
Aug 11, 2011, 3:23:10 PM (13 years ago)
Author:
djay
Message:

Releasing 1.2.0 version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1.2/zoo-kernel/service_internal.c

    r301 r307  
    15871587        else{
    15881588          if(strncmp(tmp2->value,"text/xml",8)==0 ||
    1589              strncmp(tmp2->value,"application/vnd.google-earth.kml",32)!=0){
     1589             strncmp(tmp2->value,"application/vnd.google-earth.kml",32)==0){
    15901590            xmlDocPtr doc =
    15911591              xmlParseMemory(BAD_CAST toto->value,strlen(BAD_CAST toto->value));
     
    18131813            else if(strcasecmp(mtype->value,"application/json")==0)
    18141814              ext=createMap("extension","js");
    1815             else if(strncmp(mtype->value,"application/vnd.google-earth.kml",32)!=0)
     1815            else if(strncmp(mtype->value,"application/vnd.google-earth.kml",32)==0)
    18161816              ext=createMap("extension","kml");
     1817            else if(strncmp(mtype->value,"image/",6)==0)
     1818              ext=createMap("extension",strstr(mtype->value,"/")+1);
    18171819            else
    18181820              ext=createMap("extension","txt");
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png