[Zope3-dev] [Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/tests - testPublisherServer.py:1.1.2.6

Tres Seaver tseaver@zope.com
Wed, 27 Mar 2002 07:20:01 -0500 (EST)


On Wed, 27 Mar 2002, Steve Alexander wrote:

> <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.

+1

-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.org