Re: [Zope3-Users] How to get at the URL as entered in the browser?

2007-10-26 Thread Frank Burkhardt
Hi, On Thu, Oct 25, 2007 at 08:51:41AM +0800, Yuan HOng wrote: On 10/24/07, Frank Burkhardt [EMAIL PROTECTED] wrote: The web server never gets the URL which as typed by the user. At least the protocol (http vs. https), is lost. This is what you can do: url='http://' +

Re: [Zope3-Users] How to get at the URL as entered in the browser?

2007-10-24 Thread Frank Burkhardt
Hi, On Tue, Oct 23, 2007 at 11:08:35PM +0800, Yuan HOng wrote: Hi, list, Is it possible to retrieve the URL the user enters in the browser location box? The request's getURL method seems to return the traversed URL, including the default view name. In particular, I have a custom

Re: [Zope3-Users] How to get at the URL as entered in the browser?

2007-10-24 Thread Yuan HOng
On 10/24/07, Frank Burkhardt [EMAIL PROTECTED] wrote: The web server never gets the URL which as typed by the user. At least the protocol (http vs. https), is lost. This is what you can do: url='http://' + request['HTTP_HOST'] + request['REQUEST_URI'] Does this work for Zope3? I use

[Zope3-Users] How to get at the URL as entered in the browser?

2007-10-23 Thread Yuan HOng
Hi, list, Is it possible to retrieve the URL the user enters in the browser location box? The request's getURL method seems to return the traversed URL, including the default view name. In particular, I have a custom traverser for my object which extracts certain parameters from the URL path