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

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
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).

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.