Is sort of do, since the final object is a wrapper around a unique path.

What about messing aroound with the url?

Is there a way to have it show:

http://foo.com/__init__.py

But really point to

http://foo.com/supercoolfileat__init__.py

?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Paul Winkler
Sent: Wednesday, May 11, 2005 3:56 PM
To: zope@zope.org
Subject: Re: [Zope] Underscoring Inaugural Address

On Wed, May 11, 2005 at 03:50:00PM -0400, Dan Pozmanter wrote:
> Ugh.  I suppose I could ignore the '_' bit (and override 
> BaseRequest.traverse), but the problems are:
> 1.  Keeping this thing synced with Zope.
> 2.  Accessing the object being traversed to to ensure it is of the 
> correct type.
> 
> There is no other way to do this?

Do you have to use URL traversal to reach the final object?
There's no such restriction on query parameters.

http://foo.com/get_file?name=__init__.py

-- 

Paul Winkler
http://www.slinkp.com
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to