On Thursday 17 January 2002 14:16, Ben Parker wrote:
> self.request()._environ['HTTP_HOST']

That should be: self.request.environ()['HTTP_HOST']

Underscored attributes are internal implementation details that are 
not guarenteed to remain as they are.

> assuming self is a subclass of WebKit.Page
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Rolf Hanson
> Sent: Thursday, January 17, 2002 5:08 PM
> To: [EMAIL PROTECTED]
> Subject: [Webware-discuss] Easiest way to grab HTTP_HOST from page
>
>
> In my SitePage class, what is the easiest way to grab the HTTP_HOST
> field from my http request?
>
> Rolf
>
>
>
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
>
>
>
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to