Showing with 242 additions and 92 deletions.
  1. +1 −1 src/mapserver/qgshttprequesthandler.cpp
  2. +216 −88 src/mapserver/qgswmsserver.cpp
  3. +25 −3 src/mapserver/qgswmsserver.h
2 changes: 1 addition & 1 deletion src/mapserver/qgshttprequesthandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void QgsHttpRequestHandler::sendGetFeatureInfoResponse( const QDomDocument& info
QByteArray ba;
QgsDebugMsg( "Info format is:" + infoFormat );

if ( infoFormat == "text/xml" )
if ( infoFormat == "text/xml" || infoFormat.startsWith("application/vnd.ogc.gml") )
{
ba = infoDoc.toByteArray();
}
Expand Down
Loading