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 :  /lib64/python2.7/site-packages/django/contrib/admindocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/django/contrib/admindocs/middleware.pyc
�
r�\c@s:ddlmZddlmZdefd��YZdS(i����(tsettings(thttptXViewMiddlewarecBseZdZd�ZRS(s^
    Adds an X-View header to internal HEAD requests -- used by the documentation system.
    cCs�t|d�std��|jdkr�|jjd�tjks]|jjr�|jj	r�t
j�}d|j|j
f|d<|SdS(s)
        If the request method is HEAD and either the IP is internal or the
        user is a logged-in staff member, quickly return with an x-header
        indicating the view function.  This is used by the documentation module
        to lookup the view function for an arbitrary page.
        tusers�The XView middleware requires authentication middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.auth.middleware.AuthenticationMiddleware'.tHEADtREMOTE_ADDRs%s.%ssX-ViewN(thasattrtAssertionErrortmethodtMETAtgetRtINTERNAL_IPSRt	is_activetis_staffRtHttpResponset
__module__t__name__(tselftrequestt	view_funct	view_argstview_kwargstresponse((sE/tmp/pip-install-XxeQeY/django/django/contrib/admindocs/middleware.pytprocess_views	*(RRt__doc__R(((sE/tmp/pip-install-XxeQeY/django/django/contrib/admindocs/middleware.pyRsN(tdjango.confRtdjangoRtobjectR(((sE/tmp/pip-install-XxeQeY/django/django/contrib/admindocs/middleware.pyt<module>s

https://t.me/AnonymousX5 - 2025