<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/docs/ref/request-response.txt, branch stable/5.2.x</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=stable%2F5.2.x'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-06-16T07:27:46Z</updated>
<entry>
<title>[5.2.x] Fixed #36447 -- Selected preferred media type based on quality.</title>
<updated>2025-06-16T07:27:46Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2025-06-10T22:00:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4de4edf2c05cc80c514c989db480f2fe23ad5ee2'/>
<id>urn:sha1:4de4edf2c05cc80c514c989db480f2fe23ad5ee2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>[5.2.x] Fixed #36411 -- Made HttpRequest.get_preferred_type() consider media type parameters.</title>
<updated>2025-06-03T19:11:38Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2025-05-27T16:00:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0c548e62d0166c559ca59845079c2b70730fcfe7'/>
<id>urn:sha1:0c548e62d0166c559ca59845079c2b70730fcfe7</id>
<content type='text'>
HttpRequest.get_preferred_type() did not account for parameters in
Accept header media types (e.g., "text/vcard; version=3.0"). This caused
incorrect content negotiation when multiple types differed only by
parameters, reducing specificity as per RFC 7231 section 5.3.2
(https://datatracker.ietf.org/doc/html/rfc7231.html#section-5.3.2).

This fix updates get_preferred_type() to treat media types with
parameters as distinct, allowing more precise and standards-compliant
matching.

Thanks to magicfelix for the report, and to David Sanders and Sarah
Boyce for the reviews.

Backport of c075508b4de8edf9db553b409f8a8ed2f26ecead from main.
</content>
</entry>
<entry>
<title>Fixed #35915 -- Clarified the empty list case in QueryDict.__getitem__() docs.</title>
<updated>2024-12-02T10:11:05Z</updated>
<author>
<name>jburns6789</name>
<email>117755326+jburns6789@users.noreply.github.com</email>
</author>
<published>2024-11-20T22:18:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b8f9f625a19298379dbc16d916694702cd038f52'/>
<id>urn:sha1:b8f9f625a19298379dbc16d916694702cd038f52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase.</title>
<updated>2024-11-14T18:53:49Z</updated>
<author>
<name>Lorenzo Peña</name>
<email>lorinkoz@gmail.com</email>
</author>
<published>2024-11-14T18:53:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=91c879eda595c12477bbfa6f51115e88b75ddf88'/>
<id>urn:sha1:91c879eda595c12477bbfa6f51115e88b75ddf88</id>
<content type='text'>
Co-authored-by: Natalia &lt;124304+nessita@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Fixed #35727 -- Added HttpResponse.text property.</title>
<updated>2024-10-16T09:52:22Z</updated>
<author>
<name>SaJH</name>
<email>wogur981208@gmail.com</email>
</author>
<published>2024-09-11T12:23:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4a685bc0dca5298a7d5a4e162120a90cac7fd1a4'/>
<id>urn:sha1:4a685bc0dca5298a7d5a4e162120a90cac7fd1a4</id>
<content type='text'>
Signed-off-by: SaJH &lt;wogur981208@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #35631 -- Added HttpRequest.get_preferred_type().</title>
<updated>2024-09-09T10:02:18Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2024-07-26T11:34:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e161bd4657177f0e723a14a6e414884363b31a5d'/>
<id>urn:sha1:e161bd4657177f0e723a14a6e414884363b31a5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed versionadded/changed annotations for 5.0.</title>
<updated>2024-05-22T18:44:07Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2024-05-03T17:39:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=05cce083ad662913008e107bc6332e7ffe1502e6'/>
<id>urn:sha1:05cce083ad662913008e107bc6332e7ffe1502e6</id>
<content type='text'>
This also removes remaining versionadded/changed annotations for older
versions.
</content>
</entry>
<entry>
<title>Fixed broken links and redirects in docs.</title>
<updated>2024-03-06T07:50:21Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-03-06T07:50:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=177e6493961dfcdafb44e5b02894bf4201050910'/>
<id>urn:sha1:177e6493961dfcdafb44e5b02894bf4201050910</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Corrected code-block directives in docs.</title>
<updated>2023-12-28T18:52:15Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-12-28T18:52:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0be6dde81721e4a61caf45422987c599ebfcfe56'/>
<id>urn:sha1:0be6dde81721e4a61caf45422987c599ebfcfe56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added missing pycon directives in various docs.</title>
<updated>2023-10-25T10:27:27Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-10-25T10:27:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=718b32c6918037cfc746d7867333d79a3c887a8c'/>
<id>urn:sha1:718b32c6918037cfc746d7867333d79a3c887a8c</id>
<content type='text'>
</content>
</entry>
</feed>
