• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera Touch makes unnecessary HTTP requests when downloading, breaking "one time download" sites

    Opera Touch
    4
    15
    4011
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dustball
      dustball last edited by

      OPT/2.8.4
      Android 11, Pixel 3a, Dec 1 update.

      When downloading a file, Opera Touch fetches the file twice - once to show the download menu - and once to download the actual file.

      On sites that delete file after 1st download, this breaks it.

      I suspect OT is doing this just to find out some meta data (like size of file) but of course this is what HTTP HEAD / HTTP OPTIONS is for, don't do a GET request! This kills the crab.

      How to reproduce:

      1. Upload tiny file to 8mb.video
      2. Once it finishes, download with Opera Touch

      Observed behavior:
      Site says file has been deleted

      Expected behavior (Chrome, etc):
      Download works

      Please use HTTP HEAD instead of GET! That's what its there for:

      https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD

      Reply Quote 1
        leocg 1 Reply Last reply
      • leocg
        leocg Moderator Volunteer @dustball last edited by

        @dustball It's working fine here.

        Reply Quote 0
          dustball 1 Reply Last reply
        • dustball
          dustball @leocg last edited by

          @leocg Are you sure it didn't download the "You've already downloaded this file error" HTML file (around 4k) thinking it was a media file? Does the media file play? Or is it broken and suspiciously small...

          Reply Quote 0
            leocg 1 Reply Last reply
          • leocg
            leocg Moderator Volunteer @dustball last edited by

            @dustball You said that the file couldn't be downloaded and that a message saying that the file was already downloaded would show up.

            Well, I didn't see such message and the file was downloaded. I didn't try to open the file.

            And when I tried to use the same link again, I got the message that the file had been removed.

            Reply Quote 0
              dustball 2 Replies Last reply
            • dustball
              dustball @leocg last edited by

              @leocg Yes, in hindsight, the original post should say:

              Observed behavior:
              It downloads an error page (HTML) in place of the actual media file.

              Sorry about that, my mistake.

              I just upgraded to latest Android 11 and reproduced it.

              I can also see different behavior from Chrome and Opera Touch on the server side, OPT clearly makes 2 requests. And the second time it gets a 302 to the error page, of course. There is no way it could work with the current behavior.

              This affects anyone using apache module mod_xsendfile, and any other site that deletes-on-get.

              Reply Quote 0
                1 Reply Last reply
              • dustball
                dustball @leocg last edited by

                @leocg Any update on this?

                Reply Quote 0
                  leocg 1 Reply Last reply
                • leocg
                  leocg Moderator Volunteer @dustball last edited by

                  @dustball Why would I have updates?

                  Reply Quote 0
                    dustball 1 Reply Last reply
                  • dustball
                    dustball @leocg last edited by

                    @leocg Am I missing something here?

                    • I reported a bug
                    • It still exists
                    • I haven't heard any kind of "Thanks! We'll put this on our list and expect to fix it by XYZ date" or similar

                    Like, what's the status? Has this been reported in the internal bug tracking system? Has a developer been assigned? Has worked started on the fix? Is there an ETA for the fix to be included in an upcoming release? Etc

                    Reply Quote 0
                      leocg 1 Reply Last reply
                    • leocg
                      leocg Moderator Volunteer @dustball last edited by

                      @dustball Right, but why are you asking me? I don't know, I'm just an user.

                      Reply Quote 0
                        dustball 1 Reply Last reply
                      • dustball
                        dustball @leocg last edited by

                        @leocg

                        1. It has a "Moderator" flag next to your name which suggests an affiliation of official capacity
                        2. You responded to the bug report in such a way that suggested an affiliation of official capacity
                        3. Who else would I ask?

                        Let's start over: This bug is causing problems. I'd like to see it get fixed. What do you suggest I do. Is there an escalation path I am not aware of?

                        Thank you very much.

                        Reply Quote 0
                          leocg 1 Reply Last reply
                        • leocg
                          leocg Moderator Volunteer @dustball last edited by

                          @dustball In forums, moderators are, usually, just regular users with some powers to help keeping the forum organized.

                          You don't ask anyone. You already posted about your problem and now you wait to see if anyone replies with a solution or explanation.

                          From times to times you can come here and post to remember the others abou the existence of this topic.

                          Reply Quote 0
                            dustball 1 Reply Last reply
                          • dustball
                            dustball @leocg last edited by

                            @leocg

                            Solution? Explanation? Huh?

                            The explanation is that Opera Touch is broken and needs to be fixed. That also is the solution.

                            I thought that posting here would act as a way to get issues into the internal bug tracker. Is that not true?

                            This seems like a waste of time to be honest.

                            I'll ask again: is there no better path for escalation?

                            Reply Quote 0
                              leocg 1 Reply Last reply
                            • leocg
                              leocg Moderator Volunteer @dustball last edited by

                              @dustball People from Opera read the forum and, in many situations, issues reported here are included in the bug tracking system but there are no guarantees.

                              To have your problem include in the bug tracking system, you need to use the Report a Problem Tool.

                              Although people from Opera may reply here eventually, this forum is mainly for users to try to help each other.

                              Reply Quote 0
                                1 Reply Last reply
                              • IZSkiSurfer
                                IZSkiSurfer last edited by leocg

                                I have quite the same issue: Two requests triggered.

                                But in my case the first request is the Post (with data) as wanted which generates the file on the serverside and delivers Content-Disposition along with the filename.
                                Opera shows the download dialog.
                                Then a second request is triggered as a Get (without the Post data obviously) and garbage is downloaded since the server needs at least the originally posted data.

                                I tried replacing the whole download process by a blob, via adding and removing an "a" link on the fly but there the next Opera Touch appears: the download attribute containing the name of the file is ignored and I end up with files name "(1)", "(2)", etc. without an extension.

                                Since Opera seems to give a shit on bug reports I'm going to block users with OPT at all as I do with the old IE - on a site with a few 1000 daily users it's a shame but they will blame it on Opera.

                                Reply Quote 0
                                  1 Reply Last reply
                                • Joiseypeyton
                                  Joiseypeyton Banned last edited by leocg This post is deleted!
                                  Reply Quote 0
                                    1 Reply Last reply
                                  • Locked by  leocg leocg 
                                  • First post
                                    Last post

                                  Computer browsers

                                  • Opera for Windows
                                  • Opera for Mac
                                  • Opera for Linux
                                  • Opera beta version
                                  • Opera USB

                                  Mobile browsers

                                  • Opera for Android
                                  • Opera Mini
                                  • Opera Touch
                                  • Opera for basic phones

                                  • Add-ons
                                  • Opera account
                                  • Wallpapers
                                  • Opera Ads

                                  • Help & support
                                  • Opera blogs
                                  • Opera forums
                                  • Dev.Opera

                                  • Security
                                  • Privacy
                                  • Cookies Policy
                                  • EULA
                                  • Terms of Service

                                  • About Opera
                                  • Press info
                                  • Jobs
                                  • Investors
                                  • Become a partner
                                  • Contact us

                                  Follow Opera

                                  • Opera - Facebook
                                  • Opera - Twitter
                                  • Opera - YouTube
                                  • Opera - LinkedIn
                                  • Opera - Instagram

                                  © Opera Software 1995-