final void acceptLanguages(Iterable<LanguageRange> acceptLanguages) {
        final StringJoiner joiner = new StringJoiner(", ");
        for (LanguageRange range : acceptLanguages) {
            if (range.getWeight() == 1.0d) {
                joiner.add(range.getRange());
            } else {
                joiner.add(range.getRange() + ";q=" + range.getWeight());
            }
        }
        set(HttpHeaderNames.ACCEPT_LANGUAGE, joiner.toString());
    }
Adds the specified {@code setCookies} with {@link HttpHeaderNames#SET_COOKIE}.
core/src/main/java/com/linecorp/armeria/common/HttpHeadersBase.java