ó
    ½Rj¼  ã                   ó6   • S r SSKJr  SSKJr   " S S\5      rg)z°
Clickjacking Protection Middleware.

This module provides a middleware that implements protection against a
malicious site loading resources from your site in a hidden frame.
é    )Úsettings)ÚMiddlewareMixinc                   ó$   • \ rS rSrSrS rS rSrg)ÚXFrameOptionsMiddlewareé   aÎ  
Set the X-Frame-Options HTTP header in HTTP responses.

Do not set the header if it's already set or if the response contains
a xframe_options_exempt value set to True.

By default, set the X-Frame-Options header to 'DENY', meaning the response
cannot be displayed in a frame, regardless of the site attempting to do so.
To enable the response to be loaded on a frame within the same site, set
X_FRAME_OPTIONS in your project's Django settings to 'SAMEORIGIN'.
c                 ó”   • UR                  S5      b  U$ [        USS5      (       a  U$ U R                  UU5      UR                  S'   U$ )NzX-Frame-OptionsÚxframe_options_exemptF)ÚgetÚgetattrÚget_xframe_options_valueÚheaders©ÚselfÚrequestÚresponses      ÚJD:\diplom_project\venv\Lib\site-packages\django/middleware/clickjacking.pyÚprocess_responseÚ(XFrameOptionsMiddleware.process_response   sW   € à�<‰<Ð)Ó*Ñ6ØˆOô �8Ð4°e×<Ñ<ØˆOà.2×.KÑ.KØØó/
ˆ×ÑÐ*Ñ+ð ˆó    c                 ó@   • [        [        SS5      R                  5       $ )zÜ
Get the value to set for the X_FRAME_OPTIONS header. Use the value from
the X_FRAME_OPTIONS setting, or 'DENY' if not set.

This method can be overridden if needed, allowing it to vary based on
the request or response.
ÚX_FRAME_OPTIONSÚDENY)r   r   Úupperr   s      r   r   Ú0XFrameOptionsMiddleware.get_xframe_options_value(   s   € ô ”xÐ!2°FÓ;×AÑAÓCÐCr   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   Ú__static_attributes__r   r   r   r   r      s   † ñ
òõDr   r   N)r    Údjango.confr   Údjango.utils.deprecationr   r   r   r   r   Ú<module>r$      s    ðñõ !Ý 4ô$D˜oõ $Dr   