| 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/werkzeug/wrappers/__pycache__/ |
Upload File : |
�
��b�� � � � d dl Z d dlZd dlZd dlZd dlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ
ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ d d
lmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ ej rd dl!Z"d dl#m$Z$ d dl#m%Z% d dl#m&Z& ddl'm(Z( dej) ddfd�Z*dej) ej+ e,e-f de,dej. e- fd�Z/dej+ e0e,f de,fd�Z1 G d � d!e
� � Z G d"� d#� � Z2dS )$� N)�
HTTPStatus� )� _to_bytes)�Headers)�remove_entity_headers)�Response)�
iri_to_uri)�url_join)�cached_property)�ClosingIterator)�get_current_url)�_get_environ)�
generate_etag)� http_date)�is_resource_modified)�parse_etags)�parse_range_header)�
_RangeWrapper)�
StartResponse)�WSGIApplication)�WSGIEnvironment� )�Request�iterable�returnc �` � t | t � � rt j dd�� � dS dS )znHelper for the response objects to check if the iterable returned
to the WSGI server is not a string.
z�Response iterable was set to a string. This will appear to work but means that the server will send the data to the client one character at a time. This is almost never intended behavior, use 'response.data' to assign strings to the response object.r )�
stacklevelN)�
isinstance�str�warnings�warn)r s �</usr/lib/python3/dist-packages/werkzeug/wrappers/response.py�_warn_if_stringr# sM � � �(�C� � �
��
�
'�
�
�
�
�
�
�
�
�
� �charsetc # �v K � | D ]3}t |t � � r|� |� � V � �/|V � �4d S �N)r r �encode)r r% �items r"