
    MȂi                     L    S SK Jr  S SKJr  S SKJr  S r\" S5      rS\l        g)    )wraps)iscoroutinefunctionpatch_vary_headersc                     ^  U 4S jnU$ )z
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                 f   >^  [        T 5      (       a  U U4S jnOU U4S jn[        T 5      " U5      $ )Nc                 T   >#    T" U /UQ70 UD6I S h  vN n[        UT5        U$  N7fNr   requestargskwargsresponsefuncheaderss       MD:\sksbv-state-backend\venv\Lib\site-packages\django/views/decorators/vary.py_view_wrapper9vary_on_headers.<locals>.decorator.<locals>._view_wrapper   s2     !%g!?!?!??"8W5 @s   (&(c                 8   > T" U /UQ70 UD6n[        UT5        U$ r
   r   r   s       r   r   r      s&    9$9&9"8W5    )r   r   )r   r   r   s   ` r   	decorator"vary_on_headers.<locals>.decorator   s)    t$$  
 T{=))r    )r   r   s   ` r   vary_on_headersr      s    *" r   CookiezA view decorator that adds "Cookie" to the Vary header of a response. This indicates that a page's contents depends on cookies.N)		functoolsr   asgiref.syncr   django.utils.cacher   r   vary_on_cookie__doc__r   r   r   <module>r!      s-     , 1@ !*;  r   