core/play/src/main/java/play/mvc/Results.java
public static Result notAcceptable(Path content, String filename) {
    return notAcceptable(content, filename, StaticFileMimeTypes.fileMimeTypes());
  }
public static Result notAcceptable(Path content, String filename) {
    return notAcceptable(content, filename, StaticFileMimeTypes.fileMimeTypes());
  }
Generates a 406 Not Acceptable result.

@param content The path to send.
@param filename The name to send the file as.
@return the result