[Stackoverflow] [Progress OpenEdge ABL] Chrome appending "Content-type: text/html" at the end of the downloaded xls file while Internet Explorer is wo

Status
Not open for further replies.
N

nikitabarnawal

Guest
Chrome appends extra content at the end of the xls file

Tried changing the content type

output-http-header("Content-Length":U, string(file-info:file-size)). output-http-header("Content-Disposition", "attachment; filename=" + "nikita.xls;"). /output-http-header("Content-Disposition":U, "attachment; filename=\" + url-encode(v-filename,"default") + "\" + ';')./

/* Default ContentType for worklog report only */
if v-status = 'wlrpt' then
assign v-contenttype = "application/csv":U.

Continue reading...
 
Status
Not open for further replies.
Top