Conditional Content Negotiation

Description
The response that a server replies with to a request in a conditional content negotiation style consists of a body composed of several parts separated by boundaries. The parts are selectively rendered based on the user agent's parameters. This can take the form of parts containing different variants of the resource, for example with distinct media types , or parts containing portions of a representation, for example certain pages of a PDF document [64].

Advantages and Disadvantages
Advantages Disadvantages
  • The reduction of the number of queries to a single request that gets a multi-part response containing multiple variants.
  • The ability to select only a portion of a representation.
  • The nonscalability of this style if the number of variants or the size of variants is large.

References
[{{ reference.id }}] : {{ reference.title }}