#NEWLINE# def post( self ) : #NEWLINE# #INDENT# redirect_code = int ( self . request . body ) #NEWLINE# assert ( redirect_code in ( 302 , 303 ) ) , ( 'unexpected body %r' % redirect_code . request . body ) #NEWLINE# self . set_header ( 'Location' , '/see_other_get' ) #NEWLINE# self . set_status ( redirect_code )