#NEWLINE# def add_date_fields( self , response ) : #NEWLINE# #INDENT# now = datetime . utcnow ( ) #NEWLINE# if ( 'last-modified' not in response . headers ) : #NEWLINE# #INDENT# response . last_modified = now #NEWLINE# #UNINDENT# if ( 'date' not in response . headers ) : #NEWLINE# #INDENT# response . date = now