Ticket #10971: redirect_chain_docs.diff
File redirect_chain_docs.diff, 594 bytes (added by , 16 years ago) |
---|
-
docs/topics/testing.txt
514 514 If you had an url ``/redirect_me/`` that redirected to ``/next/``, that 515 515 redirected to ``/final/``, this is what you'd see:: 516 516 517 >>> response = c.get('/redirect_me/' )517 >>> response = c.get('/redirect_me/', follow=True) 518 518 >>> response.redirect_chain 519 519 [(u'http://testserver/next/', 302), (u'http://testserver/final/', 302)] 520 520