mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
find redirected/301 doc url
This commit is contained in:
parent
8302fc3fd1
commit
50aa6fea91
@ -160,7 +160,7 @@ bool QgsHelp::urlExists( const QString &url )
|
||||
if ( socket.waitForReadyRead() )
|
||||
{
|
||||
QByteArray bytes = socket.readAll();
|
||||
if ( bytes.contains( "200 OK" ) || bytes.contains( "302 Found" ) )
|
||||
if ( bytes.contains( "200 OK" ) || bytes.contains( "302 Found" ) || bytes.contains( "301 Moved" ) )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user