#NEWLINE# def report( self , environ ) : #NEWLINE# #INDENT# retval = { #NEWLINE# #INDENT# 'started' : time . strftime ( '%Y-%m-%d %H:%M:%S' , time . gmtime ( finished [ REQUEST_STARTED ] ) ) , #NEWLINE# 'finished' : '' , #NEWLINE# 'content_length' : environ . get ( 'CONTENT_LENGTH' ) , #NEWLINE# 'bytes_received' : environ [ ENVIRON_RECEIVED ] , #NEWLINE# 'path_info' : environ . get ( 'PATH_INFO' , '' ) , #NEWLINE# 'query_string' : environ . get ( 'QUERY_STRING' , '' ) , #NEWLINE# #UNINDENT# } #NEWLINE# finished = environ [ REQUEST_FINISHED ] #NEWLINE# if finished : #NEWLINE# #INDENT# retval [ 'finished' ] = time . strftime ( '%Y:%m:%d %H:%M:%S' , time . gmtime ( finished ) ) #NEWLINE# #UNINDENT# return retval