Workaround: set Accept-Encoding to identity

This commit is contained in:
Anton Thomasson 2020-12-09 20:04:15 +01:00
parent 01b2828838
commit 70457d5c71

View file

@ -563,6 +563,7 @@ QNetworkRequest IppPrinter::mkReq() {
request.setUrl(httpUrl()); request.setUrl(httpUrl());
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/ipp"); request.setHeader(QNetworkRequest::ContentTypeHeader, "application/ipp");
request.setHeader(QNetworkRequest::UserAgentHeader, "SeaPrint " SEAPRINT_VERSION); request.setHeader(QNetworkRequest::UserAgentHeader, "SeaPrint " SEAPRINT_VERSION);
request.setRawHeader("Accept-Encoding", "identity");
return request; return request;
} }