From b4b5cde4aeb365ca9ea31a63cfc7bdc8b1efe9fc Mon Sep 17 00:00:00 2001 From: Hugo Cisneros Date: Fri, 25 Aug 2023 10:01:05 +0000 Subject: [PATCH] Add text/html to advertised GetFeatureInfo formats --- lib/service_wms.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/service_wms.c b/lib/service_wms.c index 9ed4a3e1..2ea7ec9e 100644 --- a/lib/service_wms.c +++ b/lib/service_wms.c @@ -146,6 +146,7 @@ void _create_capabilities_wms(mapcache_context *ctx, mapcache_request_get_capabi /* "\n" "text/plain\n" + "text/html\n" "application/vnd.ogc.gml\n" "\n" "\n" @@ -158,6 +159,7 @@ void _create_capabilities_wms(mapcache_context *ctx, mapcache_request_get_capabi */ tmpxml = ezxml_add_child(reqxml,"GetFeatureInfo",0); ezxml_set_txt(ezxml_add_child(tmpxml,"Format",0),"text/plain"); + ezxml_set_txt(ezxml_add_child(tmpxml,"Format",0),"text/html"); ezxml_set_txt(ezxml_add_child(tmpxml,"Format",0),"application/vnd.ogc.gml"); tmpxml = ezxml_add_child(tmpxml,"DCPType",0); tmpxml = ezxml_add_child(tmpxml,"HTTP",0);