mirror of
https://github.com/sasjs/core.git
synced 2026-01-16 13:00:05 +00:00
Merge pull request #394 from sasjs/pngfix
fix: support png in streaming viya apps
This commit is contained in:
3
all.sas
3
all.sas
@@ -24425,7 +24425,8 @@ proc http method='POST' out=&fname1 &oauth_bearer in=&fref
|
|||||||
%else %do;
|
%else %do;
|
||||||
ct="&ctype"
|
ct="&ctype"
|
||||||
%end;
|
%end;
|
||||||
%if "&ext"="HTML" or "&ext"="CSS" or "&ext"="JS" or "&ext"="SVG" %then %do;
|
%if "&ext"="HTML" or "&ext"="CSS" or "&ext"="JS" or "&ext"="PNG"
|
||||||
|
or "&ext"="SVG" %then %do;
|
||||||
url="&url%str(&)typeDefName=file";
|
url="&url%str(&)typeDefName=file";
|
||||||
%end;
|
%end;
|
||||||
%else %do;
|
%else %do;
|
||||||
|
|||||||
@@ -202,7 +202,8 @@ proc http method='POST' out=&fname1 &oauth_bearer in=&fref
|
|||||||
%else %do;
|
%else %do;
|
||||||
ct="&ctype"
|
ct="&ctype"
|
||||||
%end;
|
%end;
|
||||||
%if "&ext"="HTML" or "&ext"="CSS" or "&ext"="JS" or "&ext"="SVG" %then %do;
|
%if "&ext"="HTML" or "&ext"="CSS" or "&ext"="JS" or "&ext"="PNG"
|
||||||
|
or "&ext"="SVG" %then %do;
|
||||||
url="&url%str(&)typeDefName=file";
|
url="&url%str(&)typeDefName=file";
|
||||||
%end;
|
%end;
|
||||||
%else %do;
|
%else %do;
|
||||||
|
|||||||
Reference in New Issue
Block a user