1
0
mirror of https://github.com/django/django.git synced 2025-04-01 12:06:43 +00:00

Fixed ReST error in docs/cache.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-10-09 01:03:04 +00:00
parent df794701d0
commit fd4ddb179f

View File

@ -236,7 +236,7 @@ setting the ``Vary`` header (using something like
``response['Vary'] = 'user-agent'``) is that the decorator adds to the ``Vary`` ``response['Vary'] = 'user-agent'``) is that the decorator adds to the ``Vary``
header (which may already exist) rather than setting it from scratch. header (which may already exist) rather than setting it from scratch.
Note that you can pass multiple headers to ``vary_on_headers()``: Note that you can pass multiple headers to ``vary_on_headers()``::
@vary_on_headers('User-Agent', 'Cookie') @vary_on_headers('User-Agent', 'Cookie')
def my_view(request): def my_view(request):