korsygfhrtzangaiide
Elepffwdsff
/
lib64
/
python2.7
/
site-packages
/
mercurial
/
hgweb
/
Upload FileeE
HOME
� Hq�Qc @ sE d d l Z d d l Z d d l m Z d d l m Z d � Z d S( i����N( t util( t commonc s� t j t j � t j t j � t t j j � � } | j d d � | j d d � j d � r� | d } | d j | � r� | d t | � | d <q� n t j } | j d d � j � d k r� t j | t j j � } n | | d <t j | d <d | d <t | d <t | d <t | d <| j d d � j � d k rGd | d <n d | d <g � g � t j � � � � f d � � d � � � f d � } | | | � } z2 x | D] } � | � q�W� s�� d � n Wd t | d d � � � Xd S( Nt PATH_INFOt t SERVER_SOFTWAREs Microsoft-IISt SCRIPT_NAMEt HTTP_EXPECTs 100-continues wsgi.inputs wsgi.errorsi i s wsgi.versions wsgi.multithreads wsgi.multiprocesss wsgi.run_oncet HTTPSt offt ont 1t yest httpss wsgi.url_schemet httpc s� � s t d � � nZ � so � \ } } � (� j d | � x | D] } � j d | � qD W� j d � n � j | � � j � d S( Ns write() before start_response()s Status: %s s %s: %s s ( t AssertionErrort writet flush( t datat statust response_headerst header( t headers_sentt headers_sett out( s= /usr/lib64/python2.7/site-packages/mercurial/hgweb/wsgicgi.pyR / s c sa | r; z( � r- | d | d | d � � n Wd d } Xn � rP t d � � n | | g � (� S( Ni i i s Headers already set!( t NoneR ( R R t exc_info( R R R ( s= /usr/lib64/python2.7/site-packages/mercurial/hgweb/wsgicgi.pyt start_response>