THE GARDEN
Updated 18 Sep 2026
selectinng a resource representation sing preferences or capabilities expressed by the client
Accept—media types
Accept
Accept-Language—languages
Accept-Language
Accept-Encoding—content codings
Accept-Encoding
omitted q defaults to 11; q=0 rejects a matching representation
q
q=0
determine a representation’s effective preference using the most specific matching media range
then compare available representations according to the selection policy
image/avif;q=0,image/*;q=0.8 rejects AVIF despite accepting other images through the wildcard
image/avif;q=0,image/*;q=0.8
in the assignment’s highest-q policy, image/jpeg;q=1,image/webp;q=0.1 selects JPEG when available
image/jpeg;q=1,image/webp;q=0.1
send a Content-Type matching the actual encoded bytes
Content-Type
use Vary: Accept when representation selection depends on Accept
Vary: Accept
AVIF -> WebP -> JPEG is the sample implementation’s tie-break policy, not an HTTP rule
that implementation chooses 406 when nothing available is acceptable
406
its restricted parser and particular error policies are not a complete HTTP implementation
https://www.rfc-editor.org/rfc/rfc9110.html#section-12.5.1
◌ Explore connections in Graph view
Paths through the garden