#NEWLINE# @ webob . dec . wsgify #NEWLINE# def __call__( self , req ) : #NEWLINE# #INDENT# req_id = context . generate_request_id ( ) #NEWLINE# req . environ [ ENV_REQUEST_ID ] = req_id #NEWLINE# response = req . get_response ( self . application ) #NEWLINE# if ( HTTP_RESP_HEADER_REQUEST_ID not in response . headers ) : #NEWLINE# #INDENT# response . headers . add ( HTTP_RESP_HEADER_REQUEST_ID , req_id ) #NEWLINE# #UNINDENT# return response