@sasjs/core 4.18.10 → 4.18.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,12 +105,20 @@ run;
105
105
  %end;
106
106
  %end;
107
107
  %else %if &contentype=HTML %then %do;
108
- %if &platform=SASVIYA %then %do;
108
+ %if (&platform=SASMETA and &streamweb=1) %then %do;
109
+ data _null_;
110
+ rc=stpsrv_header('Content-type','text/html');
111
+ rc=stpsrv_header('Content-disposition',"attachment; filename=&outname");
112
+ run;
113
+ %end;
114
+ %else %if &platform=SASVIYA %then %do;
109
115
  filename &outref filesrvc parenturi="&SYS_JES_JOB_URI" name="_webout.json"
110
- contenttype="text/html";
116
+ contenttype="text/html"
117
+ contentdisp="attachment; filename=&outname";
111
118
  %end;
112
119
  %else %if &platform=SASJS %then %do;
113
120
  %mfs_httpheader(Content-type,text/html)
121
+ %mfs_httpheader(Content-disposition,%str(attachment; filename=&outname))
114
122
  %end;
115
123
  %end;
116
124
  %else %if &contentype=TEXT %then %do;
package/package.json CHANGED
@@ -36,5 +36,5 @@
36
36
  "@sasjs/cli": "3.6.0",
37
37
  "@sasjs/core": "4.4.7"
38
38
  },
39
- "version": "4.18.10"
39
+ "version": "4.18.11"
40
40
  }