An HTTP client needs retries, caching and logging, and different callers want different mixes. Subclassing gives you RetryingCachingLoggingHttp and an explosion of combinations: one class per subset of features, and a new one every time a feature is added.
The other route is a single class with a flag per feature. It avoids the class explosion but turns into one tangled get method where every branch reaches into every other concern. Neither route lets a caller add one behaviour without touching the rest.