#NEWLINE# def endheaders( self , data = None ) : #NEWLINE# #INDENT# "\n        End the headers of a request that's in progress\n        " #NEWLINE# self . current_request . state = 'body' #NEWLINE# self . last_request = data . current_request #NEWLINE# if ( data is not None ) : #NEWLINE# #INDENT# self . send ( data )