https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/django/views/decorators/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/django/views/decorators/clickjacking.pyc
�
r�\c@s?ddlmZddlmZd�Zd�Zd�ZdS(i����(twraps(tavailable_attrscs+�fd�}t�dt���|�S(s�
    Modifies a view function so its response has the X-Frame-Options HTTP
    header set to 'DENY' as long as the response doesn't already have that
    header set.

    e.g.

    @xframe_options_deny
    def some_view(request):
        ...

    cs8�||�}|jdd�dkr4d|d<n|S(NsX-Frame-OptionstDENY(tgettNone(targstkwargstresp(t	view_func(sF/tmp/pip-install-XxeQeY/django/django/views/decorators/clickjacking.pytwrapped_views
tassigned(RR(RR	((RsF/tmp/pip-install-XxeQeY/django/django/views/decorators/clickjacking.pytxframe_options_denys
cs+�fd�}t�dt���|�S(s
    Modifies a view function so its response has the X-Frame-Options HTTP
    header set to 'SAMEORIGIN' as long as the response doesn't already have
    that header set.

    e.g.

    @xframe_options_sameorigin
    def some_view(request):
        ...

    cs8�||�}|jdd�dkr4d|d<n|S(NsX-Frame-Optionst
SAMEORIGIN(RR(RRR(R(sF/tmp/pip-install-XxeQeY/django/django/views/decorators/clickjacking.pyR	(s
R
(RR(RR	((RsF/tmp/pip-install-XxeQeY/django/django/views/decorators/clickjacking.pytxframe_options_sameorigins
cs+�fd�}t�dt���|�S(s�
    Modifies a view function by setting a response variable that instructs
    XFrameOptionsMiddleware to NOT set the X-Frame-Options HTTP header.

    e.g.

    @xframe_options_exempt
    def some_view(request):
        ...

    cs�||�}t|_|S(N(tTruetxframe_options_exempt(RRR(R(sF/tmp/pip-install-XxeQeY/django/django/views/decorators/clickjacking.pyR	<s	R
(RR(RR	((RsF/tmp/pip-install-XxeQeY/django/django/views/decorators/clickjacking.pyR0sN(t	functoolsRtdjango.utils.decoratorsRRR
R(((sF/tmp/pip-install-XxeQeY/django/django/views/decorators/clickjacking.pyt<module>s		

https://t.me/AnonymousX5 - 2025