aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/content.py
diff options
context:
space:
mode:
authormarkotibold2011-03-15 22:40:30 +0100
committermarkotibold2011-03-15 22:40:30 +0100
commit9ba66a19f814484d86e6a750b27d47b2c4e21033 (patch)
tree8b7ee7525d446f0a02fbd138f4f021b24727e961 /djangorestframework/tests/content.py
parentecb82b0318f5dae29f4a00416fb279dff549c3b1 (diff)
parent80e98de9337b7fd735729dbad09d3d629466719c (diff)
downloaddjango-rest-framework-9ba66a19f814484d86e6a750b27d47b2c4e21033.tar.bz2
Merge with a0fec27963ebb52d39cdad42d5a7fd428f989784
Diffstat (limited to 'djangorestframework/tests/content.py')
-rw-r--r--djangorestframework/tests/content.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/djangorestframework/tests/content.py b/djangorestframework/tests/content.py
index 9052f677..ee7af486 100644
--- a/djangorestframework/tests/content.py
+++ b/djangorestframework/tests/content.py
@@ -111,6 +111,7 @@ class TestContentMixins(TestCase):
OverloadedContentMixin.CONTENTTYPE_PARAM: content_type}
request = self.req.post('/', form_data)
self.assertEqual(OverloadedContentMixin().determine_content(request), (content_type, content))
+ self.assertEqual(request.META['CONTENT_TYPE'], content_type)
def test_overloaded_behaviour_allows_content_tunnelling_content_type_not_set(self):
"""Ensure determine_content(request) returns (None, content) for overloaded POST request with content type not set"""