You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call the exact same url with curl -I to receive only the headers (for monitoring purpose), the headers are different, especially the Content-Type : Content-Type: text/html
The difference is that curl use the command HEAD instead of GET, but the headers should be equivalent.
Operating system
Debian bullseye 64 bit
MapServer version and installation method
7.6.2 version, I am not sure of the way it was installed
The text was updated successfully, but these errors were encountered:
MapServer doesn't explicitly handle HEAD requests. In the tests I ran locally, it's the web server responding with a 200, so basically that the CGI script/handler is there. I'm not sure there's anything we can do.
Expected behavior and actual behavior.
Using GET and HEAD as HTTP commands should return the same headers.
Steps to reproduce the problem.
Mapserver is behind apache, with the only interesting configuration is :
The version installed is 7.6.2
When I call my server with curl, for example with this call, I receive a png, with the according header
Content-Type: image/png
curl https://[MYDOMAIN]/maps/osm-default\?VERSION\=1.1.1\&REQUEST\=GetMap\&LAYERS\=default\&WIDTH\=256\&HEIGHT\=256\&FORMAT\=image/png\&SRS\=EPSG:3857\&BBOX\=670199.864,6227477.568,675091.833,6232369.538
When I call the exact same url with
curl -I
to receive only the headers (for monitoring purpose), the headers are different, especially the Content-Type :Content-Type: text/html
The difference is that curl use the command HEAD instead of GET, but the headers should be equivalent.
Operating system
Debian bullseye 64 bit
MapServer version and installation method
7.6.2 version, I am not sure of the way it was installed
The text was updated successfully, but these errors were encountered: