From 4de4edf2c05cc80c514c989db480f2fe23ad5ee2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 10 Jun 2025 23:00:25 +0100 Subject: [5.2.x] Fixed #36447 -- Selected preferred media type based on quality. When matching which entry in the `Accept` header should be used for a given media type, the specificity matters. However once those are resolved, only the quality matters when selecting preference. Regression in c075508b4de8edf9db553b409f8a8ed2f26ecead. Thank you to Anders Kaseorg for the report. Backport of 12c1557060fc94fe5e1fbddc4578a4e29d38f77c from main. --- docs/ref/request-response.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index c9fb05af1d..79419ea56e 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -478,7 +478,7 @@ Methods None (For further details on how content negotiation is performed, see - :rfc:`7231#section-5.3.2`.) + :rfc:`9110#section-12.5.1`.) Most browsers send ``Accept: */*`` by default, meaning they don't have a preference, in which case the first item in ``media_types`` would be -- cgit v1.3