From 027620277a0582616808fd6c983aaf57195eb9c6 Mon Sep 17 00:00:00 2001 From: Anton Thomasson Date: Wed, 9 Dec 2020 20:04:15 +0100 Subject: [PATCH] Workaround: set Accept-Encoding to identity --- src/ippprinter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ippprinter.cpp b/src/ippprinter.cpp index b7c313f..0607d83 100644 --- a/src/ippprinter.cpp +++ b/src/ippprinter.cpp @@ -563,6 +563,7 @@ QNetworkRequest IppPrinter::mkReq() { request.setUrl(httpUrl()); request.setHeader(QNetworkRequest::ContentTypeHeader, "application/ipp"); request.setHeader(QNetworkRequest::UserAgentHeader, "SeaPrint " SEAPRINT_VERSION); + request.setRawHeader("Accept-Encoding", "identity"); return request; }