a
    còfë  ã                   @   sp   d dl mZ d dlZd dlZd dlZzd dlmZ W n eyR   d dlmZ Y n0 d dl	Z	d dl
Z
dd„ ZdS )é    )Úprint_functionN)ÚStringIOc                 c   sÂ  g }|  d¡ |d|ƒ}| d }tƒ }tdt ¡  |d� tdt ¡  |d� tdt ¡  |d� tdt ¡  |d� t|d� td	tj	f |d� td
tj
f |d� tdtjf |d� t|d� tdtj	f |d� tdtj	f |d� t|d� tdtj |d� tdtj |d� t|d� tdtj |d� tdtj |d� tdt ¡  |d� tdt ¡  |d� t|d� t ¡ }|�rÐ|d D ](}|d D ]}t|d |dd� �qž�q’t|d� t|d� tdtj |d� tdtj |d� tdtj |d� tdtj |d� tdtj |d� t|d� tdtj |d� t|d� tdtj d ¡ |d� td!tj d"¡ |d� td#t ¡  |d� td$t ¡  |d� td%t ¡ f |d� td&t ¡ f |d� td't ¡  |d� t|d� t|   ¡ ƒ}	|	D ]"}
td(|
t!| |
 ƒf |d� �qt|d� ttj  ¡ ƒ}	|	D ]$}
td(|
t!tj|
 ƒf |d� �qBt|d� | "¡ }t#|t$ƒ�s�| %d)¡}|V  d*}| &|¡}|�r¾|V  | &|¡}�q¤d S )+N)zContent-Typeztext/plain; charset="UTF-8"z200 OKz
wsgi.inputzPID: %s)ÚfilezUID: %szGID: %szCWD: %szpython.version: %rzpython.prefix: %rzpython.path: %rzapache.version: %rzmod_wsgi.version: %rzmod_wsgi.process_group: %szmod_wsgi.application_group: %szmod_wsgi.maximum_processes: %sz mod_wsgi.threads_per_process: %szmod_wsgi.process_metrics: %szmod_wsgi.server_metrics: %sZ	processesÚworkersÚstatusÚ )r   Úendzapache.description: %szapache.build_date: %szapache.mpm_name: %szapache.maximum_processes: %szapache.threads_per_process: %szPATH: %szLANG: %sÚLANGz
LC_ALL: %sÚLC_ALLzsys.getdefaultencoding(): %szsys.getfilesystemencoding(): %szlocale.getlocale(): %szlocale.getdefaultlocale(): %sz!locale.getpreferredencoding(): %sz%s: %szUTF-8i    )'Úappendr   ÚprintÚosÚgetpidÚgetuidÚgetgidÚgetcwdÚsysÚversionÚprefixÚpathÚapacheÚmod_wsgiZprocess_groupZapplication_groupZmaximum_processesZthreads_per_processZprocess_metricsZserver_metricsÚdescriptionZ
build_dateZmpm_nameÚenvironÚgetÚgetdefaultencodingÚgetfilesystemencodingÚlocaleÚ	getlocaleÚgetdefaultlocaleÚgetpreferredencodingÚsortedÚkeysÚreprÚgetvalueÚ
isinstanceÚbytesÚencodeÚread)r   Zstart_responseÚheadersÚwriteÚinputÚoutputZmetricsÚprocessZworkerr"   ÚkeyÚresultÚ
block_sizeÚdata© r2   úT/home/httpd/docs/test/DocsMgr/lib/python3.9/site-packages/mod_wsgi/server/environ.pyÚapplication   s¶    





ÿ
ÿ

ÿ
ÿÿÿ



ÿ
ÿ

ÿÿÿÿÿ
 
"


r4   )Ú
__future__r   r   r   r   Ú	cStringIOr   ÚImportErrorÚior   r   r4   r2   r2   r2   r3   Ú<module>   s   