public static void toNettyHttp1Server(
            HttpHeaders inputHeaders, io.netty.handler.codec.http.HttpHeaders outputHeaders,
            Http1HeaderNaming http1HeaderNaming, boolean isTrailer) {
        for (Entry<AsciiString, String> entry : inputHeaders) {
            final AsciiString name = entry.getKey();
            final String value = entry.getValue();
            if (HTTP2_TO_HTTP_HEADER_DISALLOWED_LIST.contains(name)) {
                continue;
            }

            if (isTrailer && isTrailerDisallowed(name)) {
                continue;
            }
            outputHeaders.add(http1HeaderNaming.convert(name), value);
        }
    }
Translates and adds HTTP/2 response trailers to HTTP/1.1 headers.

@param inputHeaders The HTTP/2 response headers to convert.
@param outputHeaders The object which will contain the resulting HTTP/1.1 headers.
core/src/main/java/com/linecorp/armeria/internal/common/ArmeriaHttpUtil.java