Re: [Geotools-devel] [Geoserver-users] forwarding GEBCO WMS fails - help needed

2024-04-24 Thread Andrea Aime
On Wed, Apr 24, 2024 at 3:30 PM Roar Brænden 
wrote:

> What I'm confused about is how the two classes should influence on what is
> sent as Accept-header. Nothing in the code indicates something like that.
>

One is the built-in java client, the other the Apache one... I guess they
might have different defaults, if no accept-header is specified?
Just thinking out loud

Cheers
Andrea
___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel


Re: [Geotools-devel] [Geoserver-users] forwarding GEBCO WMS fails - help needed

2024-04-24 Thread Roar Brænden


> 22. apr. 2024 kl. 15:01 skrev Peter Smythe :
> 
> 
> 
> And then under what circumstances would the WMS data store fall back to the 
> Simple HTTPClient rather than using the MultithreadedHttpClient (HTTP 
> connection pooling), even if the above is ticked?
> 


Hi,
The answer to the question about how WMS data store would fall back to Simple 
HTTPClient if the "Use HTTP connection pooling" checkbox is ticked, is that it 
shouldn't happen. It might happen something if the server is missing the 
gt-http-commons.jar, but I assume that would lead to an exception.

What I'm confused about is how the two classes should influence on what is sent 
as Accept-header. Nothing in the code indicates something like that.

Best regards,

Roar Brænden

___
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel