|
Matt Kruszewski created an issue |
Issue Type: |
|
---|---|
Assignee: |
Unassigned |
Created: |
11/May/17 11:41 PM |
Priority: |
|
Reporter: |
If a custom StyleHandler uses a common file extension (e.g., “style.json”), the StyleFinder will overwrite the MediaType mapping for that extension with the mime type of the custom StyleHandler. For example, when using the community MBStyleHandler (which uses the “json” file extension), the MediaTypes mapping from the “.json” extension to the “application/json” mime type is overwritten with “application/vnd.geoserver.mbstyle+json”. As a result, any style-related request that uses the “.json” extension would return incorrectly (e.g., even /styles/someSLDStyle.json – or simply /styles.json). |
This message was sent by Atlassian JIRA (v1000.929.2#100040-sha1:94c1764) |
|