Skip to content

Commit 6af62ab

Browse files
authored
Add support for css1.0.0 format version
1 parent ffbcbb1 commit 6af62ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/geoserver/style.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@
1919

2020

2121
class Style(ResourceInfo):
22-
supported_formats = ["sld10", "sld11", "zip10", "css10", "sld1.0.0", "sld1.1.0"]
22+
supported_formats = ["sld10", "sld11", "zip10", "css10", "css1.0.0", "sld1.0.0", "sld1.1.0"]
2323
content_types = {
2424
"sld10": "application/vnd.ogc.sld+xml",
2525
"sld11": "application/vnd.ogc.se+xml",
2626
"zip10": "application/zip",
2727
"css10": "application/vnd.geoserver.geocss+css",
28+
"css1.0.0": "application/vnd.geoserver.geocss+css",
2829
"sld1.0.0": "application/vnd.ogc.sld+xml",
2930
"sld1.1.0": "application/vnd.ogc.se+xml",
3031
}

0 commit comments

Comments
 (0)