Questions tagged [http-headers]
components of the header section of the request and response messages in the Hypertext Transfer Protocol (HTTP).
22
questions
0
votes
0
answers
15
views
Error in getting metadata from Geonetwork using API
I need to get metadata from the Geonetwork using Api for displaying the data in the grid but when I use to call api using XMLHttpRequest it throws me error with 403 forbidden CORS issue even I had ...
2
votes
1
answer
222
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 ...
3
votes
1
answer
182
views
Mime type for WKT?
What is mime type for Well-known Text (WKT)? text/wkt?
14
votes
1
answer
684
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 ...
2
votes
1
answer
170
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: ...
3
votes
1
answer
505
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
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. ...
1
vote
0
answers
120
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
1
answer
110
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 ...
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 ...
1
vote
0
answers
225
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
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 ...
4
votes
1
answer
731
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
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>
<...
3
votes
0
answers
707
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
1
answer
695
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
1
answer
804
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
1
answer
660
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 ...
13
votes
2
answers
21k
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
0
answers
772
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
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 ...
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 ...