How Electron Handles 'application/pdf' Headers


#1

Hey everyone,

I recently upgrade electron to v0.33.0
I had a block of code that would detect for the header ‘application/pdf’ and then would inject a url with the pdf into an iframe on the page. Now, when it intercepts a ‘application/pdf’ it brings down a prompt to save the pdf. I my original code was working perfectly fine on v0.30.4 but I needed to get Chrome 45 so I had to upgrade. Could anyone inform me on what the change was? Im trying to look everywhere but can’t figure it out. Thanks for your help in advance!

-Alec