﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19153	Deprecate GzipMiddleware	Aymeric Augustin	nobody	"Per [http://www.python.org/dev/peps/pep-3333/#other-http-features PEP 3333]:

> applications and middleware must not apply any kind of Transfer-Encoding to their output, such as chunking or gzipping; as ""hop-by-hop"" operations, these encodings are the province of the actual web server/gateway.

Since WSGI has become by far the most common way to deploy Django — I don't even know any other way — Django should stop providing `GzipMiddleware`.

This idea was approved by a BDFL on IRC:

{{{
20-00:10:33     jacobkm Oh and +1 on deprecating gzip middleware
}}}"	Cleanup/optimization	closed	HTTP handling	dev	Normal	wontfix			Accepted	1	0	0	0	0	0
