#NEWLINE# def https_request( self , req ) : #NEWLINE# #INDENT# if req . has_data ( ) : #NEWLINE# #INDENT# data = req . get_data ( ) #NEWLINE# if ( hasattr ( data , 'read' ) or hasattr ( req , 'next' ) ) : #NEWLINE# #INDENT# if ( not req . has_header ( 'Content-length' ) ) : #NEWLINE# #INDENT# raise ValueError ( 'No Content-Length specified for iterable body' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return urllib2 . HTTPSHandler . do_request_ ( self , req )