You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GeoServerRESTStyleManager has many overloaded methods to publish a style in a workspace. Yet all of them assumes content type "application/vnd.ogc.sld+xml".
Functionality to check sld version is already available in the same class.
I provided a publish method with a format parameter and try to guess the format from the givens file extention within my fork. You could try this modification but its still alpha with all the other changes I introduced (at least for my needs).
GeoServerRESTStyleManager has many overloaded methods to publish a style in a workspace. Yet all of them assumes content type "application/vnd.ogc.sld+xml".
Functionality to check sld version is already available in the same class.
It should be trivial to update all methods to check SLD version and use the corresponding content type.
The text was updated successfully, but these errors were encountered: