Is the right decision to throw Exception from AhcCurlRequestLogger? I guess this filter helps you to logging request. But I was very surprised when it crashes my response with uploaded file.
throw new UnsupportedOperationException("Unsupported body type " + requestBody.getClass()) and this exception not catch in filter. And the design of this filter doesn’t give you an instrument for preventing that. I can’t override or wrapping it. I can’t catch it in my code. Does anybody know, It is normal behavior