code: public String getContentType() {
          String[] values = getMimeHeader("Content-Type");
          if (values != null && values.length > 0)
              return values[0];
          return null;
      }
docs: Gets the value of the MIME header whose name is "Content-Type".
  
  @return a <code>String</code> giving the value of the
  "Content-Type" header or <code>null</code> if there
  is none