diff --git a/AUTHORS b/AUTHORS index 8f4732d9860..3664c6a20f4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -380,6 +380,7 @@ answer newbie questions, and generally made Django that much better: Jiri Barton Joachim Jablon Joao Oliveira + Joao Pedro Silva Joe Heck Joel Bohman Joel Heenan diff --git a/django/test/client.py b/django/test/client.py index f4394d69f5c..f1bfa23eb61 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 = []