diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-21 15:12:21 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-01-21 15:12:21 +0200 |
commit | e37c2e34ce13a42db60aeb1ede222381c0f4592e (patch) | |
tree | fae28676284abeb41207a29924d7c66208c1c775 /include | |
parent | Convert 'if' to 'else if' to remove a no-op (diff) | |
download | nheko-e37c2e34ce13a42db60aeb1ede222381c0f4592e.tar.xz |
Use the Accept-Content header to enable response compression
fixes #86 fixes #89
Diffstat (limited to 'include')
-rw-r--r-- | include/MatrixClient.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/MatrixClient.h b/include/MatrixClient.h index 826b4e18..6847ab22 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h @@ -142,6 +142,7 @@ signals: private: QNetworkReply *makeUploadRequest(QSharedPointer<QIODevice> iodev); + QByteArray uncompress(const QByteArray &data); // Client API prefix. QString clientApiUrl_; |