[Geoserver-devel] [jira] (GEOS-6889) Service Capabilities links on homepage should use acceptVersions parameter where appropriate

Marcus Sen created an issue

GeoServer / ImprovementGEOS-6889

Service Capabilities links on homepage should use acceptVersions parameter where appropriate

Issue Type:

ImprovementImprovement

Affects Versions:

2.6.2, 2.7-beta

Assignee:

Andrea Aime

Components:

UI

Created:

17/Feb/15 5:08 AM

Priority:

MinorMinor

Reporter:

Marcus Sen

On the home page there is a listing of links under “Service Capablities” to obtain the capabilities documents for different services and versions.

Currently this uses the pattern “service=&version=&request=GetCapabilities" but for later versions of some services (in particular WFS v2.0.0 and and WCS v2.0.1) this should be changed to "service=&acceptVersions=&request=GetCapabilities”

This is coded in org.geoserver.web.ServiceInfoCapabilitiesProvider. A quick hack could be to special case the appropriate cases here but maybe something more elegant should be done where different services define their own GetCapabilities links?

(There are some issues with acceptVersions handling http://jira.codehaus.org/browse/GEOS-6469 and http://jira.codehaus.org/browse/GEOS-1684 but those don’t have an impact on making this change I think.)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo