PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  aNc@sdZddlZddlmZmZddlmZyddlmZWn!e k roddlmZnXde fdYZ de fd YZ d e fd YZ d Zd dZdS(s- WSGI middleware Gzip-encodes the response. iN(t header_valuet remove_header(tCONTENT_LENGTH(tStringIOt GzipOutputcBseZRS((t__name__t __module__(((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyRst middlewarecBseZddZdZRS(icCs||_t||_dS(N(t applicationtinttcompress_level(tselfRR ((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyt__init__s cCsud|jddkr(|j||St||j}|j||j}|dk rk|j|n|jS(NtgziptHTTP_ACCEPT_ENCODINGt(tgetRt GzipResponseR tgzip_start_responsetNonetfinish_responsetwrite(R tenvirontstart_responsetresponsetapp_iter((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyt__call__s   (RRR R(((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyRs RcBs/eZdZddZdZdZRS(cCs4||_||_t|_t|_d|_dS(N(RR RtbuffertFalset compressibleRtcontent_length(R RR ((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyR .s     cCs||_t|d}t|d}t|_|rl|jdsT|jdrld|krlt|_n|r~t|_n|jr|jdnt|d||_||_|j j S( Ns content-typescontent-encodingstext/s application/tzipR scontent-length(scontent-encodingsgzip( theadersRRRt startswithtTruetappendRtstatusRR(R R$R texc_infotcttce((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyR5s  $       cCs3|j}|jd|j}|j|gS(Ni(Rtseektgetvaluetclose(R toutts((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyRFs     cCs|jr0tjddd|jd|j}n |j}z8x|D]}|j|qCW|jrp|jnWdt|dr|jnX|jj}t j |j ||j |j |j dS(Ntmodetwbt compressleveltfileobjR*(RR tGzipFileR RRR*thasattrttellRtupdateR RR$(R RtoutputR,R((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyRMs    N(RRR RRRR(((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyR,s   cKs,ddl}|jdtdd}|S(Nis=This function is deprecated; use make_gzip_middleware insteadicSs t|S(N(R(R((s1/usr/lib/python2.7/site-packages/paste/gzipper.pytfilterds(twarningstwarntDeprecationWarning(RtconfR7R6((s1/usr/lib/python2.7/site-packages/paste/gzipper.pytfilter_factory_s    icCst|}t|d|S(s Wrap the middleware, so that it applies gzipping to a response when it is supported by the browser and the content is of type ``text/*`` or ``application/*`` R (R R(tappt global_confR ((s1/usr/lib/python2.7/site-packages/paste/gzipper.pytmake_gzip_middlewarehs (t__doc__R tpaste.responseRRtpaste.httpheadersRt cStringIORt ImportErrortobjectRRRR;R>(((s1/usr/lib/python2.7/site-packages/paste/gzipper.pyt s  3