code: public static ContentType create(
              final String mimeType, final String charset) throws UnsupportedCharsetException {
          return create(mimeType, charset != null ? Charset.forName(charset) : null);
      }
docs: Creates a new instance of {@link ContentType}.
  
  @param mimeType MIME type. It may not be <code>null</code> or empty. It may not contain
  characters <">, <;>, <,> reserved by the HTTP specification.
  @param charset charset. It may not contain characters <">, <;>, <,> reserved by the HTTP
  specification. This parameter is optional.
  @return content type