We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebab36a commit 06aad16Copy full SHA for 06aad16
src/server/qgshttprequesthandler.cpp
@@ -112,7 +112,7 @@ void QgsHttpRequestHandler::sendHeaders()
112
QgsDebugMsg( QString( "Content format: %1" ).arg( mInfoFormat ) );
113
printf( "Content-Type: " );
114
printf( mInfoFormat.toLocal8Bit() );
115
- if ( mInfoFormat.startsWith( "text/" ) )
+ if ( mInfoFormat.startsWith( "text/" ) || mInfoFormat.startsWith( "application/vnd.ogc.gml" ) )
116
printf( "; charset=utf-8" );
117
printf( "\n" );
118
// size is not known when streaming
0 commit comments