<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/django.git/django/middleware, branch main</title>
<subtitle>github.com: django/django.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/'/>
<entry>
<title>Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used.</title>
<updated>2023-05-02T04:04:18+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-04-28T06:05:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=0e444e84f87d174713a2aef0c4f9704ce2865586'/>
<id>0e444e84f87d174713a2aef0c4f9704ce2865586</id>
<content type='text'>
Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.

This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81
(refs #34069) and
partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5.

Thanks Anthony Baillard for the report.

Co-Authored-By: Sarah Boyce &lt;42296566+sarahboyce@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.

This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81
(refs #34069) and
partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5.

Thanks Anthony Baillard for the report.

Co-Authored-By: Sarah Boyce &lt;42296566+sarahboyce@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #32800 -- Removed CSRF_COOKIE_MASKED transitional setting per deprecation timeline.</title>
<updated>2023-01-17T10:49:15+00:00</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-01-12T11:47:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=e01970e9d23a241473671ea26126f8440db4dead'/>
<id>e01970e9d23a241473671ea26126f8440db4dead</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #33735 -- Added async support to StreamingHttpResponse.</title>
<updated>2022-12-22T09:41:12+00:00</updated>
<author>
<name>Carlton Gibson</name>
<email>carlton.gibson@noumenal.es</email>
</author>
<published>2022-12-13T15:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=0bd2c0c9015b53c41394a1c0989afbfd94dc2830'/>
<id>0bd2c0c9015b53c41394a1c0989afbfd94dc2830</id>
<content type='text'>
Thanks to Florian Vazelle for initial exploratory work, and to Nick
Pope and Mariusz Felisiak for review.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Florian Vazelle for initial exploratory work, and to Nick
Pope and Mariusz Felisiak for review.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34170 -- Implemented Heal The Breach (HTB) in GzipMiddleware.</title>
<updated>2022-12-17T07:46:37+00:00</updated>
<author>
<name>Andreas Pelme</name>
<email>andreas@pelme.se</email>
</author>
<published>2022-11-20T20:46:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=ab7a85ac297464df82d8363455609979ca3603db'/>
<id>ab7a85ac297464df82d8363455609979ca3603db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34074 -- Added headers argument to RequestFactory and Client classes.</title>
<updated>2022-11-14T09:21:51+00:00</updated>
<author>
<name>David Wobrock</name>
<email>david.wobrock@gmail.com</email>
</author>
<published>2022-10-09T20:33:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=67da22f08e05018ea968fcacbac9ac37ea925d85'/>
<id>67da22f08e05018ea968fcacbac9ac37ea925d85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated documentation and comments for RFC updates.</title>
<updated>2022-11-10T12:52:17+00:00</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2022-11-04T12:33:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=9bd174b9a75299dce33e673a559f2b673399b971'/>
<id>9bd174b9a75299dce33e673a559f2b673399b971</id>
<content type='text'>
- Updated references to RFC 1123 to RFC 5322
  - Only partial as RFC 5322 sort of sub-references RFC 1123.
- Updated references to RFC 2388 to RFC 7578
  - Except RFC 2388 Section 5.3 which has no equivalent.
- Updated references to RFC 2396 to RFC 3986
- Updated references to RFC 2616 to RFC 9110
- Updated references to RFC 3066 to RFC 5646
- Updated references to RFC 7230 to RFC 9112
- Updated references to RFC 7231 to RFC 9110
- Updated references to RFC 7232 to RFC 9110
- Updated references to RFC 7234 to RFC 9111
- Tidied up style of text when referring to RFC documents
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Updated references to RFC 1123 to RFC 5322
  - Only partial as RFC 5322 sort of sub-references RFC 1123.
- Updated references to RFC 2388 to RFC 7578
  - Except RFC 2388 Section 5.3 which has no equivalent.
- Updated references to RFC 2396 to RFC 3986
- Updated references to RFC 2616 to RFC 9110
- Updated references to RFC 3066 to RFC 5646
- Updated references to RFC 7230 to RFC 9112
- Updated references to RFC 7231 to RFC 9110
- Updated references to RFC 7232 to RFC 9110
- Updated references to RFC 7234 to RFC 9111
- Tidied up style of text when referring to RFC documents
</pre>
</div>
</content>
</entry>
<entry>
<title>Used more augmented assignment statements.</title>
<updated>2022-10-31T11:30:13+00:00</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2022-01-28T20:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=d3cb91db87b78629c0d2682630e90a048275179e'/>
<id>d3cb91db87b78629c0d2682630e90a048275179e</id>
<content type='text'>
Identified using the following command:

$ git grep -I '\(\&lt;[_a-zA-Z0-9]\+\&gt;\) *= *\1 *[-+/*^%&amp;|&lt;&gt;@]'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identified using the following command:

$ git grep -I '\(\&lt;[_a-zA-Z0-9]\+\&gt;\) *= *\1 *[-+/*^%&amp;|&lt;&gt;@]'
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18n patterns are used.</title>
<updated>2022-10-13T08:38:26+00:00</updated>
<author>
<name>Sergio</name>
<email>smaisidoro@gmail.com</email>
</author>
<published>2022-10-02T10:59:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=94e7f471c4edef845a4fe5e3160132997b4cca81'/>
<id>94e7f471c4edef845a4fe5e3160132997b4cca81</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #33700 -- Skipped extra resolution for successful requests not ending with /.</title>
<updated>2022-06-02T13:15:04+00:00</updated>
<author>
<name>Anders Kaseorg</name>
<email>andersk@mit.edu</email>
</author>
<published>2022-06-02T10:34:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=fbac2a4dd846b52c4f379eacb5bab654fe9540cc'/>
<id>fbac2a4dd846b52c4f379eacb5bab654fe9540cc</id>
<content type='text'>
By moving a should_redirect_with_slash call out of an if block, commit
9390da7fb6e251eaa9a785692f987296cb14523f negated the performance fix
of commit 434d309ef6dbecbfd2b322d3a1da78aa5cb05fa8 (#24720).
Meanwhile, the logging issue #26293 that it targeted was subsequently
fixed more fully by commit 40b69607c751c4afa453edfd41d2ed155e58187e
(#26504), so it is no longer needed.  This effectively reverts it.

This speeds up successful requests not ending with / when APPEND_SLASH
is enabled (the default, and still useful in projects with a mix of
URLs with and without trailing /).  The amount of speedup varies from
about 5% in a typical project to nearly 50% on a benchmark with many
routes.

Signed-off-by: Anders Kaseorg &lt;andersk@mit.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By moving a should_redirect_with_slash call out of an if block, commit
9390da7fb6e251eaa9a785692f987296cb14523f negated the performance fix
of commit 434d309ef6dbecbfd2b322d3a1da78aa5cb05fa8 (#24720).
Meanwhile, the logging issue #26293 that it targeted was subsequently
fixed more fully by commit 40b69607c751c4afa453edfd41d2ed155e58187e
(#26504), so it is no longer needed.  This effectively reverts it.

This speeds up successful requests not ending with / when APPEND_SLASH
is enabled (the default, and still useful in projects with a mix of
URLs with and without trailing /).  The amount of speedup varies from
about 5% in a typical project to nearly 50% on a benchmark with many
routes.

Signed-off-by: Anders Kaseorg &lt;andersk@mit.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #30426 -- Updated XFrameOptionsMiddleware docstring.</title>
<updated>2022-04-29T19:17:27+00:00</updated>
<author>
<name>Clemens Wolff</name>
<email>clemens@justamouse.com</email>
</author>
<published>2022-04-29T19:17:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/django.git/commit/?id=f0ba799edf4f9948da28b5df2000a092ad6a150d'/>
<id>f0ba799edf4f9948da28b5df2000a092ad6a150d</id>
<content type='text'>
Follow up to 05d0eca635853564c57e639ac5590674a7de2ed6.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up to 05d0eca635853564c57e639ac5590674a7de2ed6.</pre>
</div>
</content>
</entry>
</feed>
