Skip to content

Commit

Permalink
response type
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Jul 28, 2023
1 parent d80052e commit f80a8f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ipp/IppPrinter.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void printJob(final File file) throws IOException {
throw new IOException(String.format("post to %s failed with http status %d", uri, httpUrlConnection.getResponseCode()));
}
if (!"application/ipp".equals(httpUrlConnection.getHeaderField("Content-Type"))) {
throw new IOException(String.format("response is not ipp"));
throw new IOException(String.format("response type is not ipp"));
}

// decode ipp response
Expand Down

0 comments on commit f80a8f1

Please sign in to comment.