#NEWLINE# def _set_status_code( self , code ) : #NEWLINE# #INDENT# self . _status_code = code #NEWLINE# try : #NEWLINE# #INDENT# self . _status = ( '%d %s' % ( code , HTTP_STATUS_CODES [ code ] . upper ( ) ) ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# self . _status = ( '%d UNKNOWN' % code )