Hacked By AnonymousFox
�
{fc @ s� d Z d d l Z d d d d d d g Z d d d � � YZ d
� Z d � Z d d
� Z d � Z d � Z i d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6j Z
d � Z d S( s$ Miscellaneous WSGI-related Utilitiesi����Nt FileWrappert guess_schemet application_urit request_urit shift_path_infot setup_testing_defaultsc B s5 e Z d Z d d � Z d � Z d � Z d � Z RS( s1 Wrapper to convert file-like objects to iterablesi c C s4 | | _ | | _ t | d � r0 | j | _ n d S( Nt close( t fileliket blksizet hasattrR ( t selfR R ( ( s$ /usr/lib64/python2.7/wsgiref/util.pyt __init__ s c C s) | j j | j � } | r | St � d S( N( R t readR t
IndexError( R
t keyt data( ( s$ /usr/lib64/python2.7/wsgiref/util.pyt __getitem__ s c C s | S( N( ( R
( ( s$ /usr/lib64/python2.7/wsgiref/util.pyt __iter__ s c C s) | j j | j � } | r | St � d S( N( R R R t
StopIteration( R
R ( ( s$ /usr/lib64/python2.7/wsgiref/util.pyt next s ( t __name__t
__module__t __doc__R R R R ( ( ( s$ /usr/lib64/python2.7/wsgiref/util.pyR s
c C s! | j d � d k r d Sd Sd S( sM Return a guess for whether 'wsgi.url_scheme' should be 'http' or 'https'
t HTTPSt yest ont 1t httpst httpN( R R R ( t get( t environ( ( s$ /usr/lib64/python2.7/wsgiref/util.pyR # s c C s� | d d } d d l m } | j d � r>