diff options
Diffstat (limited to 'djangorestframework/response.py')
| -rw-r--r-- | djangorestframework/response.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/djangorestframework/response.py b/djangorestframework/response.py index f6bbe3be..d68ececf 100644 --- a/djangorestframework/response.py +++ b/djangorestframework/response.py @@ -18,6 +18,7 @@ class Response(object): def __init__(self, status=200, content=None, headers={}): self.status = status + self.media_type = None self.has_content_body = content is not None self.raw_content = content # content prior to filtering self.cleaned_content = content # content after filtering |
