mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
parent
e1abcc684a
commit
4ca6de2b54
55 changed files with 485 additions and 472 deletions
|
@ -176,11 +176,11 @@ bool Connection::acceptsGzipEncoding(QString codings)
|
|||
if (list.isEmpty())
|
||||
return false;
|
||||
|
||||
const bool canGzip = isCodingAvailable(list, QString::fromLatin1("gzip"));
|
||||
const bool canGzip = isCodingAvailable(list, u"gzip"_qs);
|
||||
if (canGzip)
|
||||
return true;
|
||||
|
||||
const bool canAny = isCodingAvailable(list, QString::fromLatin1("*"));
|
||||
const bool canAny = isCodingAvailable(list, u"*"_qs);
|
||||
if (canAny)
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue