Relative Content

Tag Archive for javaspring-bootapache-httpclient-5.x

RestClient returns 403 after apache.httpclient5 upgrade from 5.3.1 to 5.4

I use RestClient.Builder to build a RestClient instance with a custom request factory backed by apache.httpclient5 in an application written with SpringBoot 3.3.6. Initially, apache.httpclient 5.3.1 was used and everything was working just fine. After upgrading the dependency to apache.httpclient 5.4 all initiated requests started to fail with 403 [No body] response. Downgrading back to 5.3.1 solved the issue. Does anyone know what could be causing the issue and how to fix it?