public Builder setAccept(List<String> mimeTypes) {
      headers.setAccept(String.join(",", mimeTypes));
      return this;
    }
Sets the {@code Accept} header.

@param mimeTypes the items to pass into the accept header
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/http/Request.java