[Zope-Coders] URL1 in testing REQUESTs
Chris McDonough
chrism@zope.com
Wed, 12 Dec 2001 23:46:43 -0500
Since there is no actual PATH_INFO (and cant be because there's actually
no real HTTP request backing up the request object), it makes as much
sense to stick "foobar' into URLx as anything, so I think that's the
right answer for now if you need it.
Chris Withers wrote:
> Hi,
>
> Some of the Squishdot methods use REQUEST['URL1'], and their tests currently
> fail :-(
>
> The REQUEST object created by makerequest.py doesn't have a key of this name
> even though it always works TTW in a live Zope environment.
>
> Is makerequest.py still the official way of making REQUEST's?
> If so, can someone advise of the the change I should make to makerequest.py of
> than just adding:
> req['URL1']='somerubbish'
> ...or is that good enough?
>
> If not, then what should I be using instead?
>
> cheers,
>
> Chris
>
> PS: Is any of this at all relevant to Zope 3?
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders
>
--
Chris McDonough Zope Corporation
http://www.zope.org http://www.zope.com
"Killing hundreds of birds with thousands of stones"