| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/django/views/decorators/__pycache__/ |
Upload File : |
�
�|�e< � �* � d dl mZ d dlmZ d� Zd� ZdS )� ��wraps��patch_vary_headersc � � � � fd�}|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.
c �@ �� � t � � � � �fd�� � }|S )Nc �8 �� �| i |��}t |�� � |S )Nr )�args�kwargs�response�func�headerss ���>/usr/lib/python3/dist-packages/django/views/decorators/vary.py�
inner_funcz6vary_on_headers.<locals>.decorator.<locals>.inner_func s, �� ��t�T�,�V�,�,�H��x��1�1�1��O� r )r
r r s ` �r � decoratorz"vary_on_headers.<locals>.decorator s: ��� � �t��� � � � � �
�� � �r � )r r s ` r �vary_on_headersr s$ �� �� � � � � �r c �<