- Timestamp:
- Jul 19, 2011, 6:32:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service_internal.c
r274 r279 1529 1529 || (tmp2!=NULL && (strncmp(tmp2->value,"image/",6)==0 || 1530 1530 (strncmp(tmp2->value,"application/",12)==0) && 1531 strncmp(tmp2->value,"application/json",16)!=0))) { 1531 strncmp(tmp2->value,"application/json",16)!=0&& 1532 strncmp(tmp2->value,"application/vnd.google-earth.kml",32)!=0) 1533 )) { 1532 1534 map* rs=getMap(m->content,"size"); 1533 1535 bool isSized=true; … … 1768 1770 else if(strcasecmp(mtype->value,"application/json")==0) 1769 1771 ext=createMap("extension","js"); 1772 else if(strncmp(mtype->value,"application/vnd.google-earth.kml",32)!=0) 1773 ext=createMap("extension","kml"); 1770 1774 else 1771 1775 ext=createMap("extension","txt");
Note: See TracChangeset
for help on using the changeset viewer.