tds/src/main/java/thredds/server/cdmrfeature/CdmrGridController.java
@RequestMapping(value = "/**",  method = RequestMethod.GET, params = "req=featureType")
  public ResponseEntity<String> handleFeatureTypeRequest(HttpServletRequest request, HttpServletResponse response) throws IOException {
    if (!allowedServices.isAllowed(StandardService.cdmrFeatureGrid))
      throw new ServiceNotAllowed(StandardService.cdmrFeatureGrid.toString());

    String datasetPath = TdsPathUtils.extractPath(request, StandardService.cdmrFeatureGrid.getBase());

    try (CoverageCollection cc = TdsRequestedDataset.getCoverageCollection(request, response, datasetPath)) {
      if (cc == null) return null;
        // return new ResponseEntity<>("", HttpStatus.NOT_FOUND);

      HttpHeaders responseHeaders = new HttpHeaders();
      responseHeaders.set(ContentType.HEADER, ContentType.text.getContentHeader());
      return new ResponseEntity<>(cc.getCoverageType().toString(), responseHeaders, HttpStatus.OK);

    }
  }
@RequestMapping(value = "/**",  method = RequestMethod.GET, params = "req=featureType")
  public ResponseEntity<String> handleFeatureTypeRequest(HttpServletRequest request, HttpServletResponse response) throws IOException {
    if (!allowedServices.isAllowed(StandardService.cdmrFeatureGrid))
      throw new ServiceNotAllowed(StandardService.cdmrFeatureGrid.toString());

    String datasetPath = TdsPathUtils.extractPath(request, StandardService.cdmrFeatureGrid.getBase());

    try (CoverageCollection cc = TdsRequestedDataset.getCoverageCollection(request, response, datasetPath)) {
      if (cc == null) return null;
        // return new ResponseEntity<>("", HttpStatus.NOT_FOUND);

      HttpHeaders responseHeaders = new HttpHeaders();
      responseHeaders.set(ContentType.HEADER, ContentType.text.getContentHeader());
      return new ResponseEntity<>(cc.getCoverageType().toString(), responseHeaders, HttpStatus.OK);

    }
  }
//////////////////////////////////////////////////////////////////