관리-도구
편집 파일: util.cpython-35.opt-2.pyc
���] � @ s� d d l Z d d d d d d g Z Gd d � d � Z d d � Z d d � Z d d d � Z d d � Z d d � Z d d d d d d d d d d d d d d d d i j Z d d � Z d S)� N�FileWrapper�guess_scheme�application_uri�request_uri�shift_path_info�setup_testing_defaultsc @ sC e Z d Z d d d � Z d d � Z d d � Z d d � Z d S)r i c C s1 | | _ | | _ t | d � r- | j | _ d S)N�close)�filelike�blksize�hasattrr )�selfr r � r �)/opt/alt/python35/lib64/python3.5/util.py�__init__ s zFileWrapper.__init__c C s) | j j | j � } | r | St � d S)N)r �readr � IndexError)r �key�datar r r �__getitem__ s zFileWrapper.__getitem__c C s | S)Nr )r r r r �__iter__ s zFileWrapper.__iter__c C s) | j j | j � } | r | St � d S)N)r r r � StopIteration)r r r r r �__next__ s zFileWrapper.__next__N)�__name__� __module__�__qualname__r r r r r r r r r s c C s! | j d � d k r d Sd Sd S)NZHTTPS�yes�on�1�https�http)r r r )�get)�environr r r r # s c C s� | d d } d d l m } | j d � r>