diff --git a/AUTHORS b/AUTHORS index 8f4732d986..3664c6a20f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -380,6 +380,7 @@ answer newbie questions, and generally made Django that much better: Jiri Barton Joachim Jablon <ewjoachim@gmail.com> Joao Oliveira <joaoxsouls@gmail.com> + Joao Pedro Silva <j.pedro004@gmail.com> Joe Heck <http://www.rhonabwy.com/wp/> Joel Bohman <mail@jbohman.com> Joel Heenan <joelh-django@planetjoel.com> diff --git a/django/test/client.py b/django/test/client.py index f4394d69f5..f1bfa23eb6 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -99,7 +99,6 @@ def conditional_content_removal(request, response): response.streaming_content = [] else: response.content = b'' - response['Content-Length'] = '0' if request.method == 'HEAD': if response.streaming: response.streaming_content = []