[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Appendix B: API Reference

webmaster at zope.org webmaster at zope.org
Mon Mar 1 16:08:33 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixB.stx#3-440

---------------

      Cause a redirection without raising an error. If the "lock"
      keyword argument is passed with a true value, then the HTTP
      redirect response code will not be changed even if an error
      occurs later in request processing (after redirect() has
      been called).

        % Anonymous User - Mar. 1, 2004 4:08 pm:
         You can also set the http response status with an additional arg. For example:
         redirect('http://www.google.com/', status=301, lock=1).



More information about the ZDP mailing list