File: //opt/saltstack/salt/lib/python3.10/site-packages/cherrypy/__pycache__/_cpwsgi.cpython-310.pyc
o
�N�g
@ � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddl m
Z
ddl mZ dd� ZG d d
� d
e
�ZG dd� de
�ZG d
d� de
�ZG dd� de
�ZG dd� de
�ZG dd� de
�ZdS )a� WSGI interface (see PEP 333 and 3333).
Note that WSGI environ keys and values are 'native strings'; that is,
whatever the type of "" is. For Python 2, that's a byte string; for Python 3,
it's a unicode string. But PEP 3333 says: "even if Python's str type is
actually Unicode "under the hood", the content of native strings must
still be translatable to bytes via the Latin-1 encoding!"
� N)�ntou)�_cperror)�httputil)�is_closable_iteratorc C sr i }| t d� }| �� �� D ](\}}|t d�t d�t d�fv r%|�|�}n
t|t�r/|�d�}|||�d�<