;Xkh d Z ddlmZmZmZ ddlmZ ddlZddlZddl Z g dZ g dZg dZd Z h d j Zd Zd Z G d d Z G d de Z G d de Z G d de Z G d de ZdS )z/Base classes for server/gateway implementations )FileWrapperguess_scheme is_hop_by_hop)Headers N)BaseHandler SimpleHandlerBaseCGIHandler CGIHandler IISCGIHandlerread_environ)MonTueWedThuFriSatSun) NJanFebMarAprMayJunJulAugSepOctNovDecc t j | \ }}}}}}}}} dt | |t | ||||fz S )Nz#%s, %02d %3s %4d %02d:%02d:%02d GMT)timegmtime_weekdayname _monthname) timestampyearmonthdayhhmmsswdyzs 7/opt/alt/python311/lib64/python3.11/wsgiref/handlers.pyformat_date_timer1 sO -1[-C-C*D%b"b"a0R#z%0$B4 > HTTPS AUTH_TYPE PATH_INFOREMOTE_USERSCRIPT_NAMECONTENT_TYPEQUERY_STRINGREMOTE_IDENTCONTENT_LENGTHREQUEST_METHODc t | pU| d p@| d p+| d ot | dd S )NHTTP_SSL_ REDIRECT_ )_is_request startswith_needs_transcode)ks r0 rD rD sd q>> CQ\\'22 Call66J6J C LL%%A*:1QRR5*A*ACr2 c T t j } d} d d| n# t $ r d}Y nw xY wi }t j D ]F\ }}t | r+t j dk rt j dd }| d r)| d d }n| d rn| d r-d|v r)| d d }nS| | d d }n)| | | d }|||<