default String content(Charset charset) {
        final MediaType contentType = headers().contentType();

        if (contentType != null) {
            final Charset contentTypeCharset = contentType.charset();

            if (contentTypeCharset != null) {
                return content().toString(contentTypeCharset);
            }
        }

        return content().toString(charset);
    }
Returns the content decoded in the {@link Charset} of the {@code content-type} header if present,
or the content decoded in the specified {@link Charset} otherwise.
core/src/main/java/com/linecorp/armeria/common/AggregatedHttpObject.java