@sasjs/core 4.58.0 → 4.58.2
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/package.json +1 -1
- package/viya/mv_createfile.sas +3 -2
package/package.json
CHANGED
package/viya/mv_createfile.sas
CHANGED
|
@@ -202,7 +202,8 @@ proc http method='POST' out=&fname1 &oauth_bearer in=&fref
|
|
|
202
202
|
%else %do;
|
|
203
203
|
ct="&ctype"
|
|
204
204
|
%end;
|
|
205
|
-
%if "&ext"="HTML" or "&ext"="CSS" or "&ext"="JS" or "&ext"="
|
|
205
|
+
%if "&ext"="HTML" or "&ext"="CSS" or "&ext"="JS" or "&ext"="PNG"
|
|
206
|
+
or "&ext"="SVG" %then %do;
|
|
206
207
|
url="&url%str(&)typeDefName=file";
|
|
207
208
|
%end;
|
|
208
209
|
%else %do;
|
|
@@ -214,7 +215,7 @@ proc http method='POST' out=&fname1 &oauth_bearer in=&fref
|
|
|
214
215
|
"Authorization"="Bearer &&&access_token_var"
|
|
215
216
|
%end;
|
|
216
217
|
"Content-Disposition"=
|
|
217
|
-
%if "&ext"="SVG" %then %do;
|
|
218
|
+
%if "&ext"="SVG" or "&ext"="HTML" %then %do;
|
|
218
219
|
"filename=""&name"";"
|
|
219
220
|
%end;
|
|
220
221
|
%else %do;
|