Hi all,
I have a question for you..
I would like to set the default header parameter for all the openlayers ajax
request, even that used by OpenLayers.Layer.Wms.
That's because I need to set the "Authorization" parameter in the header
with user and password for my WMS Layers.

I've tried with:

OpenLayers.Util.extend(
  OpenLayers.Request.DEFAULT_CONFIG,
  {
    headers: {Authorization: "BASIC " + usrPsw}
  }
);

But when I look at the request header sent it does not appear..

Help [?]

my rgds

Milan

<<361.gif>>

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to