diff options
Diffstat (limited to 'djangorestframework/content.py')
| -rw-r--r-- | djangorestframework/content.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/content.py b/djangorestframework/content.py index f9a3c6de..cfdd33be 100644 --- a/djangorestframework/content.py +++ b/djangorestframework/content.py @@ -50,7 +50,7 @@ class OverloadedContentMixin(ContentMixin): content_type = None if self.CONTENTTYPE_PARAM and request.POST.get(self.CONTENTTYPE_PARAM, None): content_type = request.POST.get(self.CONTENTTYPE_PARAM, None) - request.META['CONTENT_TYPE'] = content_type + request.META['CONTENT_TYPE'] = content_type # TODO : VERY BAD, avoid modifying original request. return (content_type, request.POST[self.CONTENT_PARAM]) else: |
