aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/response.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/response.py')
-rw-r--r--djangorestframework/response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/response.py b/djangorestframework/response.py
index 4f23bb0a..e807eeb5 100644
--- a/djangorestframework/response.py
+++ b/djangorestframework/response.py
@@ -106,7 +106,7 @@ class NoContent(object):
class Response(object):
- def __init__(self, status, content=NoContent, headers={}):
+ def __init__(self, status=200, content=NoContent, headers={}):
self.status = status
self.has_content_body = not content is NoContent
self.raw_content = content # content prior to filtering