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.
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 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
Send-Document request. Figure 8.1 shows the data flow.