[OpenLayers-Dev] OpenLayers Ajax in trunk

Tim Schaub tschaub at openplans.org
Mon Feb 25 18:53:22 EST 2008


Hey again-

Sean Gillies wrote:
> Do the user and password parameters in example 8 indicate that you'd
> like to implement a layer of abstraction over HTTP authentication
> headers? I'd prefer to stay closer to bare HTTP.

Yeah, looks like it is just about the deprecated userinfo at host style.  I 
can issue the following request

r = new OpenLayers.Request.GET({user: "me", password: "secret"})

and see

GET http://me:secret@localhost/path

I'll remove that example (8), but I think it makes sense to keep the 
config properties around (since they are part of XMLHttpRequest).

Tim



More information about the Dev mailing list