Normal file downloads

    First, I would like to say thank you so much for correctly explaining the causes of the problem to the xn__p2a habrayuzer and apologize to the other habruzers for some incompetence in the issue that took place.

    Probably, all users of this browser more than once faced the following problem: when trying to download a file, we get the following:
    image
    once again I caught this bug when I wanted to download flash player via just_ what_ delivered Opera 10.60 and I was very disappointed ...

    Who's guilty?


    The type given by the web server to the browser is responsible for such a thing as mime type . It is by looking at the mime type that the browser must determine what to do with the download file. This is the type of web server is transmitted in HTTP headers, namely line content-type: . By default, the opera believes the server headers, but those, for unclear reasons, try to stick the wrong mime type specifically to the opera. The browser strictly follows the standards and acts according to the type of data provided to it.
    • The bottom line is to wean the opera from believing in all kinds of bad servers and acting according to the extension of the downloaded file

    The “trust server types” parameter is responsible for this, which does just the opposite, and if true, the opera does NOT trust the servers, but looks at the file extension (the reasons for this inconsistency are still not clear to me), and this is exactly what we need.

    What to do?


    1. We go here: "opera: config # trust server types" (just paste this into the address bar without quotes)
    2. Put a tick, click save.

    We admire the result:
    image
    Thank you all for your attention, good luck!

    Also popular now: