#36447: HttpRequest.get_preferred_type misorders types when more specific
accepted
types have lower q
-------------------------------------+-------------------------------------
Reporter: Anders Kaseorg | Owner: Jake
| Howard
Type: Bug | Status: closed
Component: HTTP handling | Version: 5.2
Severity: Release blocker | Resolution: fixed
Keywords: preferred media | Triage Stage: Ready for
type | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"12c1557060fc94fe5e1fbddc4578a4e29d38f77c" 12c15570]:
{{{#!CommitTicketReference repository=""
revision="12c1557060fc94fe5e1fbddc4578a4e29d38f77c"
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.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36447#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019777a101f9-d6d6dfec-90b4-46d7-8028-7c7b9e81c74f-000000%40eu-central-1.amazonses.com.