private boolean understoodStatusCode(final int status) {
        return status >= 200 && status <= 206 ||
                status >= 300 && status <= 399 ||
                status >= 400 && status <= 417 ||
                status == 421 ||
                status >= 500 && status <= 505;
    }
Understood status codes include:
- All 2xx (Successful) status codes (200-299)
- All 3xx (Redirection) status codes (300-399)
- All 4xx (Client Error) status codes up to 417 and 421
- All 5xx (Server Error) status codes up to 505

@param status The HTTP status code to be checked.
@return true if the HTTP status code is understood, false otherwise.
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/ResponseCachingPolicy.java