diff options
| author | Tom Christie | 2011-12-12 15:33:45 +0000 | 
|---|---|---|
| committer | Tom Christie | 2011-12-12 15:33:45 +0000 | 
| commit | cb8931a014af506c173e9d3b596e2f4aa51600cc (patch) | |
| tree | 9560a4d9726f3733413c739052cdf8cb82eb8b67 /djangorestframework/views.py | |
| parent | c0bf45d82a329214d0dc7b4495548563ac97a2cc (diff) | |
| download | django-rest-framework-cb8931a014af506c173e9d3b596e2f4aa51600cc.tar.bz2 | |
Typo.
Diffstat (limited to 'djangorestframework/views.py')
| -rw-r--r-- | djangorestframework/views.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/views.py b/djangorestframework/views.py index 0a359404..4cc2c7cb 100644 --- a/djangorestframework/views.py +++ b/djangorestframework/views.py @@ -156,7 +156,7 @@ class View(ResourceMixin, RequestMixin, ResponseMixin, AuthMixin, DjangoView):          # Always add these headers.          #          # TODO - this isn't actually the correct way to set the vary header, -        # also it's currently sub-obtimal for HTTP caching - need to sort that out. +        # also it's currently sub-optimal for HTTP caching - need to sort that out.          response.headers['Allow'] = ', '.join(self.allowed_methods)          response.headers['Vary'] = 'Authenticate, Accept'  | 
