code: public String buildAcceptHeader() {
          StringBuffer mimetypes = new StringBuffer();
          Enumeration<ProvFormat> e = mimeTypeMap.keys();
          String sep = "";
          while (e.hasMoreElements()) {
              ProvFormat f = e.nextElement();
              if (isInputFormat(f)) {
                  // careful - cant use .hasMoreElements as we are filtering
                  mimetypes.append(sep);
                  sep = ",";
                  mimetypes.append(mimeTypeMap.get(f));
              }
          }
          mimetypes.append(sep);
          mimetypes.append("*/*;q=0.1"); // be liberal
  
          return mimetypes.toString();
      }
docs: Create a list of mime types supported by ProvToolbox in view of constructing an Accept Header.
  @return a string representing the mime types.