[Zope3-dev] [Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/tests - testPublisherServer.py:1.1.2.6
Steve Alexander
steve@cat-box.net
Wed, 27 Mar 2002 10:42:04 +0000
<http://lists.zope.org/pipermail/zope-checkins/2002-March/012450.html>
- def redirect_method(self, RESPONSE):
+ def redirect_method(self, REQUEST):
"Generates a redirect using the redirect() method."
- RESPONSE.redirect("http://somewhere.com/redirect")
+ REQUEST.getResponse().redirect("http://somewhere.com/redirect")
I think we should use example.com in tests, rather than anything else,
as example.com is officially reserved for use in such things, and will
never be assigned to a company.
http://somewhere.com resolves to Somewhere Internet Solutions' website.
--
Steve Alexander