docs: private String guessMimeType(final ChannelBuffer buf) {
      final String mimetype = guessMimeTypeFromUri(request().getUri());
      return mimetype == null ? guessMimeTypeFromContents(buf) : mimetype;
    }