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`  oY@sdZddlZddddgZGdddejZGdddeZGd ddeZGd ddeZdS) aResponse classes used by urllib. The base class, addbase, defines a minimal file-like interface, including read() and readline(). The typical response object is an addinfourl instance, which defines an info() method that returns headers and a geturl() method that returns the url. Naddbase addclosehookaddinfo addinfourlcsLeZdZdZfddZddZddZdd ZS) rzOBase class for addinfo and addclosehook. Is a good idea for garbage collection.cs,tt|j|ddd||_dS)NzdeleteF)superr__init__fp)selfr ) __class__'/opt/python35/lib/python3.5/response.pyrszaddbase.__init__cCs d|jjt||jfS)Nz<%s at %r whose fp = %r>)r __name__idfile)r r r r __repr__s zaddbase.__repr__cCs|jjrtd|S)NzI/O operation on closed file)r closed ValueError)r r r r __enter__s  zaddbase.__enter__cCs|jdS)N)close)r typevalue tracebackr r r __exit__!szaddbase.__exit__)r __module__ __qualname____doc__rrrrr r )r r rs   cs:eZdZdZfddZfddZS)rz*Class to add a close hook to an open file.cs,tt|j|||_||_dS)N)rrr closehookhookargs)r r rr)r r r r(s zaddclosehook.__init__c sSz8|j}|j}|r7d|_d|_||Wdtt|jXdS)N)rrrrr)r rr)r r r r-s    zaddclosehook.close)rrrrrrr r )r r r%s cs4eZdZdZfddZddZS)rz.class to add an info() method to an open file.cs#tt|j|||_dS)N)rrrheaders)r r r)r r r r<szaddinfo.__init__cCs|jS)N)r)r r r r info@sz addinfo.info)rrrrrr r r )r r r9s csCeZdZdZdfddZddZddZS) rz9class to add info() and geturl() methods to an open file.Ncs/tt|j||||_||_dS)N)rrrurlcode)r r rr!r")r r r rGs zaddinfourl.__init__cCs|jS)N)r")r r r r getcodeLszaddinfourl.getcodecCs|jS)N)r!)r r r r geturlOszaddinfourl.geturl)rrrrrr#r$r r )r r rDs  )rtempfile__all___TemporaryFileWrapperrrrrr r r r s