is used to indicate that particular server behaviors are preferred by the client, but not required for successful completion of the request.
Quick facts
Description
is used to indicate that particular server behaviors are preferred by the client, but not required for successful completion of the request.
Syntax
Prefer: return=representation
Related status codes
Frequently asked questions
is used to indicate that particular server behaviors are preferred by the client, but not required for successful completion of the request.
It is classified as a request header and can appear in requests or responses depending on context.
Sources & standards
Updated 2026-09-13
Explore this reference
about this tool
This page provides original, human-reviewed information about HTTP headers such as Prefer, the HTTP Header Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.
If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.