Skip to main content

Questions tagged [http-headers]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

Can not find HTTP Headers sent from QGIS to GeoServer (Koop)

I'm setting HTTP Headers in QGIS: I expected "x-my-extra-info" to show up in the request headers in Koop (an Express app). However, I've console logged the headers (and rawHeaders) and don'...
Todd R's user avatar
  • 101
2 votes
1 answer
544 views

Setting HTTP Headers in QGIS 3.22 Białowieża

In QGIS Buenos Aires there was a way to add HTTP Headers when creating a new WMS Connection: However, QGIS Białowieża that option is missing: How can I add custom HTTP Headers (cookies) in QGIS ...
Lokomotywa's user avatar
  • 1,181
3 votes
1 answer
254 views

Mime type for WKT?

What is mime type for Well-known Text (WKT)? text/wkt?
Esko Piirainen's user avatar
14 votes
1 answer
879 views

Sending requests including headers via PyQGIS by using QGIS Proxysettings

I am working on a plugin, where sending requests to an external server is part of the process. When using no proxy (like from my personal computer), this works just fine: import urllib # example url ...
MrXsquared's user avatar
  • 34.9k
2 votes
1 answer
218 views

Adding ETag to response headers of Geowebcache

Serving tiles from Geowebcache, I need to add ETag parameter to response headers. How can it would be happen? Cache-Control: max-age=2629743, must-revalidate Content-Length: 541947 Content-Type: ...
Harry Wilson's user avatar
3 votes
1 answer
548 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" ...
DropTheLattitude's user avatar
1 vote
0 answers
2k 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. ...
Kaner Levent's user avatar
1 vote
0 answers
126 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=...
Luis Acedo's user avatar
1 vote
1 answer
111 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 ...
Gianluca Franceschini's user avatar
8 votes
2 answers
2k 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 ...
jOshT's user avatar
  • 571
1 vote
0 answers
233 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 ...
yo_haha's user avatar
  • 1,137
6 votes
4 answers
5k 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 ...
tiemn's user avatar
  • 101
4 votes
1 answer
816 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 ...
ezze's user avatar
  • 153
1 vote
0 answers
178 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> <...
csf's user avatar
  • 989
3 votes
0 answers
755 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 ...
Mark Wassell's user avatar
0 votes
1 answer
752 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....
Mauro's user avatar
  • 1
2 votes
1 answer
874 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.
venkat's user avatar
  • 1,051
1 vote
1 answer
664 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 ...
venkat's user avatar
  • 1,051
15 votes
2 answers
22k 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 ...
Xavier Holt's user avatar
1 vote
0 answers
796 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" ...
Carl Carlson's user avatar
5 votes
1 answer
5k 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 ...
Ragnar123's user avatar
  • 335
7 votes
2 answers
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 ...
Chau's user avatar
  • 4,490