Chapter 8Anatomy of an IPP Request

This chapter describes the low-level format of the Internet Printing Protocol, including how each value in a request or response is encoded and how the data is exchanged between the client and server.

Dissecting an IPP Request

Every IPP request is composed of the following parts:

• A HTTP request

• An IPP request message

• Optional additional (document) data

• A HTTP response

• An IPP response message

The following sections describe each of these parts.

The HTTP Request

The HTTP request is a POST request containing data of type application/ipp. Each POST contains a single IPP request message and potentially the document data for a Print-Job or Send-Document request. Figure 8.1 shows the data flow.

Figure ...

Get Common UNIX Printing System now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.