Ticket #10971: redirect_chain_docs.diff

File redirect_chain_docs.diff, 594 bytes (added by Charlie DeTar, 16 years ago)

Patch to fix redirect_chain documentation example

  • docs/topics/testing.txt

     
    514514        If you had an url ``/redirect_me/`` that redirected to ``/next/``, that
    515515        redirected to ``/final/``, this is what you'd see::
    516516
    517             >>> response = c.get('/redirect_me/')
     517            >>> response = c.get('/redirect_me/', follow=True)
    518518            >>> response.redirect_chain
    519519            [(u'http://testserver/next/', 302), (u'http://testserver/final/', 302)]
    520520
Back to Top