Skip to content
Permalink
Browse files

Update content type

  • Loading branch information
pblottiere committed Mar 6, 2020
1 parent 3296cab commit 29e74a38ad54cf8919a9ea765bb5a55185d95d7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsserverogcapi.cpp
@@ -33,7 +33,7 @@ QMap<QgsServerOgcApi::ContentType, QStringList> QgsServerOgcApi::sContentTypeMim
QStringLiteral( "application/geojson" )
};
map[QgsServerOgcApi::ContentType::HTML] = QStringList { QStringLiteral( "text/html" ) };
map[QgsServerOgcApi::ContentType::OPENAPI3] = QStringList { QStringLiteral( "application/openapi+json;version=3.0" ) };
map[QgsServerOgcApi::ContentType::OPENAPI3] = QStringList { QStringLiteral( "application/vnd.oai.openapi+json;version=3.0" ) };
map[QgsServerOgcApi::ContentType::XML] = QStringList { QStringLiteral( "application/xml" ) };
return map;
}();

0 comments on commit 29e74a3

Please sign in to comment.
You can’t perform that action at this time.