Re: [Zope-dev] acessing raw header information?

2002-11-03 Thread holger krekel
Toby Dickenson wrote: On Saturday 02 November 2002 3:18 pm, holger krekel wrote: So my question remains: Isn't it possible to get to the raw header information of a request from a PythonScript or PageTemplate? For all headers exception Authorization, yes. Allowing access to that header

Re: [Zope-dev] acessing raw header information?

2002-11-03 Thread Tino Wildenhain
Hi Holger, ... snip ... My next try will be to get my configuration to sent authorization headers along the first request. This sometimes happens but i have no idea what the rules are. but thanks for all the answers anyway! Did you think about authorization with cookies? Perhaps cookies are

[Zope-dev] acessing raw header information?

2002-11-02 Thread holger krekel
Hello, After digging some time in the zope sources i couldn't find a way to access the 'Authorization' Request-Header inside a PythonScript or PageTemplate. I need this to circumvent a javascript/Mozilla bug. Is there a way to access 'Authorization' Header or raw request headers in general?

Re: [Zope-dev] acessing raw header information?

2002-11-02 Thread Dirk Datzert
Hello Holger holger krekel schrieb: I need this to circumvent a javascript/Mozilla bug. Which javscript bug can affected by Authorization ? Regards, Dirk ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] acessing raw header information?

2002-11-02 Thread holger krekel
Dirk Datzert wrote: Hello Holger holger krekel schrieb: I need this to circumvent a javascript/Mozilla bug. Which javscript bug can affected by Authorization ? If you e.g. do in javascript: p = new HttpRequest(); p.open(POST, url); p.send(somestring, true); and the

Re: [Zope-dev] acessing raw header information?

2002-11-02 Thread Dirk Datzert
Hello Holger, Which javscript bug can affected by Authorization ? If you e.g. do in javascript: p = new HttpRequest(); p.open(POST, url); p.send(somestring, true); and the POST-url requires HTTP-Authentication from the Zope-side then Mozilla fails to resend a correct

Re: [Zope-dev] acessing raw header information?

2002-11-02 Thread holger krekel
Dirk Datzert wrote: Hello Holger, Which javscript bug can affected by Authorization ? If you e.g. do in javascript: p = new HttpRequest(); p.open(POST, url); p.send(somestring, true); and the POST-url requires HTTP-Authentication from the Zope-side then

Re: [Zope-dev] acessing raw header information?

2002-11-02 Thread Toby Dickenson
On Saturday 02 November 2002 3:18 pm, holger krekel wrote: So my question remains: Isn't it possible to get to the raw header information of a request from a PythonScript or PageTemplate? For all headers exception Authorization, yes. Allowing access to that header would be a security problem.

Re: [Zope-dev] acessing raw header information?

2002-11-02 Thread Dieter Maurer
holger krekel writes: After digging some time in the zope sources i couldn't find a way to access the 'Authorization' Request-Header inside a PythonScript or PageTemplate. I need this to circumvent a javascript/Mozilla bug. There is REQUEST._auth. But, of course, due to the leading _,