#NEWLINE# def test_response( self ) : #NEWLINE# #INDENT# def run( ) : #NEWLINE# #INDENT# bottle . response . bind ( ) #NEWLINE# bottle . response . content_type = 'test/thread' #NEWLINE# self . assertEqual ( bottle . response . headers [ 'Content-Type' ] , 'test/thread' ) #NEWLINE# #UNINDENT# bottle . response . bind ( ) #NEWLINE# bottle . response . content_type = 'test/main' #NEWLINE# self . assertEqual ( bottle . response . headers [ 'Content-Type' ] , 'test/main' ) #NEWLINE# run_thread ( run ) #NEWLINE# self . assertEqual ( bottle . response . headers [ 'Content-Type' ] , 'test/main' )