a
    َa                     @   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qt|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  |&|}qd 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: %s	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 r3   \/var/www/viveiro_mudafortebrasil/venv/lib/python3.9/site-packages/mod_wsgi/server/environ.pyapplication   s    

















 
"


r5   )
__future__r   r   r   r   	cStringIOr   ImportErrorior   r   r5   r3   r3   r3   r4   <module>   s   