Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [http-headers]

components of the header section of the request and response messages in the Hypertext Transfer Protocol (HTTP).

0
votes
0answers
29 views

Configuring HTTP Header Proxy Authentication in GeoServer 2.14.2?

I am trying to configure GeoServer so an API service can make an HTTP request and authenticate by having a header attribute that maps to a specific user role. In following the documentation here I ...
3
votes
1answer
143 views

HTTP Basic Auth Failure: Esri JS API

I am unable to prompt the Basic Authorization popup to appear using the Esri JS API with a Secured OGC WMS service. A concise description: Using a basic fetch request, with credentials: "include" ...
1
vote
0answers
388 views

Openlayers WMTS GET request with Basic Authentication returns 401 Error

We are trying to publish WMTS with basic authentication from Geoserver. Our addwmts() function works without a problem when there is no basic authentication. We have stored our tiles in Geoserver. ...
0
votes
0answers
802 views

http GET request encounters AH02429 (response contains invalid characters)

I installed zoo-project from sources (latest) on both a Ubuntu 16.04 VM and docker container. I also have a few python scripts that are already used on a production environnement, with no problem. A ...
1
vote
0answers
67 views

OpenLayers 2 WMS CQL_Filter with diacritic

I´m using GeoServer where I can query WMS services to get image from a CQL Filter query. The URL for the service looks like: http://myserver/ows/LIMITS_ADM/wms?LAYERS=LIMADM_MUNICIPI&TRANSPARENT=...
1
vote
1answer
87 views

Problem when downloading Proba-V images

I am trying programmatically to download a number of Proba-V NDVI images in tiff format from the VITO website (http://www.vito-eodata.be/PDF/portal/Application.html#Home). Final objective is to ...
7
votes
2answers
1k views

Proxy for Secure ArcGIS Server Services. Secure?

To access secure services (token based or credentials), Esri recommends using proxy files (.net github example). When routing requests through the proxy, you are able to request secure services on ...
1
vote
0answers
130 views

How to get Set-Cookie header from ArcGIS REST services?

When I call an ArcGIS REST service, I get Cache-Control, Etag, Content-Encoding, Content-Type, Transfer-Encoding and Date headers. But I don't get Set-Cookies header. Is there a way to get this ...
6
votes
4answers
4k views

geoserver xml header for cors xmlhttprequest [duplicate]

I'm running geoserver-2.5.2. From an external server i would like to call it as a wfs source with ol3. For this I would like to allow this external server to access the data. It seams I need a header ...
4
votes
1answer
565 views

How to add additional HTTP response headers?

I installed recent MapProxy (1.7.1) on Ubuntu 14.04 LTS following this guide. Everything works - I can get test OSM layer's tiles through proxy. But in order to use this layer on my web page I have to ...
1
vote
0answers
72 views

No 'Access-Control-Allow-Origin' header is present on the requested resource. Using Geoserver + Openlayers [duplicate]

This is my code to open a WFS layer from geoserver: <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8' /> <title>My OpenLayers Map</title> <...
3
votes
0answers
552 views

What does ‘Response Cache Headers’ and ‘Cache Time (seconds)’ in Geoserver really do?

I am trying to understand what these two settings do and how they can be used to influence how the user’s browser caches a tile. From the Geoserver documentation: “HTTP Settings—Cache parameters ...
0
votes
1answer
422 views

Add cookies to a WMS request with OpenLayers2

I need to add a cookie in each WMS request. I tried to do something like below, but I don't think this is the right way: getURL : function(bounds) { var requestString = OpenLayers.Layer.WMS....
2
votes
1answer
536 views

How to add header to the http response of Geoserver

Add a specific header to the http response of Geoserver, to allow cross domains request and avoid XMLHttpRequest On Load error.
1
vote
1answer
607 views

XMLHttpRequest cannot load error When we have GeoServer and WebServer on same domain

I have Geoserver and webserver on same domain (Windows XP with IIS). But when i tried to get WMS feature info, i got this error in chrome. If Geoserver and webserver on same orgin, no need of proxy i ...
11
votes
2answers
14k views

Enabling CORS in OpenLayers

Is it possible to enable Cross-Origin Resource Sharing (CORS) in OpenLayers? If so, how? I have a web map in OpenLayers, and I'm using an HTML canvas to render it as a PNG image. My script works ...
1
vote
0answers
645 views

When I try to do a WMS request to geoserver using the leaflet API I am getting a format related error

This XML file does not appear to have any style information associated with it. The document tree is shown below. <ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
5
votes
1answer
3k views

'invalid url' on ArcGIS server REST API

From time to time, the services on our ArcGIS server will not be available, and when requesting tiles, I will get a 'invalid url'. This is okay, sometimes it is scheduled downtime, maintenance or just ...
7
votes
2answers
2k views

Logging incoming request HTTP headers in GeoServer

I have a GeoServer 2.0.2 and I send POST requests using mobile devices. I would like to see how the incoming POST request HTTP headers are formatted, especially what kind of character encoding and ...