aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2011-12-12 15:33:45 +0000
committerTom Christie2011-12-12 15:33:45 +0000
commitcb8931a014af506c173e9d3b596e2f4aa51600cc (patch)
tree9560a4d9726f3733413c739052cdf8cb82eb8b67
parentc0bf45d82a329214d0dc7b4495548563ac97a2cc (diff)
downloaddjango-rest-framework-cb8931a014af506c173e9d3b596e2f4aa51600cc.tar.bz2
Typo.
-rw-r--r--djangorestframework/views.py2
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'