- #Microsoft edge download opens other windows pdf
- #Microsoft edge download opens other windows download
#Microsoft edge download opens other windows pdf
When we write inline pdf stream, edge browser send new request with new entry in request header "" as media content. Not sure, if it was ever fixed by Microsoft but i can confirm it is still occurring in Microsoft Edge 44.17763.1.0 version. I read about this problem on many forums which were posted 4-5 years back it means that it was happening in 4-5 years older version of edge from today Having real trouble getting this to work.
#Microsoft edge download opens other windows download
If I remove the Content-Disposition header Edge will download the pdf as a file successfully, however we need to display the PDF in the browser. I also notice there are additional GET requests to localhost:3000/reports/multiple (which is where the form submits to) after my app has served the PDF response and these requests fail as the app doesn't expect GET requests to that endpoint. I had to put the 0 instead of 'o' in "Content-Disp0sition: inline" because it was removing "positi0n: inline" no matter what I tried to do.) Set-Cookie: _APP_session= path=/ HttpOnly My app returns a response with the following I submit a form to my web app and it responds with a PDF this works in all browsers except Edge where I get the "Something's keeping this PDF from opening" error. In IE 11, Firefox and Chrome - the PDF comes up as expected but in Edge (10030) I get a "Couldn't open PDF: Something's keeping this PDF from opening." page. (using webforms, after postback of a form to a new target) and then clears the response object, sets the response content type to application/pdf, adds a header for Content-Disposition with the name of the PDF (for Chrome to save the PDF with the correct name)Īnd the write out the byte array (BinaryWrite) to the response before closing.
To follow up on this (and related to this issue: ), we develop a website that opens a new window but from the user's end, I see it on the user's end and as a developer for a web site. I know this is happening for others as well Originally posted in the Windows Insider Program forums, I found a issue with opening PDFs using the latest version of the Edge browser (10130) and wanted to know if it has been addressed in later build of Edge.