<s> """<STR_LIT>""" <EOL> from jsonrpc import SimpleServiceHandler <EOL> import urllib2 <EOL> class HTTPClientConnectionHandler ( SimpleServiceHandler ) : <EOL> def __init__ ( self , url , service , messageDelimiter = "<STR_LIT>" ) : <EOL> self . url = url <EOL> SimpleServiceHandler . __init__ ( self , service , messageDelimiter = messageDelimiter ) <EOL> def send ( self , data ) : <EOL> req = urllib2 . Request ( self . url , data ) <EOL> resp = urllib2 . urlopen ( req ) <EOL> self . handlePartialData ( resp . read ( ) ) </s>
