Obsolete Members for OxideQDownloadRequest

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

Public Functions

(obsolete) QString mimeType() const
(obsolete) bool shouldPrompt() const

Member Function Documentation

QString OxideQDownloadRequest::mimeType() const

Returns 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.

bool OxideQDownloadRequest::shouldPrompt() const

This always returns false.