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/middleware/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/django/middleware/gzip.pyc
�
r�\c@s[ddlZddlmZmZddlmZejd�Zdefd��YZ	dS(i����N(tcompress_sequencetcompress_string(tpatch_vary_headerss\bgzip\btGZipMiddlewarecBseZdZd�ZRS(s�
    This middleware compresses content if the browser allows gzip compression.
    It sets the Vary header accordingly, so that caches will base their storage
    on the Accept-Encoding header.
    cCsy|jr#t|j�dkr#|St|d�|jd�rC|Sd|jjdd�j�kr�|jdd�j�}|jd�s�d	|kr�|Sn|jjd
d�}t	j
|�s�|S|jr�t|j�|_|d=nPt
|j�}t|�t|j�kr|S||_tt|j��|d<|jd�rktjd
d|d�|d<nd|d<|S(Ni�sAccept-EncodingsContent-EncodingtmsietHTTP_USER_AGENTtsContent-Typestext/t
javascripttHTTP_ACCEPT_ENCODINGsContent-LengthtETags"$s;gzip"tgzip(sAccept-Encoding(t	streamingtlentcontentRt
has_headertMETAtgettlowert
startswithtre_accepts_gziptsearchRtstreaming_contentRtstrtretsub(tselftrequesttresponsetctypetaetcompressed_content((s8/tmp/pip-install-XxeQeY/django/django/middleware/gzip.pytprocess_responses0
!	
	 
(t__name__t
__module__t__doc__R(((s8/tmp/pip-install-XxeQeY/django/django/middleware/gzip.pyRs(
Rtdjango.utils.textRRtdjango.utils.cacheRtcompileRtobjectR(((s8/tmp/pip-install-XxeQeY/django/django/middleware/gzip.pyt<module>s

https://t.me/AnonymousX5 - 2025