aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/resource.py
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2011-03-03 08:02:32 +0000
committertom christie tom@tomchristie.com2011-03-03 08:02:32 +0000
commit09a8b9627a8e4686801d08c6d411228e189cc051 (patch)
tree2b8f7f4609bd49866ebefad310f4a31f02faa20c /djangorestframework/resource.py
parent0798cc141f5c8ed4e81a3ff95f9353c5ac524e8a (diff)
downloaddjango-rest-framework-09a8b9627a8e4686801d08c6d411228e189cc051.tar.bz2
Fix broken Vary header
Diffstat (limited to 'djangorestframework/resource.py')
-rw-r--r--djangorestframework/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/resource.py b/djangorestframework/resource.py
index 9c3a03c3..15c1d7c8 100644
--- a/djangorestframework/resource.py
+++ b/djangorestframework/resource.py
@@ -197,7 +197,7 @@ class Resource(EmitterMixin, ParserMixin, AuthenticatorMixin, FormValidatorMixin
# Always add these headers
response.headers['Allow'] = ', '.join(self.allowed_methods)
- response.headers['Vary'] = 'Authenticate, Allow'
+ response.headers['Vary'] = 'Authenticate, Accept'
return self.emit(response)