![]() ![]() so we end up with two content-type header and an invalid response in this case. I also noticed that if the template doesn't contain the magic " MapServer Template" line, the error/exception is returned in the specific EXCEPTIONS format *after* the content-type header for the template has already been returned. ![]() Make it so that passing the mime-type instead of the format name does work (currently doesn't work because msReturnTemplateQuery() accepts format names only but not mime types.Re-enable the test in msWMSFeatureInfo() (mapwms.c) to validate that the INFO_FORMAT parameter is a valid value (the hack above just lets anything go through).Advertize valid template formats in GetCapabilities.Note that with this patch you have to pass the format name and not its mime-type in the INFO_FORMAT. The patch above is a quick hack that disables the error message and lets you pass INFO_FORMAT=json in the URL given the following OUTPUTFORMAT: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |