Hi Andreas,

are there any plans for the http client to become even more configurable?


Currently no, but it would certainly be possible, given that we’ve recently added some BaseX-specific options to handle CSV, JSON and HTML input. Finalizing version 2 of the spec would still be a better option [1], but we haven’t found enough time for it yet.

Best,
Christian


 

 

I have seen in the BaseX sources that the HttpClient.Builder (org.basex.io.IOUrl:173) is mostly served with standards. (except sslContext, connectTimeout, followRedirects).

 

For example, I have a special case where I need to force the version to HTTP/1.1.

 

Tried as a workaround to create my own instance via HttpClient.Builder using the XQuery Java binding, but failed on the interfaces.

 

 

Thanks a lot

Andreas