<s> def application ( environ , start_response ) : <EOL> ctype = '<STR_LIT>' <EOL> if environ [ '<STR_LIT>' ] == '<STR_LIT>' : <EOL> response_body = "<STR_LIT:1>" <EOL> elif environ [ '<STR_LIT>' ] == '<STR_LIT>' : <EOL> response_body = [ '<STR_LIT>' % ( key , value ) <EOL> for key , value in sorted ( environ . items ( ) ) ] <EOL> response_body = '<STR_LIT:\n>' . join ( response_body ) <EOL> else : <EOL> ctype = '<STR_LIT>' <EOL> response_body = '''<STR_LIT>''' <EOL> status = '<STR_LIT>' <EOL> response_headers = [ ( '<STR_LIT:Content-Type>' , ctype ) , ( '<STR_LIT>' , str ( len ( response_body ) ) ) ] <EOL> start_response ( status , response_headers ) <EOL> return [ response_body ] </s>
