summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorJake Howard <git@theorangeone.net>2025-06-10 23:00:25 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-06-16 09:27:46 +0200
commit4de4edf2c05cc80c514c989db480f2fe23ad5ee2 (patch)
tree8a3470380c302aab304f700d0f61890629529bdd /docs/ref
parentf5cc6a888b60e0f79415cdd206cedbcc441eed82 (diff)
[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.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/request-response.txt2
1 files changed, 1 insertions, 1 deletions
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