Changeset 889 for trunk/zoo-project/zoo-kernel/response_print.c
- Timestamp:
- Jan 3, 2019, 12:44:57 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/response_print.c
r820 r889 2611 2611 map* tmpIV=getMap(request_inputs1,"RawDataOutput"); 2612 2612 if(tmpIV!=NULL){ 2613 tmpI=getMaps(request_outputs,tmpIV->value); 2613 tmpI=getMaps(request_outputs,tmpIV->value); 2614 2614 } 2615 2615 if(tmpI==NULL) 2616 2616 tmpI=request_outputs; 2617 2617 2618 elements* e=getElements(s->outputs,tmpI->name); 2618 2619 if(e!=NULL && strcasecmp(e->format,"BoundingBoxData")==0){ … … 2621 2622 map *gfile=getMap(tmpI->content,"generated_file"); 2622 2623 if(gfile!=NULL){ 2623 gfile=getMap(tmpI->content,"expected_generated_file"); 2624 gfile=getMap(tmpI->content,"expected_generated_file"); 2624 2625 if(gfile==NULL){ 2625 2626 gfile=getMap(tmpI->content,"generated_file"); … … 2627 2628 readGeneratedFile(m,tmpI->content,gfile->value); 2628 2629 } 2629 toto=getMap(tmpI->content,"value"); 2630 toto=getMap(tmpI->content,"value"); 2630 2631 if(toto==NULL){ 2631 2632 char tmpMsg[1024]; … … 2633 2634 errorException(m,tmpMsg,"InvalidParameterValue","RawDataOutput"); 2634 2635 return; 2635 } 2636 map* fname=getMapFromMaps(tmpI,tmpI->name,"filename"); 2636 } 2637 map* fname=getMapFromMaps(tmpI,tmpI->name,"filename"); 2637 2638 if(fname!=NULL) 2638 2639 printf("Content-Disposition: attachment; filename=\"%s\"\r\n",fname->value);
Note: See TracChangeset
for help on using the changeset viewer.