Skip to content

Commit

Permalink
Workaround: set Accept-Encoding to identity
Browse files Browse the repository at this point in the history
  • Loading branch information
attah committed Dec 13, 2020
1 parent 01b2828 commit 0276202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ippprinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0276202

Please sign in to comment.