Fix broken Vary header

This commit is contained in:
tom christie tom@tomchristie.com 2011-03-03 08:02:32 +00:00
parent 0798cc141f
commit 09a8b9627a

View File

@ -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)