| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/middleware/__pycache__/ |
Upload File : |
�
�|�e^ � �l � d dl mZ d dlmZ d dlmZ d dlmZmZ ed� � Z G d� de� � Z
dS ) � )�patch_vary_headers)�MiddlewareMixin)�_lazy_re_compile)�compress_sequence�compress_stringz\bgzip\bc � � e Zd ZdZd� ZdS )�GZipMiddlewarez�
Compress content if the browser allows gzip compression.
Set the Vary header accordingly, so that caches will base their storage
on the Accept-Encoding header.
c � � |j st |j � � dk r|S |� d� � r|S t |d� � |j � dd� � }t � |� � s|S |j r"t |j
� � |_
|j d= nkt |j � � }t |� � t |j � � k r|S ||_ t t |j � � � � |j d<