Hi,
Doesn’t this suit what is said about version number negotiation in the standard? I was reading this
http://cite.opengeospatial.org/OGCTestData/wms/1.1.1/spec/wms1.1.1.html#basic_elements.version
Another story is that I guess that requests without version numbers are meant to work only for GetCapabilities. But if we are lenient then perhaps it is better to follow the same rules that with GetCapabilities always instead of creating different rules. Personally I would prefer to deny totally other requests than GetCapabilities without version number. Possibility to do so just makes lazy programmers to make applications which do not work together with other WFS server brands.
-Jukka Rahkonen-
···
Andrea Aime wrote:
Hi,
as you probably all know when we specify no version number in a request, we get back a response
matching the highest available version:
http://localhost:8080/geoserver/topp/ows?service=WFS&request=GetFeature&typeName=topp:tasmania_cities&maxFeatures=50
However, what would you expect from this:
http://localhost:8080/geoserver/topp/ows?service=WFS&request=GetFeature&typeName=topp:tasmania_cities&maxFeatures=50&version=10.0.0
Honestly, I would have expected a service exception, but GeoServer returns a response in version 2.0 instead.
Isn’t this a bit too much leniency?
Cheers
Andrea
–
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Tue, Oct 15, 2013 at 4:27 PM, Rahkonen Jukka
<jukka.rahkonen@anonymised.com>wrote:
Hi,****
** **
Doesn’t this suit what is said about version number negotiation in the
standard? I was reading this****
http://cite.opengeospatial.org/OGCTestData/wms/1.1.1/spec/wms1.1.1.html#basic_elements.version
****
** **
Another story is that I guess that requests without version numbers are
meant to work only for GetCapabilities. But if we are lenient then perhaps
it is better to follow the same rules that with GetCapabilities always
instead of creating different rules. Personally I would prefer to deny
totally other requests than GetCapabilities without version number.
Possibility to do so just makes lazy programmers to make applications which
do not work together with other WFS server brands.
Yep, version negotiation is limited to GetCapabilities, should not be
performed on other requests, but I see what you mean, makes sense, even if
I'm not used to it on other requests.
About denying completely requests with no version number, that would be a
good fit for a "cite compliance hacks" behavior, where GeoServer becomes
strictly compliant
Cheers
Andrea
--
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------