1
0
mirror of https://github.com/django/django.git synced 2025-06-27 06:19:17 +00:00
django/tests/requests_tests
Jake Howard 4de4edf2c0 [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.
2025-06-16 09:27:46 +02:00
..
2023-01-07 11:41:40 +01:00