It's possible to change Content-type in EXEC HTML?
I'm having problem with Cloudflare because the MIME types.
Example:
test.cbl:
$set preprocess(htmlpp) endp
identification division.
program-id. test.
working-storage section.
77 ws-color pic x(10).
77 ws-font pic x(10).
77 ws-fontsize pic x(10).
procedure division.
move "#000000" to ws-color
move "Verdana" to ws-font
move "10px" to ws-fontsize
exec html
copy "style.css".
end-exec
stop run.
style.css:
.style1 {
font-family: :ws-font;
font-size: :ws-fontsize;
color: :ws-color;
}
When i run:
cobrun test
Content-type: text/html
.style1 {
font-family: Verdana;
font-size: 10px;
color: #000000;
}
Is there a way to change "Content-type: text/html" to "Content-type: text/css"?
Thanks for help.
#ServerExpress
#exechtml
#content-type
#html
#COBOL