From cb8931a014af506c173e9d3b596e2f4aa51600cc Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 12 Dec 2011 15:33:45 +0000 Subject: [PATCH] Typo. --- djangorestframework/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangorestframework/views.py b/djangorestframework/views.py index 0a3594047..4cc2c7cb0 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'