On 12/15/2017 08:50 AM, Mark Prins wrote:

Broken isn't a very well defined state, it's quite a valid use case to have (valid ofcourse) urls pointing all over the place.

Fair enough.:)

wrt following redirects; as geotools is still on an old version of apache httpclient which doesn't provide this functionality (see eg. https://hc.apache.org/httpclient-legacy/redirects.html for a workaround)
I've started porting to the new version, but it will take a while.
Also there are some know issues and vulnerabilities with this apache lib when used in a TLS environment, see https://osgeo-org.atlassian.net/browse/GEOT-5859

As a note, the WFS-NG datastore is using GeoTools's own 'SimpleHttpClient' (1) which is an implementation of this interface (2).  Perhaps part of the solution will be to have an Apache implementation of that interface and sub it in?

Thoughts?

Cheers,

Jim

1. https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/data/ows/SimpleHttpClient.java 2. https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/data/ows/HTTPClient.java

Mark




--
Disclaimer;
This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to