16 #ifndef QGSCPLHTTPFETCHOVERRIDER_H
17 #define QGSCPLHTTPFETCHOVERRIDER_H
21 #include <QNetworkRequest>
31 #define QgsSetCPLHTTPFetchOverriderInitiatorClass(overrider, _class) QgsSetRequestInitiatorClass(overrider, _class)
54 void setAttribute( QNetworkRequest::Attribute code,
const QVariant &value );
58 #if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3,2,0)
59 static CPLHTTPResult *callback(
const char *pszURL,
60 CSLConstList papszOptions,
61 GDALProgressFunc pfnProgress,
63 CPLHTTPFetchWriteFunc pfnWrite,
72 std::map<QNetworkRequest::Attribute, QVariant> mAttributes;
75 #endif // QGSCPLHTTPFETCHOVERRIDER_H