#NEWLINE# def testGet303( self ) : #NEWLINE# #INDENT# uri = urllib . parse . urljoin ( base , '303/303.cgi' ) #NEWLINE# ( response , content ) = self . http . request ( uri , 'POST' , ' ' ) #NEWLINE# self . assertEqual ( response . status , 200 ) #NEWLINE# self . assertEqual ( content , b'This is the final destination.\n' ) #NEWLINE# self . assertEqual ( uri . previous . status , 303 )