File manager - Edit - /opt/imh-python/lib/python2.7/wsgiref/util.pyo
Back
� ��Wc @ 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 ( ( se /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/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( ( se /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/wsgiref/util.pyt __getitem__ s c C s | S( N( ( R ( ( se /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/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 ( ( se /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/wsgiref/util.pyt next s ( t __name__t __module__t __doc__R R R R ( ( ( se /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/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( s yesR R ( t get( t environ( ( se /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/wsgiref/util.pyR # s c C s� | d d } d d l m } | j d � r>