Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering ATS queryable links test not enforceable #962

Open
aaime opened this issue Nov 6, 2024 · 0 comments
Open

Filtering ATS queryable links test not enforceable #962

aaime opened this issue Nov 6, 2024 · 0 comments

Comments

@aaime
Copy link
Contributor

aaime commented Nov 6, 2024

From Features Part 1:

Links included in payload of responses SHOULD also be included as Link headers in the HTTP response according to RFC 8288, Clause 3. This recommendation does not apply, if there are a large number of links included in a response or a link is not known when the HTTP headers of the response are created.

And from Part 3, Filtering, when talking about queryables:

The Queryables resource SHALL be referenced from each Collection resource with a link with the link relation type http://www.opengis.net/def/rel/ogc/1.0/queryables (or, alternatively, [ogc-rel:queryables]).

And also:

It is recommended to include the link in the response via an HTTP header.

However the ATS in A.1.2 assumes that links can be found in the response header. It should check the response contents instead, where the presence of the link can be mandated.

Specific point in case, GeoServer has many output supported output formats, leading to the "too many links to fit in the header" case. Regardless, besides the specific reason why the queryable link is not present in the header, a test should not assume recommended behavior as mandatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants