HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/django/views/decorators/__pycache__/vary.cpython-310.pyc
o

ʎ�_<�@s,ddlmZddlmZdd�Zdd�ZdS)���wraps��patch_vary_headerscs�fdd�}|S)a
    A view decorator that adds the specified headers to the Vary header of the
    response. Usage:

       @vary_on_headers('Cookie', 'Accept-language')
       def index(request):
           ...

    Note that the header names are not case-sensitive.
    cst����fdd��}|S)Ncs�|i|��}t|��|S)Nr��args�kwargs�response)�func�headers��>/usr/lib/python3/dist-packages/django/views/decorators/vary.py�
inner_func�
z6vary_on_headers.<locals>.decorator.<locals>.inner_funcr�r
r�r�r
r
�	decoratorsz"vary_on_headers.<locals>.decoratorr)rrrrr
�vary_on_headerssrcst���fdd��}|S)z�
    A view decorator that adds "Cookie" to the Vary header of a response. This
    indicates that a page's contents depends on cookies. Usage:

        @vary_on_cookie
        def index(request):
            ...
    cs�|i|��}t|d�|S)N)�Cookierrrrr
r$rz"vary_on_cookie.<locals>.inner_funcrrrrr
�vary_on_cookies	rN)�	functoolsr�django.utils.cacherrrrrrr
�<module>s