@Override
    public boolean equals(@Nullable Object o) {
        if (!(o instanceof HttpStatus)) {
            return false;
        }

        return code() == ((HttpStatus) o).code();
    }
Returns whether the specified object is "equal to" this status.

<p>Equality of {@link HttpStatus} only depends on {@link #code()}. The reason phrase is not considered
for equality.
core/src/main/java/com/linecorp/armeria/common/HttpStatus.java