/usr/lib/python2.6/site-packages/rhn
Edit: /usr/lib/python2.6/site-packages/rhn/connections.pyo (9562B)
Ñò
isæQc @ s d d k Z d d k Z d d k Z d d k Z d d k Z d d k l Z e i Z e i Z e i
Z
d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e f d „ ƒ YZ
d e f d
„ ƒ YZ d e f d „ ƒ YZ d
e
f d „ ƒ YZ d „ Z d „ Z d S( iÿÿÿÿN( t python_versiont HTTPResponsec B s e Z d „ Z d d „ Z RS( c C sO t | i t i ƒ p t i | i ƒ | _ n | i i | | | | | ƒ d S( N( t
isinstancet fpt nonblockingt NonBlockingFilet set_callback( t selft rst wst ext user_datat callback( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyR s c C sé | i d j o d S| i o | i | ƒ S| d j o> | i o | i i ƒ } n | i | i ƒ } | i ƒ | S| i d j o! | | i j o
| i } q© n | i i | ƒ } | i d j o | i t | ƒ | _ n | S( Nt (
R t Nonet chunkedt
_read_chunkedt
will_closet readt
_safe_readt lengtht closet len( R t amtt s( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyR s"
N( t __name__t
__module__R R R ( ( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyR s t HTTPConnectionc B sD e Z e Z d e i d „ Z d „ Z d „ Z d „ Z
d „ Z RS( c C s‰ t ƒ d j o t i i | | | d | ƒn t i i | | | ƒ g | _ g | _ g | _ d | _ d | _ d | _
| | _ d S( Ns 2.6.1t timeouts# rhn.connections $Revision$ (python)( R t httplibR t __init__t _cb_rst _cb_wst _cb_exR t
_cb_user_datat _cb_callbackt _user_agentR ( R t hostt portR ( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyR D s c C s1 | | _ | | _ | | _ | | _ | | _ d S( N( R R R! R" R# ( R R R R
R R ( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyR Q s
c C s
| | _ d S( N( R$ ( R t
user_agent( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyt set_user_agentY s c C sú | i o | i i ƒ o
d | _ n | i t j p
| i o
t ƒ ‚ n | i d j o | i | i | i ƒ } n | i | i ƒ } | i o, | i
| i | i | i
| i | i ƒ n | i ƒ t | _ | i o | i ƒ n
| | _ | S( s! Get the response from the server.i N( t _HTTPConnection__responset isclosedR t _HTTPConnection__statet _CS_REQ_SENTt ResponseNotReadyt
debuglevelt response_classt sockR# R R R R! R" t begint _CS_IDLER R ( R t response( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyt getresponse^ s
c C s' t i i | ƒ | i i | i ƒ d S( N( R R t connectR0 t
settimeoutR ( R ( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyR5 s N( R R R R/ R t SSLt DEFAULT_TIMEOUTR R R( R4 R5 ( ( ( s3 /usr/lib/python2.6/site-packages/rhn/connections.pyR A s
1t HTTPProxyConnectionc B s> e Z d d d e i d „ Z d „ Z d d „ Z d „ Z RS( c C sn t i | | d | ƒ| i | i | _ | _ | i | | ƒ | i | i | _ | _ | | _ | | _
d S( NR ( R R R% R&