File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ QgsLazInfo QgsLazInfo::fromUrl( QUrl &url )
325
325
// Fetch VLR data
326
326
{
327
327
QNetworkRequest nr ( url );
328
+ QgsSetRequestInitiatorClass ( nr, QStringLiteral ( " QgsLazInfo" ) );
328
329
nr.setAttribute ( QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::AlwaysNetwork );
329
330
nr.setAttribute ( QNetworkRequest::CacheSaveControlAttribute, false );
330
331
uint32_t firstVlrOffset = lazInfo.firstVariableLengthRecord ();
@@ -351,6 +352,7 @@ QgsLazInfo QgsLazInfo::fromUrl( QUrl &url )
351
352
bool QgsLazInfo::supportsRangeQueries ( QUrl &url )
352
353
{
353
354
QNetworkRequest nr ( url );
355
+ QgsSetRequestInitiatorClass ( nr, QStringLiteral ( " QgsLazInfo" ) );
354
356
nr.setAttribute ( QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::AlwaysNetwork );
355
357
nr.setAttribute ( QNetworkRequest::CacheSaveControlAttribute, false );
356
358
nr.setRawHeader ( " Range" , " bytes=0-0" );
You can’t perform that action at this time.
0 commit comments