diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-06-18 10:51:38 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-06-27 10:44:57 +0200 |
| commit | 9588718cd404d73b2be09241b424b539d8d8c66e (patch) | |
| tree | 3ad0f2054fb540fd92ce9ae0125ed70e19eee2e8 /tests/project_template | |
| parent | ca77b509059831b055a3b735ff77e042f8e1c0eb (diff) | |
Fixed #5897 -- Added the Content-Length response header in CommonMiddleware
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/project_template')
| -rw-r--r-- | tests/project_template/test_settings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/project_template/test_settings.py b/tests/project_template/test_settings.py index d153c4d95f..a0047dd836 100644 --- a/tests/project_template/test_settings.py +++ b/tests/project_template/test_settings.py @@ -41,6 +41,7 @@ class TestStartProjectSettings(TestCase): response = self.client.get('/empty/') headers = sorted(response.serialize_headers().split(b'\r\n')) self.assertEqual(headers, [ + b'Content-Length: 0', b'Content-Type: text/html; charset=utf-8', b'X-Frame-Options: SAMEORIGIN', ]) |
