We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baaf570 commit d09d71fCopy full SHA for d09d71f
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