M
mparker
Can a mhtml page be streamed to the browser? I tried creating a web
page that generates a mhtml file. I'm using the following headers:
Response.ContentType = "message/rfc822";
Response.AddHeader("content-disposition", "inline;
filename=test.mht");
and am dynamically building the mhtml file. Unfortunately, this
causes a browser syntax error.
The best I've been able to do is get the page to open as an attachment
- Response.AddHeader("content-disposition", "attachment;
filename=test.mht") but I get the dreaded file open dialog.
page that generates a mhtml file. I'm using the following headers:
Response.ContentType = "message/rfc822";
Response.AddHeader("content-disposition", "inline;
filename=test.mht");
and am dynamically building the mhtml file. Unfortunately, this
causes a browser syntax error.
The best I've been able to do is get the page to open as an attachment
- Response.AddHeader("content-disposition", "attachment;
filename=test.mht") but I get the dreaded file open dialog.