Obsolete Members for DownloadRequest

The following members of QML type DownloadRequest are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Property Documentation

mimeType : string

A hint of the remote resource's mime-type.

Note: There are no scenarios in which this is useful to applications. In the case where a download request is triggered by clicking on an anchor element with a download attribute, the mime-type is guessed from the extension of the filename returned by suggestedFilename. The mime-type might be accurate in the case where a download request is triggered by the value of the Content-Disposition header in a response, but this response is discarded and the application might receive a different response when it tries to download the resource itself. Applications should not use this to make any decisions at all.


shouldPrompt : bool

This is always false.