@sasjs/core 4.4.0 → 4.4.1
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.
- package/base/mp_streamfile.sas +3 -3
- package/package.json +1 -1
package/base/mp_streamfile.sas
CHANGED
|
@@ -97,15 +97,15 @@ run;
|
|
|
97
97
|
%put %str(ERR)OR: Content Type &contenttype NOT SUPPORTED by &sysmacroname!;
|
|
98
98
|
%return;
|
|
99
99
|
%end;
|
|
100
|
-
%else %if &contentype=WOFF %then %do;
|
|
100
|
+
%else %if &contentype=WOFF or &contentype=WOFF2 or &contentype=TTF %then %do;
|
|
101
101
|
%if &platform=SASMETA and &streamweb=1 %then %do;
|
|
102
102
|
data _null_;
|
|
103
|
-
rc=stpsrv_header('Content-type',
|
|
103
|
+
rc=stpsrv_header('Content-type',"font/%lowcase(&contenttype)");
|
|
104
104
|
run;
|
|
105
105
|
%end;
|
|
106
106
|
%else %if &platform=SASVIYA %then %do;
|
|
107
107
|
filename _webout filesrvc parenturi="&SYS_JES_JOB_URI"
|
|
108
|
-
contenttype=
|
|
108
|
+
contenttype="font/%lowcase(&contenttype)";
|
|
109
109
|
%end;
|
|
110
110
|
%end;
|
|
111
111
|
%else %if &contentype=XLSX %then %do;
|
package/package.json
CHANGED