#NEWLINE# def sendall( self , content , * args ) : #NEWLINE# #INDENT# ' override socket.socket.sendall method to rewrite the header\n        for non-tunneling proxies if needed\n        ' #NEWLINE# if ( not self . __httptunnel ) : #NEWLINE# #INDENT# content = self . __rewriteproxy ( content ) #NEWLINE# #UNINDENT# return super ( socksocket , self ) . sendall ( content , * args )