[OpenLayers-Users] Default HTTP Header

Christopher Schmidt crschmidt at metacarta.com
Mon Dec 15 15:27:17 EST 2008


On Mon, Dec 15, 2008 at 01:33:59PM -0600, Terry Austin wrote:
> All,
> 
> This seems like something simple that I'm just not seeing, but is there a
> way to include a default HTTP header in every request made by OpenLayers
> (including tile requests)?

No. Tiles are requested via <img> tags, which do not support most
aspects of HTTP from a programatic perspective. Changing this would mean
switching to XMLHttpRequests for tile data, which is possible, but more
difficult, and would not work across servers as tile requeests currently
do.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list