[Zope-dev] acessing raw header information?

holger krekel pyth@devel.trillke.net
Sat, 2 Nov 2002 15:20:32 +0100


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 POST-url requires HTTP-Authentication from the Zope-side
then Mozilla fails to resend a correct POST-request with authorization.
In fact, mozilla doesn't send the body of the POST-request anymore.
It doesn't matter if you have already been authenticated (through the 
browser-login-window) before or during that interaction.

regards,

    holger