Also interesting that we have
[https://github.com/django/django/blob/bb7bb379e8cd91a91336946829519d64e919a1d2/tests/i18n/tests.py#L1318
a test for this behavior].
--
Ticket URL: <https://code.djangoproject.com/ticket/26746>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* component: Utilities => Internationalization
* needs_tests: => 0
* stage: Unreviewed => Accepted
Comment:
The fallback to "1.0" is present since the `Accept-Language` parsing was
introduced in 842a771e0527c36a9bcb3984057bb30903e71af3 (tests added in the
next commit: a14256aade963929743aa09e0834f5fc4072f772).
--
Ticket URL: <https://code.djangoproject.com/ticket/26746#comment:1>
* status: new => assigned
* owner: nobody => vytisb
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/6763 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/26746#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"57eb17b8c7d106c9a3264aa35b8dabb179a1e17b" 57eb17b]:
{{{
#!CommitTicketReference repository=""
revision="57eb17b8c7d106c9a3264aa35b8dabb179a1e17b"
Fixed #26746 -- Fixed handling of zero priority in Accept-Language header
parsing.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26746#comment:3>