meilisearch-java icon indicating copy to clipboard operation
meilisearch-java copied to clipboard

Switch to a fixed HTTP client library `OkHttp`

Open alallema opened this issue 2 years ago • 0 comments

Description Following this issue #334 and the fact that the PATCH method is now needed in multiple methods since the v0.28.0 of Meilisearch.

Expectations The need to allow the PATCH method and to keep the Java 8 compatibility pushed us to choose as a solution to use a single HTTP library which in addition to meeting the needs would reduce the dependencies. OkHttp has the advantages we were looking for it is a very used library that supports PATCH.

What to do?

  • Remove all Java HTTP Client to only keep OkHttp
  • Rewrite the Meilisearch HTTP client to simplify it

alallema avatar Aug 02 '22 11:08 alallema